From b601cff9c62249bc7f1105c46877474cca4290ef Mon Sep 17 00:00:00 2001 From: Gfy Date: Sat, 22 May 2021 16:22:21 +0200 Subject: [PATCH 1/2] =?UTF-8?q?Use=20UTF-8=20in=20fran=C3=A7ais.txt=20file?= =?UTF-8?q?=20name?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../fran\347ais.txt" => "ilSFV/languages/fran\303\247ais.txt" | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename "ilSFV/languages/fran\347ais.txt" => "ilSFV/languages/fran\303\247ais.txt" (100%) diff --git "a/ilSFV/languages/fran\347ais.txt" "b/ilSFV/languages/fran\303\247ais.txt" similarity index 100% rename from "ilSFV/languages/fran\347ais.txt" rename to "ilSFV/languages/fran\303\247ais.txt" From bbeac31860f577588dbb59073dfbd93faa9ae604 Mon Sep 17 00:00:00 2001 From: Gfy Date: Fri, 29 Oct 2021 23:06:09 +0200 Subject: [PATCH 2/2] SFV CRC32 is not always 8 characters long --- ilSFV/MainForm.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ilSFV/MainForm.cs b/ilSFV/MainForm.cs index fa844fe..aeb7102 100644 --- a/ilSFV/MainForm.cs +++ b/ilSFV/MainForm.cs @@ -970,6 +970,8 @@ public bool LoadAndVerifyFile(string fileName, bool doVerify, bool getFileInfo) chkSFV = chkSFV.Substring(1); if (chkSFV.StartsWith("0x") || chkSFV.StartsWith("0X")) // remove leading 0x chkSFV = chkSFV.Substring(2); + if (chkSFV.Length < 8) // cksfv v1.1 does not write the leading zeros + chkSFV = chkSFV.PadLeft(8, '0'); if (chkSFV.Length != 8) throw new InvalidChecksumFileException(fileName, set.Type, lines, i, CODE_PAGE);