43 Commits

Author SHA1 Message Date
Bryan Bishop
aade38c733 remove extra whitespace in extras/gfx.py 2013-06-25 23:01:52 -05:00
Bryan Bishop
cc1add094f fix function formatting in extras/gfx.py 2013-06-25 23:01:00 -05:00
Kat Harrison
72fbe86c7a fixed another indent in gfx.py 2013-06-23 16:06:46 -04:00
cogitokat
95369248f4 fixed indents 2013-06-23 16:48:51 -03:00
cogitokat
0b5885e1a9 convert indents to 4 spaces in gfx.py
indents were previously 8 spaces
2013-06-23 16:47:35 -03:00
cogitokat
a60bf16901 more docstring/indent fixes in gfx.py 2013-06-23 15:07:39 -03:00
cogitokat
3ee5295ee3 more gfx.py docstring changes 2013-06-23 13:15:23 -04:00
cogitokat
60b52a8cf0 Change bad indents in extras/gfx.py 2013-06-23 14:12:03 -03:00
Kat Harrison
1120eaaaf5 Edit some docstrings in /extras. 2013-06-23 12:43:16 -04:00
yenatch
bbed370d84 gfx: return mass-decompress command
still reqd by make pngs
2013-06-13 17:26:50 -04:00
yenatch
6ba758aa53 expand shortened palettes
rather than keep up inconsistent palette formats, just incbin a portion of each
2013-06-12 21:40:37 -04:00
yenatch
5803db714c gfx: workable command line functions 2013-06-12 21:40:32 -04:00
yenatch
b06c96e4d2 gfx: palette checking in to_png 2013-06-12 14:38:38 -04:00
yenatch
5d204ce569 fix palette functions and output palettes in 2bpp conversion 2013-06-12 14:29:39 -04:00
yenatch
5cf1754b08 gfx: handling for <4-color pngs when converting to 2bpp
without a .pal file as reference, palettes are sorted by luminance.
pokemon crystal reads palettes exactly 4 colors in length.
if an image used fewer than 4 colors, invalid palettes were produced.

instead, dummy colors are inserted to pad out the palette.
2013-06-12 14:29:35 -04:00
yenatch
e3565bd700 gfx: safer alternating-byte detection in compression 2013-05-18 04:46:52 -04:00
yenatch
77e365d49f gfx: fix a typo 2013-05-18 04:46:52 -04:00
yenatch
604cafc278 gfx: lz to png from command line 2013-05-18 04:46:52 -04:00
yenatch
a1b9fdc9c9 gfx.py: remove trailing tabs 2013-05-18 04:46:51 -04:00
yenatch
abaed2145f gfx.py: get rid of argparse 2013-05-18 04:46:47 -04:00
yenatch
3a0e80932e fix data-handling errors in gfx.py 2013-05-17 01:59:23 -04:00
yenatch
05ceafe614 there is no os.touch 2013-05-12 10:22:24 -04:00
yenatch
a85077eb4f touch graphic files during decmp so make doesnt try to replace them 2013-05-11 13:39:40 -04:00
Bryan Bishop
1abb020335 Merge pull request #124 from yenatch/master
hram labels + png make target
2013-03-20 20:12:48 -07:00
yenatch
b570c4d6e6 fix path handling in png make target
lz files were being decompressed to the top directory (gfx/)
2013-03-18 16:36:30 -04:00