2016-04-12 15:03:47 -07:00
|
|
|
|
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,
|
2016-04-21 12:54:39 -07:00
|
|
|
|
Good,
|
2016-04-12 15:03:47 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Possible detected header type
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public enum HeaderType
|
|
|
|
|
|
{
|
|
|
|
|
|
None = 0,
|
|
|
|
|
|
A7800,
|
|
|
|
|
|
FDS,
|
|
|
|
|
|
Lynx,
|
|
|
|
|
|
//N64,
|
|
|
|
|
|
NES,
|
|
|
|
|
|
PCE,
|
2016-05-01 10:07:35 -07:00
|
|
|
|
PSID,
|
2016-04-12 15:03:47 -07:00
|
|
|
|
SNES,
|
2016-05-01 10:07:35 -07:00
|
|
|
|
SPC,
|
2016-04-12 15:03:47 -07:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Severity of the logging statement
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public enum LogLevel
|
|
|
|
|
|
{
|
|
|
|
|
|
VERBOSE = 0,
|
2016-05-10 15:41:33 -07:00
|
|
|
|
USER,
|
2016-04-12 15:03:47 -07:00
|
|
|
|
WARNING,
|
|
|
|
|
|
ERROR,
|
|
|
|
|
|
}
|
2016-05-10 20:55:51 -07:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Determines which type of duplicate a file is
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public enum DupeType
|
|
|
|
|
|
{
|
|
|
|
|
|
None = 0,
|
2016-05-17 11:33:40 -07:00
|
|
|
|
InternalHash = 1,
|
|
|
|
|
|
InternalAll = 2,
|
|
|
|
|
|
ExternalHash = 3,
|
|
|
|
|
|
ExternalAll = 4,
|
2016-05-10 20:55:51 -07:00
|
|
|
|
}
|
2016-05-15 14:34:06 -07:00
|
|
|
|
|
2016-05-15 20:15:05 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Determines forcemerging tag for DAT output
|
|
|
|
|
|
/// </summary>
|
2016-05-15 14:34:06 -07:00
|
|
|
|
public enum ForceMerging
|
|
|
|
|
|
{
|
|
|
|
|
|
None = 0,
|
|
|
|
|
|
Split,
|
|
|
|
|
|
Full,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2016-05-15 20:15:05 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Determines forcenodump tag for DAT output
|
|
|
|
|
|
/// </summary>
|
2016-05-15 14:34:06 -07:00
|
|
|
|
public enum ForceNodump
|
|
|
|
|
|
{
|
|
|
|
|
|
None = 0,
|
|
|
|
|
|
Obsolete,
|
|
|
|
|
|
Required,
|
|
|
|
|
|
Ignore,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2016-05-15 20:15:05 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Determines forcepacking tag for DAT output
|
|
|
|
|
|
/// </summary>
|
2016-05-15 14:34:06 -07:00
|
|
|
|
public enum ForcePacking
|
|
|
|
|
|
{
|
|
|
|
|
|
None = 0,
|
|
|
|
|
|
Zip,
|
|
|
|
|
|
Unzip,
|
|
|
|
|
|
}
|
|
|
|
|
|
|
2016-05-15 20:15:05 -07:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Determines the DAT output format
|
|
|
|
|
|
/// </summary>
|
2016-05-15 14:34:06 -07:00
|
|
|
|
public enum OutputFormat
|
|
|
|
|
|
{
|
2016-05-26 21:43:28 -07:00
|
|
|
|
None = 0,
|
|
|
|
|
|
Xml,
|
2016-05-15 14:34:06 -07:00
|
|
|
|
ClrMamePro,
|
|
|
|
|
|
RomCenter,
|
|
|
|
|
|
DOSCenter,
|
|
|
|
|
|
MissFile,
|
2016-05-18 22:22:49 -07:00
|
|
|
|
SabreDat,
|
2016-05-15 14:34:06 -07:00
|
|
|
|
}
|
2016-06-13 20:00:44 -07:00
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Determines the level to scan archives at
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public enum ArchiveScanLevel
|
|
|
|
|
|
{
|
|
|
|
|
|
Both = 0,
|
|
|
|
|
|
Internal,
|
|
|
|
|
|
External,
|
|
|
|
|
|
}
|
2016-04-12 15:03:47 -07:00
|
|
|
|
}
|