Fix bug:
DatMaker truncates filenames containing periods
This commit is contained in:
@@ -76,8 +76,8 @@ namespace ROMVault2
|
|||||||
RvDir game = dir.Child(i) as RvDir;
|
RvDir game = dir.Child(i) as RvDir;
|
||||||
if (game != null && game.FileType == FileType.Zip)
|
if (game != null && game.FileType == FileType.Zip)
|
||||||
{
|
{
|
||||||
WriteLine(d + "<game name=\"" + clean(Path.GetFileNameWithoutExtension(game.Name)) + "\">");
|
WriteLine(d + "<game name=\"" + clean(game.Name) + "\">");
|
||||||
WriteLine(d + " <description>" + clean(Path.GetFileNameWithoutExtension(game.Name)) + "</description>");
|
WriteLine(d + " <description>" + clean(game.Name) + "</description>");
|
||||||
|
|
||||||
|
|
||||||
for (int j = 0; j < game.ChildCount; j++)
|
for (int j = 0; j < game.ChildCount; j++)
|
||||||
|
|||||||
@@ -15,7 +15,7 @@ namespace ROMVault2
|
|||||||
//public static UsernamePassword Up;
|
//public static UsernamePassword Up;
|
||||||
public static readonly Encoding Enc = Encoding.GetEncoding(28591);
|
public static readonly Encoding Enc = Encoding.GetEncoding(28591);
|
||||||
public const string Version = "2.1";
|
public const string Version = "2.1";
|
||||||
public const int SubVersion = 25;
|
public const int SubVersion = 26;
|
||||||
|
|
||||||
public static string ErrorMessage;
|
public static string ErrorMessage;
|
||||||
public static string URL;
|
public static string URL;
|
||||||
|
|||||||
Reference in New Issue
Block a user