Commit Graph

845 Commits

Author SHA1 Message Date
yenatch
a91b349823 gfx: 1bpp-to-png
also dont assume any dimension matches in png conversion
2013-11-18 05:15:43 -05:00
yenatch
2ffe762d17 gfx: rewrite lots 2013-11-18 04:35:48 -05:00
yenatch
3acbf50237 refactor png-to-2bpp conversion 2013-11-17 16:27:20 -05:00
yenatch
45d2614aff gfx: 1bpp<->2bpp conversion
this is the simplest way to support 1bpp without rewriting a lot
2013-11-17 16:27:03 -05:00
yenatch
f5ad14d634 audio: pass in a channel id to sound commands 2013-11-13 12:46:18 -05:00
yenatch
7c4f12dec9 audio: noise command 2013-11-13 12:45:28 -05:00
yenatch
3013246d69 cry_names: zfill(2) 2013-11-08 22:49:47 -05:00
yenatch
e7385d6f04 audio: less ambiguous tuple unpacking 2013-11-08 22:49:25 -05:00
yenatch
85fa5a06c0 audio: sfx and cries are contiguous
songs for the most part are independent

sfx/cry headers are grouped together and most sound data is shared
2013-11-08 22:47:31 -05:00
yenatch
6b434d2230 oops forgot the cries 2013-11-07 02:11:00 -05:00
yenatch
a9aae36888 fix spacing for pokered music command classes 2013-11-07 01:00:14 -05:00
yenatch
5612a982ab add some extra music command classes 2013-11-07 00:58:58 -05:00
yenatch
2d30d0bca7 crystal: use rom.interval instead of rom_interval
rom_interval got broken when globals got nuked

it's probably a bad idea to keep the function around but it's supposed to work eventually
2013-11-07 00:48:43 -05:00
yenatch
ea28149195 preprocessor: from_asm method and is_rgbasm_macro in command classes
enjoy this half-assed implementation
2013-11-07 00:41:44 -05:00
yenatch
ec52d62700 sound parsing actually works now
+ sorted out output semantics
+ cross-song label references
+ incbins
2013-11-07 00:29:37 -05:00
yenatch
d88513d2cd dont use ambiguous characters in sfx_names 2013-11-07 00:27:22 -05:00
yenatch
da7b863b8e Merge branch 'master' of github.com:kanzure/pokemon-reverse-engineering-tools 2013-11-05 14:11:04 -05:00
yenatch
4a7373d8e7 audio.py: cleaner key deletion 2013-11-05 14:10:25 -05:00
yenatch
f790933680 audio.py: pointer table generation 2013-11-05 13:54:59 -05:00
Bryan Bishop
dafb5518df Merge pull request #44 from dannye/master
Red Music Tools
2013-11-01 07:48:48 -07:00
U-Fish-PC\Daniel
71204998ed Update red music tools 2013-11-01 10:25:40 -04:00
yenatch
fc34ecde0a crystal: sound data dumper
todo: samples, drumkits
2013-10-31 01:45:14 -04:00
yenatch
e11e406fa4 crystal: sfx and song names 2013-10-31 01:38:30 -04:00
yenatch
6496e19f68 spruce up music command classes plus BigEndianParam 2013-10-31 01:37:00 -04:00
U-Fish-PC\Daniel
ed174d2432 Update redmusicdisasm and redsfxdisasm 2013-10-22 02:24:37 -04:00
U-Fish-PC\Daniel
c57e0f0706 Add pokered music tools 2013-10-13 10:50:09 -04:00
U-Fish-PC\Daniel
1b56d95aa0 Add pokered music commands 2013-10-13 10:49:07 -04:00
Bryan Bishop
1089cf99d0 Merge pull request #42 from yenatch/script-commands
rename some event script commands
2013-09-30 21:43:28 -07:00
yenatch
bcb3295dbd use 'wait' for events instead of move effects 2013-10-01 00:36:39 -04:00
yenatch
a0397cad28 event script command 0xaa doesnt exist 2013-09-30 22:40:21 -04:00
yenatch
7268b91c23 fix up the last few event scirpt commands 2013-09-30 22:40:14 -04:00
yenatch
f4b04ff8e9 if_greater_than and if_less_than commands were swapped 2013-09-26 18:22:27 -04:00
Bryan Bishop
f3fb1f24ea Merge pull request #41 from kanzure/fix-crystal-config
Fix crystal.py configuration
2013-09-26 15:19:20 -07:00
Bryan Bishop
f7b6808797 fix configuration typo 2013-09-26 17:18:46 -05:00
Bryan Bishop
97fdec37ec fix crystal.py configuration
Ugh, it's still a global?
2013-09-26 17:17:18 -05:00
Bryan Bishop
c02c65fe74 Merge branch 'yenatch/map-editor' into master
Conflicts:
	pokemontools/crystal.py

Fixes #40.
2013-09-26 10:46:04 -05:00
yenatch
3496b81eb3 crystal.py: no more relative paths 2013-09-26 03:13:15 -04:00
yenatch
001b6bc850 map_editor: create any pngs that don't exist yet 2013-09-26 02:52:45 -04:00
yenatch
92eeee28dd map_editor: skip any nonexistent tiles in map rendering 2013-09-26 02:49:37 -04:00
yenatch
96574a08ee map_editor: more flexible macro handling
makes less assumptions about the structure of a header
2013-09-26 02:27:01 -04:00
Bryan Bishop
cff5ce9bc8 Revert "tabs to spaces (pep8)"
This reverts commit 9bea14db79.

Conflicts:
	pokemontools/map_editor.py
2013-09-26 01:24:13 -05:00
Bryan Bishop
907217fb90 Merge pull request #38 from kanzure/importable-map-editor
Importable map editor
2013-09-25 23:17:28 -07:00
Bryan Bishop
9d1a68cce5 refactor a global constant to be set in __init__ 2013-09-26 01:09:50 -05:00
Bryan Bishop
3f28232f0d put the tk loop into __main__ 2013-09-26 01:06:19 -05:00
Bryan Bishop
e4b2d2e4d2 minor formatting fix 2013-09-26 01:05:23 -05:00
Bryan Bishop
9bea14db79 tabs to spaces (pep8) 2013-09-26 01:04:51 -05:00
yenatch
5f0bd7a2fe use config instead of configuration
this was kind of overzealous
2013-09-26 01:57:29 -04:00
yenatch
46f1a2e1c3 rename bit1/bit2 script commands to event/flag 2013-09-24 03:28:55 -04:00
yenatch
918adb82ba script commands wildon and wildoff got mixed up
this was a mistake in the original pksv spec and tauwasser's notes
2013-09-24 03:24:29 -04:00
Bryan Bishop
82fb73edc3 version bump to: v1.4.1
The previous version was uploaded with .swp files and a large libvba.so
that was in my working directory. I regret everything.
2013-09-21 21:45:51 -05:00