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:
Deterous
2026-04-09 22:57:26 +09:00
committed by GitHub
parent 45956e9128
commit c88ea9ce30
10 changed files with 213 additions and 13 deletions

View File

@@ -0,0 +1,16 @@
namespace SabreTools.Data.Models.STFS
{
/// <summary>
/// STFS Optional header present in STFS packages for installers
/// Original research, field not mentioned on free60 wiki
/// </summary>
public class InstallerHeader
{
/// <summary>
/// String indicating type of installer
/// See Constants.InstallerType*
/// </summary>
/// <remarks>4 bytes, ASCII</remarks>
public byte[] InstallerType { get; set; } = new byte[4];
}
}