1
Fork 0
mirror of https://github.com/redstrate/Physis.git synced 2025-07-20 07:47:45 +00:00

Fix loading the Solution Nine background LGB

See #13
This commit is contained in:
Joshua Goins 2025-07-01 18:18:02 -04:00
parent 056fdb52a0
commit 5a5896a126

View file

@ -298,6 +298,7 @@ pub enum LayerEntryType {
StableChocobo = 0x4F,
MaxAssetType = 0x50,
Unk1 = 90,
Unk4 = 83, // seen in bg/ex5/01_xkt_x6/twn/x6t1/level/bg.lgb
Unk2 = 86, // seen in bg/ex5/02_ykt_y6/fld/y6f1/level/bg.lgb
Unk3 = 89, // seen in bg/ffxiv/sea_s1/fld/s1f3/level/planevent.lgb
}
@ -368,6 +369,8 @@ pub enum LayerEntryData {
Unk2(),
#[br(pre_assert(*magic == LayerEntryType::Unk3))]
Unk3(),
#[br(pre_assert(*magic == LayerEntryType::Unk4))]
Unk4(),
}
#[binread]