EvilEngine/WIRE: Difference between revisions
Content added Content deleted
No edit summary |
EnergyDrink (talk | contribs) No edit summary |
||
Line 10: | Line 10: | ||
{{AutoAssetInfobox}} |
{{AutoAssetInfobox}} |
||
'''WIRE''' defines a wireframe model. Each wireframe data is stored in mnui.hip whereas loaded during the loading screens for The Incredibles |
'''WIRE''' defines a wireframe model. Each wireframe data is stored in mnui.hip whereas loaded during the loading screens for The Incredibles. |
||
==Format== |
==Format== |
||
'''zWireframeAsset''' |
|||
<pre> |
|||
{| class="wikitable" |
|||
struct WireframeData |
|||
|- |
|||
{ |
|||
! Offset !! Type !! Variable !! Description |
|||
unsigned int totalFileSize; |
|||
|- |
|||
unsigned int vertexAmount; |
|||
| 0x00 || uint || '''size''' || Total file size. |
|||
unsigned int lineAmount; |
|||
|- |
|||
unsigned int hashID; |
|||
| 0x04 || uint || '''vertexCount''' || |
|||
unsigned int hashID2; |
|||
|- |
|||
Vector3[vertexAmount] vertices; |
|||
| 0x08 || uint || '''lineCount''' || |
|||
Line[lineAmount] lines |
|||
|- |
|||
}; |
|||
| 0x0C || uint || '''hashID''' || |
|||
</pre> |
|||
|- |
|||
<pre> |
|||
| 0x10 || uint || '''hashID2''' || |
|||
struct Line |
|||
|- |
|||
{ |
|||
| 0x14 || [[Vector3]][vertexCount] || '''vertices''' || |
|||
unsigned short vertex0; |
|||
|- |
|||
unsigned short vertex1; |
|||
| || zWireframeLine*[lineCount] || '''lines''' || |
|||
}; |
|||
|} |
|||
</pre> |
|||
'''zWireframeLine''' |
|||
{| class="wikitable" |
|||
|- |
|||
! Offset !! Type !! Variable !! Description |
|||
|- |
|||
| 0x00 || short || '''start''' || |
|||
|- |
|||
| 0x02 || short || '''end''' || |
|||
|} |
|||
{{Assets}} |
{{Assets}} |
Revision as of 15:23, 6 September 2022
WIRE | |
---|---|
Wireframe | |
Type | Binary |
Games used | The Incredibles Rise of the Underminer |
WIRE defines a wireframe model. Each wireframe data is stored in mnui.hip whereas loaded during the loading screens for The Incredibles.
Format
zWireframeAsset
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | uint | size | Total file size. |
0x04 | uint | vertexCount | |
0x08 | uint | lineCount | |
0x0C | uint | hashID | |
0x10 | uint | hashID2 | |
0x14 | Vector3[vertexCount] | vertices | |
zWireframeLine*[lineCount] | lines |
zWireframeLine
Offset | Type | Variable | Description |
---|---|---|---|
0x00 | short | start | |
0x02 | short | end |