DARC

DARC

This page documents the format of DARC.

Overview #

DARC files are archives. Containers of files.

This is very similiar to NARC (the DS archives).

ARC header #

OffsetSizeTypeDescription
0x0004char[4]Magic Number ‘darc’
0x0042uint16Endianess (=0xFFFE: Little)
0x0062uint16Header’s length
0x0084uint32Version
0x00C4uint32File’s length
0x0104uint32File table offset (from the beginning of the file)
0x0144uint32File table length
0x0184uint32Files data offset

File table #

The file table starts at 0x01C.

Each file struct consists of 3 uint32:

OffsetSizeTypeDescription
0x0004uint32File name offset (from the end of the table)

if (offset & 0x01000000) then this is a folder (i.e. first two nodes 'null' & '.')

0x0044uint32File offset
0x0084uint32File length
  • Folder’s length is end-index of the folder in the table.

Tools #

Category:File formats