aboutsummaryrefslogtreecommitdiffstats
path: root/extras/analyze_incbins.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* make extras/ a submoduleBryan Bishop2013-09-011-502/+0
| | | | | Use pokemontools v1.3.0 and use the same preprocessor as the pokecrystal project.
* * added verification (equality test) for blue version buildMr Wint2013-03-121-0/+6
| | | | | * changed analyze_incbins to recognize generated label addresses * fixed bank 1D assembly to make blue version build correctly
* Improve error checking in the context of issue #27sawakita2012-10-011-0/+3
| | | | | Link to kanzures' guidelines for that issue: https://bitbucket.org/iimarckus/pokered/issue/27/analyze_incbinsscan_for_predifined_labels#comment-2068911
* Fix param error in load_asm_if_one_exists_in()sawakita2012-10-011-2/+2
| | | | | | | Not sure, but I suppose that using *args makes the passed list an element of the args list, thus causing iteration on args to yield the passed list as an element instead of yielding the single elements of the passed list. Maybe.
* Restore auto-loading of default "main" asm filesawakita2012-10-011-3/+21
| | | | | | | | This feature was removed misunderstanding its actual use: if filename passed to load_asm() is in defaults the correct current main asm file is loaded. This saves us from knowing which actually is the current name of the "main" asm file, because the correct one is chosen automatically (unless, of course, the passed filename is not in the defaults list.
* Make analyze_incbins dirs reference os-independentsawakita2012-09-301-17/+19
| | | | | This should fix a bug caused by comparing string literals to directories. It should also be safer, using "os" module to access paths.
* romvisualizer updates for main.asm, common.asm, pokered.asmBryan Bishop2012-03-161-2/+16
| | | | | hg-commit-id: cc4f5c666710
* Remove python shebangs.IIMarckus2012-03-141-2/+1
| | | | | | | | | | | - 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
* tool to sort INCBINs by interval lengthBryan Bishop2012-01-301-0/+18
| | | | | hg-commit-id: 3d687a971202
* move learnsets into the asmBryan Bishop2012-01-271-8/+9
| | | | | hg-commit-id: a77dfd566b43
* rename common.asm -> main.asmBryan Bishop2012-01-251-7/+7
| | | | | hg-commit-id: adec8319c54b
* gbz80disasm now prints out known labelsBryan Bishop2012-01-231-4/+23
| | | | | hg-commit-id: f54b2dfb9512
* python to find labels and offsets in analyze_incbinsBryan Bishop2012-01-231-3/+160
| | | | | hg-commit-id: 469315517f04
* analyze_incbins - reject zero interval incbinsBryan Bishop2012-01-171-1/+3
| | | | | hg-commit-id: 3e2f4c7591f4
* fix some offset errors in insert_texts.pyBryan Bishop2012-01-171-1/+1
| | | | | hg-commit-id: b131d049ecd3
* text insertion code for unnamed TX_FARsBryan Bishop2012-01-171-0/+1
| | | | | | | | | | | | | | 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
* update analyze_incbins for common.asmBryan Bishop2012-01-151-7/+7
| | | | | hg-commit-id: ea7bf352f66c
* fix asm for route 9 texts 1 through 9 inclusiveBryan Bishop2012-01-111-1/+5
| | | | | hg-commit-id: e139dfb9a032
* insert_asm in insert_texts for function asmBryan Bishop2012-01-101-2/+3
| | | | | hg-commit-id: dc34a93f0f47
* updates to asm injection codeBryan Bishop2012-01-091-0/+1
| | | | | hg-commit-id: 6748c9773b32
* insert labels for map texts pointer listsBryan Bishop2012-01-081-1/+5
| | | | | hg-commit-id: f374e6e126d7
* update to the broken TX_FAR inserterBryan Bishop2012-01-081-0/+1
| | | | | hg-commit-id: f5fa1a4f052c
* text analysis and insertion code (TX_FAR targets only)Bryan Bishop2012-01-071-0/+26
| | | | | hg-commit-id: e4c007ad1c11
* import lots of block labelsBryan Bishop2012-01-041-5/+8
| | | | | | | map_block_dumper is very buggy, so not all labels are included yet. hg-commit-id: 1880e2dfbf9e
* Route11GateUpstairs_h map header asmBryan Bishop2012-01-031-1/+1
| | | | | hg-commit-id: 8638c4221e05
* Route11Gate_h map header asmBryan Bishop2012-01-031-1/+1
| | | | | hg-commit-id: 6c4ccdd3e56a
* analyze_incbins now applies map header asm patchesBryan Bishop2012-01-031-10/+71
| | | | | hg-commit-id: aec68677b92a
* remove debug print lineBryan Bishop2012-01-031-1/+0
| | | | | hg-commit-id: 9eac2d93fe88
* fix final interval in generated incbinsBryan Bishop2012-01-031-0/+1
| | | | | hg-commit-id: 38e1356814c2
* analyze_incbins is a tool to generate diffsBryan Bishop2012-01-031-0/+161
hg-commit-id: 15e2aa3dae32