From 5a5896a1261c13732ec856fbb9badbdd5da196d6 Mon Sep 17 00:00:00 2001 From: Joshua Goins Date: Tue, 1 Jul 2025 18:18:02 -0400 Subject: [PATCH] Fix loading the Solution Nine background LGB See #13 --- src/layer/mod.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/layer/mod.rs b/src/layer/mod.rs index 11e7fd3..e12dba5 100644 --- a/src/layer/mod.rs +++ b/src/layer/mod.rs @@ -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]