Loop Model

From Burnout Wiki
LoopModel
aka {{{othernames}}}
No Example
Resource names Unknown
Type ID 0x10000
Category Game-specific
(Burnout Paradise)
Memory
distribution
Main Memory only
Imports Unknown
Imported by Unknown
Editor
available?
No

Loop models match engine RPM to sounds via a graph.

Structures[edit | edit source]

Note: PC (Remastered) loop models are 64-bit, unlike with other resource types.

BrnSound::Vehicles::Engines::LoopModelData[edit | edit source]

32-bit[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x4 uint32_t muVersion Version number 7 in all known versions
0x4 0x4 uint32_t muSignature Magic YDNA
0x8 0x4 Partial* mpaPartials
0xC 0x4 uint32_t muNumOfPartials
0x10 0x4 uint32_t muSizeInBytes Resource size

64-bit[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x4 uint32_t muVersion Version number 7 in all known versions
0x4 0x4 uint32_t muSignature Magic YDNA
0x8 0x8 Partial* mpaPartials
0x10 0x4 uint32_t muNumOfPartials
0x14 0x4 uint32_t muSizeInBytes Resource size

BrnSound::Vehicles::Engines::Partial[edit | edit source]

Note: Field order changes between 32 and 64 bit, unlike with other resource types.

32-bit[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x4 Name mWaveName Name hash
0x4 0x4 Graph* mpaGraphs
0x8 0x1 uint8_t mu8NumOfGraphs
0x9 0x3 Padding

64-bit[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x8 Graph* mpaGraphs
0x8 0x4 Name mWaveName Name hash
0xC 0x1 uint8_t mu8NumOfGraphs
0xD 0x3 Padding

BrnSound::Vehicles::Engines::Graph[edit | edit source]

32-bit[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x4 Point* mpaPoints Points on graph
0x4 0x1 uint8_t mu8NumOfPoints
0x5 0x1 int8_t mi8XAxis
0x6 0x1 int8_t mi8YAxis
0x7 0x1 int8_t mPad

64-bit[edit | edit source]

Offset Length Type Name Description Comments
0x0 0x8 Point* mpaPoints Points on graph
0x8 0x1 uint8_t mu8NumOfPoints
0x9 0x1 int8_t mi8XAxis
0xA 0x1 int8_t mi8YAxis
0xB 0x1 int8_t mPad
0xC 0x4 Padding

BrnSound::Vehicles::Engines::Point[edit | edit source]

Offset Size Type Name Description More Information Comments
0x0 0x4 float32_t mfXpos X position on graph
0x4 0x4 float32_t mfYpos Y position on graph