sotn-decomp/config
Luciano Ciccariello 322222adfe
Import LBA data (#922)
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>
2023-12-31 15:44:56 +00:00
..
saturn Saturn: Decompile entrypoint, don't strip elfs (#659) 2023-10-02 06:47:44 -07:00
check.hd.sha HD DRA build 🆗 2023-05-04 22:47:27 +01:00
check.saturn.sha Saturn: Add Alucard overlay (#658) 2023-10-01 16:26:24 -07:00
check.us.sha Split BIN/WEAPON0.BIN (#154) 2023-08-10 23:56:40 +01:00
dirt.hd.json Import 4A538, demo and 5087C data (#835) 2023-12-12 10:36:34 -08:00
dirt.saturn.json Import 4A538, demo and 5087C data (#835) 2023-12-12 10:36:34 -08:00
dirt.us.json Import LBA data (#922) 2023-12-31 15:44:56 +00:00
disk.us.lba Writes built binaries into build/us/ 2023-02-21 20:06:27 +00:00
gfx.game.json Extract BIN/F_GAME.BIN (#886) 2023-12-25 19:23:25 +00:00
splat.hd.dra.yaml Import LBA data (#922) 2023-12-31 15:44:56 +00:00
splat.us.dra.yaml Import LBA data (#922) 2023-12-31 15:44:56 +00:00
splat.us.main.yaml SsSetTickMode, add jpt splits (#911) 2023-12-30 08:57:44 +00:00
splat.us.ric.yaml Decompile RIC func_8016E9E4 (#925) 2023-12-31 15:08:02 +00:00
splat.us.stcen.yaml Update external tools (#764) 2023-11-19 13:44:44 +00:00
splat.us.stdre.yaml Rearrange some files to remove padding (#819) 2023-12-07 17:28:44 -08:00
splat.us.stmad.yaml Update external tools (#764) 2023-11-19 13:44:44 +00:00
splat.us.stno3.yaml MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
splat.us.stnp3.yaml Update external tools (#764) 2023-11-19 13:44:44 +00:00
splat.us.stnz0.yaml Enhance make extract on PSX (#662) 2023-10-05 09:26:29 +01:00
splat.us.strwrp.yaml Update external tools (#764) 2023-11-19 13:44:44 +00:00
splat.us.stsel.yaml Extract memory card icons (#166) 2023-12-11 23:12:13 -08:00
splat.us.stst0.yaml Enhance make extract on PSX (#662) 2023-10-05 09:26:29 +01:00
splat.us.stwrp.yaml Enhance make extract on PSX (#662) 2023-10-05 09:26:29 +01:00
splat.us.tt_000.yaml TT_000 func_80172120 (#791) 2023-11-19 10:14:32 -08:00
splat.us.weapon.yaml Extract memory card icons (#166) 2023-12-11 23:12:13 -08:00
symbols.beta.txt MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
symbols.hd.dra.txt Decompile DRA EntityStopWatchExpandingCircle (#918) 2023-12-30 14:29:02 -05:00
symbols.hd.txt Refactor g_Player.D_80072F00 (#904) 2023-12-28 08:49:07 +00:00
symbols.stmad.txt MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
symbols.us.dra.txt Decompile RIC func_8016E9E4 (#925) 2023-12-31 15:08:02 +00:00
symbols.us.ric.txt Decompile DRA EntityStopWatchExpandingCircle (#918) 2023-12-30 14:29:02 -05:00
symbols.us.stcen.txt MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
symbols.us.stdre.txt MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
symbols.us.stno3.txt MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
symbols.us.stnp3.txt MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
symbols.us.stnz0.txt MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
symbols.us.strwrp.txt Dupe EntityBreakable, CreateEntityFromCurrentEntity (#853) 2023-12-16 10:09:15 -08:00
symbols.us.stsel.txt Dedupe SetTexturedPrimRect (#921) 2023-12-31 10:25:30 +00:00
symbols.us.stst0.txt MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
symbols.us.stwrp.txt MAD func_8019bed4 (#806) 2023-11-23 20:04:41 +00:00
symbols.us.tt_000.txt TT_000 func_801733D4 (#789) 2023-11-18 18:40:14 -08:00
symbols.us.txt Fix svm_cur, add some symbols (#910) 2023-12-29 19:57:34 +00:00
symbols.us.weapon.txt Enhance Makefile for WEAPON0.BIN (#466) 2023-08-14 02:03:54 +01:00
symbols.us.weapon.txt.in EntityWeaponShieldSpell symbol (#508) 2023-08-24 12:31:05 +01:00
undefined_syms.beta.txt Update splat (#247) 2023-06-12 06:04:25 +01:00
undefined_syms.hd.txt Structures and symbols clean-up (#581) 2023-09-13 15:29:39 -04:00
undefined_syms.us.txt Replace RoomDimensions with Tilemap (#730) 2023-11-04 16:43:45 +00:00