namespace SabreTools.Data.Models.N3DS { /// /// ExeFS or Executable Filesystem contains information related to the /// executable program, and is the part of the CXI format. /// /// The ExeFS usually contains one or more of the following files: /// - .code Contains the code binary, which can be optionally reverse-LZSS compressed via an exheader flag. /// - logo Contains distribution licensing Binary data. /// - banner Contains the banner which homemenu uses for this CXI. /// - icon Contains the icon which homemenu displays for this CXI. /// /// public sealed class ExeFSHeader { /// /// File headers (10 headers maximum, 16 bytes each) /// public ExeFSFileHeader[] FileHeaders { get; set; } = []; /// /// Reserved /// /// 0x20 bytes public byte[] Reserved { get; set; } = new byte[0x20]; /// /// File hashes (10 hashes maximum, 32 bytes each, one for each header) /// /// SHA-256 hashes public byte[][] FileHashes { get; set; } = []; } }