From be346c3485c910a36a3fb13e9665eea562d57048 Mon Sep 17 00:00:00 2001 From: gjefferyes Date: Wed, 22 Oct 2014 10:50:41 -0500 Subject: [PATCH] Fix bug: DatMaker truncates filenames containing periods --- ROMVault2/DatMaker.cs | 4 ++-- ROMVault2/Program.cs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/ROMVault2/DatMaker.cs b/ROMVault2/DatMaker.cs index e86175c..90820e2 100644 --- a/ROMVault2/DatMaker.cs +++ b/ROMVault2/DatMaker.cs @@ -76,8 +76,8 @@ namespace ROMVault2 RvDir game = dir.Child(i) as RvDir; if (game != null && game.FileType == FileType.Zip) { - WriteLine(d + ""); - WriteLine(d + " " + clean(Path.GetFileNameWithoutExtension(game.Name)) + ""); + WriteLine(d + ""); + WriteLine(d + " " + clean(game.Name) + ""); for (int j = 0; j < game.ChildCount; j++) diff --git a/ROMVault2/Program.cs b/ROMVault2/Program.cs index b7f9035..95e594e 100644 --- a/ROMVault2/Program.cs +++ b/ROMVault2/Program.cs @@ -15,7 +15,7 @@ namespace ROMVault2 //public static UsernamePassword Up; public static readonly Encoding Enc = Encoding.GetEncoding(28591); public const string Version = "2.1"; - public const int SubVersion = 25; + public const int SubVersion = 26; public static string ErrorMessage; public static string URL;