ATX (File Format)
From Wexos's Wiki
Jump to navigationJump to search
Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.
ATX (Aqualead TeXture) is a texture 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 ALTX in ASCII. |
| 0x04 | Byte | Unknown. Always 0? |
| 0x05 | Byte | Unknown. Posibly bit flags, but files either use 0x80 or 0x81. |
| 0x06 | UInt16 | Number of slicers (N). |
| 0x08 | UInt32 | AIG file offset. |
| 0x0C | UInt16[N] | Slicer offsets. |
Slicer
| Offset | Type | Description |
|---|---|---|
| 0x00 | Byte[4] | Unknown. Possibly an asset link identifier. |
| 0x04 | UInt16 | Number of slices (S). |
| 0x06 | Byte[2] | Unknown. Always 0x0200? |
| 0x08 | Slice[S] | Slice data. |
| 0x08 + S * 8 | Unknown Data[S] | Unknown data. |
Slice
| Offset | Type | Description |
|---|---|---|
| 0x00 | UInt16[2] | X and Y position of the slice. |
| 0x04 | UInt16[2] | Width and height of the slice. |
Unknown Data
| Offset | Type | Description |
|---|---|---|
| 0x00 | UInt16[2] | Unknown. |
Tools
The following tools can handle ATX files:
- (none)