Skip to main content

Convert tmx Tiled map to ZX0 compressed file

Project description

tiled2zx0

Simple command to convert Tiled map (.tmx) into compressed (with Einar Saukas ZX0) bin file.

If you for example have an "infinite" Tiled map it has defined screens size, 32x22 for example. This command will compress each screen separately and then join all parte in only one file and return screens offsets binary file in order to know where each screen starts.

If you specify -b OUTPUT_BORIEL_FILE, the command retuns boriel code to draw a screen and swap/decompress current screen.

Install

pip install tiled2zx0

Run

usage: tiled2zx0 [-h] [-m OUTPUT_MAP_FILE] [-o OUTPUT_MAP_OFFSETS_FILE] [-b OUTPUT_BORIEL_FILE] /path/map.tmx

Attribution

This project use ZX0 compressor by Einar Saukas binaries.

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

tiled2zx0-0.4.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

tiled2zx0-0.4-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file tiled2zx0-0.4.tar.gz.

File metadata

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

File hashes

Hashes for tiled2zx0-0.4.tar.gz
Algorithm Hash digest
SHA256 4bc5de3ffec40bb5885930f921fa3af9642da619869518ce89e08fc603705dba
MD5 18f5fb231d803d8b1465153de832958b
BLAKE2b-256 ac2fef54bd93e8e515409f7be4a49694c9db302caacaf777f25830391fcba26b

See more details on using hashes here.

File details

Details for the file tiled2zx0-0.4-py3-none-any.whl.

File metadata

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

File hashes

Hashes for tiled2zx0-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 6b9bb36767c3155f7cf73e11496f34486942ba581381d5e7be7d01d33fc03763
MD5 660cd81b5c232626db05272b03212645
BLAKE2b-256 bfcdf733cd58960e8077bc080f602d71a7c72d2924208b0576a3c2aa70f4e26a

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