AAR (File Format): Difference between revisions
No edit summary |
|||
| Line 76: | Line 76: | ||
* [[One Piece: Unlimited Cruise SP]] | * [[One Piece: Unlimited Cruise SP]] | ||
* [[One Piece: Unlimited Cruise SP 2]] | * [[One Piece: Unlimited Cruise SP 2]] | ||
* [[Pandora's Tower]] | |||
|} | |} | ||
Revision as of 12:36, 21 June 2025
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). AAR's internal files may link between themselves by using unique asset link identifiers. These identifiers may only be reused between files of different formats.
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 | First asset link identifier. |
| 0x0C | Byte | Padding. |
| 0x0D | UInt24 | Last asset link identifier. |
File Entry
Each file entry has the following structure:
| Offset | Type | Description |
|---|---|---|
| 0x00 | Byte | File type:
|
| 0x01 | UInt24 | Asset link identifier. |
| 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)