Document all local samples

This commit is contained in:
Matt Nadareski
2025-09-27 22:47:43 -04:00
parent 335cbca8fb
commit ec416d5631
2 changed files with 60 additions and 14 deletions

View File

@@ -16,12 +16,8 @@
public string? Signature { get; set; }
/// <summary>s
/// Unknown (Entry count?)
/// Entry count
/// </summary>
/// <remarks>
/// 3 in EXPUNGED, 3.17.00.0017, 3.17.00.0019
/// 3 in 4.47.00.0039, 4.84.00.0054, 4.84.69.0037, 4.84.76.7966, 4.84.76.7968, 4.85.07.0009
/// </remarks>
public uint EntryCount { get; set; }
/// <summary>

View File

@@ -28,43 +28,89 @@ namespace SabreTools.Data.Models.SecuROM
/// <summary>
/// Unknown (0x08)
/// </summary>
/// <remarks>3149224 [3496, 48] in the sample (all 3 entries) in 4.47.00.0039</remarks>
/// <remarks>
/// Observed values:
/// - 33 93 40 00 (4231987) - 4.84.76.7966, 4.84.76.7968
/// - 65 4D 40 00 (4214117) - Expunged version
/// - A3 92 40 00 (4231843) - 4.84.00.0054
/// - A8 0D 30 00 (3149224) - 3.17.00.0017, 3.17.00.0019, 4.47.00.0039
/// - C3 92 40 00 (4231875) - 4.84.69.0037
/// - E3 B7 8C 77 (2005710819) - 4.85.04.0002, 4.85.07.0009
/// </remarks>
public uint Unknown08h;
/// <summary>
/// Unknown (0x0C)
/// </summary>
/// <remarks>3147176 [1448, 48] in the sample (all 3 entries) in 4.47.00.0039</remarks>
/// <remarks>
/// Observed values:
/// - 00 02 00 00 (512) - Expunged version
/// - 30 16 2F 00 (3085872) - 4.84.69.0037, 4.84.76.7966, 4.84.76.7968
/// - 48 16 2F 00 (3085896) - 4.84.00.0054
/// - A8 05 30 00 (3147176) - 3.17.00.0017, 3.17.00.0019, 4.47.00.0039
/// - DC 0A 2F 00 (3082972) - 4.85.04.0002, 4.85.07.0009
/// </remarks>
public uint Unknown0Ch;
/// <summary>
/// Unknown (0x10)
/// </summary>
/// <remarks>3149224 [3496, 48] in the sample (all 3 entries) in 4.47.00.0039</remarks>
/// <remarks>
/// Observed values:
/// - 00 08 00 00 (2048) - Expunged version
/// - 58 07 2F 00 (3082072) - 4.85.04.0002, 4.85.07.0009
/// - A8 0D 30 00 (3149224) - 3.17.00.0017, 3.17.00.0019, 4.47.00.0039
/// - CD 00 00 00 (205) - 4.84.00.0054, 4.84.69.0037, 4.84.76.7966, 4.84.76.7968
/// </remarks>
public uint Unknown10h;
/// <summary>
/// Unknown (0x14)
/// </summary>
/// <remarks>1245044 [65396, 18] in the sample (all 3 entries) in 4.47.00.0039</remarks>
/// <remarks>
/// Observed values:
/// - 00 00 00 00 (0) - 4.85.04.0002, 4.85.07.0009
/// - 00 08 00 00 (2048) - 4.84.00.0054, 4.84.69.0037, 4.84.76.7966, 4.84.76.7968
/// - 02 00 00 00 (2) - Expunged version
/// - 74 FF 12 00 (1245044) - 3.17.00.0017, 3.17.00.0019, 4.47.00.0039
/// </remarks>
public uint Unknown14h;
/// <summary>
/// Unknown (0x18)
/// </summary>
/// <remarks>4214725 [20421, 64] in the sample (all 3 entries) in 4.47.00.0039</remarks>
/// <remarks>
/// Observed values:
/// - 00 00 00 00 (0) - 4.84.76.7966
/// - 00 00 01 00 (65536) - 4.84.76.7968
/// - 00 00 11 FD (4245749760) - 4.84.69.0037
/// - 00 00 13 00 (1245184) - 4.84.00.0054
/// - 40 28 41 00 (4270144) - Expunged version
/// - 76 00 00 00 (118) - 4.85.07.0009
/// - 7C 00 00 00 (124) - 4.85.04.0002
/// - C5 4F 40 00 (4214725) - 3.17.00.0017, 3.17.00.0019, 4.47.00.0039
/// </remarks>
public uint Unknown18h;
/// <summary>
/// Unknown (0x1C)
/// </summary>
/// <remarks>2 [2, 0] in the sample (all 3 entries) in 4.47.00.0039</remarks>
/// <remarks>
/// Observed values:
/// - 00 00 00 00 (0) - 4.84.76.7966
/// - 00 02 00 00 (512) - 3.17.00.0017, 3.17.00.0019, 4.47.00.0039
/// - 08 00 A8 08 (145227784) - 4.84.76.7968
/// - 4D 96 C2 25 (633509453) - 4.84.69.0037
/// - 78 13 13 00 (1250168) - 4.84.00.0054
/// - 84 00 00 00 (132) - Expunged version
/// - F0 0A 2F 00 (3082992) - 4.85.04.0002, 4.85.07.0009
/// </remarks>
public uint Unknown1Ch;
/// <summary>
/// Entry file name (null-terminated)
/// </summary>
/// <remarks>12 bytes long in the sample (all 3 entries) in 4.47.00.0039</remarks>
/// <remarks>12 bytes long in all samples</remarks>
[MarshalAs(UnmanagedType.LPStr)]
public string? FileName;
@@ -72,8 +118,12 @@ namespace SabreTools.Data.Models.SecuROM
/// Unknown (0x2C)
/// </summary>
/// <remarks>
/// Offset based on consistent-sized filenames (12 bytes) in 4.47.00.0039
/// 132 [132, 0] in the sample (all 3 entries) in 4.47.00.0039
/// Observed values:
/// - 04 FE 64 00 (6618628) - Expunged version
/// - 20 00 00 00 (32) - 4.84.00.0054, 4.84.69.0037, 4.84.76.7966, 4.84.76.7968
/// - 27 00 00 00 (39) - 4.85.04.0002
/// - 2D 00 00 00 (45) - 4.85.07.0009
/// - 84 00 00 00 (132) - 3.17.00.0017, 3.17.00.0019, 4.47.00.0039
/// </remarks>
public uint Unknown2Ch;
}