Commit Graph

1085 Commits

Author SHA1 Message Date
Bryan Bishop
b77f80efd8 also call load_all_sprite_Images 2014-04-28 18:43:08 -05:00
Bryan Bishop
a07c92d3b3 Merge branch 'master' into path-finding 2013-12-18 20:20:09 -06:00
Bryan Bishop
d8f4e687eb Merge pull request #60 from yenatch/dependencies
wram: fix section address allocation
2013-12-11 17:42:00 -08:00
yenatch
b0fa67a511 wram: fix section address allocation
who wrote this?
2013-12-11 20:28:25 -05:00
Bryan Bishop
58de3846c7 Merge pull request #59 from yenatch/dependencies
Use a mapfile instead of labels.json; object dependency handling
2013-12-09 17:48:11 -08:00
yenatch
f35bb2c5cc scan_includes: join names properly and actually use conf.path 2013-12-08 01:26:09 -05:00
yenatch
f5ddc33705 preprocessor: dont write to globals.asm for each process 2013-12-07 05:05:54 -05:00
yenatch
05b622e7c0 labels: grab labels from a mapfile instead of an old json dump
labels.json had to be deleted manually to be updated, and rgbasm is better at scanning labels anyway
2013-12-06 19:44:02 -05:00
yenatch
460171a2c5 wram: cleaner line parsing
fixes 0fd121a8
2013-12-06 19:43:41 -05:00
yenatch
1be104b8e8 sym: rgbds does ram banks now 2013-12-06 19:39:34 -05:00
yenatch
806fd657c2 use file includes in rgbasm objects to generate dependencies 2013-12-05 21:21:08 -05:00
yenatch
0fd121a81e wram: try to determine addresses for section defs without any 2013-12-05 21:21:05 -05:00
Bryan Bishop
a077e470b2 basic plan for drawing paths
This doesn't work yet.
2013-11-29 23:56:35 -06:00
Bryan Bishop
80f32f5b37 some code to prep for path planning 2013-11-29 18:49:56 -06:00
Bryan Bishop
4294fdc140 Merge pull request #58 from kanzure/map-editor-stuff
Minor map editor changes
2013-11-27 12:45:05 -08:00
Bryan Bishop
6b5f469df8 read sprite images from rom 2013-11-24 19:28:56 -06:00
Bryan Bishop
1e2b7cc055 draw sprites on each map 2013-11-23 18:56:51 -06:00
Bryan Bishop
de5d9bb156 sigh, use a global for caching parsed status 2013-11-23 03:40:29 -06:00
Bryan Bishop
b7c36a0c07 attempt to improve performance by caching 2013-11-23 03:27:24 -06:00
Bryan Bishop
a02dd03581 draw more than one map group 2013-11-23 02:33:03 -06:00
Bryan Bishop
feef50505e generate images of maps 2013-11-23 02:11:07 -06:00
Bryan Bishop
0099da43b0 make a way to remember if parse_rom called 2013-11-23 01:16:14 -06:00
Bryan Bishop
6e1eb898b8 make parse_rom return map_names
The map_names object is the entry point to the parsed rom data.
2013-11-22 22:10:09 -06:00
Bryan Bishop
54f5fa07d8 fix log message with wrong variable in template 2013-11-22 22:02:02 -06:00
Bryan Bishop
f77f2bd9b8 include pokecrystal gbhw.asm and hram.asm
These files are used when parsing wram and other constants.
2013-11-22 21:56:54 -06:00
Bryan Bishop
6292c574f6 parse wram labels in crystal.py 2013-11-22 21:56:24 -06:00
Bryan Bishop
a38a86806b use default config in WRAMProcessor if available
Don't override the given configuration.
2013-11-22 21:41:11 -06:00
Bryan Bishop
bbebec611d fix call to item_label_by_id 2013-11-22 21:28:50 -06:00
Bryan Bishop
504d9cc896 fixup TextScript to store script_parse_table ref 2013-11-22 21:28:19 -06:00
Bryan Bishop
80588db61c fix typo in crystal.py 2013-11-22 21:16:50 -06:00
Bryan Bishop
7413d97cd8 rename main -> parse_rom 2013-11-22 21:12:30 -06:00
Bryan Bishop
8fe3f149d0 comment add_map_offsets_into_map_names 2013-11-22 21:10:58 -06:00
Bryan Bishop
8767c40b04 move the map offsets out of main()
This is a function that is necessary outside of the context of a main
method.
2013-11-22 21:04:10 -06:00
Bryan Bishop
9d2a0c3b60 Merge branch 'master' into path-finding 2013-11-22 20:44:30 -06:00
Bryan Bishop
0efb540cd3 Merge branch 'master' into map-editor-stuff 2013-11-22 20:35:39 -06:00
Bryan Bishop
0cdd66e1b5 return constants after parsing 2013-11-19 22:27:50 -06:00
Bryan Bishop
46782bf6dc Merge pull request #56 from kanzure/map-editor-stuff
Remove globals from the map editor
2013-11-18 22:26:54 -08:00
Bryan Bishop
e673a9f7b2 Merge pull request #57 from yenatch/master
gfx rewrites and 1bpp support
2013-11-18 18:13:47 -08:00
yenatch
3dac619f2d gfx: fix misuse of export_2bpp_to_png 2013-11-18 21:05:59 -05:00
yenatch
dfc88b9ac0 Merge branch 'master' of github.com:kanzure/pokemon-reverse-engineering-tools 2013-11-18 21:03:31 -05:00
yenatch
9d01c85d3b gfx: make sure rectangular images are also divisible into 8x8 tiles 2013-11-18 20:19:18 -05:00
yenatch
7fa921eb65 gfx: direct png-to-1bpp 2013-11-18 17:57:07 -05:00
yenatch
125a58fb9a gfx: rewrite lz commands and comments 2013-11-18 17:41:55 -05:00
yenatch
a91b349823 gfx: 1bpp-to-png
also dont assume any dimension matches in png conversion
2013-11-18 05:15:43 -05:00
yenatch
2ffe762d17 gfx: rewrite lots 2013-11-18 04:35:48 -05:00
Bryan Bishop
d3f19c0158 remove two unused methods from map_editor.py 2013-11-17 20:39:53 -06:00
Bryan Bishop
fabc78f5db call it button_new instead of new
"new" is sometimes a reserved keyword and it would be nice to not use
that name.
2013-11-17 20:35:44 -06:00
Bryan Bishop
185a29698e clean up more imports in map_editor.py 2013-11-17 19:51:04 -06:00
Bryan Bishop
8dcde9ae28 use pillow instead of PIL in requirements.txt 2013-11-17 19:44:49 -06:00
Bryan Bishop
444d1ecfc7 also import TclError into map_editor.py 2013-11-17 19:41:37 -06:00