Skip to main content

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

zxp2gus-0.6.tar.gz (6.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zxp2gus-0.6-py3-none-any.whl (7.2 kB view details)

Uploaded Python 3

File details

Details for the file zxp2gus-0.6.tar.gz.

File metadata

  • Download URL: zxp2gus-0.6.tar.gz
  • Upload date:
  • Size: 6.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for zxp2gus-0.6.tar.gz
Algorithm Hash digest
SHA256 19027e5df3971878e6e1fccb86d4fdd90ac08cd0f1e3165048a17efdca994b5e
MD5 91638d55f9a75b2e62c0c17c3498d7d8
BLAKE2b-256 4ff6ff755310d591dc8e9205482758c1743a5c8f4efc0090a353541d7739eaea

See more details on using hashes here.

File details

Details for the file zxp2gus-0.6-py3-none-any.whl.

File metadata

  • Download URL: zxp2gus-0.6-py3-none-any.whl
  • Upload date:
  • Size: 7.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.3

File hashes

Hashes for zxp2gus-0.6-py3-none-any.whl
Algorithm Hash digest
SHA256 90b199b7ff0c2b993ff72d8db6c178d064a6e21bbb4c2bcf549a9df027cad431
MD5 c9551320e9d66ca209b317199bea37f5
BLAKE2b-256 b95fafdec71bf281e95cb9f4082bf8cf5b41a9226c59a870b2437d25875e9c5c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page