Heroes of Might and Magic Community
visiting hero! Register | Today's Posts | Games | Search! | FAQ/Rules | AvatarList | MemberList | Profile


Age of Heroes Headlines:  
5 Oct 2016: Heroes VII development comes to an end.. - read more
6 Aug 2016: Troubled Heroes VII Expansion Release - read more
26 Apr 2016: Heroes VII XPack - Trial by Fire - Coming out in June! - read more
17 Apr 2016: Global Alternative Creatures MOD for H7 after 1.8 Patch! - read more
7 Mar 2016: Romero launches a Piano Sonata Album Kickstarter! - read more
19 Feb 2016: Heroes 5.5 RC6, Heroes VII patch 1.7 are out! - read more
13 Jan 2016: Horn of the Abyss 1.4 Available for Download! - read more
17 Dec 2015: Heroes 5.5 update, 1.6 out for H7 - read more
23 Nov 2015: H7 1.4 & 1.5 patches Released - read more
31 Oct 2015: First H7 patches are out, End of DoC development - read more
5 Oct 2016: Heroes VII development comes to an end.. - read more
[X] Remove Ads
LOGIN:     Username:     Password:         [ Register ]
HOMM1: info forum | HOMM2: info forum | HOMM3: info mods forum | HOMM4: info CTG forum | HOMM5: info mods forum | MMH6: wiki forum | MMH7: wiki forum
Heroes Community > Heroes 5 - Modders Workshop > Thread: Tutorial for SOUND editing
Thread: Tutorial for SOUND editing
kainc
kainc


Famous Hero
posted March 25, 2009 11:12 AM bonus applied by VokialBG on 25 Mar 2009.
Edited by kainc at 11:17, 25 Mar 2009.

Tutorial for SOUND editing

Since I havent seen any guides how to change sounds for HOMMV TOE (and most like for previous versions), I'll post mine here. Sounds are located in soundsfx.pak and they are named as, for example "337FA5B7-5235-4E23-9714-AD6E5769817E". These files have no extension, but they can be opened / played at least with Audacity and Media Player Classic (both tested, but you might need certain audio codecs).

!!! Remember, you try this with your own risk! And remember to back up every file/folder/.pak you're messing with !!!

Tutorial for sounds editing / replacing

Let's say you'd like to change Demonlord hero's dwelling or mine capturing sound. I'll teach this, beginning from the folder AnimSet because the correct line in that file basically leads to the right destination. If you already do know how this stuff works, you can advance to section 4.

1. Navigate to
data.pak (or mod.pak if used)/_(AnimSet)/Heroes
and open DemonLord-arena.(AnimSet).xdb


2. Search for line <Kind>capture</Kind> and check the path under it. It should say:

<Anim href="/_(BasicSkelAnim)/Heroes/DemonLord/capture.(BasicSkelAnim).xdb#xpointer(/BasicSkelAnim)"/>

Ok, this is the path where you need to head next and open the file (capture.(BasicSkelAnim).xdb).

3. Find the <Sound href="/Sounds/_(Sound)/Heroes/DemonLord/Capture.xdb#xpointer(/Sound)"/> -line
and head for that location + open Capture.xdb

4. Inside Capture.xdb you see a line

<uid>337FA5B7-5235-4E23-9714-AD6E5769817E</uid>.

This is the name of the actual sound file played when Demonlord captures a specific... thing. Copy that "code" to somewhere you can find it later (notepad) and close the file.

5. In Heroes V ToE main folder/data you can see soundsfx.pak. I strongly advice you to extract the whole package somewhere (desktop), since I couldnt find the "337FA5B7-5235-4E23-9714-AD6E5769817E" file with RAR's search.

6. Once extracted, use some search software (Windows search) and type, for example, the last part of the line; "AD6E5769817E".
Search will be much faster if you can tic an option "find from specific location" and point it to the extracted sounds folder (the name of the first folder you see in your location should be bin). Once you've found the file, try to play it with WMP or Audacity.

7. Audacity gives the following info about the sound file:

Mono, 44100Hz, 32-bit float.

So use these settings if you add your own samples.

8. Once you've made your own fantastic(?) sound, save the file as *whatever*.wav and rename it 337FA5B7-5235-4E23-9714-AD6E5769817E (assuming it's the Demonlord's capture sound) WITHOUT .wav-extension.

9. Go back to *heroesVdefaultfolder*\data.

and open

soundsfx.pak\bin\Sounds

throw the file you created into that location, OR, STRONGLY RECOMMENDED: make a mod.pak if you know how to!

I'm not sure if you add completely new sounds by adding random filenames since I don't know how that UID thing works. So this tutorial is only for REPLACING existing sounds.

And moral advice: don't use copyrighted sounds

Remember, you try this with your own risk!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
VokialBG
VokialBG


Honorable
Legendary Hero
First in line
posted March 25, 2009 01:47 PM
Edited by VokialBG at 09:51, 03 Apr 2009.

Nice thread , it will be usefull for many other members, also it reminded me for something

+ The last guide in his own thread was posted... many days ago.





If someone is interest in changing music themen (not sonds!), you can visit New way to change the music theme in H5 by VokialBG (two years just pased, it was posted at 24th march 2007).



EDIT: It's part of the Wiki now.
____________

 Send Instant Message | Send E-Mail | View Profile | PP | Quote Reply | Link
kainc
kainc


Famous Hero
posted April 03, 2009 11:19 AM

Wow, that's nice!

 Send Instant Message | Send E-Mail | View Profile | Quote Reply | Link
Jump To: « Prev Thread . . . Next Thread »
Post New Poll    Post New Topic    Post New Reply

Page compiled in 0.0270 seconds