Commit graph

31 commits

Author SHA1 Message Date
IIMarckus
7a566260e6 Remove python shebangs.
- Not all systems have /usr/bin/python
- On those that do, it is not always python 2
- These files aren't marked executable anyway

Just use "python whatever.py" via shell instead.

hg-commit-id: 09184f4c838d
2012-03-14 20:44:07 -06:00
Bryan Bishop
7a76449908 remove some small incbins
hg-commit-id: 2084c82c52ec
2012-01-30 14:29:23 -06:00
Bryan Bishop
bed1f9de97 minor touch-ups and missed TX_FARs
hg-commit-id: 584a09bfde83
2012-01-19 13:09:25 -06:00
Bryan Bishop
609c797640 fill out some texts in bank $1d
hg-commit-id: 4f85e12d3d1f
2012-01-18 19:24:28 -06:00
Bryan Bishop
23fbb3b65d finish bank $22 with texts
hg-commit-id: 5ad22b1fd1b8
2012-01-18 13:48:53 -06:00
Bryan Bishop
9dfef12c7f calculate end address in text printer output
hg-commit-id: f7ac2a81cf15
2012-01-18 13:02:06 -06:00
Bryan Bishop
b48dfcd123 fix TX_RAM injector for addresses between $a-$f inclusive
hg-commit-id: 82f2343a6d11
2012-01-17 16:16:27 -06:00
Bryan Bishop
ffdd92db77 skip some incbins from analyze_texts for 0-size intervals
hg-commit-id: a63d92b4534c
2012-01-17 15:39:36 -06:00
Bryan Bishop
be34aed58e fix some offset errors in insert_texts.py
hg-commit-id: b131d049ecd3
2012-01-17 14:54:06 -06:00
Bryan Bishop
e5f9d4a144 text insertion code for unnamed TX_FARs
These TX_FARs are found in ASM inside INCBIN intervals, and as a
consequence do not have good names. Someone will have to review the
naming.

Note that these texts may or may not be referenced in scripts that
will eventually be imported. Some of these are raw texts that could
be completely unreferenced, but so far that doesn't look like the
case.

hg-commit-id: 47239e73071a
2012-01-17 13:34:51 -06:00
Bryan Bishop
fe40cc4c74 improve text printer, including TX_RAM and TX_NUM
hg-commit-id: 6ee4e09c729c
2012-01-17 11:02:52 -06:00
Bryan Bishop
42fa336ec6 analyze_texts - find possible TX_FARs
hg-commit-id: 3b5f657bd072
2012-01-17 03:11:11 -06:00
Bryan Bishop
f01ad092a5 TX_RAM for text engine command $1 in pretty_text
hg-commit-id: e4f95976fef8
2012-01-17 01:33:46 -06:00
Bryan Bishop
a23a030417 analyze_texts now returns an end address
hg-commit-id: a8d2da6b569a
2012-01-16 16:25:40 -06:00
Bryan Bishop
07016dcf45 insert _VermilionCityText14 machop text
hg-commit-id: 22d36f8bc08e
2012-01-14 21:49:55 -06:00
Bryan Bishop
3075fabe26 more automation to assist in text insertion
hg-commit-id: e631a0e3c275
2012-01-11 23:08:46 -06:00
Bryan Bishop
09289d049b calculate usage count for undone texts
hg-commit-id: d3d02d17f44b
2012-01-11 02:15:37 -06:00
Bryan Bishop
3da828165b add address output to analyze_texts find missing texts
hg-commit-id: 1c41e22d7b30
2012-01-11 01:51:35 -06:00
Bryan Bishop
b3ab0153b3 analyze_texts to find missing texts in pokered.asm
hg-commit-id: 7361a900a8ad
2012-01-11 01:40:53 -06:00
Bryan Bishop
99fcdc90f6 added text_pretty_printer_at to analyze_texts
hg-commit-id: 04e647ab44f8
2012-01-10 18:04:00 -06:00
Bryan Bishop
edbfce9ad3 update analyze_texts to find missing $08s
hg-commit-id: 298a5ffd0d98
2012-01-10 16:32:25 -06:00
Bryan Bishop
a1eebadc37 fix gbz80disasm to optionally load a module in analyze_texts
hg-commit-id: 0504f841a9d5
2012-01-10 00:59:02 -06:00
Bryan Bishop
52e723ae65 insertion code for $08 text script asm
hg-commit-id: 5668ca41238c
2012-01-09 22:24:04 -06:00
Bryan Bishop
20c54ccd58 add more text bytes for abbreviations
hg-commit-id: 95383d94746e
2012-01-07 12:11:12 -06:00
Bryan Bishop
d0be12ead0 somewhat buggy TX_FAR pretty printer
hg-commit-id: 94a023e4e37e
2012-01-07 01:34:22 -06:00
Bryan Bishop
6bad9c837c analyze_texts can handle more text commands now
hg-commit-id: 29ece1f29096
2012-01-06 22:26:08 -06:00
Bryan Bishop
1661e1890b starting to work with text command $01
hg-commit-id: e5bcd78d262b
2012-01-06 15:52:52 -06:00
Bryan Bishop
242a02aaa7 analyze_text now works with TX_FAR
hg-commit-id: a32cf6cdc6f2
2012-01-06 14:23:12 -06:00
Bryan Bishop
f1054129e2 fix pointer calculation in analyze_texts
hg-commit-id: 13e532bc6ca5
2012-01-06 12:20:46 -06:00
Bryan Bishop
6a8582e61f fix some python reserved names and variables
hg-commit-id: 712f1522dcc9
2012-01-06 11:20:48 -06:00
Bryan Bishop
d9fb7e59bd a prototype of a script to parse text scripts
hg-commit-id: e879fc3b59e3
2012-01-06 03:22:53 -06:00