mirror of
https://github.com/crskycode/GARbro.git
synced 2024-11-26 23:24:00 +08:00
(BinOpener): recognize 'ACP_PK.1' archives.
This commit is contained in:
parent
7f823d20af
commit
eae1509a12
@ -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))
|
||||
|
Loading…
Reference in New Issue
Block a user