mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 23:05:12 +00:00
First round of cleanup for DolphinLib additions
This commit is contained in:
@@ -12,12 +12,6 @@ namespace SabreTools.Data.Models.NintendoDisc
|
||||
/// <remarks>6 bytes at offset 0x000</remarks>
|
||||
public string GameId { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// 2-character ASCII maker / publisher code (e.g. "01")
|
||||
/// </summary>
|
||||
/// <remarks>Derived from GameId bytes at offset 0x004–0x005; not a separate on-disc field</remarks>
|
||||
public string MakerCode { get; set; } = string.Empty;
|
||||
|
||||
/// <summary>
|
||||
/// Zero-based disc number for multi-disc games
|
||||
/// </summary>
|
||||
@@ -38,6 +32,11 @@ namespace SabreTools.Data.Models.NintendoDisc
|
||||
/// </summary>
|
||||
public byte StreamingBufferSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Unused 0x0E bytes (offsets 0x00A-0x017)
|
||||
/// </summary>
|
||||
public byte[] Padding00A { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Wii magic word at offset 0x018 (0x5D1C9EA3 for Wii discs, 0 for GameCube)
|
||||
/// </summary>
|
||||
@@ -63,6 +62,11 @@ namespace SabreTools.Data.Models.NintendoDisc
|
||||
/// </summary>
|
||||
public byte DisableDiscEncryption { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Unused padding until DOL/FST offset fields at 0x420
|
||||
/// </summary>
|
||||
public byte[] Padding082 { get; set; } = [];
|
||||
|
||||
/// <summary>
|
||||
/// Offset of the main DOL executable (no shift for GameCube; <<2 for Wii)
|
||||
/// </summary>
|
||||
@@ -77,5 +81,10 @@ namespace SabreTools.Data.Models.NintendoDisc
|
||||
/// Maximum size of the File System Table in bytes
|
||||
/// </summary>
|
||||
public uint FstSize { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Remaining bytes to complete the 0x440 header
|
||||
/// </summary>
|
||||
public byte[] Padding42C { get; set; } = [];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user