35 lines
944 B
Python
35 lines
944 B
Python
import sys
|
|
|
|
from pathlib import Path
|
|
|
|
from parse import map_header
|
|
from parse import maps_blocks
|
|
from parse import tileset_constants
|
|
from parse import tileset_headers
|
|
from parse import gfx_tilesets
|
|
from parse import collision_tile_ids
|
|
from parse import map_objects
|
|
from parse import hidden_objects
|
|
from parse import map_constants
|
|
|
|
prefix = Path(sys.argv[1])
|
|
|
|
map_headers = map_header.parse_all(prefix)
|
|
maps_blocks_list = maps_blocks.parse(prefix)
|
|
tileset_constants_list = tileset_constants.parse(prefix)
|
|
tileset_headers_list = tileset_headers.parse(prefix)
|
|
gfx_tilesets_list = gfx_tilesets.parse(prefix)
|
|
# tileset coll
|
|
collision_tile_ids_list = collision_tile_ids.parse(prefix)
|
|
map_objects_list = map_objects.parse_all(prefix)
|
|
hidden_objects_list = hidden_objects.parse(prefix)
|
|
map_constants_list = map_constants.parse(prefix)
|
|
|
|
# need:
|
|
#data/tilesets/pair_collision_tile_ids.asm
|
|
#ledge_tiles.asm
|
|
#cut_tree_blocks.asm
|
|
|
|
|
|
# home/vcopy: animations
|