Files
SabreTools/SabreTools.Core/Enums.cs

1596 lines
30 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 10:34:37 -04:00
[Mapping("device", "devicenonmerged", "deviceunmerged")]
DeviceNonMerged,
/// <remarks>This is not usually defined for Merging flags</remarks>
2023-04-20 10:34:37 -04:00
[Mapping("full", "fullnonmerged", "fullunmerged")]
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 10:34:37 -04:00
[Mapping("yes", "zip")]
Zip,
/// <summary>
/// Force all sets to be extracted into subfolders
/// </summary>
2023-04-20 10:34:37 -04:00
[Mapping("no", "unzip")]
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("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
[Mapping("deviceref", "device_ref")]
DeviceReference,
2023-04-20 10:34:37 -04:00
[Mapping("dipswitch")]
DipSwitch,
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("location")]
Location,
2023-04-20 10:34:37 -04:00
[Mapping("part")]
Part,
2023-04-20 10:34:37 -04:00
[Mapping("partfeature", "part_feature")]
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
[Mapping("releasedetails", "release_details")]
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("setting")]
Setting,
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
[Mapping("sourcedetails", "source_details")]
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,
[Mapping("dev", "device")]
Device = 1 << 1,
[Mapping("mech", "mechanical")]
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
#region Common
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("file", "filename", "file_name")]
FileName,
2023-04-20 10:34:37 -04:00
[Mapping("dat", "datname", "dat_name", "internalname", "internal_name")]
Name,
2023-04-20 10:34:37 -04:00
[Mapping("desc", "description")]
Description,
2023-04-20 10:34:37 -04:00
[Mapping("root", "rootdir", "root_dir", "rootdirectory", "root_directory")]
RootDir,
2023-04-20 10:34:37 -04:00
[Mapping("category")]
Category,
2023-04-20 10:34:37 -04:00
[Mapping("version")]
Version,
2023-04-20 10:34:37 -04:00
[Mapping("date", "timestamp", "time_stamp")]
Date,
2023-04-20 10:34:37 -04:00
[Mapping("author")]
Author,
2023-04-20 10:34:37 -04:00
[Mapping("email", "e_mail")]
Email,
2023-04-20 10:34:37 -04:00
[Mapping("homepage", "home_page")]
Homepage,
2023-04-20 10:34:37 -04:00
[Mapping("url")]
Url,
2023-04-20 10:34:37 -04:00
[Mapping("comment")]
Comment,
2023-04-20 10:34:37 -04:00
[Mapping("header", "headerskipper", "header_skipper", "skipper")]
HeaderSkipper,
2023-04-20 10:34:37 -04:00
[Mapping("dattype", "type", "superdat")]
Type,
2023-04-20 10:34:37 -04:00
[Mapping("forcemerging", "force_merging")]
ForceMerging,
2023-04-20 10:34:37 -04:00
[Mapping("forcenodump", "force_nodump")]
ForceNodump,
2023-04-20 10:34:37 -04:00
[Mapping("forcepacking", "force_packing")]
ForcePacking,
2020-12-08 13:23:59 -08:00
#endregion
#region ListXML
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("debug")]
Debug,
2023-04-20 10:34:37 -04:00
[Mapping("mameconfig", "mame_config")]
MameConfig,
2020-12-08 13:23:59 -08:00
#endregion
#region Logiqx
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("id", "nointroid", "no_intro_id")]
2023-04-03 12:24:42 -04:00
NoIntroID,
2023-04-20 10:34:37 -04:00
[Mapping("build")]
Build,
2023-04-20 10:34:37 -04:00
[Mapping("rommode", "rom_mode")]
RomMode,
2023-04-20 10:34:37 -04:00
[Mapping("biosmode", "bios_mode")]
BiosMode,
2023-04-20 10:34:37 -04:00
[Mapping("samplemode", "sample_mode")]
SampleMode,
2023-04-20 10:34:37 -04:00
[Mapping("lockrommode", "lockrom_mode", "lock_rommode", "lock_rom_mode")]
LockRomMode,
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
[Mapping("locksamplemode", "locksample_mode", "lock_samplemode", "lock_sample_mode")]
LockSampleMode,
2020-12-08 13:23:59 -08:00
#endregion
#region OfflineList
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
/// <remarks>"plugin" is used with RomCenter</remarks>
[Mapping("system", "plugin")]
System,
2023-04-20 10:34:37 -04:00
[Mapping("screenshotwidth", "screenshotswidth", "screenshot_width", "screenshots_width")]
ScreenshotsWidth,
2023-04-20 10:34:37 -04:00
[Mapping("screenshotheight", "screenshotsheight", "screenshot_height", "screenshots_height")]
ScreenshotsHeight,
2023-04-20 10:34:37 -04:00
[Mapping("canopen", "can_open")]
CanOpen,
2023-04-20 10:34:37 -04:00
[Mapping("romtitle", "rom_title")]
RomTitle,
// Infos
2023-04-20 10:34:37 -04:00
[Mapping("info_name", "infos_name")]
Info_Name,
2023-04-20 10:34:37 -04:00
[Mapping("info_visible", "infos_visible")]
Info_Visible,
2023-04-20 10:34:37 -04:00
[Mapping("info_isnamingoption", "info_is_naming_option", "infos_isnamingoption", "infos_is_naming_option")]
Info_IsNamingOption,
2023-04-20 10:34:37 -04:00
[Mapping("info_default", "infos_default")]
Info_Default,
2020-12-08 13:23:59 -08:00
#endregion
#region RomCenter
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("rcversion", "rc_version", "romcenterversion", "romcenter_version", "rom_center_version")]
RomCenterVersion,
2020-12-08 13:23:59 -08:00
#endregion
}
2020-12-08 13:23:59 -08:00
/// <summary>
/// List of valid field types within a DatItem
/// </summary>
public enum DatItemField
{
NULL = 0,
2020-12-08 13:23:59 -08:00
#region Common
2023-04-20 10:34:37 -04:00
[Mapping("type")]
2020-12-12 21:33:26 -08:00
Type,
2020-12-08 13:23:59 -08:00
#endregion
#region Item-Specific
#region Actionable
2023-04-20 10:34:37 -04:00
#region Rom
[Mapping("name")]
2020-12-12 21:33:26 -08:00
Name,
2023-04-20 10:34:37 -04:00
[Mapping("bios")]
2020-12-12 21:33:26 -08:00
Bios,
2023-04-20 10:34:37 -04:00
[Mapping("size")]
2020-12-12 21:33:26 -08:00
Size,
2023-04-20 10:34:37 -04:00
[Mapping("crc", "crc32")]
2020-12-12 21:33:26 -08:00
CRC,
2023-04-20 10:34:37 -04:00
[Mapping("md5", "md5hash", "md5_hash")]
2020-12-12 21:33:26 -08:00
MD5,
2023-04-20 10:34:37 -04:00
[Mapping("sha1", "sha_1", "sha1hash", "sha1_hash", "sha_1hash", "sha_1_hash")]
2020-12-12 21:33:26 -08:00
SHA1,
2023-04-20 10:34:37 -04:00
[Mapping("sha256", "sha_256", "sha256hash", "sha256_hash", "sha_256hash", "sha_256_hash")]
2020-12-12 21:33:26 -08:00
SHA256,
2023-04-20 10:34:37 -04:00
[Mapping("sha384", "sha_384", "sha384hash", "sha384_hash", "sha_384hash", "sha_384_hash")]
2020-12-12 21:33:26 -08:00
SHA384,
2023-04-20 10:34:37 -04:00
[Mapping("sha512", "sha_512", "sha512hash", "sha512_hash", "sha_512hash", "sha_512_hash")]
2020-12-12 21:33:26 -08:00
SHA512,
2023-04-20 10:34:37 -04:00
[Mapping("spamsum", "spam_sum")]
2020-12-12 21:33:26 -08:00
SpamSum,
2023-04-20 10:34:37 -04:00
[Mapping("merge", "mergetag", "merge_tag")]
2020-12-12 21:33:26 -08:00
Merge,
2023-04-20 10:34:37 -04:00
[Mapping("region")]
2020-12-12 21:33:26 -08:00
Region,
2023-04-20 10:34:37 -04:00
[Mapping("offset")]
2020-12-12 21:33:26 -08:00
Offset,
2023-04-20 10:34:37 -04:00
[Mapping("date")]
2020-12-12 21:33:26 -08:00
Date,
2023-04-20 10:34:37 -04:00
[Mapping("status")]
2020-12-12 21:33:26 -08:00
Status,
2023-04-20 10:34:37 -04:00
[Mapping("optional")]
2020-12-12 21:33:26 -08:00
Optional,
2023-04-20 10:34:37 -04:00
[Mapping("inverted")]
2020-12-12 21:33:26 -08:00
Inverted,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Rom (Archive.org)
[Mapping("ado_source")]
ArchiveDotOrgSource,
2023-04-20 10:34:37 -04:00
[Mapping("ado_format")]
ArchiveDotOrgFormat,
2023-04-20 10:34:37 -04:00
[Mapping("original_filename")]
OriginalFilename,
2023-04-20 10:34:37 -04:00
[Mapping("rotation")]
Rotation,
2023-04-20 10:34:37 -04:00
[Mapping("summation")]
Summation,
2023-04-20 10:34:37 -04:00
#endregion
#region Rom (AttractMode)
[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
[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
2023-04-20 10:34:37 -04:00
#endregion
#region Rom (Logiqx)
[Mapping("mia")]
2023-03-26 22:03:29 -04:00
MIA,
2023-04-20 10:34:37 -04:00
#endregion
#region Rom (OpenMSX)
[Mapping("original")]
2020-12-12 21:33:26 -08:00
Original,
2023-04-20 10:34:37 -04:00
[Mapping("subtype", "sub_type", "openmsxsubtype", "openmsx_subtype", "openmsx_sub_type")]
2020-12-12 21:33:26 -08:00
OpenMSXSubType,
2023-04-20 10:34:37 -04:00
[Mapping("openmsxtype", "openmsx_type")]
2020-12-12 21:33:26 -08:00
OpenMSXType,
2023-04-20 10:34:37 -04:00
[Mapping("remark")]
2020-12-12 21:33:26 -08:00
Remark,
2023-04-20 10:34:37 -04:00
[Mapping("boot")]
2020-12-12 21:33:26 -08:00
Boot,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Rom (SoftwareList)
[Mapping("loadflag", "load_flag")]
2020-12-12 21:33:26 -08:00
LoadFlag,
2023-04-20 10:34:37 -04:00
[Mapping("value")]
2020-12-12 21:33:26 -08:00
Value,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Disk
[Mapping("index")]
2020-12-12 21:33:26 -08:00
Index,
2023-04-20 10:34:37 -04:00
[Mapping("writable")]
2020-12-12 21:33:26 -08:00
Writable,
2020-12-08 13:23:59 -08:00
#endregion
2023-04-20 10:34:37 -04:00
#endregion
2020-12-08 13:23:59 -08:00
#region Auxiliary
2023-04-20 10:34:37 -04:00
#region Adjuster
[Mapping("default")]
2020-12-12 21:33:26 -08:00
Default,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Analog
[Mapping("analog_mask")]
2020-12-12 21:33:26 -08:00
Analog_Mask,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Archive
[Mapping("number")]
2023-04-07 14:34:49 -04:00
Number,
2023-04-20 10:34:37 -04:00
[Mapping("clone")]
2023-04-07 14:34:49 -04:00
Clone,
2023-04-20 10:34:37 -04:00
[Mapping("regparent", "reg_parent")]
2023-04-07 14:34:49 -04:00
RegParent,
2023-04-20 10:34:37 -04:00
[Mapping("languages")]
2023-04-07 14:34:49 -04:00
Languages,
2023-04-20 10:34:37 -04:00
[Mapping("devstatus", "dev_status")]
2023-04-07 15:47:24 -04:00
DevStatus,
2023-04-20 10:34:37 -04:00
[Mapping("physical")]
2023-04-07 15:47:24 -04:00
Physical,
2023-04-20 10:34:37 -04:00
[Mapping("complete")]
2023-04-07 15:47:24 -04:00
Complete,
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
2023-04-20 10:34:37 -04:00
#endregion
#region BiosSet
[Mapping("description", "biosdescription", "bios_description")]
2020-12-12 21:33:26 -08:00
Description,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Chip
[Mapping("tag")]
2020-12-12 21:33:26 -08:00
Tag,
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
[Mapping("clock")]
2020-12-12 21:33:26 -08:00
Clock,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Condition
[Mapping("mask")]
2020-12-12 21:33:26 -08:00
Mask,
2023-04-20 10:34:37 -04:00
[Mapping("relation")]
2020-12-12 21:33:26 -08:00
Relation,
2023-04-20 10:34:37 -04:00
[Mapping("condition_tag")]
2020-12-12 21:33:26 -08:00
Condition_Tag,
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
[Mapping("condition_relation")]
2020-12-12 21:33:26 -08:00
Condition_Relation,
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
2023-04-20 10:34:37 -04:00
#endregion
#region Control
[Mapping("control_type")]
2020-12-12 21:33:26 -08:00
Control_Type,
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
[Mapping("control_buttons")]
2020-12-12 21:33:26 -08:00
Control_Buttons,
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
[Mapping("control_minimum")]
2020-12-12 21:33:26 -08:00
Control_Minimum,
2023-04-20 10:34:37 -04:00
[Mapping("control_maximum")]
2020-12-12 21:33:26 -08:00
Control_Maximum,
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
[Mapping("control_keydelta", "control_key_delta")]
2020-12-12 21:33:26 -08:00
Control_KeyDelta,
2023-04-20 10:34:37 -04:00
[Mapping("control_reverse")]
2020-12-12 21:33:26 -08:00
Control_Reverse,
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
[Mapping("control_ways2")]
2020-12-12 21:33:26 -08:00
Control_Ways2,
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
2023-04-20 10:34:37 -04:00
#endregion
#region DataArea
[Mapping("areaname", "area_name")]
2020-12-12 21:33:26 -08:00
AreaName,
2023-04-20 10:34:37 -04:00
[Mapping("areasize", "area_size")]
2020-12-12 21:33:26 -08:00
AreaSize,
2023-04-20 10:34:37 -04:00
[Mapping("areawidth", "area_width")]
2020-12-12 21:33:26 -08:00
AreaWidth,
2023-04-20 10:34:37 -04:00
[Mapping("areaendinanness", "area_endianness")]
2020-12-12 21:33:26 -08:00
AreaEndianness,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Device
[Mapping("devicetype", "device_type")]
2020-12-12 21:33:26 -08:00
DeviceType,
2023-04-20 10:34:37 -04:00
[Mapping("fixedimage", "fixed_image")]
2020-12-12 21:33:26 -08:00
FixedImage,
2023-04-20 10:34:37 -04:00
[Mapping("mandatory")]
2020-12-12 21:33:26 -08:00
Mandatory,
2023-04-20 10:34:37 -04:00
[Mapping("interface")]
2020-12-12 21:33:26 -08:00
Interface,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Display
[Mapping("displaytype", "display_type")]
2020-12-12 21:33:26 -08:00
DisplayType,
2023-04-20 10:34:37 -04:00
[Mapping("rotate")]
2020-12-12 21:33:26 -08:00
Rotate,
2023-04-20 10:34:37 -04:00
[Mapping("flipx")]
2020-12-12 21:33:26 -08:00
FlipX,
2023-04-20 10:34:37 -04:00
[Mapping("width")]
2020-12-12 21:33:26 -08:00
Width,
2023-04-20 10:34:37 -04:00
[Mapping("height")]
2020-12-12 21:33:26 -08:00
Height,
2023-04-20 10:34:37 -04:00
[Mapping("refresh")]
2020-12-12 21:33:26 -08:00
Refresh,
2023-04-20 10:34:37 -04:00
[Mapping("pixclock", "pix_clock")]
2020-12-12 21:33:26 -08:00
PixClock,
2023-04-20 10:34:37 -04:00
[Mapping("htotal")]
2020-12-12 21:33:26 -08:00
HTotal,
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
[Mapping("hbstart")]
2020-12-12 21:33:26 -08:00
HBStart,
2023-04-20 10:34:37 -04:00
[Mapping("vtotal")]
2020-12-12 21:33:26 -08:00
VTotal,
2023-04-20 10:34:37 -04:00
[Mapping("vbend")]
2020-12-12 21:33:26 -08:00
VBEnd,
2023-04-20 10:34:37 -04:00
[Mapping("vbstart")]
2020-12-12 21:33:26 -08:00
VBStart,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Driver
[Mapping("supportstatus", "support_status")]
2020-12-12 21:33:26 -08:00
SupportStatus,
2023-04-20 10:34:37 -04:00
[Mapping("emulationstatus", "emulation_status")]
2020-12-12 21:33:26 -08:00
EmulationStatus,
2023-04-20 10:34:37 -04:00
[Mapping("cocktailstatus", "cocktail_status")]
2020-12-12 21:33:26 -08:00
CocktailStatus,
2023-04-20 10:34:37 -04:00
[Mapping("savestatestatus", "savestate_status", "save_state_status")]
2020-12-12 21:33:26 -08:00
SaveStateStatus,
2023-04-20 10:34:37 -04:00
[Mapping("requiresartwork", "requires_artwork")]
2022-11-03 11:37:55 -07:00
RequiresArtwork,
2023-04-20 10:34:37 -04:00
[Mapping("unofficial")]
2022-11-03 11:37:55 -07:00
Unofficial,
2023-04-20 10:34:37 -04:00
[Mapping("nosoundhardware", "no_sound_hardware")]
2022-11-03 11:37:55 -07:00
NoSoundHardware,
2023-04-20 10:34:37 -04:00
[Mapping("incomplete")]
2022-11-03 11:37:55 -07:00
Incomplete,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Extension
[Mapping("extension_name")]
2020-12-12 21:33:26 -08:00
Extension_Name,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Feature
[Mapping("featuretype", "feature_type")]
2020-12-12 21:33:26 -08:00
FeatureType,
2023-04-20 10:34:37 -04:00
[Mapping("featurestatus", "feature_status")]
2020-12-12 21:33:26 -08:00
FeatureStatus,
2023-04-20 10:34:37 -04:00
[Mapping("featureoverall", "feature_overall")]
2020-12-12 21:33:26 -08:00
FeatureOverall,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Input
[Mapping("service")]
2020-12-12 21:33:26 -08:00
Service,
2023-04-20 10:34:37 -04:00
[Mapping("tilt")]
2020-12-12 21:33:26 -08:00
Tilt,
2023-04-20 10:34:37 -04:00
[Mapping("players")]
2020-12-12 21:33:26 -08:00
Players,
2023-04-20 10:34:37 -04:00
[Mapping("coins")]
2020-12-12 21:33:26 -08:00
Coins,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Instance
[Mapping("instance_name")]
2020-12-12 21:33:26 -08:00
Instance_Name,
2023-04-20 10:34:37 -04:00
[Mapping("instance_briefname", "instance_brief_name")]
2020-12-12 21:33:26 -08:00
Instance_BriefName,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Location
[Mapping("location_name")]
2020-12-12 21:33:26 -08:00
Location_Name,
2023-04-20 10:34:37 -04:00
[Mapping("location_number")]
2020-12-12 21:33:26 -08:00
Location_Number,
2023-04-20 10:34:37 -04:00
[Mapping("location_inverted")]
2020-12-12 21:33:26 -08:00
Location_Inverted,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Part
[Mapping("partname", "part_name")]
2020-12-12 21:33:26 -08:00
Part_Name,
2023-04-20 10:34:37 -04:00
[Mapping("partinterface", "part_interface")]
2020-12-12 21:33:26 -08:00
Part_Interface,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region PartFeature
[Mapping("part_feature_name")]
2020-12-12 21:33:26 -08:00
Part_Feature_Name,
2023-04-20 10:34:37 -04:00
[Mapping("part_feature_value")]
2020-12-12 21:33:26 -08:00
Part_Feature_Value,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region RamOption
[Mapping("content")]
2020-12-12 21:33:26 -08:00
Content,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Release
[Mapping("language")]
2020-12-12 21:33:26 -08:00
Language,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Setting
[Mapping("setting_name", "value_name")]
2020-12-12 21:33:26 -08:00
Setting_Name,
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
[Mapping("setting_default", "value_default")]
2020-12-12 21:33:26 -08:00
Setting_Default,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region SlotOption
[Mapping("slotoption_name")]
2020-12-12 21:33:26 -08:00
SlotOption_Name,
2023-04-20 10:34:37 -04:00
[Mapping("slotoption_devicename", "slotoption_device_name")]
2020-12-12 21:33:26 -08:00
SlotOption_DeviceName,
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
2023-04-20 10:34:37 -04:00
#endregion
#region SoftwareList
[Mapping("softwareliststatus", "softwarelist_status")]
2020-12-12 21:33:26 -08:00
SoftwareListStatus,
2023-04-20 10:34:37 -04:00
[Mapping("filter")]
2020-12-12 21:33:26 -08:00
Filter,
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#region Sound
[Mapping("channels")]
2020-12-12 21:33:26 -08:00
Channels,
2020-12-08 13:23:59 -08:00
#endregion
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
#endregion
#endregion // Item-Specific
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,
#region Common
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("name")]
Name,
2023-04-20 10:34:37 -04:00
/// <remarks>"extra" is used with AttractMode</remarks>
[Mapping("comment", "extra")]
Comment,
2023-04-20 10:34:37 -04:00
[Mapping("desc", "description")]
Description,
2023-04-20 10:34:37 -04:00
[Mapping("year")]
Year,
2023-04-20 10:34:37 -04:00
[Mapping("manufacturer")]
Manufacturer,
2023-04-20 10:34:37 -04:00
[Mapping("publisher")]
Publisher,
2023-04-20 10:34:37 -04:00
[Mapping("category")]
Category,
2023-04-20 10:34:37 -04:00
[Mapping("romof", "rom_of")]
RomOf,
2023-04-20 10:34:37 -04:00
[Mapping("cloneof", "clone_of")]
CloneOf,
2023-04-20 10:34:37 -04:00
[Mapping("sampleof", "sample_of")]
SampleOf,
2023-04-20 10:34:37 -04:00
[Mapping("type")]
Type,
2020-12-08 13:23:59 -08:00
#endregion
2020-12-08 13:23:59 -08:00
#region AttractMode
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("players")]
Players,
2023-04-20 10:34:37 -04:00
[Mapping("rotation")]
Rotation,
2023-04-20 10:34:37 -04:00
[Mapping("control")]
2020-12-08 13:23:59 -08:00
Control,
2023-04-20 10:34:37 -04:00
[Mapping("amstatus", "am_status", "gamestatus", "supportstatus", "support_status")]
Status,
2023-04-20 10:34:37 -04:00
[Mapping("displaycount", "display_count")]
DisplayCount,
2023-04-20 10:34:37 -04:00
[Mapping("displaytype", "display_type")]
DisplayType,
2023-04-20 10:34:37 -04:00
[Mapping("buttons")]
Buttons,
2020-12-08 13:23:59 -08:00
#endregion
2020-12-08 13:23:59 -08:00
#region ListXML
2020-12-08 13:23:59 -08:00
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
[Mapping("sourcefile", "source_file")]
SourceFile,
2023-04-20 10:34:37 -04:00
[Mapping("runnable")]
Runnable,
2020-12-08 13:23:59 -08:00
#endregion
2020-12-08 13:23:59 -08:00
#region Logiqx
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("board")]
Board,
2023-04-20 10:34:37 -04:00
[Mapping("rebuildto", "rebuild_to")]
RebuildTo,
2023-04-20 10:34:37 -04:00
[Mapping("id", "nointroid", "nointro_id", "no_intro_id")]
2023-03-26 21:47:17 -04:00
NoIntroId,
2023-04-20 10:34:37 -04:00
[Mapping("cloneofid", "nointrocloneofid", "nointro_cloneofid", "no_intro_cloneofid", "no_intro_clone_of_id")]
2023-04-03 11:57:06 -04:00
NoIntroCloneOfId,
2020-12-08 13:23:59 -08:00
#endregion
2020-12-08 13:23:59 -08:00
#region Logiqx EmuArc
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("titleid", "title_id")]
TitleID,
2023-04-20 10:34:37 -04:00
[Mapping("developer")]
Developer,
2023-04-20 10:34:37 -04:00
[Mapping("genre")]
Genre,
2023-04-20 10:34:37 -04:00
[Mapping("subgenre", "sub_genre")]
Subgenre,
2023-04-20 10:34:37 -04:00
[Mapping("ratings")]
Ratings,
2023-04-20 10:34:37 -04:00
[Mapping("score")]
Score,
2023-04-20 10:34:37 -04:00
[Mapping("enabled")]
Enabled,
2023-04-20 10:34:37 -04:00
[Mapping("crc", "hascrc", "has_crc")]
CRC,
2023-04-20 10:34:37 -04:00
[Mapping("relatedto", "related_to")]
RelatedTo,
2020-12-08 13:23:59 -08:00
#endregion
2020-12-08 13:23:59 -08:00
#region OpenMSX
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("genmsxid", "genmsx_id", "gen_msxid", "gen_msx_id")]
GenMSXID,
2023-04-20 10:34:37 -04:00
[Mapping("system", "msxsystem", "msx_system")]
System,
2023-04-20 10:34:37 -04:00
[Mapping("country")]
Country,
2020-12-08 13:23:59 -08:00
#endregion
2020-12-08 13:23:59 -08:00
#region SoftwareList
2020-12-08 13:23:59 -08:00
2023-04-20 10:34:37 -04:00
[Mapping("supported")]
Supported,
2020-12-08 13:23:59 -08:00
#endregion
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
}