Terraria – use the own sound files instead of the default ones

terraria

After playing Terraria for a little while, I have started to find the default sounds for when a player takes damage a little annoying and I'm looking for a way to use my own sound files instead of the default ones provided with the game.

I have seen that it is possible to change to an already existing sound in the Terraria sound folder (here), but I am looking to use my own sounds so this doesn't exactly fit what I'm looking for.

I guess I need to know a couple of things in order to be able to do this:

  • What format should the sound files be in?
  • What should I use to convert the files to the .xnb format?

Best Answer

You need to convert your sound files into XNB format, the packaged format Microsoft XNA uses for binary files. The best guide I've found is designed for creating custom music soundtracks, but the steps are the same for replacing sound effects.

You just need to convert your sounds using XACT and replace the existing sounds with your new ones. The game uses the filename to determine which sound to play for each event, so make sure those stay the same.