AAR (File Format)
AAR (Aqualead ARchive) is an archive format developed by Aqualead and found in some Wii and 3DS games (and suspected to be used in GameCube titles as well), such as One Piece: Unlimited Adventure, One Piece: Unlimited Cruise Episode 1 - The Treasure Beneath The Waves, One Piece: Unlimited Cruise Episode 2: Awakening of a Hero, One Piece: Unlimited Cruise SP and One Piece: Unlimited Cruise SP 2.
File Format
The file byte order can be either big endian (Wii) or little endian (3DS).
Header
The file starts with the following header:
Offset | Type | Description |
---|---|---|
0x00 | Char[4] | File magic. Always ALAR in ASCII. |
0x04 | Byte | Version number. |
0x05 | Byte | Unknown. |
0x06 | UInt16 | Number of file entries. |
0x08 | Byte | Padding. |
0x09 | UInt24 | Unix timestamp without year of the file's creation date. |
0x0C | Byte | Padding. |
0x0D | UInt24 | Unix timestamp without year of the file's last modification date. |
File Entry
Each file entry has the following structure:
Offset | Type | Description |
---|---|---|
0x00 | Byte | File type:
|
0x01 | UInt24 | Unix timestamp without year of the file's inclusion date. |
0x04 | UInt32 | File data offset. |
0x08 | UInt32 | File size in bytes. |
0x0C | Byte[4] | Unknown flags. Always 0x80000001. |
File Data
After all nodes comes all the file data, with the file names 0x24 bytes before the data itself. There is a 2 0-byte padding before the name with unknown reason, and a UInt16 before the file data.
Version List
Version | Found in |
---|---|
2.0 |
Tools
The following tools can handle AAR files:
- (none)