This tool is intended for use with the 32Blit console to prepare assets and upload games.
You should install from source using:
git clone https://github.com/pimoroni/32blit-tools
cd src/
python3 setup.py develop
32blit --help
All image assets are handled by Pillow so most image formats will work, be careful with lossy formats since they may add unwanted colours to your palette and leave you with oversized assets.
Supported formats:
- 8bit PNG .png
- 24bit PNG .png
Options:
palette
- Image or palette file (Adobe .act, Pro Motion NG .pal, GIMP .gpl) containing the asset colour palettetransparent
- Transparent colour (if palette isn't an RGBA image), should be either hex (FFFFFF) or R,G,B (255,255,255)packed
- (Defaults to true) will pack the output asset into bits depending on the palette size. A 16-colour palette would use 4-bits-per-pixel.strict
- Only allow colours that are present in the palette image/file
Supported formats:
- Tiled .tmx - https://www.mapeditor.org/ (extremely alpha!)
Supported formats:
- CSV .csv
- Binary .bin, .raw