Bryan Bishop
9ef0b0bfc6
set character encoding header in interval_map.py
...
original-commit-id: 47a828c1dcdb3fa1b9655bb4e3f618afe4fe14cc
2013-01-27 17:05:17 -06:00
Bryan Bishop
f924fff38f
fix imports in graph.py
...
Although graph.py never used DisAsm, it was still trying to import the
deprecated class. Removed.
original-commit-id: 74a4d6588458a05d2e833f12ea2c80df10b0865d
2013-01-27 17:03:51 -06:00
Bryan Bishop
107f5d6901
fix header comments in graph.py
...
original-commit-id: 26ed5760a2116110c8940b9958cdd87c2ca8ea00
2013-01-27 17:03:00 -06:00
Bryan Bishop
e5a2fa2174
remove a duplication of load_rom and load_asm
...
original-commit-id: f22bbdd722bad8e2700b5801b45d935b631de6c8
2013-01-27 17:00:51 -06:00
Bryan Bishop
01691e2659
clean up lousy headers in comparator.py
...
original-commit-id: 0ee57e94db13be9654c8bd1bbcb2b7bb2aa4e929
2013-01-27 16:56:31 -06:00
Bryan Bishop
263561455b
better import syntax in comparator.py
...
original-commit-id: 59d0c6bc0311ea236c355974403176cab39d1894
2013-01-27 16:55:52 -06:00
Bryan Bishop
6922cd3f61
better import syntax in crystal.py
...
original-commit-id: 4dfb8d3b095c72336614ff6add54cc063321ed50
2013-01-27 16:54:58 -06:00
Bryan Bishop
baa2523bfb
remove extra whitespace in gbz80disasm
...
original-commit-id: ac47399e66c333dd733a352e2c93689908eaba3b
2013-01-27 16:52:20 -06:00
Bryan Bishop
fe8e2a0a4b
remove a broken, unfinished disassembler (DisAsm)
...
This removes DisAsm from romstr.py, which was the only reason that
gbz80disasm wasn't able to import RomStr from romstr.py.
DisAsm was an experimental gbz80 disassembler that was meant to replace
gbz80disasm eventually. The goals were to write cleaner code and write
more unit tests. But it never worked and the code quality looks close to
being the same as gbz80disasm anyway.
original-commit-id: 00f1b71cd48f7992d70309a82ccd0a2d0f5ac8db
2013-01-27 16:49:35 -06:00
Bryan Bishop
ea6e8ed566
allow unicode addresses in RomStr.to_asm
...
original-commit-id: a1579ab5193d4f0bf0d751b335a06dddf9ba3dfa
2013-01-27 16:46:52 -06:00
Bryan Bishop
c671840136
add character encoding header in gbz80disasm.py
...
original-commit-id: 500d47f4cca9a4f9c7a6909c9fd6f340abf1d022
2013-01-27 16:43:03 -06:00
Bryan Bishop
c11e9643d7
include character encoding header in romstr.py
...
original-commit-id: 4e1e9ed229554e9c27c4a2fa6dfaa42b4eb518c0
2013-01-27 16:42:23 -06:00
Bryan Bishop
a1d75be754
better formatting for romstr imports
...
original-commit-id: 8f4b5dae2a36bfb98f04e941252462b69b8cf953
2013-01-27 16:41:35 -06:00
Bryan Bishop
b14f54f861
RomStr doesn't need deepcopy
...
original-commit-id: 5eb81b07f32fe00ad8be23f80a32eb44db42831e
2013-01-27 16:40:09 -06:00
Bryan Bishop
33be75263a
commentify report_untested
...
original-commit-id: 86150b0f8a1cfac1b30521a9bae78d32bbdb29d2
2013-01-27 16:37:48 -06:00
Bryan Bishop
a0cc3cac6e
fix label imports in tests
...
original-commit-id: bc167bedb73052c37c37f5158ae30cfdff88e581
2013-01-27 16:34:21 -06:00
Bryan Bishop
a94c18fca3
fix AsmList import in tests
...
original-commit-id: 44db66e13e55d01adac349a48e26384318f24c56
2013-01-27 16:32:52 -06:00
Bryan Bishop
13f0b0df11
fix pksv imports in tests
...
original-commit-id: 564a1b5874dfb7bae6454ad0b78d11cd1454aaab
2013-01-27 16:30:27 -06:00
Bryan Bishop
1024ac17f8
fix calculate_pointer in tests
...
original-commit-id: 50ae458b08d6097510a2f95dc596cad6e2c31eeb
2013-01-27 16:29:30 -06:00
Bryan Bishop
307894a7dd
split out more item_constants stuff
...
Some of the item_constants functions are now placed in
item_constants.py, and the unit tests now import from that file rather
than from crystal.py for those functions.
original-commit-id: f8b1695b548403e5db7e65d22e10cde81be66861
2013-01-27 16:27:41 -06:00
Bryan Bishop
cc0757f7c7
split out tests into a separate file
...
original-commit-id: 35682de426c14eb18da736464ebf718927ef393e
2013-01-27 07:22:31 -06:00
Bryan Bishop
850de7f573
fix label generator
...
Recently the bank lines were changed to use lowercase characters,
breaking the generator for "labels.json".
original-commit-id: a826951adbbe74f170219402791ceb4074c3c4de
2013-01-23 18:32:23 -06:00
yenatch
7cfc2746c6
update gfx.py to reflect new structure
...
original-commit-id: cd0f71730583f7db1e81549d0269fa38ea315ac9
2013-01-22 05:01:21 -05:00
Bryan Bishop
b17ba65a47
clean up python script imports
...
original-commit-id: 0a54ce9e75201d718b971789a6502f8205d2e986
2013-01-15 16:20:10 -06:00
Bryan Bishop
b733482ed3
remove the Size class (unused)
...
original-commit-id: 80781e56f045dca95e03ccf8d8851f44b0bae0df
2013-01-15 16:15:25 -06:00
Bryan Bishop
6a3fa68f8b
split out IntervalMap into a separate file
...
original-commit-id: 536df0787f77db30144d47bda2c2105ee9ad1321
2013-01-15 16:12:26 -06:00
Bryan Bishop
f11fc0fa09
Merge pull request #86 from yenatch/master
...
3jumptext is an ender.
original-commit-id: 7a33b66ab4758fc00bb573eb0d1e3881a824a29a
2013-01-14 20:44:07 -08:00
yenatch
e810b8df37
forgot to make 3jumptext an ender
...
original-commit-id: 669c461ad8c60c0ca709fc5b52f02c6a0fc60561
2013-01-14 23:19:31 -05:00
Bryan Bishop
211ce8f725
Merge pull request #85 from yenatch/master
...
More script commands.
original-commit-id: e09aff77152b50cd9fde923fc913a6f5b815c3e8
2013-01-14 19:25:54 -08:00
yenatch
6829d3aafe
add missing script command (3jumptext)
...
original-commit-id: 28b565a01c40bf61990ad84c78cf602e2419256e
2013-01-14 21:44:47 -05:00
Bryan Bishop
1c963494a8
Merge pull request #84 from yenatch/master
...
make script parsing less terrible
original-commit-id: df680fde38030c8ad572b5667b89f50696049a20
2013-01-14 01:48:24 -08:00
yenatch
451a0d7700
banish script parser output to debug
...
original-commit-id: acd6d354c8701f0ac296611fda2d184fdd8c15fc
2013-01-14 03:15:47 -05:00
IIMarckus
2a01a4873f
Fix typo.
...
original-commit-id: 818a82a20ebb3e35454e33389b0174a2a4623070
2013-01-13 16:12:25 -07:00
yenatch
f0e7a120a5
make careless use of gfx.py less fatal
...
original-commit-id: 9fbe7ea42390e7a0d6a1288f076d7951ce66b5eb
2013-01-13 00:40:13 -05:00
yenatch
7774a995fb
implement rgb macro for palettes
...
original-commit-id: 238f40602479c43954916a967523d0a873cdd92b
2013-01-13 00:38:48 -05:00
yenatch
e07544636d
add symfile generation
...
original-commit-id: e59a7c8d6f2c469fcb4cade67556f60f49ccb429
2013-01-10 03:00:46 -05:00
yenatch
636e7e1ec7
include all compressed and decompressed graphics
...
* frontpics & animation tiles
* backpics
* trainer pics
* attack animation gfx
* intro gfx
* intro tilemaps
* title gfx
* tilesets
* player backpic
* dude backpic
* pokegear/town map
fixes #33 , #34 and #35
original-commit-id: 2cdf7a3688c43766663028cf6e644f13fae4bdf3
2013-01-04 04:08:13 -06:00
yenatch
a5cfb49dfa
allow other files to import gfx.py
...
original-commit-id: e91f41dd3565cd4edfd71d0e3ee9744e99403443
2013-01-02 04:37:45 -05:00
yenatch
b3ebb0f873
make gfx.py more convenient from command line
...
original-commit-id: 3e953ad7b65f033cc5e29319f34cfd661b24af07
2013-01-01 16:31:05 -05:00
Bryan Bishop
78494c359e
Merge pull request #51 from yenatch/master
...
Image compression/decompression.
original-commit-id: 98c1d9d09dce4d61a3d0331a731120686c11a02d
2012-12-31 20:10:43 -08:00
yenatch
d6678d25fb
decompress all known gfx
...
original-commit-id: a3fe9c00d0c5d0e63c7e64a28d16010f43707d10
2012-12-31 22:53:40 -05:00
Bryan Bishop
99331db1d0
clean up whitespace
...
original-commit-id: da8b1e06e5c2866cf73f469f08835c658713ff41
2012-12-28 12:37:58 -06:00
Bryan Bishop
41e980acd2
Merge remote branch 'remotes/yenatch/master'
...
fixes #49
original-commit-id: 3b20ea29160760a85db9d84f61a92a957d14efb3
2012-12-23 02:57:21 -06:00
IIMarckus
e31127e33b
specialphonecall takes a 16‐bit ID.
...
original-commit-id: 19ce6e7a748094f8f74b123c6b803808ed530d90
2012-12-17 21:00:41 -07:00
Bryan Bishop
4e65cb95c3
update gbz80disasm to not use $ff00+$ff syntax
...
original-commit-id: 531ccfb5f65bbbfa90e2a5c8493d9584dc2012be
2012-12-16 09:16:04 -06:00
padz
5db51c58f5
make gbz80disasm easier to use externally
...
original-commit-id: 3bae3a53135da32b30d5166d52a2e8e4117fc95e
2012-12-14 02:47:13 -05:00
Bryan Bishop
e15fcc4fd8
md5 -> hashlib
...
original-commit-id: 671e2b1289950586723078b3b29d14c9631ac140
2012-11-30 10:17:23 -06:00
Bryan Bishop
a21b183757
move allowed_lengths for music macros out
...
This moves the allowed_lengths setting out of the preprocessor. Special
cases should not be hardcoded in the preprocessor.
original-commit-id: a1a9fa5560e01d97c7c33bbf8bb19fe4e76d3c28
2012-11-30 09:54:02 -06:00
padz
ff24a0d621
implement music macros; INCLUDE injection in pre
...
original-commit-id: 3626ddebd1dd7363c98b403ba1fe3c2d7dc598ee
2012-11-30 05:58:00 -05:00
padz
a95d500a02
play nice w/ cygwin; undeprecate used command
...
original-commit-id: 1b54f73323e98b59bfe238fa79a0f8d081d3e5d3
2012-11-15 02:33:02 -05:00