Enable SabreDAT read-in and fix output

Additionally, fix the necessity for blank strings in DatData definitions for read-in. Now if it's null it'll try writing to it as well.
This commit is contained in:
Matt Nadareski
2016-05-18 23:51:54 -07:00
parent 1006e36712
commit e0b4b13bcd
6 changed files with 285 additions and 86 deletions

View File

@@ -1332,16 +1332,6 @@ Make a selection:
logger.User("Converting \"" + Path.GetFileName(filename) + "\"");
DatData datdata = new DatData
{
Name = "",
Description = "",
Category = "",
Version = "",
Date = "",
Author = "",
Email = "",
Homepage = "",
Url = "",
Comment = "",
OutputFormat = outputFormat,
Roms = new Dictionary<string, List<RomData>>(),
MergeRoms = false,
@@ -1372,16 +1362,6 @@ Make a selection:
logger.User("Converting \"" + Path.GetFullPath(file).Remove(0, filename.Length + 1) + "\"");
DatData datdata = new DatData
{
Name = "",
Description = "",
Category = "",
Version = "",
Date = "",
Author = "",
Email = "",
Homepage = "",
Url = "",
Comment = "",
OutputFormat = outputFormat,
Roms = new Dictionary<string, List<RomData>>(),
MergeRoms = false,
@@ -1440,16 +1420,6 @@ Make a selection:
logger.User("Converting " + input);
DatData datdata = new DatData
{
Name = "",
Description = "",
Category = "",
Version = "",
Date = "",
Author = "",
Email = "",
Homepage = "",
Url = "",
Comment = "",
Roms = new Dictionary<string, List<RomData>>(),
OutputFormat = OutputFormat.MissFile,