ref: ad0578fda0aec42c28e3db26bbf68d06aa19f63e
parent: 8b8f7200a9bdae9396180bebedce69298677e8a6
author: yenatch <[email protected]>
date: Mon Feb 11 22:17:05 EST 2013
Fix png export orientation A quirk of the Decompressed class dissociated the orientation from the output attribute. The makefile no longer suppresses output since it's still relevant.
--- a/Makefile
+++ b/Makefile
@@ -38,18 +38,18 @@
cmp baserom.gbc $@
-@lzs: ${VERTGFX} ${HORIZGFX}
+lzs: ${VERTGFX} ${HORIZGFX}
-@pngs:
+pngs:
cd extras; python gfx.py mass-decompress; python gfx.py dump-pngs
[email protected]: tiles.png
+front.png: tiles.png
cd extras; python gfx.py png-to-lz --front $@ $(OBJECT_DIRECTORY)/tiles.2bpp
[email protected]:
+tiles.png:
cd extras; python gfx.py png-to-2bpp $@
[email protected]: ${VERTGFX}
+.png: ${VERTGFX}
cd extras; python gfx.py png-to-lz --vert $@
[email protected]: ${HORIZGFX}
+.png: ${HORIZGFX}
cd extras; python gfx.py png-to-lz $@
--- a/extras/gfx.py
+++ b/extras/gfx.py
@@ -610,6 +610,8 @@
self.tiles = transpose(self.tiles)
self.pic = connect(self.tiles)
+ self.output = self.pic + self.animtiles
+
def decompress(self):
"""replica of crystal's decompression"""