ARC File
ARC is a container format used for storing many assets in one file.
Typically you’ll find things like Languages.loc and FUI files in Media{console}.arc
.
[!NOTE] “Variable” means the size is determined by other values, e.g., the Filename having a preceding short that determines the length of the string.
Additionally, the file seems to always be in Big Endian.
ARC File structure
| Name | Size (in bytes) | Description | | :-:|:-:|:-:| | File Count | 0x04 (uint) | Number of files in the table, when reading the table you must read it File Count
amount of times. | File Table | Variable * File Count | File names, offsets, and size.
ARC Index
| Name | Size (in bytes) | Description | | :-:|:-:|:-:| | Filename Size | 0x02 (ushort) | Length of Filename in bytes | Filename | Variable | UTF8 string, size is determined by a prefixed short. | Offset | 0x04 (uint) | Offset of file in bytes | Size | 0x04 (uint) | Size of file in bytes