AOD (File Format): Difference between revisions

From Wexos's Wiki
Jump to navigationJump to search
 
Line 298: Line 298:
* [[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]]
|}
|}



Latest revision as of 12:40, 21 June 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

TBD

Resource String

Resource strings are defined in the game's code and can vary between games. The following table shows strings seen in different games.

Type Found in
Assemble
BlendMode
CullMode
DrawPrio
LifeType
MeshID
ParentCalcType
ParentColorLink
ParentNodeID
ParticleAge
ParticleAgeVariation
ParticleAutoDestory
ParticleBirth
ParticleColorChangeTiming
ParticleEmissionLink
ParticleEmitter.Direction
ParticleEmitter.Offset
ParticleEmitter.Radius
ParticleEmitter.Range1
ParticleEmitter.Range2
ParticleEmitterID
ParticleEndColor
ParticleEndSize
ParticleGravity
ParticleLength
ParticleRandomRot
ParticleResist
ParticleResistGB
ParticleRotSpeed
ParticleSize
ParticleSizeVariation
ParticleSpeed
ParticleSpeedVariation
ParticleStartColor
ParticleStartTextureOrder
ParticleStartTextureRandom
ParticleStartWait
ParticleTextureSpeed
ParticleTrail
Position
PostureType
Rotation
ShaderID
Texture0ID
Texture1ID
Texture2ID
Texture3ID
TextureID
TextureName
ZTestEnable
ZWriteEnable

Version List

Version Found in
2.0

Tools

The following tools can handle AOD files:

  • (none)