Duck Game

Duck Game

34 ratings
How-To Make Custom Audio
By Splinks
A simple tutorial on how to CREATE and EXTRACT .XNB sound files for custom sound mods
   
Award
Favorite
Favorited
Unfavorite
Tools needed
XNBSoundConverter.exe
This will be used to extract sounds to Wav files
WAVToXNBSoundConverter v0.1.exe
Kind of self explanatory converts your custom WAV files to XNB files
Audacity
Simple and Free audio editing software


Download Sound Convertion Tools Here
https://www.dropbox.com/s/gesczdduc83a4jq/DuckGame%20Sound%20Converter.rar?dl=0

Download Audacity Here
http://www.audacityteam.org/


Extraction
Alrighty, First we need to locate where the sound files are,
which just so happens to be at this address
*\Steam\SteamApps\common\Duck Game\Content\Audio\SFX



From here open up the
"DuckGame Sound Converter" folder and copy
both XNBSoundConverter files to SFX Folder
Now for the magic.
  • Click TYPE for the widow sorting
  • Select all the XNB files
  • Drag and Drop those files onto XNBSoundConverter.exe

If all done correctly you should have 249 new WAV files.

With these new WAV files I suggest moving them over to the "DuckGame Sound Converter" folder
for safe keeping.




Ain't got time for this, hate learning, or just too lazy? I got you covered my little couch potato!
Just download this collection of extracted sounds.
https://www.dropbox.com/s/3c8bo5bcpadfuld/DuckGame_SOUNDS.rar?dl=0
Tweakin it just Right
First off to keep the tutorial short and easy to follow. I'll just be focusing on changing the duck's quack

If you're NOT wanting to replace the Quack and looking for a certain sound then I suggest listening through the sound collection that was in the download in the "EXTRACTION" section. Hopefully later on This tutorial can be updated with a catalog of the duck sounds.



But for now we're only looking to replace the normal quack...which is "Quack.WAV"
So at this point I would open the QUACK.wav and compare the volumes and length of my custom sound to the original.
General rule of thumb: It tends to be best to have a sound shorter then the orginal rather than longer due to audio clipping and audio stacking.

Awesome, you're a regular Mozart. Let export that piece of art.

Just go to File>Export and Select WAV format and name the new sound to audio file it is to replace in the game.


Compiling and Applying
And here we are at the final step!

Drag the custom Quack.wav onto "WAVToXNBSoundConverter v0.1.exe"



A command prompt should then pop up telling you that it was a success.
You'll then notice that you now have a Quack.XNB. Congrats you now how your custom goodness ready to be applied to the game


Only one last thing to do.
Move Quack.XNB to
*\Steam\SteamApps\common\Duck Game\Content\Audio\SFX
10 Comments
Kaya's Man 31 Aug, 2021 @ 4:15pm 
does this work online? can others hear?
Why Try? 4 Jun, 2020 @ 1:44pm 
Fukn legend man
iPablol 27 Aug, 2018 @ 7:33am 
it says "Problem 2" when i put a wav into the converter
ApparitioN 28 Oct, 2017 @ 5:51pm 
Unimplemented profiles: 1
Bently 8 Sep, 2017 @ 8:16am 
So what kind of script do you need to add custom sounds for your skins?
Badger 3 Sep, 2017 @ 6:43am 
same
chuichuitrain 21 Aug, 2017 @ 12:20am 
Bad
Splinks  [author] 16 Aug, 2017 @ 1:58pm 
@Igroknapodyshke
Should be. You just need to have a mod that has a script that calls to the new XNB file
revenatn 15 Aug, 2017 @ 11:24pm 
can be used in mods?
salguod 10 Aug, 2017 @ 2:54pm 
..
first?