Nds Rom
Parses, mutates, and repacks a Nintendo DS ROM image.
NDS ROM binary layout (little-endian): 0x000 – 0x1FF header (512 bytes) arm9RomOffset ARM9 binary arm7RomOffset ARM7 binary fntOffset File Name Table fatOffset File Allocation Table (8 bytes per file: start u32, end u32) arm9OvlOffset ARM9 overlay table (32 bytes per entry) arm7OvlOffset ARM7 overlay table (32 bytes per entry) iconOffset Icon/title banner (file data at offsets recorded in FAT)
Properties
Raw file data for each ARM7 overlay, in overlay-table order. Index 0 corresponds to the first entry in the ARM7 overlay table.
Raw bytes of the ARM7 overlay table (32 bytes × N entries). Use arm7Overlays to access individual overlay data by index.
Raw file data for each ARM9 overlay, in overlay-table order. Index 0 corresponds to the first entry in the ARM9 overlay table.
Raw bytes of the ARM9 overlay table (32 bytes × N entries). Use arm9Overlays to access individual overlay data by index.