AptData
|
aka Flash
|
No Example
|
Resource names
|
Unknown
|
Type ID
|
0x1E
|
Category
|
Generic
|
Memory distribution
|
Main Memory only
|
Imports
|
Texture
|
Imported by
|
Unknown
|
Editor available?
|
No
|
| To do: Add an example image and add information from Bo98's Apt spec draft, among other sources. |
Apt is a Flash-based format. It is used for animations in several EA games.
Structures
32-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
char* |
mpacMovieName |
Component name |
|
0x4 |
0x4 |
char* |
? |
Base component name |
|
0x8 |
0x4 |
void* |
mpAptData |
Apt data |
|
0xC |
0x4 |
void* |
mpConstData |
Apt constant file |
|
0x10 |
0x4 |
GuiGeometryObject* |
mpGeomStruct |
Geometry |
|
0x14 |
0x4 |
uint32_t |
muSizeOfHeader |
Total file size |
|
0x18 |
0x4 |
EAptDataState |
meCurrentState |
State |
|
64-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x8 |
char* |
mpacMovieName |
Component name |
|
0x8 |
0x8 |
char* |
? |
Base component name |
|
0x10 |
0x8 |
void* |
mpAptData |
Apt data |
|
0x18 |
0x8 |
void* |
mpConstData |
Apt constant file |
|
0x20 |
0x8 |
GuiGeometryObject* |
mpGeomStruct |
Geometry |
|
0x28 |
0x4 |
uint32_t |
muSizeOfHeader |
Total file size |
|
0x2C |
0x4 |
EAptDataState |
meCurrentState |
State |
|
CgsResource::GuiGeometryObject
32-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
uint32_t |
muNumberOfFiles |
|
|
0x4 |
0x4 |
uint32_t |
muNumberOfTexturePages |
|
|
0x8 |
0x4 |
GuiGeometryFile** |
mppGeometryFiles |
|
|
64-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
uint32_t |
muNumberOfFiles |
|
|
0x4 |
0x4 |
uint32_t |
muNumberOfTexturePages |
|
|
0x8 |
0x8 |
GuiGeometryFile** |
mppGeometryFiles |
|
|
CgsResource::GuiGeometryFile
32-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
uint32_t |
muID |
|
|
0x4 |
0x4 |
uint32_t |
muNumberOfMeshes |
|
|
0x8 |
0x4 |
GuiGeometryMesh** |
mppGeometryMeshes |
|
|
64-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
uint32_t |
muID |
|
|
0x4 |
0x4 |
uint32_t |
muNumberOfMeshes |
|
|
0x8 |
0x8 |
GuiGeometryMesh** |
mppGeometryMeshes |
|
|
CgsResource::GuiGeometryMesh
32-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x10 |
GuiGeometryMeshHeader |
mMeshHeader |
|
|
0x10 |
0x4 |
uint32_t |
muNumberOfVerticies |
|
|
0x14 |
0x4 |
GuiVertex** |
mppVerticies |
|
|
64-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x18 |
GuiGeometryMeshHeader |
mMeshHeader |
|
|
0x18 |
0x4 |
uint32_t |
muNumberOfVerticies |
|
|
0x1C |
0x4 |
|
|
Padding |
|
0x20 |
0x8 |
GuiVertex** |
mppVerticies |
|
|
32-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
int32_t |
miMeshType |
|
|
0x4 |
0x4 |
int32_t |
miTextureMode |
|
|
0x8 |
0x4 |
int32_t |
miTextureId |
|
|
0xC |
0x4 |
GuiTexture* |
mpTexture |
Imported resource (if present) |
|
64-bit
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
int32_t |
miMeshType |
|
|
0x4 |
0x4 |
int32_t |
miTextureMode |
|
|
0x8 |
0x4 |
int32_t |
miTextureId |
|
|
0xC |
0x4 |
|
|
Padding |
|
0x10 |
0x8 |
GuiTexture* |
mpTexture |
Imported resource (if present) |
|
CgsGraphics::Basic2dColouredTexturedVertex
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x8 |
Vector2 |
mv2Pos |
|
|
0x8 |
0x4 |
RGBA8 |
mv4Colour |
|
|
0xC |
0x8 |
Vector2 |
mv2Tex0UV |
|
|
renderengine::RGBA8
Offset |
Length |
Type |
Name |
Description |
Comments
|
0x0 |
0x4 |
uint32_t |
m_rgba |
Color data |
|
Typedefs
Name |
Type |
Length |
Comments
|
GuiTexture |
Texture |
|
See platform-specific specs for details
|
CgsResource::GuiGeometryMeshMesh::GuiVertex
Name |
Type |
Length |
Comments
|
GuiVertex |
Im2dVertex |
0x14 |
|
CgsGraphics::ImCommandBatchTransformTextureBlendRender::Im2dVertex
Enumerations
Name |
Value |
Comments
|
E_APTDATASTATE_LOADING |
0 |
|
E_APTDATASTATE_LOADED |
1 |
|
E_APTDATASTATE_ACTIVE |
2 |
|