From 974082076cd1463fcd3446df5868237f1357eaeb Mon Sep 17 00:00:00 2001 From: morkt Date: Sun, 20 May 2018 08:13:09 +0400 Subject: [PATCH] (noncolor): don't lower case filenames when reading file list. --- ArcFormats/NonColor/ArcDAT.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ArcFormats/NonColor/ArcDAT.cs b/ArcFormats/NonColor/ArcDAT.cs index 8106cada..5ce96474 100644 --- a/ArcFormats/NonColor/ArcDAT.cs +++ b/ArcFormats/NonColor/ArcDAT.cs @@ -194,7 +194,7 @@ namespace GameRes.Formats.NonColor { var dict = new Dictionary(); FormatCatalog.Instance.ReadFileList (scheme.FileListName, line => { - var bytes = line.ToLowerShiftJis(); + var bytes = Encodings.cp932.GetBytes (line); // line.ToLowerShiftJis(); ulong hash = scheme.ComputeHash (bytes); dict[hash] = new NameRecord { Name = line, NameBytes = bytes }; });