AOD (File Format): Difference between revisions

From Wexos's Wiki
Jump to navigationJump to search
(Created page with "{{under-construction}} '''AOD''' ('''A'''qualead '''O'''bject '''D'''efinition) is a 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 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 Pi...")
 
Line 21: Line 21:
| 0x07 || Byte || '''Number of [[#Resource String|resource strings]]''' ('''S''').
| 0x07 || Byte || '''Number of [[#Resource String|resource strings]]''' ('''S''').
|-
|-
| 0x08 || Byte[8] || '''Unix timestamp''' without year of the file's creation date.
| 0x08 || Byte[8] || {{Unknown-left|'''Unknown'''. Padding?}}
|-
| 0x0C || Byte || {{Unknown-left|'''Unknown'''. Padding?}}
|}
|}



Revision as of 14:09, 17 May 2025

Under Construction
This article is not finished. Help improve it by adding accurate information or correcting grammar and spelling.

AOD (Aqualead Object Definition) is a 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 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. It contains resource information for 3D objects.

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 ALOD in ASCII.
0x04 Byte Version number.
0x05 Byte Unknown.
0x06 Byte Number of resource definitions (D).
0x07 Byte Number of resource strings (S).
0x08 Byte[8] Unknown. Padding?

Resource Offset Table

After the header comes a table with offsets to all resource definitions and resource strings. All offsets are absolute.

Offset Type Description
0x00 UInt16[D] Resource definition offsets.
0x02 * D UInt16[S] Resource string offsets.

Resource Definition

Each resource definition is 0x14 bytes long.

TBD

Resource String

Type Description
MeshID Unknown.
ParentColorLink Unknown.
ShaderID Unknown.
PostureType Unknown.
Assemble Unknown.
ParentCalcType Unknown.
CullMode Unknown.
BlendMode Unknown.
ZTestEnable Unknown.
ZWriteEnable Unknown.
DrawPrio Unknown.
LifeType Unknown.
ParentNodeID Unknown.
Texture3ID Unknown.
Texture2ID Unknown.
Texture1ID Unknown.
Texture0ID Unknown.
TextureName Unknown.
TextureID Unknown.
Rotation Unknown.
Position Unknown.

Version List

Version Found in
2.0

Tools

The following tools can handle AOD files:

  • (none)