Heroes V sound files[1][]
Heroes V game sounds are located in <game folder>/data/soundsfx.pak archive[2].
An example of a music file name is “337FA5B7-5235-4E23-9714-AD6E5769817E” All files keep similar name pattern.
These files have no extension, but are considered of type .wav[3] and can be played with Audacity and Media Player Classic (you might need certain audio codecs).
Audacity info about the sound files is Mono, 44100Hz, 32-bit float.
Locate game sound[]
Let’s say you’d like to change Demon Lord hero’s dwelling or mine capturing sound.
- Navigate to data.pak/_(AnimSet)/Heroes and open DemonLord-arena.(AnimSet).xdb
- Search for line <Kind>capture</Kind> and find the file mentioned below in <Anim href="">
<Anim href="/_(BasicSkelAnim)/Heroes/DemonLord/capture.(BasicSkelAnim).xdb#xpointer(/BasicSkelAnim)"/>
3. Open the capture.(BasicSkelAnim).xdb file and find search for <Sound href=""/>
<Sound href="/Sounds/_(Sound)/Heroes/DemonLord/Capture.xdb#xpointer(/Sound)"/>
4. Open the Capture.xdb file and get the <uid>. This is the name of the actual sound file played when Demon Lord captures an object. Copy that code.
<uid>337FA5B7-5235-4E23-9714-AD6E5769817E</uid>
5. Extract <game folder>/data/soundsfx.pak.
6. Search inside for the UID
7. Once you’ve found a file with such name, try to play it
Add new samples[]
For the purpose of example we will assume that the Demon Lord capture sound will be replaced with a new one.
- Create or acquire a custom sound sample
- Save the file in .wav[3] format
- rename it to 337FA5B7-5235-4E23-9714-AD6E5769817E (this is the name of Demon Lord capture sound) WITHOUT .wav-extension.
- Create a .PAK[2] file and put in <game folder>/data