AGL > PMAA > V1

This page describes the first version of the PMAA file format.

In little endian mode, the whole header is swapped, including the magic number.

OffsetSizeDescription
0x04Magic number (PMAA)
0x44Version number (1)
0x84Flags: 1 = little endian
0xC4Filesize
0x104Effect type version
0x144Length of effect type name, including null terminator and padding
0x18Effect type name
Root list

In old games, the rest of the file is misaligned if the length of the type name is not a multiple of 4. In newer games, padding is added to the effect type name so that its length is always a multiple of 4.

Parameter List

The size includes the header and all children.

OffsetSizeDescription
0x04Size
0x44Name hash
0x84Number of child lists
0xC4Number of child objects
0x10Child lists
Child objects

Parameter Object

The size includes both the header and parameter values.

OffsetSizeDescription
0x04Size
0x44Number of parameters
0x84Name hash
0xC4Type name hash
0x10Parameter values

Parameter Value

The size includes both the header and data, so it is the size of the data plus 12.

OffsetSizeDescription
0x04Size
0x44Type id
0x84Name hash
0xCData