mirror of
https://github.com/Xeeynamo/sotn-decomp.git
synced 2024-11-23 13:09:44 +00:00
322222adfe
This is a historical W.I.P. that held me back due to some dirty bytes in the US version. It is now done. I renamed the file to `lba_stage.c` as I plan to add another file called `lba_bin.c` right after this PR. To quickly build the HD LBA, which is very different, I wrote a quick script to duplicate and patch the US one: ```python def s16(f): return int.from_bytes(f.read(2), byteorder='little', signed=False) def s32(f): return int.from_bytes(f.read(4), byteorder='little', signed=False) with open("disks/pspeu/PSP_GAME/USRDIR/res/ps/hdbin/dra.bin", "rb") as f: f.seek(0x3C50) for i in range(0, 0x50): print(f"0x{s32(f):04X}, 0x{s32(f):04X}, 0x{s32(f):05X}, 0x{s32(f):04X}, 0x{s32(f):04X}, 0x{s32(f):05X}, 0x{s32(f):04X},") s32(f) s32(f) s32(f) s32(f) ``` --------- Co-authored-by: sozud <122322823+sozud@users.noreply.github.com> |
||
---|---|---|
.. | ||
saturn | ||
check.hd.sha | ||
check.saturn.sha | ||
check.us.sha | ||
dirt.hd.json | ||
dirt.saturn.json | ||
dirt.us.json | ||
disk.us.lba | ||
gfx.game.json | ||
splat.hd.dra.yaml | ||
splat.us.dra.yaml | ||
splat.us.main.yaml | ||
splat.us.ric.yaml | ||
splat.us.stcen.yaml | ||
splat.us.stdre.yaml | ||
splat.us.stmad.yaml | ||
splat.us.stno3.yaml | ||
splat.us.stnp3.yaml | ||
splat.us.stnz0.yaml | ||
splat.us.strwrp.yaml | ||
splat.us.stsel.yaml | ||
splat.us.stst0.yaml | ||
splat.us.stwrp.yaml | ||
splat.us.tt_000.yaml | ||
splat.us.weapon.yaml | ||
symbols.beta.txt | ||
symbols.hd.dra.txt | ||
symbols.hd.txt | ||
symbols.stmad.txt | ||
symbols.us.dra.txt | ||
symbols.us.ric.txt | ||
symbols.us.stcen.txt | ||
symbols.us.stdre.txt | ||
symbols.us.stno3.txt | ||
symbols.us.stnp3.txt | ||
symbols.us.stnz0.txt | ||
symbols.us.strwrp.txt | ||
symbols.us.stsel.txt | ||
symbols.us.stst0.txt | ||
symbols.us.stwrp.txt | ||
symbols.us.tt_000.txt | ||
symbols.us.txt | ||
symbols.us.weapon.txt | ||
symbols.us.weapon.txt.in | ||
undefined_syms.beta.txt | ||
undefined_syms.hd.txt | ||
undefined_syms.us.txt |