Commit Graph

576 Commits

Author SHA1 Message Date
Bryan Bishop
226729d175 Merge pull request #158 from yenatch/gbz80disasm-more-data
gbz80disasm bugfixes
2013-07-11 09:01:02 -07:00
yenatch
6765083c1c wram.py: allow space definitions using constants 2013-07-10 19:12:48 -04:00
yenatch
341e11cccb labels: hex is case-insensitive 2013-07-10 19:12:48 -04:00
yenatch
ba5cd8bbb8 use wram from outside extras 2013-07-10 19:12:48 -04:00
yenatch
daf3930984 crystal: wram label finding 2013-06-28 21:49:50 -04:00
yenatch
17b5e86311 crystal: 2pt script commands are for wram 2013-06-28 21:35:44 -04:00
yenatch
622d6b86f7 crystal: PointerLabelToScriptPointer bank is not reversed 2013-06-28 21:17:35 -04:00
yenatch
fee0f0d6a4 gbz80disasm: don't read data where there is none 2013-06-28 16:06:39 -04:00
yenatch
3a1f843e78 gbz80disasm: only track rom addresses for data 2013-06-28 00:10:38 -04:00
yenatch
fe4b13e304 gbz80disasm: use existing labels as addresses 2013-06-27 22:28:53 -04:00
Bryan Bishop
ff11134023 Merge branch 'github/master' into master.
Conflicts:
	extras/gbz80disasm.py

Comments.
2013-06-25 23:54:39 -05:00
Bryan Bishop
28268df40e remove extra whitespace in extras/vba.py 2013-06-25 23:23:46 -05:00
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
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
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
Kat Harrison
897d8b744c Made edits to docstrings in extras/vba.py
Added to vba intructions and reformatted docstrings to include a summary
line. (Docstring summaries should be max 72 characters.)
2013-06-23 00:45:45 -04:00
Kat Harrison
d67d63df31 update instructions in extras/vba.py
fixes #151 fixes #150
2013-06-23 00:41: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