mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 23:05:12 +00:00
Support optional header in STFS, fix endianness in Descriptor (#80)
* Fix endianness in STFS Descriptor * Support optional header for installer packages * Fix field types * Fix syntax * Fix build
This commit is contained in:
@@ -34,8 +34,33 @@ namespace SabreTools.Data.Models.STFS
|
||||
public const string MagicStringCON = "CON ";
|
||||
|
||||
/// <summary>
|
||||
/// Standard length of an STFS header
|
||||
/// Standard length of all fixed STFS header fields
|
||||
/// </summary>
|
||||
public const uint StandardHeaderSize = 0xB000;
|
||||
public const uint MinimumHeaderSize = 0x971A;
|
||||
|
||||
/// <summary>
|
||||
/// System Update installer type magic string
|
||||
/// </summary>
|
||||
public const string InstallerTypeSystemUpdate = "SUPD";
|
||||
|
||||
/// <summary>
|
||||
/// Title Update installer type magic string
|
||||
/// </summary>
|
||||
public const string InstallerTypeTitleUpdate = "TUPD";
|
||||
|
||||
/// <summary>
|
||||
/// System Update Cache installer type magic string
|
||||
/// </summary>
|
||||
public const string InstallerTypeSystemUpdateCache = "P$SU";
|
||||
|
||||
/// <summary>
|
||||
/// Title Update Cache installer type magic string
|
||||
/// </summary>
|
||||
public const string InstallerTypeTitleUpdateCache = "P$TU";
|
||||
|
||||
/// <summary>
|
||||
/// Title Content Cache installer type magic string
|
||||
/// </summary>
|
||||
public const string InstallerTypeTitleContentCache = "P$TC";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user