Progression Data/Burnout Paradise/Development: Difference between revisions

Updated with new information.
No edit summary
(Updated with new information.)
 
(3 intermediate revisions by 2 users not shown)
Line 2:
Versions as defined by the <code>muVersionNumber</code> field.
 
* Version 4: Found in the [[Burnout 5 (2006-11-13 build)]]. Most content is not yet present, but some events, rivals and opponent balancing is done.
=== v4 ===
* Version 8: Found in the [[Burnout 5 (20062007-1102-1322 build)]]. MostThis contentversion isiterates noton yetwhat present,was butin somev4 events,but rivalsis andultimately opponent balancing isvery donesimilar.
 
=== v8 ===
Found in [[Burnout 5 (2007-02-22 build)]]. This version iterates on what was in v4 but is ultimately very similar.
 
= Structures =
=== BrnProgression::ProgressionData ===
==== v4Version 4 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 31 ⟶ 28:
|}
 
==== v8Version 8 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 57 ⟶ 54:
Type name from 1.0 data - actual name may be different, in particular for version 4.
 
==== v4Version 4 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 67 ⟶ 64:
| 0xC || 0x4 || uint32_t || || Laps? || 1-2
|-
| 0x10 || 0x20 || char[32] || macName || Event name || Always null
|}
 
==== v8Version 8 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 88 ⟶ 85:
 
=== BrnProgression::SavedPresetRace ===
==== v4Version 4 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x30 || [[#BrnProgression::BaseRace|BaseRace]] || super_BaseRace || Base class ||
|-
| 0x30 || 0x190 || [[CgsID]][50] || maLandmarkCgsIds || Checkpoints || GameDB IDs
Line 98 ⟶ 95:
| 0x1C0 || 0x4 || uint32_t || muNumLandmarks || Number of checkpoints ||
|-
| 0x1C4 || 0x4 || || || paddingPadding ||
|}
 
=== BrnProgression::SavedRace ===
==== v8Version 8 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
|-
| 0x0 || 0x30 || [[#BrnProgression::BaseRace|BaseRace]] || super_BaseRace || Base class ||
|-
| 0x30 || 0x80 || [[CgsID]][16] || maLandmarkCgsIds || Checkpoints || GameDB IDs
Line 112 ⟶ 109:
| 0xB0 || 0x1 || uint8_t || muNumLandmarks || Number of checkpoints ||
|-
| 0xB1 || 0x7 || uint8_t[7] || maPad || paddingPadding ||
|}
 
Line 118 ⟶ 115:
Rank data. Actual name unknown.
 
==== v4Version 4 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 131 ⟶ 128:
|}
 
==== v8Version 8 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 141 ⟶ 138:
| 0x8 || 0x4 || uint32_t || ? || Number of violation/offence points to acquire this rank ||
|-
| 0xC || 0x1E0 || [[CgsArray]]<[[Progression Data../Burnout Paradise#BrnProgression::OpponentBalanceData|OpponentBalanceData]],7u> || ? || || Length is always 0, but there will always be 7 populated entries.
|-
| 0x1EC || 0x20 || char[32] || ? || Name || EL_*
Line 147 ⟶ 144:
 
=== BrnProgression::Rival ===
==== v4Versions 4-v88 ====
{| class="wikitable"
! Offset !! Length !! Type !! Name !! Description !! Comments
Line 153 ⟶ 150:
| 0x0 || 0x8 || [[CgsID]] || mCarId || Vehicle to use ||
|-
| 0x8 || 0x4 || uint32_tint32_t || ?miRank || Rank || 0-1
|-
| 0xC || 0x4 || float32_t || mfSpeed || Speed || Always 1
|-
| 0x10 || 0x4 || float32_t || mfAggression || Aggression || Always 1
|-
| 0x14 || 0x4 || float32_t || mfVolatility || Volatility || Always 1
|-
| 0xC0x18 || 0x100x4 || float[4]float32_t || ?mfSkill || ?Skill || Likely a vector. Always 1,1,1,1
|-
| 0x1C || 0x2 || uint16_tint16_t || ?miTakedownCount || ?Takedown count || Always 1 in v4 sample, sequential<br>Sequential 0x6-26 in v8 sample
|-
| 0x1E || 0x1 || int8_t || ?miCountyIndex || County index || Always -1 in v4 sample, 0-4 in v8 sample
|-
| 0x1F || 0x20 || char[32] || macName || Rival name ||
|-
| 0x3F || 0x1 || || || paddingPadding ||
|}