ATB (File Format)
ATB (Aqualead TaBle) is a table-based file 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 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 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 ALTB in ASCII. |
0x04 | Byte | Version number. |
0x05 | Byte | Unknown. 0x80 on Wii, 0x00 on 3DS. |
0x06 | UInt16 | Number of cell entries. |
0x08 | UInt16 | ALRD offset. 0 if not present. |
0x0A | UInt16 | Cell data offset. |
0x0C | UInt16 | Cell entry size. |
0x0E | UInt16 | Padding. |
ALRD
In some files there is a section after the header that contains records.
Offset | Type | Description |
---|---|---|
0x00 | Char[4] | Section magic. Always ALRD in ASCII. |
0x04 | Byte | Version number. Always the same as the file. |
0x05 | Byte | Unknown. 0x80 on Wii, 0x00 on 3DS. |
0x06 | UInt16 | Number of record entries. |
0x08 | UInt16 | Number of cell entries. Always the same value as the file's header. |
0x0A | UInt16 | Padding. |
Record Entry
TBD
Cell Entry
When there's no ALRD section, the structure of the cell data is not defined in the file itself. It may contain various types of values, including strings and integers.
Version List
Version | Found in |
---|---|
1.0 |
Tools
The following tools can handle ATB files:
- (none)