Commit Graph

556 Commits

Author SHA1 Message Date
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
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