Skip to content

Latest commit

 

History

History
30 lines (22 loc) · 721 Bytes

README.md

File metadata and controls

30 lines (22 loc) · 721 Bytes

TIC-80 Mapify

This is a Python (3) script that will read the data sections of a TIC-80 .lua cart, extracts the relevant data sections (MAP, TILES and PALETTE) and renders a PNG file of the MAP.

Install

git clone https://github.com/mattijv/tic-80-mapify
cd tic-80-mapify
pip3 install -r requirements.txt

Usage

python3 mapify.py cart.lua

The script will output a file in the same folder with the name map.png.

Note

Currently this code contains some hard coded assumptions and changes (like setting the 7th color to be the 1st color in the palette) due to the origins of this code. Therefore you might need to make some modifications for your own use.