mirror of
https://github.com/crskycode/GARbro.git
synced 2026-07-08 01:30:18 +08:00
(VAFS): support version 54.
This commit is contained in:
@@ -43,7 +43,7 @@ namespace GameRes.Formats.Softpal
|
|||||||
|
|
||||||
public VafsOpener ()
|
public VafsOpener ()
|
||||||
{
|
{
|
||||||
Extensions = new string[] { "052", "055", "056", "058" };
|
Extensions = new string[] { "052", "054", "055", "056", "058" };
|
||||||
}
|
}
|
||||||
|
|
||||||
static readonly ResourceInstance<ImageFormat> s_PicFormat = new ResourceInstance<ImageFormat> ("PIC/SOFTPAL");
|
static readonly ResourceInstance<ImageFormat> s_PicFormat = new ResourceInstance<ImageFormat> ("PIC/SOFTPAL");
|
||||||
@@ -59,7 +59,7 @@ namespace GameRes.Formats.Softpal
|
|||||||
{
|
{
|
||||||
var ext = Path.GetExtension (file.Name).TrimStart ('.');
|
var ext = Path.GetExtension (file.Name).TrimStart ('.');
|
||||||
int version;
|
int version;
|
||||||
if (int.TryParse (ext, out version) && version >= 55)
|
if (int.TryParse (ext, out version) && version >= 54)
|
||||||
return OpenTp055Arc (file);
|
return OpenTp055Arc (file);
|
||||||
else
|
else
|
||||||
return OpenTpArc (file);
|
return OpenTpArc (file);
|
||||||
|
|||||||
Reference in New Issue
Block a user