From fcf6a3bc6ede82e47a25035d2de247c75f16ec65 Mon Sep 17 00:00:00 2001 From: morkt Date: Thu, 25 Oct 2018 16:55:19 +0400 Subject: [PATCH] (YSK): added signatures. --- Legacy/GPlay/ArcYSK.cs | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/Legacy/GPlay/ArcYSK.cs b/Legacy/GPlay/ArcYSK.cs index d6a29063..b24878f4 100644 --- a/Legacy/GPlay/ArcYSK.cs +++ b/Legacy/GPlay/ArcYSK.cs @@ -44,8 +44,10 @@ namespace GameRes.Formats.GPlay public YskOpener () { - // "AA1640124080", "AA7790743350", "AA1825646340" - Signatures = new uint[] { 0x36314141, 0x39324141, 0x37374141, 0x38314141, 0 }; + // "AA1640124080", "AA7790743350", "AA1825646340", "AA1316763700", "AA1945074730", "AA7235065580" + Signatures = new uint[] { + 0x36314141, 0x39324141, 0x37374141, 0x38314141, 0x33314141, 0x39314141, 0x32374141, 0 + }; } const ulong DefaultKey = 0x1234567812345678ul; @@ -67,7 +69,7 @@ namespace GameRes.Formats.GPlay for (int i = 0; i < count; ++i) { var name = file.View.ReadString (index_offset, 0x14); - var entry = FormatCatalog.Instance.Create (name); + var entry = Create (name); entry.Offset = data_offset; entry.Size = file.View.ReadUInt32 (index_offset+0x14); if (!entry.CheckPlacement (file.MaxOffset))