Loop Model: Difference between revisions
m
Normalization
(Created page with "=== LoopModelData === {| class="wikitable" ! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments |- | 0x0 || 0x4 || uint32_t || muVersion || Version number || || |- | 0x4 || 0x4 || uint32_t || muSignature || Signature || "YDNA" || |- | 0x8 || 0x4 || Partial * || mpaPartials || || Partial format || |- | 0xC || 0x4 || uint32_t || muNumOfPartials || || || |- | 0x10 || 0x4 || uint32_t || muSizeInBytes || Data size || || |} === Partial ===...") |
m (Normalization) |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1:
{{ParadiseResourceTypeInfobox
=== LoopModelData === ▼
| name = LoopModel
| id = 0x10000
| category = Game-specific<br />(Burnout Paradise)
| memdist = Main Memory only
Loop models match engine RPM to sounds via a graph.
= Structures =
'''Note: PC (Remastered) loop models are 64-bit, unlike with other resource types.'''
▲=== BrnSound::Vehicles::Engines::LoopModelData ===
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x4 || uint32_t || muVersion || Version number || 7
|-
| 0x4 || 0x4 || uint32_t || muSignature ||
|-
| 0x8 || 0x4 || [[#BrnSound::Vehicles::Engines::Partial
|-
| 0xC || 0x4 || uint32_t || muNumOfPartials
|-
| 0x10 || 0x4 || uint32_t || muSizeInBytes ||
|}
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x4 ||
|-
| 0x4 || 0x4 ||
|-
| 0x8 ||
|-
|
|-▼
|}
▲=== Graph ===
=== BrnSound::Vehicles::Engines::Partial ===
'''Note: Field order changes between 32 and 64 bit, unlike with other resource types.'''
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x4 ||
|-
| 0x4 ||
|-
|
|-
|
▲|-
|}
▲=== Point ===
{| class="wikitable"
! Offset !!
|-
| 0x0 ||
|-
|
▲|}
|-
|
|-
|
|-▼
▲| 0x14 || 0x4 || uint32_t || muSizeInBytes || Data size || ||
|}
=== BrnSound::Vehicles::Engines::Graph ===
{| class="wikitable"
! Offset !!
▲|-
| 0x0 || 0x4 || [[#BrnSound::Vehicles::Engines::Point|Point]]* || mpaPoints || Points on graph ||
|-
|-
|
|-
|
|-
|
|}
▲=== Graph ===
{| class="wikitable"
! Offset !!
|-
| 0x0 || 0x8 || [[#BrnSound::Vehicles::Engines::Point
|-
| 0x8 || 0x1 || uint8_t || mu8NumOfPoints
|-
| 0x9 || 0x1 || int8_t || mi8XAxis
|-
| 0xA || 0x1 || int8_t || mi8YAxis
|-
| 0xB || 0x1 || int8_t || mPad
|-
| 0xC || 0x4 || || ||
|}
▲=== Point ===
=== BrnSound::Vehicles::Engines::Point ===
{| class="wikitable"
! Offset !! Size !! Type !! Name !! Description !! More Information !! Comments
|