Difference between revisions of "AAMP (File Format)"

From MK8
Jump to: navigation, search
m
 
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.
 
|}
 
|}
  
Line 42: Line 42:
 
|-
 
|-
 
| 0x00
 
| 0x00
| Binary
+
| Boolen (1 byte)
 
|-
 
|-
 
| 0x01
 
| 0x01
| Float (IEEE754)(=Little Endian)
+
| Float (4 bytes)
 +
|-
 +
| 0x02
 +
| Integer (4 bytes)
 
|-
 
|-
 
| 0x03
 
| 0x03
| 2 Floats (IEEE754)(=Little Endian)
+
| 2 Floats, Coordinates (8 bytes)
 
|-
 
|-
 
| 0x04
 
| 0x04
| 3 Floats (IEEE754)(=Little Endian)
+
| 3 Floats, Coordinates (12 bytes)
 +
|-
 +
| 0x05
 +
| 4 Floats, Coordinates (16 bytes)
 
|-
 
|-
 
| 0x06
 
| 0x06
| 4 Floats (IEEE754)(=Little Endian) , Vertices? Shader? Coordinates?
+
| 4 Floats, Colors (16 bytes)
 
|-
 
|-
 
| 0x07
 
| 0x07
| String
+
| String (32 bytes)
 
|-
 
|-
 
| 0x08
 
| 0x08
| String + ?unknown
+
| String (64 bytes)
 +
|-
 +
| 0x09
 +
| Unknown (128 bytes)
 
|-
 
|-
 
| 0x0c
 
| 0x0c

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: