From eae1509a126c73bd0f9ba5afac5bd1a04acc096e Mon Sep 17 00:00:00 2001 From: morkt Date: Thu, 4 Jan 2018 18:15:20 +0400 Subject: [PATCH] (BinOpener): recognize 'ACP_PK.1' archives. --- ArcFormats/Favorite/ArcFVP.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ArcFormats/Favorite/ArcFVP.cs b/ArcFormats/Favorite/ArcFVP.cs index e8d4b48d..05718f5c 100644 --- a/ArcFormats/Favorite/ArcFVP.cs +++ b/ArcFormats/Favorite/ArcFVP.cs @@ -43,11 +43,12 @@ namespace GameRes.Formats.FVP public BinOpener () { Extensions = new string[] { "bin" }; + Signatures = new uint[] { 0x58504341, 0x5F504341 }; } public override ArcFile TryOpen (ArcView file) { - if (!file.View.AsciiEqual (4, "PK01")) + if (!file.View.AsciiEqual (3, "XPK01") && !file.View.AsciiEqual (3, "_PK.1")) return null; int count = file.View.ReadInt32 (8); if (!IsSaneCount (count))