Sounds (Burnout Paradise): Difference between revisions
Replace Discord CDN link.
mNo edit summary |
(Replace Discord CDN link.) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 2:
= SndPlayer Plug-In Assets =
The primary sound asset, [[#Generic RWAC Wave Content|Generic RWAC Wave Content]], is a container for EA SndPlayer Plug-In Assets. The parsing of these assets has been difficult in the past but has become much easier due to multiple leaks of EA tools, the most pertinent being a 2008 version of '''sx''' (EA Sound Exchange) which can be downloaded [https://
Sound Exchange is a command-line tool. Opening a command prompt window and dragging and dropping the executable should list the full path to it. This path will be referred to simply as <code>sx</code> from now on. Pressing enter should output basic information, and adding <code>-h</code> after a space should output a full help menu.
Line 48:
With the edit complete, the file should be added to <code>SOUND/STREAMS/STREAMHEADERS.BUNDLE</code>, replacing the existing header if there was one. The SNS should go in <code>SOUND/STREAMS</code>, replacing the existing stream if there was one.
To find an existing header, search the [[Bundle (original)#Overview|Bundle debug data]] in ''Burnout Paradise Remastered'' for the file name. If it exists, the given resource ID is that of the resource that needs to be replaced. Depending on the toolset, it may be byteswapped (e.g., 01020304 becomes 04030201).
=== Encoding gigasamples ===
Line 70:
= Global sound data =
The game uses an [[
BurnoutGlobalData works hand in hand with Registry and any additions to it must be reflected in the relevant Registry resource for use in-game.
Line 87:
=== Replacing a registry entry ===
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 [[
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 file to read from.
Line 100:
Ginsu Wave Content, usually just called Ginsu, is a sound asset type used specifically for engine acceleration and deceleration. Ginsu is an EA format that is widely understood, but has much more limited codec and setting support than RWAC Waves. A related type, Gunsu, is found the in the Black 2 development builds.
=== [[
Registry resources are, as one might expect, a registry of sound assets. They are how the game finds and accesses sounds. It is among the most important sound resources—arguably more important than the assets themselves—but are unfortunately not entirely understood.
Line 116:
=== Other types ===
[[Nicotine Map|Nicotine]] assets are present in the final game but have not been researched, so their purpose is unknown. The same is true of [[Snapshot Data]]. [[Generic RWAC Reverb IR Content]] is present in [[Burnout 5 (2007-02-22 build)]] under <code>SOUND/IR.BUNDLE</code>. [[Voice Hierarchy]] and its
=== Related resource types ===
Certain resources are known to be related to specific sounds. World sounds are emitted by [[Trigger Data|triggers]], while there is another world-related type called [[Static Sound Map]] that very little is known about. Engines also employ [[
|