IRD model cleanup

This commit is contained in:
Matt Nadareski
2025-10-30 21:54:27 -04:00
parent d49b2f1b60
commit c0e0344914
3 changed files with 27 additions and 26 deletions

View File

@@ -19,7 +19,7 @@ namespace SabreTools.Data.Models.IRD
/// The same value stored in PARAM.SFO / TITLE_ID
/// </summary>
/// <remarks>9 bytes, ASCII, stored without dashes</remarks>
public string? TitleID { get; set; }
public string TitleID { get; set; }
/// <summary>
/// Number of bytes that follow containing the title
@@ -30,25 +30,25 @@ namespace SabreTools.Data.Models.IRD
/// The same value stored in PARAM.SFO / TITLE
/// </summary>
/// <remarks><see cref="TitleLength"/> bytes, ASCII</remarks>
public string? Title { get; set; }
public string Title { get; set; }
/// <summary>
/// The same value stored in PARAM.SFO / PS3_SYSTEM_VER
/// </summary>
/// <remarks>4 bytes, ASCII, missing uses "0000"</remarks>
public string? SystemVersion { get; set; }
public string SystemVersion { get; set; }
/// <summary>
/// The same value stored in PARAM.SFO / VERSION
/// </summary>
/// <remarks>5 bytes, ASCII</remarks>
public string? GameVersion { get; set; }
public string GameVersion { get; set; }
/// <summary>
/// The same value stored in PARAM.SFO / APP_VER
/// </summary>
/// <remarks>5 bytes, ASCII</remarks>
public string? AppVersion { get; set; }
public string AppVersion { get; set; }
/// <summary>
/// Length of the gzip-compressed header data
@@ -79,7 +79,7 @@ namespace SabreTools.Data.Models.IRD
/// MD5 hashes for all complete regions in the image
/// </summary>
/// <remarks><see cref="RegionCount"/> regions, 16-bytes per hash</remarks>
public byte[][]? RegionHashes { get; set; }
public byte[][] RegionHashes { get; set; }
/// <summary>
/// Number of decrypted files in the image
@@ -90,13 +90,13 @@ namespace SabreTools.Data.Models.IRD
/// Starting sector for each decrypted file
/// </summary>
/// <remarks><see cref="FileCount"/> files, alternating with each <see cref="FileHashes"/> entry</remarks>
public ulong[]? FileKeys { get; set; }
public ulong[] FileKeys { get; set; }
/// <summary>
/// MD5 hashes for all decrypted files in the image
/// </summary>
/// <remarks><see cref="FileCount"/> files, 16-bytes per hash, alternating with each <see cref="FileHashes"/> entry</remarks>
public byte[][]? FileHashes { get; set; }
public byte[][] FileHashes { get; set; }
/// <summary>
/// Extra Config, usually 0x0000