2023-07-12 12:02:58 -04:00
|
|
|
namespace SabreTools.Models.ClrMamePro
|
|
|
|
|
{
|
|
|
|
|
/// <remarks>rom</remarks>
|
2023-07-27 22:27:12 -04:00
|
|
|
public class Rom
|
2023-07-12 12:02:58 -04:00
|
|
|
{
|
|
|
|
|
/// <remarks>name</remarks>
|
|
|
|
|
public string Name { get; set; }
|
|
|
|
|
|
2023-07-13 23:04:11 -04:00
|
|
|
/// <remarks>size, Numeric</remarks>
|
|
|
|
|
public string Size { get; set; }
|
2023-07-12 12:02:58 -04:00
|
|
|
|
|
|
|
|
/// <remarks>crc</remarks>
|
|
|
|
|
public string? CRC { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>md5</remarks>
|
|
|
|
|
public string? MD5 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>sha1</remarks>
|
|
|
|
|
public string? SHA1 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>merge</remarks>
|
|
|
|
|
public string? Merge { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>status</remarks>
|
|
|
|
|
public string? Status { get; set; }
|
|
|
|
|
|
2023-07-13 23:04:11 -04:00
|
|
|
/// <remarks>flags</remarks>
|
|
|
|
|
public string? Flags { get; set; }
|
|
|
|
|
|
2023-07-12 12:02:58 -04:00
|
|
|
/// <remarks>date</remarks>
|
|
|
|
|
public string? Date { get; set; }
|
|
|
|
|
|
|
|
|
|
#region Hash Extensions
|
|
|
|
|
|
|
|
|
|
/// <remarks>sha256; Also in No-Intro spec; Appears after SHA1</remarks>
|
|
|
|
|
public string? SHA256 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>sha384; Appears after SHA256</remarks>
|
|
|
|
|
public string? SHA384 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>sha512; Appears after SHA384</remarks>
|
|
|
|
|
public string? SHA512 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>spamsum; Appears after SHA512</remarks>
|
|
|
|
|
public string? SpamSum { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region DiscImgeCreator Extensions
|
|
|
|
|
|
|
|
|
|
/// <remarks>xxh3_64; Appears after SpamSum</remarks>
|
|
|
|
|
public string? xxHash364 { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>xxh3_128; Appears after xxHash364</remarks>
|
|
|
|
|
public string? xxHash3128 { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2023-07-27 22:27:12 -04:00
|
|
|
#region MAME Extensions
|
|
|
|
|
|
|
|
|
|
/// <remarks>region; Appears after Status</remarks>
|
|
|
|
|
public string? Region { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>offs; Appears after Flags</remarks>
|
2023-08-01 23:18:53 -04:00
|
|
|
public string? Offs { get; set; }
|
2023-07-27 22:27:12 -04:00
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
2023-07-12 12:02:58 -04:00
|
|
|
#region No-Intro Extensions
|
|
|
|
|
|
2023-07-27 22:27:12 -04:00
|
|
|
/// <remarks>serial; Appears after Offs</remarks>
|
2023-07-12 12:02:58 -04:00
|
|
|
public string? Serial { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>header; Appears after Serial</remarks>
|
|
|
|
|
public string? Header { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region RomVault Extensions
|
|
|
|
|
|
|
|
|
|
/// <remarks>inverted; Boolean; Appears after Date</remarks>
|
2023-07-13 23:04:11 -04:00
|
|
|
public string? Inverted { get; set; }
|
2023-07-12 12:02:58 -04:00
|
|
|
|
|
|
|
|
/// <remarks>mia; Boolean; Appears after Inverted</remarks>
|
2023-07-13 23:04:11 -04:00
|
|
|
public string? MIA { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
|
|
|
|
#region DO NOT USE IN PRODUCTION
|
|
|
|
|
|
|
|
|
|
/// <remarks>Should be empty</remarks>
|
|
|
|
|
public string[]? ADDITIONAL_ELEMENTS { get; set; }
|
2023-07-12 12:02:58 -04:00
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
}
|
|
|
|
|
}
|