Commit Graph

554 Commits

Author SHA1 Message Date
yenatch
d3872d1aa9 chars: ▷ 2013-07-10 19:17:02 -04:00
Bryan Bishop
fbf561cfa5 Merge pull request #153 from yenatch/gbz80disasm-data
data detection in gbz80disasm
2013-06-25 20:32:52 -07:00
yenatch
2896cb93d4 gbz80disasm: just use lowercase labels 2013-06-25 04:04:19 -04:00
yenatch
91f7c123f4 gbz80disasm: fix data handling
get the scalpel out of there
2013-06-25 03:57:49 -04:00
yenatch
6630406043 gbz80disasm: local/global address conversion + fix find_label 2013-06-25 03:55:38 -04:00
yenatch
7804dedce4 gbz80disasm: detect data tables referenced in asm 2013-06-25 03:43:58 -04:00
yenatch
e199aaa8fd gbz80disasm: data detection
the is_data flag never did anything. now it does

encountering the end of a branch with outstanding labels will read anything between said labels as data
2013-06-25 03:24:38 -04:00
Bryan Bishop
ac773a9dc1 Merge pull request #147 from yenatch/master
gbz80disasm/sym fixes + odds and ends
2013-06-17 16:56:00 -07:00
Bryan Bishop
fe01fb510f programmatic speedrun of pokecrystal (vba) 2013-06-16 17:17:37 -05:00
Bryan Bishop
6c5ccae807 make vba emulator wait until text is done drawing
Also, this fixes some bugs related to how button presses are handled.
2013-06-16 11:34:30 -05:00
yenatch
a4235e11bf symfile: fix address handling 2013-06-16 11:20:12 -04:00
yenatch
dfb2416192 gbz80disasm: fix labels outside of banks 0 and 1 2013-06-15 14:11:50 -04:00
yenatch
2f21ff4ef5 gbz80disasm: only use gbhw/hram constants >= 0xff00 2013-06-14 02:19:35 -04:00
yenatch
bbed370d84 gfx: return mass-decompress command
still reqd by make pngs
2013-06-13 17:26:50 -04:00
yenatch
a923bf768a Merge branch 'master' of github.com:kanzure/pokecrystal
Conflicts:
	extras/gfx.py
2013-06-12 23:31:21 -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
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
Bryan Bishop
35d77a2988 Merge pull request #132 from yenatch/master
map groups + gfx.py fix
2013-05-12 07:53:46 -07:00
yenatch
05ceafe614 there is no os.touch 2013-05-12 10:22:24 -04:00
Bryan Bishop
cf4ec47b15 Merge pull request #130 from Sanky/master
Menu stuff, battle text split & extras.
2013-05-12 06:21:45 -07:00
yenatch
a85077eb4f touch graphic files during decmp so make doesnt try to replace them 2013-05-11 13:39:40 -04:00
yenatch
827f80ca05 portraitm_ail -> portraitmail 2013-05-07 23:28:24 -04:00
Sanky
aeaaade74c add extras/parse_consecutive_strings.py 2013-05-08 01:22:28 +02:00