Value Database: Difference between revisions
no edit summary
m (→Takedown) |
AcuteSyntax (talk | contribs) No edit summary |
||
Line 1:
The '''Value Database'''
Each value the VDB contains is mapped to a unique 4-byte key of type <code>GtHash</code>, which acts as that value's descriptor and tells the game where to apply the value. Hashes are sorted numerically within the VDB.
[[Burnout_Legends_(2005-06-06_build)#Debug_Export|Using debug functionality]], the values for the player's current vehicle can be exported to an XML file named <code>EXPORT/VALUEDB/VEHICLEPHYSICS/%s.CFG</code>, where <code>%s</code> is the name of the vehicle's class e.g. <code>HSPC</code>, followed by <code>CAR</code>, the index of the car in its class and the extension <code>.CFG</code>. For example, the Compact Type 1's data is exported to <code>COMPCAR1.CFG</code>.
=
{|class="wikitable"
Line 11 ⟶ 13:
! Type
! Description
! Notes
|-
| 0x00 || 0x01 || UInt8 || Version number || Always <tt>0x02
|-
| 0x04 || 0x04 || UInt32 || Number of entries in first data chunk ||
|-
| 0x08 || 0x04 || UInt32 || Number of entries in second data chunk
|-
| 0x0C || 0x04 || UInt32 || Number of entries in third data chunk ||
|-
| 0x10 || 0x04 || UInt32 || Offset of third data chunk ||
|}
|