mirror of
https://github.com/pret/pokemon-reverse-engineering-tools.git
synced 2026-09-27 05:34:40 -04:00
ac2df6b844
Before, converting a .2bpp.lz file required calling decompress and convert_to_png
on the compressed and decompressed files respectively.
gfx.py unlz {}.lz
gfx.py png {}
Putting a .lz file into convert_to_png would raise an exception.
Instead, passing compressed graphics into convert_to_png will decompress them first.
This skips the (now optional) manual decompress step.