Files
SabreTools/SabreTools.Core/Enums.cs

1615 lines
40 KiB
C#
Raw Normal View History

using System;
2020-12-08 13:23:59 -08:00
// TODO: Figure out the best way to put these back in their libraries
namespace SabreTools.Core
2020-08-01 22:13:56 -07:00
{
2020-12-08 13:23:59 -08:00
#region DatFiles
/// <summary>
/// Available hashing types
/// </summary>
[Flags]
public enum Hash
{
CRC = 1 << 0,
MD5 = 1 << 1,
SHA1 = 1 << 2,
SHA256 = 1 << 3,
SHA384 = 1 << 4,
SHA512 = 1 << 5,
SpamSum = 1 << 6,
// Special combinations
Standard = CRC | MD5 | SHA1,
DeepHashes = SHA256 | SHA384 | SHA512 | SpamSum,
SecureHashes = MD5 | SHA1 | SHA256 | SHA384 | SHA512 | SpamSum,
All = CRC | MD5 | SHA1 | SHA256 | SHA384 | SHA512 | SpamSum,
}
/// <summary>
/// Determines merging tag handling for DAT output
/// </summary>
public enum MergingFlag
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
2023-04-20 10:34:37 -04:00
[Mapping("split")]
Split,
2023-04-20 10:34:37 -04:00
[Mapping("merged")]
Merged,
2023-04-20 10:34:37 -04:00
[Mapping("nonmerged", "unmerged")]
NonMerged,
/// <remarks>This is not usually defined for Merging flags</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("fullmerged")]
FullMerged,
/// <remarks>This is not usually defined for Merging flags</remarks>
2023-04-20 12:12:56 -04:00
[Mapping("device", "deviceunmerged", "devicenonmerged")]
DeviceNonMerged,
/// <remarks>This is not usually defined for Merging flags</remarks>
2023-04-20 12:12:56 -04:00
[Mapping("full", "fullunmerged", "fullnonmerged")]
FullNonMerged,
}
/// <summary>
/// Determines nodump tag handling for DAT output
/// </summary>
public enum NodumpFlag
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
2023-04-20 10:34:37 -04:00
[Mapping("obsolete")]
Obsolete,
2023-04-20 10:34:37 -04:00
[Mapping("required")]
Required,
2023-04-20 10:34:37 -04:00
[Mapping("ignore")]
Ignore,
}
/// <summary>
/// Determines packing tag handling for DAT output
/// </summary>
public enum PackingFlag
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
/// <summary>
/// Force all sets to be in archives, except disk and media
/// </summary>
2023-04-20 12:12:56 -04:00
[Mapping("zip", "yes")]
Zip,
/// <summary>
/// Force all sets to be extracted into subfolders
/// </summary>
2023-04-20 12:12:56 -04:00
[Mapping("unzip", "no")]
Unzip,
/// <summary>
/// Force sets with single items to be extracted to the parent folder
/// </summary>
2023-04-20 10:34:37 -04:00
[Mapping("partial")]
Partial,
/// <summary>
/// Force all sets to be extracted to the parent folder
/// </summary>
2023-04-20 10:34:37 -04:00
[Mapping("flat")]
Flat,
}
#endregion
#region DatItems
/// <summary>
/// Determine the chip type
/// </summary>
[Flags]
public enum ChipType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("cpu")]
CPU = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("audio")]
Audio = 1 << 1,
}
/// <summary>
/// Determine the control type
/// </summary>
[Flags]
public enum ControlType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("joy")]
Joy = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("stick")]
Stick = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("paddle")]
Paddle = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("pedal")]
Pedal = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("lightgun")]
Lightgun = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("positional")]
Positional = 1 << 5,
2023-04-20 10:34:37 -04:00
[Mapping("dial")]
Dial = 1 << 6,
2023-04-20 10:34:37 -04:00
[Mapping("trackball")]
Trackball = 1 << 7,
2023-04-20 10:34:37 -04:00
[Mapping("mouse")]
Mouse = 1 << 8,
2023-04-20 10:34:37 -04:00
[Mapping("only_buttons")]
OnlyButtons = 1 << 9,
2023-04-20 10:34:37 -04:00
[Mapping("keypad")]
Keypad = 1 << 10,
2023-04-20 10:34:37 -04:00
[Mapping("keyboard")]
Keyboard = 1 << 11,
2023-04-20 10:34:37 -04:00
[Mapping("mahjong")]
Mahjong = 1 << 12,
2023-04-20 10:34:37 -04:00
[Mapping("hanafuda")]
Hanafuda = 1 << 13,
2023-04-20 10:34:37 -04:00
[Mapping("gambling")]
Gambling = 1 << 14,
}
/// <summary>
/// Determine the device type
/// </summary>
[Flags]
public enum DeviceType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("unknown")]
Unknown = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("cartridge")]
Cartridge = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("floppydisk")]
FloppyDisk = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("harddisk")]
HardDisk = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("cylinder")]
Cylinder = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("cassette")]
Cassette = 1 << 5,
2023-04-20 10:34:37 -04:00
[Mapping("punchcard")]
PunchCard = 1 << 6,
2023-04-20 10:34:37 -04:00
[Mapping("punchtape")]
PunchTape = 1 << 7,
2023-04-20 10:34:37 -04:00
[Mapping("printout")]
Printout = 1 << 8,
2023-04-20 10:34:37 -04:00
[Mapping("serial")]
Serial = 1 << 9,
2023-04-20 10:34:37 -04:00
[Mapping("parallel")]
Parallel = 1 << 10,
2023-04-20 10:34:37 -04:00
[Mapping("snapshot")]
Snapshot = 1 << 11,
2023-04-20 10:34:37 -04:00
[Mapping("quickload")]
QuickLoad = 1 << 12,
2023-04-20 10:34:37 -04:00
[Mapping("memcard")]
MemCard = 1 << 13,
2023-04-20 10:34:37 -04:00
[Mapping("cdrom")]
CDROM = 1 << 14,
2023-04-20 10:34:37 -04:00
[Mapping("magtape")]
MagTape = 1 << 15,
2023-04-20 10:34:37 -04:00
[Mapping("romimage")]
ROMImage = 1 << 16,
2023-04-20 10:34:37 -04:00
[Mapping("midiin")]
MIDIIn = 1 << 17,
2023-04-20 10:34:37 -04:00
[Mapping("midiout")]
MIDIOut = 1 << 18,
2023-04-20 10:34:37 -04:00
[Mapping("picture")]
Picture = 1 << 19,
2023-04-20 10:34:37 -04:00
[Mapping("vidfile")]
VidFile = 1 << 20,
}
/// <summary>
/// Determine the display type
/// </summary>
[Flags]
public enum DisplayType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("raster")]
Raster = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("vector")]
Vector = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("lcd")]
LCD = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("svg")]
SVG = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("unknown")]
Unknown = 1 << 4,
}
/// <summary>
/// Determine the endianness
/// </summary>
[Flags]
public enum Endianness
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("big")]
Big = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("little")]
Little = 1 << 1,
}
/// <summary>
/// Determine the emulation status
/// </summary>
[Flags]
public enum FeatureStatus
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("unemulated")]
Unemulated = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("imperfect")]
Imperfect = 1 << 1,
}
/// <summary>
/// Determine the feature type
/// </summary>
[Flags]
public enum FeatureType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("protection")]
Protection = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("palette")]
Palette = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("graphics")]
Graphics = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("sound")]
Sound = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("controls")]
Controls = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("keyboard")]
Keyboard = 1 << 5,
2023-04-20 10:34:37 -04:00
[Mapping("mouse")]
Mouse = 1 << 6,
2023-04-20 10:34:37 -04:00
[Mapping("microphone")]
Microphone = 1 << 7,
2023-04-20 10:34:37 -04:00
[Mapping("camera")]
Camera = 1 << 8,
2023-04-20 10:34:37 -04:00
[Mapping("disk")]
Disk = 1 << 9,
2023-04-20 10:34:37 -04:00
[Mapping("printer")]
Printer = 1 << 10,
2023-04-20 10:34:37 -04:00
[Mapping("lan")]
Lan = 1 << 11,
2023-04-20 10:34:37 -04:00
[Mapping("wan")]
Wan = 1 << 12,
2023-04-20 10:34:37 -04:00
[Mapping("timing")]
Timing = 1 << 13,
}
/// <summary>
/// Determine the status of the item
/// </summary>
[Flags]
public enum ItemStatus
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("none", "no")]
None = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("good")]
Good = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("baddump")]
BadDump = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("nodump", "yes")]
Nodump = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("verified")]
Verified = 1 << 4,
}
/// <summary>
/// Determine what type of file an item is
/// </summary>
public enum ItemType
{
2023-04-20 10:34:37 -04:00
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
// "Actionable" item types
2023-04-20 10:34:37 -04:00
[Mapping("rom")]
Rom,
2023-04-20 10:34:37 -04:00
[Mapping("disk")]
Disk,
2023-04-20 10:34:37 -04:00
[Mapping("file")]
File,
[Mapping("media")]
Media,
// "Auxiliary" item types
2023-04-20 10:34:37 -04:00
[Mapping("adjuster")]
Adjuster,
2023-04-20 10:34:37 -04:00
[Mapping("analog")]
Analog,
2023-04-20 10:34:37 -04:00
[Mapping("archive")]
Archive,
2023-04-20 10:34:37 -04:00
[Mapping("biosset")]
BiosSet,
2023-04-20 10:34:37 -04:00
[Mapping("chip")]
Chip,
2023-04-20 10:34:37 -04:00
[Mapping("condition")]
Condition,
2023-04-20 10:34:37 -04:00
[Mapping("configuration")]
Configuration,
2023-04-20 10:34:37 -04:00
[Mapping("conflocation")]
ConfLocation,
[Mapping("confsetting")]
ConfSetting,
2023-04-20 10:34:37 -04:00
[Mapping("control")]
Control,
2023-04-20 10:34:37 -04:00
[Mapping("dataarea")]
DataArea,
2023-04-20 10:34:37 -04:00
[Mapping("device")]
Device,
2023-04-20 10:34:37 -04:00
2023-04-20 12:12:56 -04:00
[Mapping("device_ref", "deviceref")]
DeviceReference,
2023-04-20 10:34:37 -04:00
[Mapping("diplocation")]
DipLocation,
2023-04-20 10:34:37 -04:00
[Mapping("dipswitch")]
DipSwitch,
2023-04-20 10:34:37 -04:00
[Mapping("dipvalue")]
DipValue,
2023-04-20 10:34:37 -04:00
[Mapping("diskarea")]
DiskArea,
2023-04-20 10:34:37 -04:00
[Mapping("display")]
Display,
2023-04-20 10:34:37 -04:00
[Mapping("driver")]
Driver,
2023-04-20 10:34:37 -04:00
[Mapping("extension")]
Extension,
2023-04-20 10:34:37 -04:00
[Mapping("feature")]
Feature,
2023-04-20 10:34:37 -04:00
[Mapping("info")]
Info,
2023-04-20 10:34:37 -04:00
[Mapping("input")]
Input,
2023-04-20 10:34:37 -04:00
[Mapping("instance")]
Instance,
2023-04-20 10:34:37 -04:00
[Mapping("original")]
Original,
2023-04-20 10:34:37 -04:00
[Mapping("part")]
Part,
2023-04-20 10:34:37 -04:00
2023-04-20 12:12:56 -04:00
[Mapping("part_feature", "partfeature")]
PartFeature,
2023-04-20 10:34:37 -04:00
[Mapping("port")]
Port,
2023-04-20 10:34:37 -04:00
[Mapping("ramoption", "ram_option")]
RamOption,
2023-04-20 10:34:37 -04:00
[Mapping("release")]
Release,
2023-04-20 10:34:37 -04:00
2023-04-20 12:12:56 -04:00
[Mapping("release_details", "releasedetails")]
2023-04-19 12:26:54 -04:00
ReleaseDetails,
2023-04-20 10:34:37 -04:00
[Mapping("sample")]
Sample,
2023-04-20 10:34:37 -04:00
[Mapping("serials")]
2023-04-07 14:57:41 -04:00
Serials,
2023-04-20 10:34:37 -04:00
[Mapping("sharedfeat", "shared_feat", "sharedfeature", "shared_feature")]
SharedFeature,
2023-04-20 10:34:37 -04:00
[Mapping("slot")]
Slot,
2023-04-20 10:34:37 -04:00
[Mapping("slotoption", "slot_option")]
SlotOption,
2023-04-20 10:34:37 -04:00
[Mapping("softwarelist", "software_list")]
SoftwareList,
2023-04-20 10:34:37 -04:00
[Mapping("sound")]
Sound,
2023-04-20 10:34:37 -04:00
2023-04-20 12:12:56 -04:00
[Mapping("source_details", "sourcedetails")]
2023-04-19 12:26:54 -04:00
SourceDetails,
2023-04-20 10:34:37 -04:00
[Mapping("blank")]
Blank = 99, // This is not a real type, only used internally
}
/// <summary>
/// Determine the loadflag value
/// </summary>
[Flags]
public enum LoadFlag
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("load16_byte")]
Load16Byte = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("load16_word")]
Load16Word = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("load16_word_swap")]
Load16WordSwap = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("load32_byte")]
Load32Byte = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("load32_word")]
Load32Word = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("load32_word_swap")]
Load32WordSwap = 1 << 5,
2023-04-20 10:34:37 -04:00
[Mapping("load32_dword")]
Load32DWord = 1 << 6,
2023-04-20 10:34:37 -04:00
[Mapping("load64_word")]
Load64Word = 1 << 7,
2023-04-20 10:34:37 -04:00
[Mapping("load64_word_swap")]
Load64WordSwap = 1 << 8,
2023-04-20 10:34:37 -04:00
[Mapping("reload")]
Reload = 1 << 9,
2023-04-20 10:34:37 -04:00
[Mapping("fill")]
Fill = 1 << 10,
2023-04-20 10:34:37 -04:00
[Mapping("continue")]
Continue = 1 << 11,
2023-04-20 10:34:37 -04:00
[Mapping("reload_plain")]
ReloadPlain = 1 << 12,
2023-04-20 10:34:37 -04:00
[Mapping("ignore")]
Ignore = 1 << 13,
}
/// <summary>
/// Determine what type of machine it is
/// </summary>
[Flags]
public enum MachineType
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
2023-04-20 10:34:37 -04:00
[Mapping("bios")]
Bios = 1 << 0,
2023-04-20 12:12:56 -04:00
[Mapping("device", "dev")]
2023-04-20 10:34:37 -04:00
Device = 1 << 1,
2023-04-20 12:12:56 -04:00
[Mapping("mechanical", "mech")]
2023-04-20 10:34:37 -04:00
Mechanical = 1 << 2,
}
/// <summary>
/// Determine which OpenMSX subtype an item is
/// </summary>
[Flags]
public enum OpenMSXSubType
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("rom")]
Rom = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("megarom")]
MegaRom = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("sccpluscart")]
SCCPlusCart = 1 << 2,
}
/// <summary>
/// Determine relation of value to condition
/// </summary>
[Flags]
public enum Relation
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("eq")]
Equal = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("ne")]
NotEqual = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("gt")]
GreaterThan = 1 << 2,
2023-04-20 10:34:37 -04:00
[Mapping("le")]
LessThanOrEqual = 1 << 3,
2023-04-20 10:34:37 -04:00
[Mapping("lt")]
LessThan = 1 << 4,
2023-04-20 10:34:37 -04:00
[Mapping("ge")]
GreaterThanOrEqual = 1 << 5,
}
/// <summary>
/// Determine machine runnable status
/// </summary>
[Flags]
public enum Runnable
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("no")]
No = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("partial")]
Partial = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("yes")]
Yes = 1 << 2,
}
/// <summary>
/// Determine software list status
/// </summary>
[Flags]
public enum SoftwareListStatus
{
2023-04-20 10:34:37 -04:00
[Mapping("none")]
None = 0,
2023-04-20 10:34:37 -04:00
[Mapping("original")]
Original = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("compatible")]
Compatible = 1 << 1,
}
/// <summary>
/// Determine machine support status
/// </summary>
[Flags]
public enum Supported
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("no", "unsupported")]
No = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("partial")]
Partial = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("yes", "supported")]
Yes = 1 << 2,
}
/// <summary>
/// Determine driver support statuses
/// </summary>
[Flags]
public enum SupportStatus
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2023-04-20 10:34:37 -04:00
[Mapping("good")]
Good = 1 << 0,
2023-04-20 10:34:37 -04:00
[Mapping("imperfect")]
Imperfect = 1 << 1,
2023-04-20 10:34:37 -04:00
[Mapping("preliminary")]
Preliminary = 1 << 2,
}
#endregion
#region Fields
/// <summary>
/// List of valid field types within a DatHeader
/// </summary>
public enum DatHeaderField
{
2023-04-20 10:34:37 -04:00
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ClrMamePro, DOSCenter, Logiqx, and RomCenter</remarks>
[Mapping("author")]
Author,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("biosmode", "bios_mode")]
BiosMode,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("build")]
Build,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList</remarks>
[Mapping("canopen", "can_open")]
CanOpen,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro and Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("category")]
Category,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, DOSCenter, Logiqx, and RomCenter</remarks>
[Mapping("comment")]
Comment,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, DOSCenter, Logiqx, OpenMSX, and RomCenter</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("date", "timestamp", "time_stamp")]
Date,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx and ListXML</remarks>
[Mapping("debug")]
Debug,
/// <remarks>Used in ClrMamePro, DOSCenter, ListXML, Logiqx, OpenMSX, RomCenter, Separated Value, and Software List</remarks>
[Mapping("desc", "description")]
Description,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, Logiqx, and RomCenter</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("email", "e_mail")]
Email,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in AttractMode, OfflineList, and Separated Value</remarks>
[Mapping("file", "filename", "file_name")]
FileName,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, Logiqx, and RomCenter</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("forcemerging", "force_merging")]
ForceMerging,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("forcenodump", "force_nodump")]
ForceNodump,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro and Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("forcepacking", "force_packing")]
ForcePacking,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ClrMamePro and Logiqx</remarks>
[Mapping("header", "headerskipper", "header_skipper", "skipper")]
HeaderSkipper,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ClrMamePro, DOSCenter, Logiqx, and RomCenter</remarks>
[Mapping("homepage", "home_page")]
Homepage,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("id", "nointroid", "no_intro_id")]
ID,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList; Part of "Info" object</remarks>
[Mapping("info_default", "infos_default")]
Info_Default,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList; Part of "Info" object</remarks>
[Mapping("info_isnamingoption", "info_is_naming_option", "infos_isnamingoption", "infos_is_naming_option")]
Info_IsNamingOption,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList; Part of "Info" object</remarks>
[Mapping("info_name", "infos_name")]
Info_Name,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList; Part of "Info" object</remarks>
[Mapping("info_visible", "infos_visible")]
Info_Visible,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("lockbiosmode", "lockbios_mode", "lock_biosmode", "lock_bios_mode")]
LockBiosMode,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("lockrommode", "lockrom_mode", "lock_rommode", "lock_rom_mode")]
LockRomMode,
/// <remarks>Used in Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("locksamplemode", "locksample_mode", "lock_samplemode", "lock_sample_mode")]
LockSampleMode,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ListXML</remarks>
[Mapping("mameconfig", "mame_config")]
MameConfig,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, DOSCenter, ListXML, Logiqx, OfflineList, OpenMSX, RomCenter, Separated Value, and Software List</remarks>
[Mapping("dat", "datname", "dat_name", "internalname", "internal_name")]
Name,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with RomCenter</remarks>
[Mapping("rcversion", "rc_version", "romcenterversion", "romcenter_version", "rom_center_version")]
RomCenterVersion,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("rommode", "rom_mode")]
RomMode,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("romtitle", "rom_title")]
RomTitle,
/// <remarks>Used with ClrMamePro and Logiqx</remarks>
[Mapping("root", "rootdir", "root_dir", "rootdirectory", "root_directory")]
RootDir,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("samplemode", "sample_mode")]
SampleMode,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList</remarks>
[Mapping("screenshotheight", "screenshotsheight", "screenshot_height", "screenshots_height")]
ScreenshotsHeight,
2023-04-20 10:34:37 -04:00
/// <remarks>Used with OfflineList</remarks>
[Mapping("screenshotwidth", "screenshotswidth", "screenshot_width", "screenshots_width")]
ScreenshotsWidth,
2020-12-08 13:23:59 -08:00
/// <remarks>Used with Logiqx, OfflineList, and RomCenter; "plugin" is used for RomCenter</remarks>
[Mapping("system", "plugin")]
System,
2020-12-08 13:23:59 -08:00
/// <remarks>Used with ClrMamePro, Logiqx, and OfflineList</remarks>
[Mapping("dattype", "type", "superdat")]
Type,
2020-12-08 13:23:59 -08:00
/// <remarks>Used with ClrMamePro, Logiqx, OfflineList, and RomCenter</remarks>
[Mapping("url")]
Url,
2020-12-08 13:23:59 -08:00
/// <remarks>Used with ClrMamePro, DOSCenter, ListXML, Logiqx, OfflineList, and RomCenter</remarks>
[Mapping("version")]
Version,
}
2020-12-08 13:23:59 -08:00
/// <summary>
/// List of valid field types within a DatItem
/// </summary>
public enum DatItemField
{
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
NULL = 0,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Rom</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("altname", "alt_name", "altromname", "alt_romname", "alt_rom_name")]
2020-12-12 21:33:26 -08:00
AltName,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("alttitle", "alt_title", "altromtitle", "alt_romtitle", "alt_rom_title")]
2020-12-12 21:33:26 -08:00
AltTitle,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Analog</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("analog_mask")]
2020-12-12 21:33:26 -08:00
Analog_Mask,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Rom</remarks>
[Mapping("ado_format")]
ArchiveDotOrgFormat,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("ado_source")]
ArchiveDotOrgSource,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in DataArea</remarks>
[Mapping("areaendinanness", "area_endianness")]
AreaEndianness,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in DataArea and DiskArea</remarks>
[Mapping("areaname", "area_name")]
AreaName,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in DataArea</remarks>
[Mapping("areasize", "area_size")]
AreaSize,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in DataArea</remarks>
[Mapping("areawidth", "area_width")]
AreaWidth,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("bios")]
Bios,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("boot")]
Boot,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Archive</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("categories")]
2023-04-07 15:47:24 -04:00
Categories,
2023-04-07 14:34:49 -04:00
/// <remarks>Used in Sound</remarks>
[Mapping("channels")]
Channels,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Chip</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("chiptype", "chip_type")]
2020-12-12 21:33:26 -08:00
ChipType,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Chip</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("clock")]
2020-12-12 21:33:26 -08:00
Clock,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Archive</remarks>
[Mapping("clone")]
Clone,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Driver</remarks>
[Mapping("cocktailstatus", "cocktail_status")]
CocktailStatus,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Input</remarks>
[Mapping("coins")]
Coins,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Archive</remarks>
[Mapping("complete")]
Complete,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Condition</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("condition_mask")]
2020-12-12 21:33:26 -08:00
Condition_Mask,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Condition</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("condition_relation")]
2020-12-12 21:33:26 -08:00
Condition_Relation,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Condition</remarks>
[Mapping("condition_tag")]
Condition_Tag,
/// <remarks>Used in Condition</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("condition_value")]
2020-12-12 21:33:26 -08:00
Condition_Value,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in RamOption</remarks>
[Mapping("content")]
Content,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
[Mapping("control_buttons")]
Control_Buttons,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
[Mapping("control_keydelta", "control_key_delta")]
Control_KeyDelta,
/// <remarks>Used in Control</remarks>
[Mapping("control_maximum")]
Control_Maximum,
/// <remarks>Used in Control</remarks>
[Mapping("control_minimum")]
Control_Minimum,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("control_player")]
2020-12-12 21:33:26 -08:00
Control_Player,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("control_reqbuttons", "control_req_buttons")]
2020-12-12 21:33:26 -08:00
Control_RequiredButtons,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
[Mapping("control_reverse")]
Control_Reverse,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("control_sensitivity")]
2020-12-12 21:33:26 -08:00
Control_Sensitivity,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
[Mapping("control_type")]
Control_Type,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("control_ways")]
2020-12-12 21:33:26 -08:00
Control_Ways,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("control_ways2")]
2020-12-12 21:33:26 -08:00
Control_Ways2,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Control</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("control_ways3")]
2020-12-12 21:33:26 -08:00
Control_Ways3,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Rom</remarks>
[Mapping("crc", "crc32")]
CRC,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Release and Rom</remarks>
[Mapping("date")]
Date,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Adjuster, BiosSet, RamOption, and Release</remarks>
[Mapping("default")]
Default,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in BiosSet</remarks>
[Mapping("description", "biosdescription", "bios_description")]
Description,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Device</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("devicetype", "device_type")]
2020-12-12 21:33:26 -08:00
DeviceType,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Archive</remarks>
[Mapping("devstatus", "dev_status")]
DevStatus,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Display</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("displaytype", "display_type")]
2020-12-12 21:33:26 -08:00
DisplayType,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Driver</remarks>
[Mapping("emulationstatus", "emulation_status")]
EmulationStatus,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Extension</remarks>
[Mapping("extension_name")]
Extension_Name,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Feature</remarks>
[Mapping("featureoverall", "feature_overall")]
FeatureOverall,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Feature</remarks>
[Mapping("featurestatus", "feature_status")]
FeatureStatus,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Feature</remarks>
[Mapping("featuretype", "feature_type")]
FeatureType,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in SoftwareList</remarks>
[Mapping("filter")]
Filter,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Device</remarks>
[Mapping("fixedimage", "fixed_image")]
FixedImage,
/// <remarks>Used in Display</remarks>
[Mapping("flipx")]
FlipX,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Display</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("hbend")]
2020-12-12 21:33:26 -08:00
HBEnd,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Display</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("hbstart")]
2020-12-12 21:33:26 -08:00
HBStart,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Display</remarks>
[Mapping("height")]
Height,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Display</remarks>
[Mapping("htotal")]
HTotal,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Driver</remarks>
[Mapping("incomplete")]
Incomplete,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Disk</remarks>
[Mapping("index")]
Index,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Instance</remarks>
[Mapping("instance_briefname", "instance_brief_name")]
Instance_BriefName,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Instance</remarks>
[Mapping("instance_name")]
Instance_Name,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Device</remarks>
[Mapping("interface")]
Interface,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("inverted")]
Inverted,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Release</remarks>
[Mapping("language")]
Language,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Archive</remarks>
[Mapping("languages")]
Languages,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("loadflag", "load_flag")]
LoadFlag,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Location</remarks>
[Mapping("location_inverted")]
Location_Inverted,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Location</remarks>
[Mapping("location_name")]
Location_Name,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Location</remarks>
[Mapping("location_number")]
Location_Number,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Device</remarks>
[Mapping("mandatory")]
Mandatory,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Condition, Configuration, and DipSwitch</remarks>
[Mapping("mask")]
Mask,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Disk, Media, and Rom</remarks>
[Mapping("md5", "md5hash", "md5_hash")]
MD5,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Disk and Rom</remarks>
[Mapping("merge", "mergetag", "merge_tag")]
Merge,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("mia")]
MIA,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Adjuster, Archive, BiosSet, Chip, Configuration, DataArea, DeviceReference, DipSwitch, Disk, DiskArea, Extension, Info, Instance, Location, Media, Part, PartFeature, RamOption, Release, Rom, Sample, Setting, SharedFeature, Slot, SlotOption, and SoftwareList</remarks>
[Mapping("name")]
Name,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Driver</remarks>
[Mapping("nosoundhardware", "no_sound_hardware")]
NoSoundHardware,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Archive</remarks>
[Mapping("number")]
Number,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("offset")]
Offset,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("subtype", "sub_type", "openmsxsubtype", "openmsx_subtype", "openmsx_sub_type")]
OpenMSXSubType,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Rom</remarks>
[Mapping("openmsxtype", "openmsx_type")]
OpenMSXType,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Disk and Rom</remarks>
[Mapping("optional")]
Optional,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("original")]
Original,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("original_filename")]
OriginalFilename,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in PartFeature</remarks>
[Mapping("part_feature_name")]
Part_Feature_Name,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in PartFeature</remarks>
[Mapping("part_feature_value")]
Part_Feature_Value,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Part</remarks>
[Mapping("partinterface", "part_interface")]
Part_Interface,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Part</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("partname", "part_name")]
2020-12-12 21:33:26 -08:00
Part_Name,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Archive</remarks>
[Mapping("physical")]
Physical,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Display</remarks>
[Mapping("pixclock", "pix_clock")]
PixClock,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Input</remarks>
[Mapping("players")]
Players,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Display</remarks>
[Mapping("refresh")]
Refresh,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Archive, Disk, Release, and Rom</remarks>
[Mapping("region")]
Region,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Archive</remarks>
[Mapping("regparent", "reg_parent")]
RegParent,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Condition</remarks>
[Mapping("relation")]
Relation,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("remark")]
Remark,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Driver</remarks>
[Mapping("requiresartwork", "requires_artwork")]
RequiresArtwork,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Display</remarks>
[Mapping("rotate")]
Rotate,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("rotation")]
Rotation,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Driver</remarks>
[Mapping("savestatestatus", "savestate_status", "save_state_status")]
SaveStateStatus,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Input</remarks>
[Mapping("service")]
Service,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Setting</remarks>
[Mapping("setting_default", "value_default")]
Setting_Default,
/// <remarks>Used in Setting</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("setting_name", "value_name")]
2020-12-12 21:33:26 -08:00
Setting_Name,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Setting</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("setting_value", "value_value")]
2020-12-12 21:33:26 -08:00
Setting_Value,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Disk, Media, and Rom</remarks>
[Mapping("sha1", "sha_1", "sha1hash", "sha1_hash", "sha_1hash", "sha_1_hash")]
SHA1,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Media and Rom</remarks>
[Mapping("sha256", "sha_256", "sha256hash", "sha256_hash", "sha_256hash", "sha_256_hash")]
SHA256,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("sha384", "sha_384", "sha384hash", "sha384_hash", "sha_384hash", "sha_384_hash")]
SHA384,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("sha512", "sha_512", "sha512hash", "sha512_hash", "sha_512hash", "sha_512_hash")]
SHA512,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("size")]
Size,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in SlotOption</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("slotoption_default")]
2020-12-12 21:33:26 -08:00
SlotOption_Default,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in SlotOption</remarks>
[Mapping("slotoption_devicename", "slotoption_device_name")]
SlotOption_DeviceName,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in SlotOption</remarks>
[Mapping("slotoption_name")]
SlotOption_Name,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in SoftwareList</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("softwareliststatus", "softwarelist_status")]
2020-12-12 21:33:26 -08:00
SoftwareListStatus,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Media and Rom</remarks>
[Mapping("spamsum", "spam_sum")]
SpamSum,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Disk and Rom</remarks>
[Mapping("status")]
Status,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Rom</remarks>
[Mapping("summation")]
Summation,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Driver</remarks>
[Mapping("supportstatus", "support_status")]
SupportStatus,
/// <remarks>Used in Chip, Condition, Configuration, Device, DipSwitch, Display, Port, and SoftwareList</remarks>
[Mapping("tag")]
Tag,
/// <remarks>Used in Input</remarks>
[Mapping("tilt")]
Tilt,
/// <remarks>Internal value, common to all DatItems</remarks>
[Mapping("type")]
Type,
/// <remarks>Used in Driver</remarks>
[Mapping("unofficial")]
Unofficial,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Condition, Info, Rom, and SharedFeature</remarks>
[Mapping("value")]
Value,
/// <remarks>Used in Display</remarks>
[Mapping("vbend")]
VBEnd,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Display</remarks>
[Mapping("vbstart")]
VBStart,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Display</remarks>
[Mapping("vtotal")]
VTotal,
/// <remarks>Used in Display</remarks>
[Mapping("width")]
Width,
/// <remarks>Used in Disk</remarks>
[Mapping("writable")]
Writable,
2020-12-08 13:23:59 -08:00
}
/// <summary>
/// List of valid field types within a Machine
2020-12-08 13:23:59 -08:00
/// </summary>
public enum MachineField
2020-12-08 13:23:59 -08:00
{
2023-04-20 10:34:37 -04:00
/// <summary>
/// This is a fake flag that is used for filter only
/// </summary>
2020-12-08 13:23:59 -08:00
NULL = 0,
/// <remarks>Used in Logiqx</remarks>
[Mapping("board")]
Board,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in AttractMode</remarks>
[Mapping("buttons")]
Buttons,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in AttractMode, ClrMamePro, and Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("category")]
Category,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in AttractMode, ClrMamePro, ListXML, Logiqx, OfflineList, RomCenter, and Software List</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("cloneof", "clone_of")]
CloneOf,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("cloneofid", "nointrocloneofid", "nointro_cloneofid", "no_intro_cloneofid", "no_intro_clone_of_id")]
CloneOfID,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in AttractMode, Logiqx, and OfflineList; "extra" is used with AttractMode</remarks>
[Mapping("comment", "extra")]
Comment,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in AttractMode</remarks>
[Mapping("control")]
Control,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in OpenMSX</remarks>
[Mapping("country")]
Country,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx (EmuArc Extension)</remarks>
[Mapping("crc", "hascrc", "has_crc")]
CRC,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ArchiveDotOrg, AttractMode, ClrMamePro, DOSCenter, Everdrive SMDB, ListXML, Logiqx, RomCenter, Separated Value, and Software List</remarks>
[Mapping("desc", "description")]
Description,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx (EmuArc Extension)</remarks>
[Mapping("developer")]
Developer,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in AttractMode</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("displaycount", "display_count")]
DisplayCount,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in AttractMode</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("displaytype", "display_type")]
DisplayType,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx (EmuArc Extension)</remarks>
[Mapping("enabled")]
Enabled,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in OpenMSX</remarks>
[Mapping("genmsxid", "genmsx_id", "gen_msxid", "gen_msx_id")]
GenMSXID,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Logiqx (EmuArc Extension)</remarks>
[Mapping("genre")]
Genre,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ListXML</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("history")]
2020-12-28 10:22:40 -08:00
History,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx</remarks>
[Mapping("id", "nointroid", "nointro_id", "no_intro_id")]
ID,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in AttractMode, ClrMamePro, ListXML, Logiqx, and OpenMSX</remarks>
[Mapping("manufacturer")]
Manufacturer,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ArchiveDotOrg, AttractMode, ClrMamePro, DOSCenter, Everdrive SMDB, Hashfile, ListROM, ListXML, Logiqx, Missfile, OfflineList, OpenMSX, RomCenter, Separated Value, and Software List</remarks>
[Mapping("name")]
Name,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in AttractMode and Logiqx</remarks>
[Mapping("players")]
Players,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Logiqx, OfflineList, and Software List</remarks>
[Mapping("publisher")]
Publisher,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx (EmuArc Extension)</remarks>
[Mapping("ratings")]
Ratings,
/// <remarks>Used in Logiqx</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("rebuildto", "rebuild_to")]
RebuildTo,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx (EmuArc Extension)</remarks>
[Mapping("relatedto", "related_to")]
RelatedTo,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, ListXML, Logiqx, and RomCenter</remarks>
[Mapping("romof", "rom_of")]
RomOf,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in AttractMode</remarks>
[Mapping("rotation")]
Rotation,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ListXML and Logiqx</remarks>
[Mapping("runnable")]
Runnable,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ClrMamePro, ListXML, and Logiqx</remarks>
[Mapping("sampleof", "sample_of")]
SampleOf,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx (EmuArc Extension)</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("score")]
Score,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in ListXML and Logiqx</remarks>
[Mapping("sourcefile", "source_file")]
SourceFile,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in AttractMode</remarks>
[Mapping("amstatus", "am_status", "gamestatus", "supportstatus", "support_status")]
Status,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Logiqx (EmuArc Extension)</remarks>
[Mapping("subgenre", "sub_genre")]
Subgenre,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in Software List</remarks>
[Mapping("supported")]
Supported,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in OpenMSX</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("system", "msxsystem", "msx_system")]
System,
2023-04-20 10:34:37 -04:00
/// <remarks>Used in Logiqx (EmuArc Extension)</remarks>
[Mapping("titleid", "title_id")]
TitleID,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in ClrMamePro, DOSCenter, ListXML, and Logiqx</remarks>
[Mapping("type")]
Type,
2020-12-08 13:23:59 -08:00
/// <remarks>Used in AttractMode, ClrMamePro, ListXML, Logiqx, OpenMSX, and Software List</remarks>
[Mapping("year")]
Year,
2020-12-08 13:23:59 -08:00
}
#endregion
2021-02-03 10:09:40 -08:00
#region Logging
/// <summary>
/// Severity of the logging statement
/// </summary>
public enum LogLevel
{
2023-04-20 10:34:37 -04:00
[Mapping("verbose")]
2021-02-03 10:09:40 -08:00
VERBOSE = 0,
2023-04-20 10:34:37 -04:00
[Mapping("user")]
2021-02-03 10:09:40 -08:00
USER,
2023-04-20 10:34:37 -04:00
[Mapping("warning")]
2021-02-03 10:09:40 -08:00
WARNING,
2023-04-20 10:34:37 -04:00
[Mapping("error")]
2021-02-03 10:09:40 -08:00
ERROR,
}
#endregion
2020-08-01 22:13:56 -07:00
}