vsariola / pakettic

TIC-80 cartridge packer
MIT License
21 stars 4 forks source link

Document better -call and -call_except_default (was: palette reverts to default in packed cartridge) #17

Open borbware opened 1 month ago

borbware commented 1 month ago

Command used: python -m pakettic buutmini.lua -q 16 -aanneal -call (sprites are not preserved without -call)

Original cartridge and packed one included in the zip file:

missing-palette.zip

vsariola commented 1 month ago

Most likely because the -call includes the DEFAULT chunk, did you try listing the chunks you need explicitly?

vsariola commented 1 month ago

There's also -call_except_default

borbware commented 1 month ago

Thanks, -call_except_default did the trick! I tried to look at the readme, but didn't figure out how to list the chunks explicitly.

vsariola commented 1 month ago

I'll convert this to documentation request.