mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +00:00
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
63 lines
1.8 KiB
C#
63 lines
1.8 KiB
C#
namespace SabreTools.Data.Models.SecuROM
|
|
{
|
|
/// <summary>
|
|
/// Overlay data associated with SecuROM executables
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// All information in this file has been researched in a clean room
|
|
/// environment by using sample from legally obtained software that
|
|
/// is protected by SecuROM.
|
|
/// </remarks>
|
|
public sealed class AddD
|
|
{
|
|
/// <summary>
|
|
/// "AddD"
|
|
/// </summary>
|
|
public string Signature { get; set; } = string.Empty;
|
|
|
|
/// <summary>s
|
|
/// Entry count
|
|
/// </summary>
|
|
public uint EntryCount { get; set; }
|
|
|
|
/// <summary>
|
|
/// Version, null-terminated
|
|
/// </summary>
|
|
/// <remarks>Always 8 bytes?</remarks>
|
|
public string Version { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Build number
|
|
/// </summary>
|
|
/// <remarks>4 bytes</remarks>
|
|
public string Build { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Unknown
|
|
/// </summary>
|
|
/// <remarks>44 bytes</remarks>
|
|
public byte[] Unknown1 { get; set; } = new byte[44];
|
|
|
|
/// <summary>
|
|
/// Product ID?
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// 10 bytes, only present in 4.84.00.0054, 4.84.69.0037, 4.84.76.7966, 4.84.76.7968, 4.85.07.0009
|
|
/// </remarks>
|
|
public string ProductId { get; set; } = string.Empty;
|
|
|
|
/// <summary>
|
|
/// Unknown
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// 58 bytes, only present in 4.84.00.0054, 4.84.69.0037, 4.84.76.7966, 4.84.76.7968, 4.85.07.0009
|
|
/// </remarks>
|
|
public byte[] Unknown2 { get; set; } = new byte[58];
|
|
|
|
/// <summary>
|
|
/// Entry table
|
|
/// </summary>
|
|
public AddDEntry[] Entries { get; set; } = [];
|
|
}
|
|
}
|