Value Database: Difference between revisions

Content added Content deleted
mNo edit summary
Line 6: Line 6:


= Header =
= Header =

{|class="wikitable"
{|class="wikitable"
|-
|-
! Offset
! Offset
! Length
! Name
! Type
! Type
! Value
! Description
! Notes
! Notes
|-
|-
| 0x00 || 0x01 || UInt8 || Version number || Always <tt>0x02
| 0x00 || Version number || int || 0x02 ||
|-
|-
| 0x04 || 0x04 || UInt32 || Number of entries in first data chunk ||
| 0x04 || Number of entries in first data chunk || int || ||
|-
|-
| 0x08 || 0x04 || UInt32 || Number of entries in second data chunk
| 0x08 || Number of entries in second data chunk || int || ||
|-
|-
| 0x0C || 0x04 || UInt32 || Number of entries in third data chunk ||
| 0x0C || Number of entries in third data chunk || int || ||
|-
|-
| 0x10 || 0x04 || UInt32 || Offset of third data chunk ||
| 0x10 || Offset of third data chunk || int || ||
|}
|}


Line 33: Line 32:
! Name
! Name
! Type
! Type
! Notes
|-
|-
| 0x00 || Value || float
| 0x00 || Value || float<br>word* || Certain Chunk 1 values consist of offsets to entries longer than 32 bits.
|-
|-
| 0x04 || Hash ID || GtHash
| 0x04 || Hash ID || GtHash ||
|}
|}


Line 58: Line 58:
! Notes
! Notes
|-
|-
| 0x00 || Value || uint32_t || Always <tt>0x00000001<tt>
| 0x00 || Value || int || Always <tt>0x00000001<tt>
|-
|-
| 0x04 || Hash ID || GtHash ||
| 0x04 || Hash ID || GtHash ||