Category: Nintendo DS
Description: Common archive format used in Nintendo DS games.
Author: lowlines
Filename: narc.xml
Size: 2.95 KB
Date Modified: 22 October 2024
| Type | Offset | Size | Value | Description | |
|---|---|---|---|---|---|
| Magic Stamp | 0x0000 | 4 | 0x4E415243 | Stamp (NARC) "Nitro ARChive". | |
| Constant | 0x0004 | 4 | 0x0001FEFF | ||
| File Size | 0x0008 | 4 | |||
| Header Size | 0x000C | 2 | 16 | ||
| # Sections | 0x000E | 2 | 3 |
| Type | Offset | Size | Value | Description | |
|---|---|---|---|---|---|
| Magic Stamp | 0x0000 | 4 | 0x42544146 | Stamp (FATB) "File Allocation Table Block". | |
| Section Size | 0x0004 | 4 | |||
| Number of Files | 0x0008 | 4 | |||
| File Offsets (repeats * Number of Files) | |||||
| File Start Offset | 0x0000 | 4 | Relative to the start of the FIMG section. | ||
| File End Offset | 0x0004 | 4 | Relative to the start of the FIMG section. | ||
| Type | Offset | Size | Value | Description | |
|---|---|---|---|---|---|
| Magic Stamp | 0x0000 | 4 | 0x42544E46 | Stamp (FNTB) "File Name Table Block". | |
| Section Size | 0x0004 | 4 | |||
| Root Folder | |||||
| Directory Start Offset | 0x0000 | 4 | |||
| First File Position | 0x0004 | 2 | |||
| Directory Count | 0x0006 | 2 | Number of Directories in Root Folder. | ||
| File/Folder | |||||
| First Offset | 0x0000 | 4 | |||
| First File Position | 0x0004 | 2 | |||
| Parent Directory | 0x0006 | 2 | |||
| Size of Name | 0x0008 | 1 | |||
| Name | 0x0009 | - | Name of File/Directory. | ||
| Directory Number | - | 2 | |||
| Type | Offset | Size | Value | Description | |
|---|---|---|---|---|---|
| Magic Stamp | 0x0000 | 4 | 0x474D4946 | Stamp (FIMG) "File IMaGes". | |
| Section Size | 0x0004 | 4 |