How to make custom DDNet sounds
- Tristis
- Posts: 8
- Joined: Mon Jul 25, 2022 2:13 am
- Location: stronghold
- Player profile: https://ddnet.tw/players/Tristis/
- Mapper profile: https://ddnet.tw/mappers/Tristis/
- Clan: Inspire
- Discord: Tristonic
How to make custom DDNet sounds
How to change the default DDNet sound files for custom sound effects
In this tutorial I will show you how to find and replace the default DDNet audio files with custom ones! (Plus a custom scifi themed soundpack I put together myself)
To get started, lets begin by locating our DDNet directory. Depending on your Operating System, the folder will be located in different places.
Windows:
Linux:
(Use backslash on Windows and forward slash on Linux)
Once we are inside our DDnet folder, we need to create a new folder to stick our audio files inside of.
For this, just create a new folder called "audio"
Great! Now that we have made a place to put our audio, Its time to go and look for our very own custom sound effects!
Finding custom sound effects can be hard. Most good sound effects can only be obtained by paying for a subscription to a sound effects site, however, some sites have free sound effects, the selection is much smaller but you can still find decent sound effects if you scour different places. Some sites i like to use are:
https://elements.envato.com/sound-effects
https://mixkit.co/free-sound-effects
Many of them are water marked, but if you find short enough ones, they wont be.
You can also record your own sound effects using a mic and then using something like Audacity, to record your own sounds.
Awesome! Now that we have our new sound effects and we know where to put them, its time to start putting them in!
Before we can start replacing the files, there is one small issue, the files we downloaded end with .mp3, not .wv, like the old sound files do. To fix this we are going to use something called FFmpeg
To install FFmpeg follow these directions in respect to your Operating System.
Windows:
Linux:
Great! Now that we have all the things we need, its time to start converting our files so they will actually work when we open DDnet!
In order to convert the .mp3 files to .wv we are going to use an FFmpeg command through the command line. But first we need to rename each of our audio files with the ones we want to replace in the
laser_gun.mp3 wp_laser_fire-01
You can right click on a sound file and press Rename to rename it.
To find out which audio file is which, you can go HERE to find which one you want to replace.
Now that we have renamed our files, we can now start converting them to .wv using the command line. Open a command prompt to the folder your new audio files are in.
Replace SOUND_EFFECT in both places with your audio file name, and boom, that sound effect is done! The process for converting a large amount of files can be tedious, however, necessary.
And that's about it! All we have to do now is drop our new sound files in the
Open up the game and enjoy your new sounds!
If you have any questions or something was not clear, feel free to leave a comment!
And if you stayed all the way to the end, here is a download link to a mostly-complete scfi themed soundpack i put together
SCIFI SOUNDPACK DOWNLOAD:
In this tutorial I will show you how to find and replace the default DDNet audio files with custom ones! (Plus a custom scifi themed soundpack I put together myself)
To get started, lets begin by locating our DDNet directory. Depending on your Operating System, the folder will be located in different places.
Windows:
Old: %appdata%\Teeworlds
New: %appdata%\DDNet
Linux:
Old: ~/.teeworlds
New: ~/.local/share/ddnet
(Use backslash on Windows and forward slash on Linux)
Once we are inside our DDnet folder, we need to create a new folder to stick our audio files inside of.
For this, just create a new folder called "audio"
Great! Now that we have made a place to put our audio, Its time to go and look for our very own custom sound effects!
Finding custom sound effects can be hard. Most good sound effects can only be obtained by paying for a subscription to a sound effects site, however, some sites have free sound effects, the selection is much smaller but you can still find decent sound effects if you scour different places. Some sites i like to use are:
https://elements.envato.com/sound-effects
https://mixkit.co/free-sound-effects
Many of them are water marked, but if you find short enough ones, they wont be.
You can also record your own sound effects using a mic and then using something like Audacity, to record your own sounds.
Awesome! Now that we have our new sound effects and we know where to put them, its time to start putting them in!
Before we can start replacing the files, there is one small issue, the files we downloaded end with .mp3, not .wv, like the old sound files do. To fix this we are going to use something called FFmpeg
To install FFmpeg follow these directions in respect to your Operating System.
Windows:
SpoilerShow
Installing on Windows is more complicated so I'm just going to leave a link to a site with the instructions
https://www.wikihow.com/Install-FFmpeg-on-Windows
Good job! Lets now move on to the final part!
https://www.wikihow.com/Install-FFmpeg-on-Windows
Good job! Lets now move on to the final part!
SpoilerShow
Open your command prompt, (cntrl + alt + t), next, run these commands as shown
This will update the package index of your system just in case it forgot how to install FFmpeg
Congrats! you now have installed FFmpeg and can continue to the next part.
Code: Select all
sudo apt update
Code: Select all
sudo apt install ffmpeg
Great! Now that we have all the things we need, its time to start converting our files so they will actually work when we open DDnet!
In order to convert the .mp3 files to .wv we are going to use an FFmpeg command through the command line. But first we need to rename each of our audio files with the ones we want to replace in the
/audio/
directory, for instance: laser_gun.mp3 wp_laser_fire-01
You can right click on a sound file and press Rename to rename it.
To find out which audio file is which, you can go HERE to find which one you want to replace.
Now that we have renamed our files, we can now start converting them to .wv using the command line. Open a command prompt to the folder your new audio files are in.
Code: Select all
ffmpeg -i SOUND_EFFECT.mp3 -ar 48000 -ac 1 -sample_fmt s16p SOUND_EFFECT.wv
And that's about it! All we have to do now is drop our new sound files in the
/audio/
directory. Open up the game and enjoy your new sounds!
If you have any questions or something was not clear, feel free to leave a comment!
And if you stayed all the way to the end, here is a download link to a mostly-complete scfi themed soundpack i put together
SCIFI SOUNDPACK DOWNLOAD:
Last edited by Tristis on Sun Sep 04, 2022 6:53 am, edited 1 time in total.
Hello, worst player on all of DDNet here.
Check out this tutorial I made on custom DDNet sounds https://forum.ddnet.tw/viewtopic.php?f=116&t=7472
Check out this tutorial I made on custom DDNet sounds https://forum.ddnet.tw/viewtopic.php?f=116&t=7472
- Edge
- Posts: 13
- Joined: Sat Jul 30, 2022 10:37 pm
- Location: Turkey
- Player profile: https://ddnet.tw/players/Edge/
- Mapper profile: https://ddnet.tw/mappers/Edge/
- Clan: EdgeTeam
- Discord: phiec#1943
Re: How to make custom DDNet sounds
If I make a new sound myself and put it, will it give an error?
hi
- Tristis
- Posts: 8
- Joined: Mon Jul 25, 2022 2:13 am
- Location: stronghold
- Player profile: https://ddnet.tw/players/Tristis/
- Mapper profile: https://ddnet.tw/mappers/Tristis/
- Clan: Inspire
- Discord: Tristonic
Re: How to make custom DDNet sounds
I am not sure that I understand your question.. If you mean; "Will new sound files i made myself work in ddnet?" then the answer is, yes, if you did all the steps correctly.
Hello, worst player on all of DDNet here.
Check out this tutorial I made on custom DDNet sounds https://forum.ddnet.tw/viewtopic.php?f=116&t=7472
Check out this tutorial I made on custom DDNet sounds https://forum.ddnet.tw/viewtopic.php?f=116&t=7472
- Nora
- Posts: 5
- Joined: Tue Feb 08, 2022 4:02 am
- Player profile: https://ddnet.tw/players/Nora/
- Clan: GALLIFREY
- Discord: Nora#1768
Re: How to make custom DDNet sounds
Nice tutorial
- Tristis
- Posts: 8
- Joined: Mon Jul 25, 2022 2:13 am
- Location: stronghold
- Player profile: https://ddnet.tw/players/Tristis/
- Mapper profile: https://ddnet.tw/mappers/Tristis/
- Clan: Inspire
- Discord: Tristonic
Re: How to make custom DDNet sounds
Hello, worst player on all of DDNet here.
Check out this tutorial I made on custom DDNet sounds https://forum.ddnet.tw/viewtopic.php?f=116&t=7472
Check out this tutorial I made on custom DDNet sounds https://forum.ddnet.tw/viewtopic.php?f=116&t=7472
-
- Posts: 17
- Joined: Sat Apr 02, 2022 7:06 am
- Location: iran
- Player profile: https://ddnet.tw/players/-4320--4312--4314--4312--4304-/
Re: How to make custom DDNet sounds
hi. i made simple gun fire sound by myself in FLstudio and export the file as .wv but it dose not work in game. what is wrong ?
- Attachments
-
- audio.rar
- (57.45 KiB) Downloaded 251 times
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: How to make custom DDNet sounds
Your file:
One of the files in DDNet:
So I would s16p format. I had some instructions here: https://forum.ddnet.org/viewtopic.php?p=4833#p4833
I have done the conversion for you and attached the files, they work for me.
Stream #0:0: Audio: wavpack, 44100 Hz, stereo, fltp
One of the files in DDNet:
Stream #0:0: Audio: wavpack, 44100 Hz, stereo, s16p
So I would s16p format. I had some instructions here: https://forum.ddnet.org/viewtopic.php?p=4833#p4833
I have done the conversion for you and attached the files, they work for me.
- Attachments
-
- new.zip
- (8.33 KiB) Downloaded 240 times
-
- Posts: 17
- Joined: Sat Apr 02, 2022 7:06 am
- Location: iran
- Player profile: https://ddnet.tw/players/-4320--4312--4314--4312--4304-/
Re: How to make custom DDNet sounds
thank you it worked, but is there a simpler way to do the work ?deen wrote: ↑Wed Apr 12, 2023 9:22 am Your file:Stream #0:0: Audio: wavpack, 44100 Hz, stereo, fltp
One of the files in DDNet:Stream #0:0: Audio: wavpack, 44100 Hz, stereo, s16p
So I would s16p format. I had some instructions here: https://forum.ddnet.org/viewtopic.php?p=4833#p4833
I have done the conversion for you and attached the files, they work for me.
i am using windows and seen your instructions, i can't figure out how to work with the wavpack app you just pointed.
i used a website for conversion but that doesn't work either.
here is the website https://convertio.co/wav-wv/
- deen
- Posts: 3576
- Joined: Mon May 05, 2014 2:30 pm
- Player profile: https://ddnet.org/players/deen/
- Discord: deen#5910
Re: How to make custom DDNet sounds
The wavpack frontend from https://www.wavpack.com/downloads.html should work too.
-
- Posts: 17
- Joined: Sat Apr 02, 2022 7:06 am
- Location: iran
- Player profile: https://ddnet.tw/players/-4320--4312--4314--4312--4304-/
Re: How to make custom DDNet sounds
i ran the frontend. what options do i need to check or fill.deen wrote: ↑Wed Apr 12, 2023 2:11 pm The wavpack frontend from https://www.wavpack.com/downloads.html should work too.
i uploaded the screenshots of the program
thank you.
- Attachments
-
- Screenshot (39).png (18.19 KiB) Viewed 15331 times
-
- Screenshot (38).png (33.18 KiB) Viewed 15331 times
-
- Screenshot (37).png (31.55 KiB) Viewed 15331 times
Who is online
Users browsing this forum: No registered users and 7 guests