NARC - Nitro Archive
Author(s): Gonhex
Research: (see sections)
Nitro archives are virtual file systems (fs) nested into the fs of the ROM. They are often used to group related files at the final branches of the file tree.
Table of Contents
Data Structure
File Container
struct ContainerFileNARC
{
/* 0x00 */ struct NitroFileHeader fileHeader;
/* 0x10 */ struct ContainerSectionFATB sectionDataFATB;
/* append */ struct ContainerSectionFNTB sectionDataFNTB;
/* append */ struct ContainerSectionFIMG sectionDataFIMG;
}; // entry size = fileHeader.lengthFile
Field Name | Description | Data Type |
---|---|---|
fileHeader | Header of this file. fileHeader.signature = "NARC" . | NitroFileHeader |
sectionDataFATB | File allocation table. Stores offsets to all entries. | ContainerSectionFATB |
sectionDataFNTB | File name table. Can store names of all entries. | ContainerSectionFNTB |
sectionDataFIMG | File image. The data of all entries. | ContainerSectionFIMG |