A Rust rewrite is in progress. The Python versions will be removed once the rewrite is complete.
Various tools and code for WonderSwan related things. The tools have been used in the following demos:
- "Ihmesorsa" by Dekadence (WonderSwan) (YouTube, Pouet)
- "Rakointro" by Dekadence (WonderSwan) (YouTube, Pouet)
- "Vesilintu" by Dekadence (WonderSwan Color) (YouTube, Pouet)
- "Bar Frog Tux" by Dekadence (PC Engine) (YouTube, Pouet)
- Install
pipenv
- Install dependencies:
pipenv install
Generates a checksum for a WonderSwan ROM. No real validation is performed, so be careful.
pipenv run python3 wschecksum.py INPUT_FILE
Note that this will overwrite the original file.
Converts an Amiga MOD to a format compatible with Dekadence's WonderSwan player. More to come.
pipenv run python3 convert_mod.py [--debug] INPUT_MOD OUTPUT_FILE
Use --debug
to print the converter's interpretation of the MOD.
Converts a PNG file to a tile map. Two files are created: a file containing the tileset, and a file containing the tile map. Images with up to four colors are supported, and both width and height must be divisible by 8.
pipenv run python3 convert_tiles.py INPUT_PNG