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
Bryan Bishop
915c635849
make gfx.py png take only a path
2013-05-29 19:44:08 -05:00
Kat Harrison
e08e7cf7b2
Include overworld sprites
...
Created /extras/overworldripper.py and used it to extract overworld sprites and convert them to png files.
2013-05-27 23:07:34 -04:00
yenatch
399925fff5
gbz80disasm: rgbds uses brackets for ld hl, sp+x
2013-05-21 16:43:54 -04:00
Bryan Bishop
fdc1609f2a
Merge pull request #138 from yenatch/master
...
automated png compression + gfx fixes + no more windows
2013-05-18 01:49:03 -07: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
Bryan Bishop
f10019710f
load labels only once in gbz80disasm
2013-05-17 15:58:47 -05:00
yenatch
3a0e80932e
fix data-handling errors in gfx.py
2013-05-17 01:59:23 -04:00
yenatch
5521aa5ce0
gbz80disasm: include comments on unresolved backward relative jumps
2013-05-15 14:57:04 -04:00
yenatch
b38e287409
gbz80disasm: don't look for outstanding labels that are behind the origin
2013-05-15 14:40:20 -04:00
yenatch
a6fee3622a
gbz80disasm: don't include comments on relative jumps
2013-05-15 14:39:43 -04:00
yenatch
81e42e41da
gbz80disasm: reti is an ender
2013-05-15 14:39:43 -04:00
yenatch
3cf6603b45
gbz80disasm: space out blocks of asm
2013-05-15 14:39:42 -04:00
yenatch
82d723840b
gbz80disasm: clean up $ff00+x handling
2013-05-15 14:39:19 -04:00
yenatch
1bdcac1fe1
gbz80disasm: read labels from wram/gbhw/hram
2013-05-14 21:01:46 -04:00
yenatch
0fc866caa5
wram: find() instead of split()
2013-05-14 20:25:43 -04:00
yenatch
aed0202999
gbz80disasm: bank 1 was being read as bank 0
2013-05-14 18:18:07 -04:00
yenatch
aecce03834
wram.py: bss and constant parsing
2013-05-14 18:11:19 -04:00
yenatch
5b95c5aad7
transition gbz80disasm to use a bytearray instead of RomStr
2013-05-14 14:38:57 -04:00
yenatch
313e853e39
remove redundant code from find_label in gbz80disasm
2013-05-14 13:56:34 -04:00
yenatch
b9bd11e34d
fix bank-checking for labels in gbz80disasm
...
bank 1 is not fixed like bank 0
2013-05-14 13:46:38 -04:00