dansanderson / picotool

Tools and Python libraries for manipulating Pico-8 game files. http://www.lexaloffle.com/pico-8.php

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support `__label__` region in .p8 files

dansanderson opened this issue · comments

Pico-8 0.10 added a new __label__ region. picotool rejects this when it encounters it. picotool should support __label__ fully, including preserving and using the label when converting between .p8 and .p8.png. As a partial measure, it should ignore the __label__ region instead of rejecting it.

Partial support for __label__ has been implemented. Loading a .p8 with a label works, as does saving a .p8 with label data. It does not currently convert between label data and .p8.png labels, in either direction. This partial implementation allows new carts with labels saved as .p8 files to be processed without errors.