Common Data Types (Burnout Paradise): Difference between revisions

m
no edit summary
mNo edit summary
Line 140:
This list is incomplete and will be added to as time goes on.
=== CgsResourceID ===
A <code>CgsResourceID</code> is a 64-bit field storing a CRC32 hash of a given [[Bundle]] resource name. The 4 bytes preceding the hash are unused in Bundle 2 V2 and older, though later versions add fields which make extensive use of them. Most IDs' resource names can be determined by viewing the Bundle debug data, if present.
{| class="wikitable"
|-
Line 148:
|}
=== HashInt ===
<code>HashInt</code> is a typedef of <code>uint64_t</code>. It is used in [[AttribSysVault (Burnout Paradise) | AttribSysVault]] resources to refer to GameDB IDs which have been [https://bpr.bo98.uk/lookup8/ lookup8 encoded]. This type has several aliases, including <code>ExportID</code>, <code>Key</code>, <code>AssetID</code>, <code>Type</code>, and <code>TypeID</code>.
{| class="wikitable"
|-
Line 155:
| HashInt || uint64_t || 0x8
|}
 
=== CgsSound::Playback::Name ===
This type is used in Registry resources and anything accessing streams through a Registry resource. It is a [https://bpr.bo98.uk/cgssound-playback-name/ custom hash] which was either developed in-house or at EA. Though it has its own type, it may be stored as a standard <code>uint32_t</code>.