Sounds (Burnout Paradise): Difference between revisions

m
Typo
(Added stream header clarification)
m (Typo)
Line 77:
Generally, replacing a registry entry is unnecessary. If changing the name is required, however, it can be done. When viewing the resource using a hex editor, by finding the associated <code>gamedb://</code> path (which includes the name of the file), an entry can be updated to use a new name. 16 bytes before the start of the string is the hash of that string. Using Bo98's [https://bpr.bo98.uk/cgssound-playback-name/ online hasher], the new string can have a [[Common_Data_Types_(Burnout_Paradise)#CgsSound::Playback::Name | Name hash]] generated and the old hash and string can be replaced, effectively replacing the entry.
 
Hashes for streams are different—they are hashes of the file name in the <code>gamedb://</code> string, such as <code>Adam_Ant</code> or <code>RaceStartRolling</code>. It is important to get this right as this is how the game will find the findfile to read from.
 
= Resource Types =