Files
SabreTools/SabreHelper/Enums.cs
Matt Nadareski 1006e36712 SabreDAT!
This commit creates output that is compatible with the new SabreDAT format, created by me and inspired by Logiqx XML DATs and the SuperDAT format. It uses a file-folder structure instead of rom-game structure, making it more versitile.  It still cannot be read in currently, though it would be read in as a SuperDAT since it is the closest equivalent (so all non-file paths will be part of the game). Also, finding which type of XML DAT it is will be a bit difficult, so detection will have to improve.
2016-05-18 22:22:49 -07:00

110 lines
1.4 KiB
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SabreTools.Helper
{
/// <summary>
/// Possible DAT import classes
/// </summary>
public enum DatType
{
none = 0,
Custom,
MAME,
NoIntro,
Redump,
TOSEC,
TruRip,
NonGood,
MaybeIntro,
Good,
}
/// <summary>
/// Possible detected header type
/// </summary>
public enum HeaderType
{
None = 0,
A7800,
FDS,
Lynx,
//N64,
NES,
PCE,
PSID,
SNES,
SPC,
}
/// <summary>
/// Severity of the logging statement
/// </summary>
public enum LogLevel
{
VERBOSE = 0,
USER,
WARNING,
ERROR,
}
/// <summary>
/// Determines which type of duplicate a file is
/// </summary>
public enum DupeType
{
None = 0,
InternalHash = 1,
InternalAll = 2,
ExternalHash = 3,
ExternalAll = 4,
}
/// <summary>
/// Determines forcemerging tag for DAT output
/// </summary>
public enum ForceMerging
{
None = 0,
Split,
Full,
}
/// <summary>
/// Determines forcenodump tag for DAT output
/// </summary>
public enum ForceNodump
{
None = 0,
Obsolete,
Required,
Ignore,
}
/// <summary>
/// Determines forcepacking tag for DAT output
/// </summary>
public enum ForcePacking
{
None = 0,
Zip,
Unzip,
}
/// <summary>
/// Determines the DAT output format
/// </summary>
public enum OutputFormat
{
Xml = 0,
ClrMamePro,
RomCenter,
DOSCenter,
MissFile,
SabreDat,
}
}