Formats/SSXTricky:MPF(PS2 Model): Difference between revisions

no edit summary
m (GlitcherOG moved page Formats/SSXTricky:MPF(Model) to Formats/SSXTricky:MPF(PS2 Model): Named Incorrectly)
No edit summary
|-
|UInt32
|Unknown (Always -1)
|-
|UInt32
 
===== Bone Weight Header =====
{| class="wikitable"
| Offset | Type   | Description                | Key | Rel |
!Type
 
!Description
|--------|--------|----------------------------|-----|-----|
|-
 
|UInt32
| 0x00   | UInt32 | Length of array/list       |     |     |
|Length of array/list
 
|-
| 0x04   | UInt32 | Offset to Bone weight list |     |     |
|UInt32
 
|Offset to Bone weight list
| 0x08   | UInt32 | Unknown                    |     |     |
|-
|UInt32
|Unknown (Always 36)
|}
 
===== Bone Weight =====
{| class="wikitable"
| Offset | Type   | Description            | Key | Rel |
!Type
!Description
|-
|UInt16
|Bone weight (0 to 100)
|-
|UInt16
|Bone ID
|-
|UInt16
|Bone Internal File ID
|}
 
==== <u>Weight List Ref</u> ====
|--------|--------|------------------------|-----|-----|
{| class="wikitable"
!Type
!Description
|-
|UInt32
|Weight Reference Count
|-
|UInt32
|Weight Reference Offset
|-
|Int32 List
|WeightIDs
|}
 
==== <u>Mesh Data</u> ====
| 0x00   | UInt16 | Bone weight (0 to 100) |     |     |
Bytes[48] Unimportant Data for Exporting
{| class="wikitable"
!Type
!Description
|-
|UInt32
|Strip Count
|-
|UInt32
|Unknown1
|-
|UInt32
|Unknown1 (Seems to have some relation to Normals)
|-
|UInt32
|Vertex Count
|}
 
| 0x02   | UInt8  | Bone ID                |     |     |
 
| 0x03   | UInt8  | Unknown                |     |     |
 
- **Triangle Strip Count Row**
==== <u>Number List Ref</u> ====
 
The amount of triangle strip rows can be found inside Mesh Info Row 2
===== Number List Ref Header =====
| Offset | Type   | Description                 | Key | Rel |
 
_First type is assumed to be either UInt32 or Byte_
|--------|--------|-----------------------------|-----|-----|
 
| 0x00   | UInt32 | Sub  Number List Ref Count  |     |     |
 
| 0x04   | UInt32 | Sub  Number List Ref Offset |     |     |
 
<nowiki><br></nowiki>
 
===== Sub Number List Ref =====
| Offset | Type   | Description            | Key | Rel |
 
|--------|--------|------------------------|-----|-----|
 
|        | UInt16 | Unknown                |     |     |
 
|        | UInt16 | Unknown2               |     |     |
 
<nowiki><br></nowiki>
 
 
 
 
 
 
<nowiki>##</nowiki> Mesh Data
 
| Offset | Type      | Description                                                                                                     | Key |
|        | List      | List of Triangle Strip Count Rows                                                                               |     |
 
- **Triangle Strip Count Row**
 
The amount of triangle strip rows can be found inside Mesh Info Row 2 <nowiki><br></nowiki>
 
_First type is assumed to be either UInt32 or Byte_
 
| Type      | Description                             |