mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
9e7e87eaac
100% decompiled.
`US` adds some padding to have the file exactly 40KB long. The HD
version does not add any padding, hence why I ended up producing
`tt_000_raw.bin`. I would have used just `tt_000.bin` as a name as found
in `disks/pspeu/PSP_GAME/USRDIR/res/ps/hdbin/tt_000.bin`, but on
Windows-based file system it would collide with `TT_000.BIN` due to the
OS having case insensitive names.
I modified `make clean` as I found annoying that `VERSION=hd make clean`
would wipe out `us` build stuff.
The only different function in HD is `ProcessEvent`, which has a weaker
check. Another hint suggesting HD being older than US.
`s32 _unused[26];` added enough padding in the bss section to get an
🆗 . I am pretty sure it is unused data because the final binary is
not aligned by any power of 2.
44 lines
1.2 KiB
YAML
44 lines
1.2 KiB
YAML
options:
|
|
platform: psx
|
|
basename: tt_000
|
|
base_path: ..
|
|
build_path: build/hd
|
|
target_path: disks/pspeu/PSP_GAME/USRDIR/res/ps/hdbin/tt_000.bin
|
|
asm_path: asm/hd/servant/tt_000
|
|
asset_path: assets/servant/tt_000
|
|
src_path: src/servant/tt_000
|
|
ld_script_path: build/hd/tt_000.ld
|
|
compiler: GCC
|
|
symbol_addrs_path:
|
|
- config/symbols.hd.txt
|
|
- config/symbols.hd.tt_000.txt
|
|
undefined_funcs_auto_path: config/undefined_funcs_auto.hd.tt_000.txt
|
|
undefined_syms_auto_path: config/undefined_syms_auto.hd.tt_000.txt
|
|
find_file_boundaries: yes
|
|
use_legacy_include_asm: no
|
|
migrate_rodata_to_functions: no
|
|
asm_jtbl_label_macro: jlabel
|
|
section_order:
|
|
- ".data"
|
|
- ".rodata"
|
|
- ".text"
|
|
- ".bss"
|
|
ld_bss_is_noload: False
|
|
segments:
|
|
- name: tt_000
|
|
type: code
|
|
start: 0x00000000
|
|
vram: 0x80170000
|
|
subalign: 4
|
|
subsegments:
|
|
- [0x0, .data, 10E8]
|
|
- [0x40, .data, spriteparts]
|
|
- [0x448, .data, 448]
|
|
- [0x4A8, .data, 4A8]
|
|
- [0x608, .data, 608]
|
|
- [0x10AC, .rodata, 10E8] # func_80172120
|
|
- [0x10C4, .rodata, 10E8] # func_80174038
|
|
- [0x10E8, c, 10E8]
|
|
- [0x48B8, .bss, 10E8]
|
|
- [19852]
|