mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
3649d507c1
Instead of outputting a `D_80123456.dec` from an extracted compressed asset, now a PNG is written from the decompressed data from the specified YAML entry. The asset tool will synchronize with splat to retrieve the symbol names for graphics and palettes. The new splat extension `cmpgfx` will also be able to detect unused graphics by failing with a hint on how to tweak the YAML. That way I found some unused placeholders under the name `stage_placeholder` and some kind of beta graphics from the prologue stage.
95 lines
3.1 KiB
YAML
95 lines
3.1 KiB
YAML
options:
|
|
platform: psx
|
|
basename: stwrp
|
|
base_path: ..
|
|
build_path: build/us
|
|
target_path: disks/us/ST/WRP/WRP.BIN
|
|
asm_path: asm/us/st/wrp
|
|
asset_path: assets/st/wrp
|
|
src_path: src/st/wrp
|
|
ld_script_path: build/us/stwrp.ld
|
|
compiler: GCC
|
|
symbol_addrs_path:
|
|
- config/symbols.us.txt
|
|
- config/symbols.us.stwrp.txt
|
|
undefined_funcs_auto_path: config/undefined_funcs_auto.us.stwrp.txt
|
|
undefined_syms_auto_path: config/undefined_syms_auto.us.stwrp.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
|
|
disassemble_all: True
|
|
section_order:
|
|
- ".data"
|
|
- ".rodata"
|
|
- ".text"
|
|
- ".bss"
|
|
- ".sbss"
|
|
sha1: 2ae313f4e394422e4c5f37a2d8e976e92f9e3cda
|
|
segments:
|
|
- name: stwrp
|
|
type: code
|
|
start: 0x00000000
|
|
vram: 0x80180000
|
|
align: 4
|
|
subalign: 4
|
|
subsegments:
|
|
- [0x0, .data, header]
|
|
- [0xA0, .data, header] # palette definitions
|
|
- [0xB8, .data, header] # layers
|
|
- [0x1B8, .data, header] # graphics banks
|
|
- [0x23C, .data, e_laydef] # layout entries header
|
|
- [0x3E4, .data, e_init]
|
|
- [0x528, .data, st_debug]
|
|
- [0x5A8, .data, e_breakable]
|
|
- [0x608, .data, d_prize_drops]
|
|
- [0x648, .data, warp]
|
|
- [0x690, .data, st_update]
|
|
- [0x6BC, .data, collision]
|
|
- [0xA7C, .data, e_red_door]
|
|
- [0xA94, .data, st_common]
|
|
- [0xC94, .data, e_collect]
|
|
- [0xF84, .data, e_misc]
|
|
- [0xFE8, .data, e_particles]
|
|
- [0x1120, .data, e_room_fg]
|
|
- [0x11AC, .data, rooms]
|
|
- [0x1228, .data, e_layout] # layout entries data
|
|
- [0x1420, cmpgfx, stage_title_jp, 128, 128, 4]
|
|
- [0x1764, cmpgfx, stage_placeholder, 128, 128, 4]
|
|
- [0x1D08, pal, D_80181D08]
|
|
- [0x1D28, pal, D_80181D28]
|
|
- [0x1D68, .data, tile_data] # tile data
|
|
- [0x2968, .data, tile_data] # tile definitions
|
|
- [0x6D88, .data, sprites]
|
|
- [0x6E30, .rodata, warp] # warp strings
|
|
- [0x6E70, .rodata, warp] # EntityWarpRoom
|
|
- [0x6E90, .rodata, warp] # EntityWarpSmallRocks
|
|
- [0x6EA8, .rodata, e_red_door] # EntityRedDoor
|
|
- [0x6EC0, .rodata, e_collect] # CollectGold strings
|
|
- [0x6F10, .rodata, e_collect] # EntityPrizeDrop
|
|
- [0x6F30, .rodata, e_collect] # EntityEquipItemDrop
|
|
- [0x6F48, .rodata, e_misc]
|
|
- [0x6F94, .rodata, e_stage_name] # EntityStageNamePopup
|
|
- [0x6FC8, .rodata, prim_helpers]
|
|
- [0x6FD0, c, st_debug]
|
|
- [0x726C, c, e_breakable]
|
|
- [0x73A0, c, warp]
|
|
- [0x81E8, c, st_update]
|
|
- [0x861C, c, collision]
|
|
- [0x9DD8, c, create_entity]
|
|
- [0xA950, c, e_red_door]
|
|
- [0xB600, c, st_common]
|
|
- [0xCAB0, c, e_collect]
|
|
- [0xE01C, c, blit_char]
|
|
- [0xE2CC, c, e_misc]
|
|
- [0x117BC, c, e_stage_name]
|
|
- [0x12610, c, e_particles]
|
|
- [0x12E54, c, e_room_fg]
|
|
- [0x12F40, c, popup]
|
|
- [0x13270, c, prim_helpers]
|
|
- [0x13AB0, .bss, create_entity]
|
|
- [0x13AC0, .bss, bss]
|
|
- [0x14728, .bss, e_collect]
|
|
- [0x14768]
|