mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-27 06:50:35 +00:00
92812cc6c9
A massive PR, I know. It's the smallest change I could do to make this
happen.
After comparing the function order from both ST/WRP PSX and ST/WRP PSP,
I was able to come up with a file split much different from the one
suggested from Splat. It still returns an 🆗 and it follows the same
group functions order from the two game builds.
As soon as we are on board with the C names, next PR will be to do the
same with the PSX overlay. Then in another PR we will be able to start
merging the C files between the two builds. Ideally the same approach
can be used for sharing C files across the different overlays instead of
relying to floating header files in `src/st`
66 lines
1.9 KiB
YAML
66 lines
1.9 KiB
YAML
options:
|
|
platform: psp
|
|
basename: dra
|
|
base_path: ..
|
|
build_path: build/pspeu
|
|
target_path: disks/pspeu/PSP_GAME/USRDIR/res/ps/PSPBIN/wrp.bin
|
|
asm_path: asm/pspeu/st/wrp_psp
|
|
asset_path: assets/st/wrp
|
|
src_path: src/st
|
|
ld_script_path: build/pspeu/stwrp.ld
|
|
compiler: GCC
|
|
symbol_addrs_path:
|
|
- config/symbols.pspeu.txt
|
|
- config/symbols.pspeu.stwrp.txt
|
|
undefined_funcs_auto_path: config/undefined_funcs_auto.pspeu.stwrp.txt
|
|
undefined_syms_auto_path: config/undefined_syms_auto.pspeu.stwrp.txt
|
|
find_file_boundaries: yes
|
|
use_legacy_include_asm: no
|
|
migrate_rodata_to_functions: no
|
|
asm_jtbl_label_macro: jlabel
|
|
symbol_name_format : psp_$VRAM
|
|
nonmatchings_path: psp
|
|
section_order:
|
|
- ".text"
|
|
- ".data"
|
|
- ".rodata"
|
|
- ".bss"
|
|
ld_bss_is_noload: True
|
|
disasm_unknown: True
|
|
asm_inc_header: |
|
|
.set noat /* allow manual use of $at */
|
|
.set noreorder /* don't insert nops after branches */
|
|
.include "macro.inc"
|
|
segments:
|
|
- [0x0, bin, mwo_header]
|
|
- name: stwrp
|
|
type: code
|
|
start: 0x00000080
|
|
vram: 0x09237700
|
|
bss_size: 0x1180
|
|
align: 128
|
|
subalign: 8
|
|
subsegments:
|
|
- [0x80, c, wrp_psp/create_entity]
|
|
- [0x1028, c, wrp_psp/e_stage_name]
|
|
- [0x1EA8, c, wrp_psp/e_red_door]
|
|
- [0x31F0, c, wrp_psp/st_update]
|
|
- [0x36E8, c, wrp_psp/e_particles]
|
|
- [0x4C78, c, wrp_psp/blit_char]
|
|
- [0x5308, c, wrp_psp/e_collect]
|
|
- [0x7448, c, wrp_psp/e_misc]
|
|
- [0x95D0, c, wrp_psp/collision]
|
|
- [0xB7A8, c, wrp_psp/popup]
|
|
- [0xBDA0, c, wrp_psp/e_room_fg]
|
|
- [0xBEB8, c, wrp_psp/st_common]
|
|
- [0xC9A0, c, wrp_psp/stage_name_new]
|
|
- [0xCEA0, c, wrp_psp/prim_helpers]
|
|
- [0xD0E0, c, wrp_psp/st_init_wrp]
|
|
- [0xD1B8, c, wrp/e_breakable]
|
|
- [0xD338, c, wrp/st_debug]
|
|
- [0xD6A8, c, wrp_psp/warp]
|
|
- [0xE980, data]
|
|
- [0x14480, data] # rodata?
|
|
- {type: bss, vram: 0x924BC00}
|
|
- [0x14580]
|