Commit Graph

540 Commits

Author SHA1 Message Date
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
Sanky
d01369178b make gbz80disasm understand bank:offset syntax 2013-05-08 01:21:55 +02:00
Bryan Bishop
2a44711fa7 Merge pull request #126 from yenatch/master
map scripts + ai + disabled line ending correction
2013-05-06 22:15:41 -07:00
yenatch
2acb46f6b5 downward triangle character 0xee 2013-05-01 23:18:38 -04:00
yenatch
9fc8d527f7 Fix PointerLabelToScriptPointer class
used the current address instead of the parsed address
2013-04-30 20:29:15 -04:00
Bryan Bishop
0e47273378 Merge yenatch/master. 2013-04-27 17:29:29 -05:00
yenatch
494f4c13fe damagecalc is actually damagestats; itemmultiplier is actually damagecalc 2013-04-20 02:55:50 -04:00
yenatch
e21fc0fad1 make chars consistent with preprocessor 2013-03-29 21:50:24 -04:00
yenatch
dc81d0cfcf dump move effects 2013-03-29 18:54:42 -04:00
Bryan Bishop
4332a25bd5 fix docstring formatting everywhere 2013-03-21 15:15:42 -05: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
Bryan Bishop
e0e902b1c7 dump tileset pngs in gfx.py 2013-03-18 04:52:49 -05:00
yenatch
c19dcb996c Fix unused function parse_map_header_by_id
'Dunno' exception always fired even if parameters were correct
2013-03-18 00:30:37 -04:00
Bryan Bishop
36a0acbde1 Merge pull request #122 from yenatch/master
vba config shouldn't need fiddling out of the box
2013-03-07 21:05:14 -08:00