UGX-Mods

Call of Duty 5: World at War => Tutorial Desk => Modding => Topic started by: Megadeth9811 on September 18, 2016, 02:38:11 am

Title: [TUT] How to convert compressed .wav sounds
Post by: Megadeth9811 on September 18, 2016, 02:38:11 am
So many of the sound tutorials I've seen uses Launcher to convert uncompressed .wav sounds. I've experienced bad quality loss when doing it this way, so I wanna share my method on how to use 44100 16-bit PCM .WAV sounds. I've been using this method on ambient sounds and weapon sounds since I released Necro Forest.

You can read the source documentation here: http://wiki.modsrepository.com/index.php?title=Call_of_Duty_5:_Custom_Sound_2 (http://wiki.modsrepository.com/index.php?title=Call_of_Duty_5:_Custom_Sound_2)

Requirements:

-Conversion Kit. I put together the entire kit in one file here:
http://www.mediafire.com/download/ugrdclfx88f2668/Conversion_Kit.rar (http://www.mediafire.com/download/ugrdclfx88f2668/Conversion_Kit.rar)

-Audacity

-Soundalias File (You need this to convert all the sounds correctly)

-Custom Sound to be converted

So for this tutorial, I'm gonna convert an easter egg song for my map.

Load your sound in Audacity and make sure the project rate is at 44100:

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F3nVvCwV.png&hash=73abdd52726d7f6965665f09d51ad00fb516b047)

Now export your custom sound in the conversion kit that I provided. Unconverted sound go into sound_assets/raw/sound/YOUR/SOUND/LOCATION.
In my case, I need to save my easter egg song in sound_assets/raw/sound/stream/music/mission/zombie/lee_easter_egg.wav.

MAKE SURE YOU EXPORT WITH THE "WAV (Microsoft) signed 16-bit PCM" settings

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FU4AqUu1.png&hash=e09bc50e5930844e57f513e583dca5978fc69cb7)

After that, grab your soundalias file that you'll use for converting/applying your sound ingame.
Mine looks like this:

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FxSRctAD.png&hash=bdc140d17c96082bea9a1fe2bde0410998db5074)
Place that file in conversion_kit/raw/soundaliases

Now navigate to conversion_kit/bin. You will notice a bunch of .dll's and .exe files. You can ignore those.
Press Shift+RightClick and click "Open command prompt window here".

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fl9EBLEl.png&hash=345208cce93b5279c24d09e69ac552b751f8f335)

Now, enter the following code into the smd promt:
Code Snippet
Plaintext
modsound -pc -verbose -aliasfiles ALIASNAME

Where ALIASNAME is your soundalias file in raw/aoundaliases.


(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2F1X7Ut99.png&hash=1fc4c9b9ce75a1b307673ac00f55f5070c2d63d3)

Hit enter.

If done correctly, the process should convert your sound for World At War.
Close the Command Prompt.

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FtevcD0u.png&hash=5ce94c1c1aedaa75aa29d57d661933dc0b22534c)

Your converted sound is generated in conversion_kit/raw/sound/YOUR/SOUND/LOCATION.
The directory is generated automatically.

Copy/paste your newly converted sound, and your soundalias folder in your nazi_zombie_mapname folder.
Make sure the sound is in the correct subfolder.

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2Fx5lGyz5.png&hash=4a35d6e52c9646b435495c8593927eb363dfe44a)

Now, compile and build your mod. You will probably need to paste the sound and buld your mod twice
to get it working, if it doesn't the first time.

(https://www.ugx-mods.com/forum/proxy.php?request=http%3A%2F%2Fi.imgur.com%2FqTEH6wq.png&hash=c0b4ccf7056c8ad937f57ea94c460ccf98bca42a)

That's it. Let me know if this tutorial helped you.
Title: Re: [TUT] How to convert compressed .wav sounds
Post by: gabriel23zombies on July 27, 2017, 02:36:51 pm
Hello, how are you?
I saw your tutorial post showing how to put custom sounds in the waw cod, very good dude I managed to put them in my mod, you helped me a lot, after thousands of tutorials yours was what worked for me thank you !!! !
God bless you !!!!