aboutsummaryrefslogtreecommitdiffstats
path: root/extras/analyze_incbins.py (unfollow)
Commit message (Collapse)AuthorFilesLines
2013-09-01make extras/ a submoduleBryan Bishop1-502/+0
Use pokemontools v1.3.0 and use the same preprocessor as the pokecrystal project.
2013-06-10allow commas in commentsBryan Bishop1-0/+5
Eventually gbz80disasm should be split into a separate project, there's no point in maintaining two versions of gbz80disasm.
2013-03-12* added verification (equality test) for blue version buildMr Wint1-0/+6
* changed analyze_incbins to recognize generated label addresses * fixed bank 1D assembly to make blue version build correctly
2012-10-01Improve error checking in the context of issue #27sawakita1-0/+3
Link to kanzures' guidelines for that issue: https://bitbucket.org/iimarckus/pokered/issue/27/analyze_incbinsscan_for_predifined_labels#comment-2068911
2012-10-01Fix param error in load_asm_if_one_exists_in()sawakita1-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.
2012-10-01Restore auto-loading of default "main" asm filesawakita1-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.
2012-09-30Make analyze_incbins dirs reference os-independentsawakita1-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.
2012-03-16romvisualizer updates for main.asm, common.asm, pokered.asmBryan Bishop1-2/+16
hg-commit-id: cc4f5c666710
2012-03-14Remove python shebangs.IIMarckus1-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
2012-01-30tool to sort INCBINs by interval lengthBryan Bishop1-0/+18
hg-commit-id: 3d687a971202
2012-01-27move learnsets into the asmBryan Bishop1-8/+9
hg-commit-id: a77dfd566b43
2012-01-25rename common.asm -> main.asmBryan Bishop1-7/+7
hg-commit-id: adec8319c54b
2012-01-23gbz80disasm now prints out known labelsBryan Bishop1-4/+23
hg-commit-id: f54b2dfb9512
2012-01-23python to find labels and offsets in analyze_incbinsBryan Bishop1-3/+160
hg-commit-id: 469315517f04
2012-01-17analyze_incbins - reject zero interval incbinsBryan Bishop1-1/+3
hg-commit-id: 3e2f4c7591f4
2012-01-17fix some offset errors in insert_texts.pyBryan Bishop1-1/+1
hg-commit-id: b131d049ecd3
2012-01-17text insertion code for unnamed TX_FARsBryan Bishop1-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
2012-01-15update analyze_incbins for common.asmBryan Bishop1-7/+7
hg-commit-id: ea7bf352f66c
2012-01-11fix asm for route 9 texts 1 through 9 inclusiveBryan Bishop1-1/+5
hg-commit-id: e139dfb9a032
2012-01-10insert_asm in insert_texts for function asmBryan Bishop1-2/+3
hg-commit-id: dc34a93f0f47
2012-01-09updates to asm injection codeBryan Bishop1-0/+1
hg-commit-id: 6748c9773b32
2012-01-08insert labels for map texts pointer listsBryan Bishop1-1/+5
hg-commit-id: f374e6e126d7
2012-01-08update to the broken TX_FAR inserterBryan Bishop1-0/+1
hg-commit-id: f5fa1a4f052c
2012-01-07text analysis and insertion code (TX_FAR targets only)Bryan Bishop1-0/+26
hg-commit-id: e4c007ad1c11
2012-01-04import lots of block labelsBryan Bishop1-5/+8
map_block_dumper is very buggy, so not all labels are included yet. hg-commit-id: 1880e2dfbf9e
2012-01-03Route11GateUpstairs_h map header asmBryan Bishop1-1/+1
hg-commit-id: 8638c4221e05
2012-01-03Route11Gate_h map header asmBryan Bishop1-1/+1
hg-commit-id: 6c4ccdd3e56a
2012-01-03analyze_incbins now applies map header asm patchesBryan Bishop1-10/+71
hg-commit-id: aec68677b92a
2012-01-03remove debug print lineBryan Bishop1-1/+0
hg-commit-id: 9eac2d93fe88
2012-01-03fix final interval in generated incbinsBryan Bishop1-0/+1
hg-commit-id: 38e1356814c2
2012-01-03analyze_incbins is a tool to generate diffsBryan Bishop1-0/+161
hg-commit-id: 15e2aa3dae32