Commit Graph

514 Commits

Author SHA1 Message Date
yenatch
b9b764fc65 remove redundant code from find_label in gbz80disasm
original-commit-id: 313e853e391e69f9bca875fa37f431c84fb32cbe
2013-05-14 13:56:34 -04:00
yenatch
e2d3d6b409 fix bank-checking for labels in gbz80disasm
bank 1 is not fixed like bank 0

original-commit-id: b9bd11e34def340afdc7befc29fcca15e3bf71cb
2013-05-14 13:46:38 -04:00
Bryan Bishop
d054a66594 Merge pull request #132 from yenatch/master
map groups + gfx.py fix

original-commit-id: 35d77a29885ccdbcde4350f59c93b6afe010b5f3
2013-05-12 07:53:46 -07:00
yenatch
e5d28d058e there is no os.touch
original-commit-id: 05ceafe614def25e599f839bd86d03292fdbc5b0
2013-05-12 10:22:24 -04:00
Bryan Bishop
ebc6a54f1e Merge pull request #130 from Sanky/master
Menu stuff, battle text split & extras.

original-commit-id: cf4ec47b153f59ec377bef48fb5ea442638c6421
2013-05-12 06:21:45 -07:00
yenatch
b954746344 touch graphic files during decmp so make doesnt try to replace them
original-commit-id: a85077eb4f8a153cbe8fd00f59943b715536045e
2013-05-11 13:39:40 -04:00
yenatch
e6c3ea6086 portraitm_ail -> portraitmail
original-commit-id: 827f80ca05026bb130e58e1a522313cab7b228ce
2013-05-07 23:28:24 -04:00
Sanky
fc09356a8a add extras/parse_consecutive_strings.py
original-commit-id: aeaaade74cb5ff4d4884a4846ffe9a2103d50960
2013-05-08 01:22:28 +02:00
Sanky
bf45a2bdf2 make gbz80disasm understand bank:offset syntax
original-commit-id: d01369178b0ced3b299903b1cdf0084bdf067c43
2013-05-08 01:21:55 +02:00
Bryan Bishop
4f3bb35e56 Merge pull request #126 from yenatch/master
map scripts + ai + disabled line ending correction

original-commit-id: 2a44711fa7b96868048f39418a6095ea7013608d
2013-05-06 22:15:41 -07:00
yenatch
ffdf82fa45 downward triangle character 0xee
original-commit-id: 2acb46f6b58156ee3380a6203070ef2096db4b84
2013-05-01 23:18:38 -04:00
yenatch
f8dd005ee7 Fix PointerLabelToScriptPointer class
used the current address instead of the parsed address

original-commit-id: 9fc8d527f727dedfb8dd718cfea9e29d7b26775d
2013-04-30 20:29:15 -04:00
Bryan Bishop
7953d20fd5 Merge yenatch/master.
original-commit-id: 0e47273378b1f7f010e4d3e6dbab2a14dcc781ce
2013-04-27 17:29:29 -05:00
yenatch
9114f86aa3 damagecalc is actually damagestats; itemmultiplier is actually damagecalc
original-commit-id: 494f4c13fe2a45d0569bde2fc06e1bdf3fbfc857
2013-04-20 02:55:50 -04:00
yenatch
8fbba79bdf make chars consistent with preprocessor
original-commit-id: e21fc0fad19a4411c613d9caadfe13bc6f438d34
2013-03-29 21:50:24 -04:00
yenatch
ee31193dfc dump move effects
original-commit-id: dc81d0cfcfa92ecfab99984ee674d0fe3e6c19cf
2013-03-29 18:54:42 -04:00
Bryan Bishop
fbd4277bc8 fix docstring formatting everywhere
original-commit-id: 4332a25bd5f6f80975f762d126e92064c756f7d4
2013-03-21 15:15:42 -05:00
Bryan Bishop
a871328505 Merge pull request #124 from yenatch/master
hram labels + png make target

original-commit-id: 1abb020335e89ace4f51e1c81902e9bbe95c6af2
2013-03-20 20:12:48 -07:00
yenatch
d6497d6a70 fix path handling in png make target
lz files were being decompressed to the top directory (gfx/)

original-commit-id: b570c4d6e660ffe36427a29ee34f87298b77bfda
2013-03-18 16:36:30 -04:00
Bryan Bishop
46d96119c8 dump tileset pngs in gfx.py
original-commit-id: e0e902b1c7612a582a945fd4b0bb31e3b19d5945
2013-03-18 04:52:49 -05:00
yenatch
c749f4bb5b Fix unused function parse_map_header_by_id
'Dunno' exception always fired even if parameters were correct

original-commit-id: c19dcb996c26111d5ccda8cb783ccbb15348992b
2013-03-18 00:30:37 -04:00
Bryan Bishop
68c2b09745 Merge pull request #122 from yenatch/master
vba config shouldn't need fiddling out of the box

original-commit-id: 36a0acbde17ede24152840257e8f12918cd9c6b6
2013-03-07 21:05:14 -08:00
yenatch
3c166db9c5 vba - generalize project path in config
original-commit-id: a46a4b35a2fa3ceefb6a283480a4e6a9efe8424c
2013-03-07 23:39:21 -05:00
yenatch
afbed06238 vba - suppress joypad input message
original-commit-id: 91b24953f615569d5130cb1ccceffa8149cc42c0
2013-03-07 23:27:55 -05:00
Bryan Bishop
3f7de71048 vba - record/replay button sequences
original-commit-id: 6a3cf4e39391560ec978432ec797ce77d13cd76b
2013-03-05 01:56:25 -06:00
Bryan Bishop
ee4a7b53dd vba - keyboard input optimization
original-commit-id: 0fa5d9a16217993922c88f7ec83ae99857a31267
2013-03-04 03:08:00 -06:00
Bryan Bishop
bb839a1f9e vba - basic cheating infrastructure
original-commit-id: a1ed7e76583127562c73bf12766ba2958451b9dc
2013-03-03 21:42:35 -06:00
Bryan Bishop
ef2813c399 vba - separate config
original-commit-id: 9ee0600524218d47ce2faa9b122a8e2b498e9b66
2013-03-01 22:45:30 -06:00
Bryan Bishop
641f3dafbf vba - run without unit tests
original-commit-id: 3255093451d5828dd3e2b3a0132858a296ee4777
2013-03-01 22:31:20 -06:00
Bryan Bishop
e62461c86b vba - also install jython
original-commit-id: c2932b0490dc9cf7cce8ace6a85eecb49fd8e362
2013-03-01 22:11:45 -06:00
Bryan Bishop
016bc97295 vba - improve install instructions
original-commit-id: e59fa73c95d11aaee8a5759baea3ed0b3fde2741
2013-03-01 21:40:49 -06:00
yenatch
852043eab2 Script commands 0xb2 and 0xcc don't exist
original-commit-id: a7c260f4f4b843cfed1d8f39d3fca396cacc95c2
2013-03-01 16:22:35 -05:00
Bryan Bishop
e06886df6d fix bank handling in vba.call
original-commit-id: bcfac567ed5bb9e5254a41fc7ef20d325d5763b5
2013-03-01 13:30:44 -06:00
Bryan Bishop
3cdb1a5a8e vba - example unit testing of roms
original-commit-id: f0767fb15a2c6364b81f864d8e6c4319da8e2f33
2013-03-01 12:36:17 -06:00
Bryan Bishop
16aa4af022 vba - call arbitrary functions from jython
original-commit-id: caa1dc10dded1e4dfea148be11ca1d37172c623a
2013-03-01 02:43:55 -06:00
Bryan Bishop
f813380da3 vba - fix off-by-one error in registers
original-commit-id: b543827ee4d18caa083be5ce28cf2c9aa1129f28
2013-02-28 22:26:58 -06:00
Bryan Bishop
fdf08a78ca vba - better way to deal with registers
original-commit-id: 7dc2c3129b7c5dbf1cf334d33a10b045a2de1596
2013-02-28 22:23:01 -06:00
Bryan Bishop
fff2e9fa4e vba - get text on screen
original-commit-id: 37fac8a71427da5517780739414967273eb011ba
2013-02-28 20:38:11 -06:00
Bryan Bishop
11f07db528 vba - set_registers
original-commit-id: 4941f473a28d6a360b7c013fcd41072149f21b35
2013-02-28 04:33:54 -06:00
Bryan Bishop
cd19630af5 remove code slop
original-commit-id: 9a20ba1d3f8b5680773bc65ed8497d2519ccb421
2013-02-28 04:32:28 -06:00
Bryan Bishop
7facd46627 vba warp function
original-commit-id: a98dcc1745dac35420d8d37d7578123919038485
2013-02-28 04:31:45 -06:00
Bryan Bishop
4f71947645 disassemble scripting engine commands
All commands are in scripting.asm, and there's also a small python
script that was written to assist with some of the automation.

original-commit-id: 23003bd772a2b025ea1972fade00309cc04003a7
2013-02-27 23:31:12 -06:00
Bryan Bishop
2b2f00f08b update gbz80disasm for handling known fall-throughs
When disassembling a group of functions, sometimes there are other
functions known in advance. By passing in a list called stop_at to
gbz80disasm, it is possible to prevent disassembled asm from running on
for longer than necessary.

original-commit-id: 01e10a11b27978c40e0f5fc3334dfd66c1a004a3
2013-02-27 21:41:03 -06:00
Bryan Bishop
a1dce154d4 update automatic main.asm insertion
This updates the automatic parsing of main.asm to catch cases of INCBINs
pulling in files that end in .asm, .lz, .1bpp, and .2bpp. This is
necessary because otherwise the parser tries to figure out the start and
end addresses expressed on the INCBIN line, details not present on these
types of lines in the asm.

Asm and Asm.insert_all are now back in working condition.

original-commit-id: 0e2ab04353bf5fa3114aa87e77e5366af6aa942c
2013-02-27 21:38:53 -06:00
Bryan Bishop
1230ed649a include_last_address for disassembler
This is an extra option that is on by default for gbz80disasm, which is
useful in situations where you may not want the last address to be
included (like if the output of the disassembler is going to be sent to
to_asm anyway).

original-commit-id: 381d3e76b73302672c0d568600f78f15f5cd0fcf
2013-02-27 20:03:18 -06:00
Bryan Bishop
d847dcd8f4 make to_asm more configurable
original-commit-id: affcd587d69b18d84bcb473b28723613b755c846
2013-02-27 20:02:51 -06:00
Bryan Bishop
c7a67544b7 fix parameters for verbosegiveitem2 definition
original-commit-id: 2a04c1c20a22f13ff3f0b0a8ce2d8e96b8798ef8
2013-02-27 17:22:07 -06:00
Bryan Bishop
6aa350380c describedecoration is an ender
original-commit-id: d2b464e51dbe84c26982e5863eacca8d7db09fc5
2013-02-27 17:21:10 -06:00
Bryan Bishop
44ecf8ed24 oops, include map_names
original-commit-id: 821d7948981924a4b8145edf072a69ab799ddd14
2013-02-27 03:01:49 -06:00
Bryan Bishop
a6665230c9 various helper functions for the vba interface
New vba.py features include:
* get_memory_at
* get_memory_range
* set_memory_at

Also, the "crystal" class has a number of specialty helpers:
* crystal.walk_through_walls
* crystal.get_player_name
* crystal.get_map_name
* crystal.get_xy
* crystal.nstep (which sets memory each step by calling certain
* functions, like walk_through_walls)
* crystal.is_in_battle
* crystal.get_gender

original-commit-id: ec098d1a03e28e07c3bbd3174b5f02b713c24b6f
2013-02-26 21:49:54 -06:00