From 0af0491659d1b5acfbb2c59271776ee679981c45 Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 27 Jan 2019 02:28:47 +0400 Subject: [PATCH] (VAFS): support version 54. --- ArcFormats/Softpal/ArcVAFS.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ArcFormats/Softpal/ArcVAFS.cs b/ArcFormats/Softpal/ArcVAFS.cs index c95cc2e8..8bc61fc0 100644 --- a/ArcFormats/Softpal/ArcVAFS.cs +++ b/ArcFormats/Softpal/ArcVAFS.cs @@ -43,7 +43,7 @@ namespace GameRes.Formats.Softpal public VafsOpener () { - Extensions = new string[] { "052", "055", "056", "058" }; + Extensions = new string[] { "052", "054", "055", "056", "058" }; } static readonly ResourceInstance s_PicFormat = new ResourceInstance ("PIC/SOFTPAL"); @@ -59,7 +59,7 @@ namespace GameRes.Formats.Softpal { var ext = Path.GetExtension (file.Name).TrimStart ('.'); int version; - if (int.TryParse (ext, out version) && version >= 55) + if (int.TryParse (ext, out version) && version >= 54) return OpenTp055Arc (file); else return OpenTpArc (file);