Skip to main content

castletool

Castletool is a command line tool for adding images and MIDI files to the Castle - Make and Play app by Monterey's Coast, Inc. (not affiliated)

Installation

You can install Castletool by running pip install castletool in your terminal (Requires python). Be sure to install pillow, mido, ffmpeg, and the Castle CLI.

Usage

Once fully set up, run castletool and follow the instructions.

FAQ

Q: It says I don't have any decks, what do I do?

A: You can initialize a deck by running castle init <name> or get a pre-existing one by running castle get-deck <id> folder


Q: Why does it say "nothing to do"?

A: You either forgot to install pillow ffmpeg and mido, or you said no to all the prompts.


Q: What does quantizing mean?

A: Quantizing automatically makes your image use less data, but it may look worse if the value is too low.


Q: What does it mean by "frame split"?

A: It divides your frames by the value you input. For example, if you enter "2", you will get half the frames.


Q: What does "Memory Access Out of Bounds" mean?

A: That means the image or MIDI file you input caused your deck to exceed castle's 10MB limit. You need to quantize it or use less frames.


Q: Why does it say I don't have any decks?

A: You are probably running the command while in a different directory. cd into where your deck is (usually ~/decks)

Metadata

Release files for castletool 0.3.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for castletool 0.3.1
File Size Uploaded
castletool-0.3.1.tar.gz 16.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for castletool 0.3.1
File Interpreter ABI Platform
castletool-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 32.4 kB

Release files / castletool-0.3.1.tar.gz

Download URL castletool-0.3.1.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
10686c3fcfed11fbecc0fb1ccc6f3240f07c9bc51f71ef790c400c122e42c850
BLAKE2b-256 checksum
How to use checksums
986dfc74ab6f017d1c84892fd9f22a6d0b9ca96831d7c25986ca59a6423a6031
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release files / castletool-0.3.1-py3-none-any.whl

Download URL castletool-0.3.1-py3-none-any.whl
Size 15.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
16e532a9c6265361a81ca73e480971616e97f69863a9a929b911964f88d69d30
BLAKE2b-256 checksum
How to use checksums
8ff20994b8f084eace3121155c4b720b6deb623beae6b59ed1cb1267a9e5381d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.14.6

Release history Release notifications | RSS feed

0.7.0

2 release files

0.6.0

2 release files

0.5.8

2 release files

0.5.7

2 release files

0.5.6

2 release files

0.5.5

2 release files

0.5.1

2 release files

0.5.0

2 release files

0.4.9

2 release files

0.4.8

2 release files

0.4.7

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.8

2 release files

0.3.7

2 release files

0.3.6

2 release files

0.3.4

2 release files

0.3.2

2 release files

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.3

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.9

2 release files

0.1.8

2 release files

0.1.7

2 release files

0.1.6

2 release files

0.1.5

2 release files

0.1.4

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page