Convert ZX Paintbrush files to GuSprites ZXBasic code
Project description
zxp2gus
Simple command to convert ZX Paintbrush Images (zxp) into basic file for Boriel's ZX Basic and GuSprites sprite library
Install
pip install zxp2gus
Run
usage: zxp2gus [-h] [-t ITYPE] [-i INPUT] [-o OUTPUT_FOLDER] [-f FORMAT]
Process some arguments.
options:
-h, --help show this help message and exit
-t ITYPE, --itype ITYPE
Type of input
-i INPUT, --input INPUT
Input file
-o OUTPUT_FOLDER, --output OUTPUT
Output file
-f FORMAT, --format FORMAT
Format of the output
You can convert zxp of type tiles or sprites to bin form import into ZX Basic program or PNG to use it in other programas like Tiled for example
Examples:
Bin
zxp2gus -t tiles -i assets/map/tiles.zxp -o output -f bin
zxp2gus -t sprites -i assets/map/sprites.zxp -o output -f bin
PNG
zxp2gus -t tiles -i assets/map/tiles.zxp -o assets/map/ -f png
zxp2gus -t sprites -i assets/map/sprites.zxp -o assets/map/ -f png
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zxp2gus-0.5.tar.gz.
File metadata
- Download URL: zxp2gus-0.5.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5c50799d18a0885b275806858e88add590525c2d04583e00ffc6ed57c5b03fb0
|
|
| MD5 |
b232149d075ee37d69aa9270d40e4cea
|
|
| BLAKE2b-256 |
54ebc2fd885718831f90fbf766daa1b980037c31e99478c2fa6518484b61e741
|
File details
Details for the file zxp2gus-0.5-py3-none-any.whl.
File metadata
- Download URL: zxp2gus-0.5-py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
392ae9cf4ecb157c0362faa608b53ca5beb7fcf50fa8505b670cd742167b5516
|
|
| MD5 |
915ca37ccd6c2f3d3812dde5d1c84d4a
|
|
| BLAKE2b-256 |
98454e4de1eeab89f0f98239db650e122886112a3507f20d10b41278004cbe6a
|