mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
9861f51336
This took me a lot of manual work. But I think I confirmed a pattern that will help me to automate all of this for all the next stage overlays that will be imported in the repo. I noticed some stages with only one room having more than two layers or more than two tile definitions, it might be either debugging or unused content? I did not have time to explore any of that. I modified the `tiledef` splat extension to greatly minimise the set-up and noise.
81 lines
2.4 KiB
YAML
81 lines
2.4 KiB
YAML
options:
|
|
platform: psx
|
|
basename: stcen
|
|
base_path: ..
|
|
build_path: build/us
|
|
target_path: disks/us/ST/CEN/CEN.BIN
|
|
asm_path: asm/us/st/cen
|
|
asset_path: assets/st/cen
|
|
src_path: src/st/cen
|
|
ld_script_path: build/us/stcen.ld
|
|
compiler: GCC
|
|
symbol_addrs_path:
|
|
- config/symbols.us.txt
|
|
- config/symbols.us.stcen.txt
|
|
undefined_funcs_auto_path: config/undefined_funcs_auto.us.stcen.txt
|
|
undefined_syms_auto_path: config/undefined_syms_auto.us.stcen.txt
|
|
find_file_boundaries: yes
|
|
use_legacy_include_asm: no
|
|
migrate_rodata_to_functions: no
|
|
asm_jtbl_label_macro: jlabel
|
|
extensions_path: tools/splat_ext
|
|
section_order:
|
|
- ".data"
|
|
- ".rodata"
|
|
- ".text"
|
|
- ".bss"
|
|
- ".sbss"
|
|
segments:
|
|
- name: stcen
|
|
type: code
|
|
start: 0x00000000
|
|
vram: 0x80180000
|
|
align: 4
|
|
subalign: 4
|
|
subsegments:
|
|
- [0x0, data]
|
|
- [0xDC, layers, rooms]
|
|
- [0x134, data]
|
|
- [0x7E4, .data, collision]
|
|
- [0xBA4, .data, e_red_door]
|
|
- [0xBBC, data]
|
|
- [0x10AC, .data, entity_relic_orb]
|
|
- [0x1110, data]
|
|
- [0x12D4, roomdef, g_Rooms]
|
|
- [0x1300, data]
|
|
- [0x69EC, tilelayout, D_801869EC]
|
|
- [0x6DEC, tilelayout, D_80186DEC]
|
|
- [0x7FEC, tilelayout, D_80187FEC]
|
|
- [0x81EC, tiledef, t_801884EC, D_801884EC]
|
|
- [0x85FC, tiledef, t_8018C5FC, D_8018C5FC]
|
|
- [0xC60C, data]
|
|
- [0xD42C, .rodata, holyglassescutscene]
|
|
- [0xD4B0, .rodata, F890]
|
|
- [0xD4D8, .rodata, e_red_door] # EntityRedDoor
|
|
- [0xD4F0, .rodata]
|
|
- [0xD540, .rodata, 15C84] # EntityPrizeDrop
|
|
- [0xD560, .rodata, 15C84] # EntityEquipItemDrop
|
|
- [0xD578, .rodata, entity_relic_orb]
|
|
- [0xD5B0, .rodata, entity_message_box]
|
|
- [0xD5C4, .rodata, 18084] # EntityStageNamePopup
|
|
- [0xD5F8, .rodata, prim_helpers]
|
|
- [0xD600, c]
|
|
- [0xDF0C, c, holyglassescutscene]
|
|
- [0xF890, c]
|
|
- [0x10E4C, c, random]
|
|
- [0x10E7C, c, update]
|
|
- [0x11178, c, update_stage_entities]
|
|
- [0x11280, c, collision]
|
|
- [0x12A3C, c, create_entity]
|
|
- [0x135B4, c, e_red_door]
|
|
- [0x14264, c]
|
|
- [0x15C84, c]
|
|
- [0x16F30, c, entity_relic_orb]
|
|
- [0x17A00, c, entity_heart_drop]
|
|
- [0x17B28, c, entity_message_box]
|
|
- [0x18084, c]
|
|
- [0x1B274, c]
|
|
- [0x1BED4, c, prim_helpers]
|
|
- [0x1C704, sbss]
|
|
- [0x1D46C]
|