DatMaker truncates filenames containing periods
This commit is contained in:
gjefferyes
2014-10-22 10:50:41 -05:00
parent 3c6ca00d4a
commit be346c3485
2 changed files with 3 additions and 3 deletions

View File

@@ -76,8 +76,8 @@ namespace ROMVault2
RvDir game = dir.Child(i) as RvDir;
if (game != null && game.FileType == FileType.Zip)
{
WriteLine(d + "<game name=\"" + clean(Path.GetFileNameWithoutExtension(game.Name)) + "\">");
WriteLine(d + " <description>" + clean(Path.GetFileNameWithoutExtension(game.Name)) + "</description>");
WriteLine(d + "<game name=\"" + clean(game.Name) + "\">");
WriteLine(d + " <description>" + clean(game.Name) + "</description>");
for (int j = 0; j < game.ChildCount; j++)

View File

@@ -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;