Skip to main content

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 NameDescriptionData Type
fileHeaderHeader of this file. fileHeader.signature = "NARC".NitroFileHeader
sectionDataFATBFile allocation table. Stores offsets to all entries.ContainerSectionFATB
sectionDataFNTBFile name table. Can store names of all entries.ContainerSectionFNTB
sectionDataFIMGFile image. The data of all entries.ContainerSectionFIMG

Specification

Sections