yenatch
d6497d6a70
fix path handling in png make target
...
lz files were being decompressed to the top directory (gfx/)
original-commit-id: b570c4d6e660ffe36427a29ee34f87298b77bfda
2013-03-18 16:36:30 -04:00
yenatch
af678654e6
Export any detected palettes to png by default
...
Checks for any palette using the same name as the 2bpp file.
original-commit-id: 7f7f4612404b6c898d4cb50fb4468580dbd46910
2013-02-12 03:40:41 -05:00
yenatch
61f08140d6
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.
original-commit-id: ad0578fda0aec42c28e3db26bbf68d06aa19f63e
2013-02-12 03:31:35 -05:00
yenatch
d534f74635
Finish off make target for png generation
...
Now any existing lz files are converted to 2bpp, and all 2bpp files
are converted to png.
original-commit-id: 0b8c5ef75b69521ccbd3e9b30431fba0ba2d569e
2013-02-11 17:59:43 -05:00
yenatch
27ae7df267
better dimension handling in 2bpp->png
...
original-commit-id: 98d8914b62750ea7575a5c16ce954cc0bbedb825
2013-02-11 04:13:36 -05:00
yenatch
2c21679768
Add build target to mass-generate pngs from 2bpp files
...
original-commit-id: d1172e1fb67fe8bd9c33cc4ab0d45905167d4c53
2013-02-11 04:13:36 -05:00
yenatch
f0d60d72f7
Infrastructure to dump pngs for 2bpp graphics
...
original-commit-id: 80600f929193208e435e6ce833e4207a6cd5a382
2013-02-11 04:12:59 -05:00
yenatch
a8876bffc3
Don't try to convert empty 2bpp files
...
Also, make non-square images 1 tile wide
Minor path fixes and cleanup
original-commit-id: e7762890aac4da72e75c7e7365c1cd924dadbc85
2013-02-09 06:26:09 -05:00
yenatch
0dbb8770c5
Add some command-line interfaces for use w/ makefile
...
Extras:
-function to dump trainer pals
-fix testing leftover in a compression function
-keep load_rom() from getting in the way (relative address breaks extras)
original-commit-id: 70280c0c3f64e41edaed8d2726c6472bec395f55
2013-02-09 04:36:36 -05:00
yenatch
9536d00bcc
implement png import/export
...
palette export works fine, but palette import is disabled for now
original-commit-id: da205909c056fd2299fec5bc546999929192a629
2013-02-07 21:03:19 -05:00
yenatch
bb425e6cec
Condense pic dimensions table
...
original-commit-id: 4d44c2c0e64d7e1eed97fe1b246638c251d00972
2013-02-06 02:09:57 -05:00
yenatch
7cfc2746c6
update gfx.py to reflect new structure
...
original-commit-id: cd0f71730583f7db1e81549d0269fa38ea315ac9
2013-01-22 05:01:21 -05:00
yenatch
f0e7a120a5
make careless use of gfx.py less fatal
...
original-commit-id: 9fbe7ea42390e7a0d6a1288f076d7951ce66b5eb
2013-01-13 00:40:13 -05:00
yenatch
7774a995fb
implement rgb macro for palettes
...
original-commit-id: 238f40602479c43954916a967523d0a873cdd92b
2013-01-13 00:38:48 -05:00
yenatch
636e7e1ec7
include all compressed and decompressed graphics
...
* frontpics & animation tiles
* backpics
* trainer pics
* attack animation gfx
* intro gfx
* intro tilemaps
* title gfx
* tilesets
* player backpic
* dude backpic
* pokegear/town map
fixes #33 , #34 and #35
original-commit-id: 2cdf7a3688c43766663028cf6e644f13fae4bdf3
2013-01-04 04:08:13 -06:00
yenatch
a5cfb49dfa
allow other files to import gfx.py
...
original-commit-id: e91f41dd3565cd4edfd71d0e3ee9744e99403443
2013-01-02 04:37:45 -05:00
yenatch
b3ebb0f873
make gfx.py more convenient from command line
...
original-commit-id: 3e953ad7b65f033cc5e29319f34cfd661b24af07
2013-01-01 16:31:05 -05:00
yenatch
d6678d25fb
decompress all known gfx
...
original-commit-id: a3fe9c00d0c5d0e63c7e64a28d16010f43707d10
2012-12-31 22:53:40 -05:00