[ALL] Add Everdrive SMDB

This commit is contained in:
Matt Nadareski
2019-02-08 15:31:44 -08:00
parent 2743b1d61f
commit 2ab4e3d48e
8 changed files with 3463 additions and 3221 deletions

View File

@@ -5717,6 +5717,20 @@ namespace SabreTools.Library.DatFiles
outfileNames.Add(DatFormat.SabreDat, CreateOutfileNamesHelper(outDir, ".sd.xml", overwrite));
};
// Everdrive SMDB
if ((DatFormat & DatFormat.EverdriveSMDB) != 0
&& (DatFormat & DatFormat.AttractMode) == 0
&& (DatFormat & DatFormat.MissFile) == 0)
{
outfileNames.Add(DatFormat.EverdriveSMDB, CreateOutfileNamesHelper(outDir, ".txt", overwrite));
}
if ((DatFormat & DatFormat.EverdriveSMDB) != 0
&& ((DatFormat & DatFormat.AttractMode) != 0
|| (DatFormat & DatFormat.MissFile) != 0))
{
outfileNames.Add(DatFormat.SoftwareList, CreateOutfileNamesHelper(outDir, ".smdb.txt", overwrite));
}
// Software List
if ((DatFormat & DatFormat.SoftwareList) != 0
&& (DatFormat & DatFormat.Logiqx) == 0