Difference between revisions of "AAMP (File Format)"

From MK8
Jump to: navigation, search
(Header)
 
(12 intermediate revisions by 4 users not shown)
Line 1: Line 1:
===Header===
+
=== Header ===
 
{| class="wikitable"
 
{| class="wikitable"
 
! Offset
 
! Offset
Line 19: Line 19:
 
|0x0c
 
|0x0c
 
|4
 
|4
|'''File size''', in little endian
+
|'''File size''', in little endian.
 
|-
 
|-
 
|0x10
 
|0x10
 
|4
 
|4
|'''Unknown3''', always 0x00000000?
+
|'''Version'''.
 
|-
 
|-
 
|0x14
 
|0x14
 
|4
 
|4
|'''length string''', for file extension without "b"
+
|'''Type length''', length of the type string.
 
|-
 
|-
 
|0x18
 
|0x18
|length string
+
|Type length
|'''file extension without "b"'''
+
|'''Type''', type of this AAMP file, string.
 
|}
 
|}
 +
 +
== Nodes ==
 +
 +
{| class="wikitable"
 +
|-
 +
! Identifier
 +
! Description
 +
|-
 +
| 0x00
 +
| Boolen (1 byte)
 +
|-
 +
| 0x01
 +
| Float (4 bytes)
 +
|-
 +
| 0x02
 +
| Integer (4 bytes)
 +
|-
 +
| 0x03
 +
| 2 Floats, Coordinates (8 bytes)
 +
|-
 +
| 0x04
 +
| 3 Floats, Coordinates (12 bytes)
 +
|-
 +
| 0x05
 +
| 4 Floats, Coordinates (16 bytes)
 +
|-
 +
| 0x06
 +
| 4 Floats, Colors (16 bytes)
 +
|-
 +
| 0x07
 +
| String (32 bytes)
 +
|-
 +
| 0x08
 +
| String (64 bytes)
 +
|-
 +
| 0x09
 +
| Unknown (128 bytes)
 +
|-
 +
| 0x0c
 +
| ?Array? with floats
 +
|}
 +
 +
= Tools =
 +
The following tools can handle AAMP files:
 +
 +
* [https://github.com/jam1garner/aamp2xml/releases AAMP2XML], by [[jam1garner]] (v2 AAMPs only)
 +
 +
 +
[[Category:File Format]]

Latest revision as of 10:19, 1 April 2018

Header

Offset Size Description
0x00 4 "AAMP" File Identifier, ASCII string.
0x04 4 Unknown1, always 0x01000000?
0x08 4 Unknown2, always 0x01000000?
0x0c 4 File size, in little endian.
0x10 4 Version.
0x14 4 Type length, length of the type string.
0x18 Type length Type, type of this AAMP file, string.

Nodes

Identifier Description
0x00 Boolen (1 byte)
0x01 Float (4 bytes)
0x02 Integer (4 bytes)
0x03 2 Floats, Coordinates (8 bytes)
0x04 3 Floats, Coordinates (12 bytes)
0x05 4 Floats, Coordinates (16 bytes)
0x06 4 Floats, Colors (16 bytes)
0x07 String (32 bytes)
0x08 String (64 bytes)
0x09 Unknown (128 bytes)
0x0c  ?Array? with floats

Tools

The following tools can handle AAMP files: