NdsForge.NET 1.0.1
Read, validate, edit, compare, and build Nintendo DS and DSi images from .NET
Loading...
Searching...
No Matches
NdsImageBuildResult.cs
1namespace NdsForge;
2
4public sealed class NdsImageBuildResult
5{
23 internal NdsImageBuildResult(
24 long usedSize,
25 long physicalSize,
26 NdsRegion arm9,
27 NdsRegion? arm9Footer,
28 NdsRegion arm9OverlayTable,
29 NdsRegion arm7,
30 NdsRegion arm7OverlayTable,
31 NdsRegion fileNameTable,
32 NdsRegion fileAllocationTable,
33 NdsRegion? banner,
34 NdsRegion? arm9i,
35 NdsRegion? arm7i,
36 NdsRegion sectorHashTable,
37 NdsRegion blockHashTable,
38 int fileCount,
39 int allocationCount)
40 {
41 UsedSize = usedSize;
42 PhysicalSize = physicalSize;
43 Arm9 = arm9;
44 Arm9Footer = arm9Footer;
45 Arm9OverlayTable = arm9OverlayTable;
46 Arm7 = arm7;
47 Arm7OverlayTable = arm7OverlayTable;
48 FileNameTable = fileNameTable;
49 FileAllocationTable = fileAllocationTable;
50 Banner = banner;
51 Arm9i = arm9i;
52 Arm7i = arm7i;
53 SectorHashTable = sectorHashTable;
54 BlockHashTable = blockHashTable;
55 FileCount = fileCount;
56 AllocationCount = allocationCount;
57 }
58
60 public long UsedSize { get; }
61
63 public long PhysicalSize { get; }
64
66 public NdsRegion Arm9 { get; }
67
69 public NdsRegion? Arm9Footer { get; }
70
73
75 public NdsRegion Arm7 { get; }
76
79
81 public NdsRegion FileNameTable { get; }
82
85
87 public NdsRegion? Banner { get; }
88
90 public NdsRegion? Arm9i { get; }
91
93 public NdsRegion? Arm7i { get; }
94
96 public NdsRegion SectorHashTable { get; }
97
99 public NdsRegion BlockHashTable { get; }
100
102 public int FileCount { get; }
103
105 public int AllocationCount { get; }
106}
NdsRegion? Arm9i
Locates the DSi-mode ARM9 payload appended after common content, or remains absent for DS images.
int FileCount
Counts named files serialized into both FNT ordering and FAT allocations.
int AllocationCount
Counts every FAT entry, including unnamed payloads reachable only through Overlay records.
NdsRegion? Arm7i
Locates the DSi-mode ARM7 payload appended after ARM9i, or remains absent for DS images.
NdsRegion BlockHashTable
Locates generated HMACs over sector-hash groups, or remains empty when hierarchical digests are disab...
NdsRegion FileAllocationTable
Locates generated start/end records whose array positions are File IDs.
NdsRegion Arm7
Locates the secondary processor payload selected by header offsets 0x30-0x3F.
NdsRegion Arm9
Locates the primary processor payload selected by header offsets 0x20-0x2F.
long PhysicalSize
Reports destination bytes after final alignment and excludes no hidden sparse extent.
NdsRegion SectorHashTable
Locates generated per-sector DSi HMACs, or remains empty when hierarchical digests are disabled.
NdsRegion FileNameTable
Locates the generated hierarchy and name table referenced by the common header.
long UsedSize
Identifies the meaningful content end written to header offset 0x80.
NdsRegion? Banner
Locates optional checksummed menu metadata after final alignment.
NdsRegion? Arm9Footer
Locates a recognized SDK footer immediately after ARM9 while excluding it from executable length.
NdsRegion Arm7OverlayTable
Locates generated 32-byte ARM7 Overlay records in caller insertion order.
NdsRegion Arm9OverlayTable
Locates generated 32-byte ARM9 Overlay records in caller insertion order.
Identifies a bounded range of bytes in an image.
Definition NdsRegion.cs:11