Music mod (need help)

Hello guys!

I want to start to make a music mod. I'm doing the music myself but I don't know how to put together all the files needed. Can anyone can help me by providing the files needed and me to add the music files as mp3 later on?

I want to do the background music more ambiental, space like.

25,179 views 10 replies
Reply #1 Top

There is a folder in every mod and version of Sins called Sound.  The files there are in OGG format but (I think) MP3s will work too? (anyone?).

All you need to do is swap your files for the ones there using the names of the ones you replace.

If you create differently titled sounds or add additional ones you will have to update the totals in the SoundMusic.sounddata file in the GameInfo folder in the Sins directory on your PC.

I believe you'll need to convert them from BIN format (encoded) to TXT. The SoaSE Weebly can give you a step-by-step oin that and harpo has a tool kit to do conversions with some instructions as well.

There is also a SoundEffects.sounddata and a SoundDialogue.sounddata file in the GameInfo folder for other sorts of sound (dialogue and effects).

Audacity can convert and edit all your sounds in all the formats you'll need and it's free.  Notepad++ will help you editing the text data files and it's free too.

Reply #2 Top

If I keep original names I can just put the mp3/ogg files int that folder and will work?

Reply #3 Top

Yep.

Reply #4 Top

Ok! Thank you very much! Soon I will get started.

Reply #5 Top

 

TXT
numMusic 82
music
    name "MUSIC_FRONTEND"
    fileName "My Porn Song.mp3"
Open GameInfo\SoundMusic.sounddata with a text editor like notepad. Find the desired track that will be replaced and change the file name and be sure to keep the .mp3 extension.


Make sure you make a m0d and dont alter the org game files

The mod will need 2 folders

Sound

Contains your new music tracks

GameInfo

Contains  SoundMusic.sounddata which you can add tracks and change the count at the top but these will need to be added to either the player entities which is only played by that race or Game.musicdata which is shared by all races


Reply #6 Top

Quoting nIGhT-SoN, reply 2
If I keep original names I can just put the mp3/ogg files int that folder and will work?

The advantage of this is once you get your files into .ogg (Audacity will work but I prefer to use a program like Foobar 2000 with the .ogg codec so I can convert entire folders at a time), its easier to make and even better does not change the checksum of your mod, so you can enable it on or off as you like and can still use it with multiplayer and probably other mods.

The downside is that you can't increase the number of music, or tell the game to use .mp3s instead of .ogg without editing that Soundmusic.soundata file, which will change the check sum and take a bit more work.

Reply #7 Top

I personally just turn the sound off and yodel for music and make my own "pew! pew!" sounds in combat.

Reply #8 Top

Thank you guys! Now the only thing I have to do is start producing the music. I will share with you my work maybe there are some you who will find it nice.

Reply #9 Top

We'll always take free stuff ;)

Reply #10 Top

Hey Goa--your mod seems to always play the same song on intro (that's subjective with few samples by me).  I'm having an issue of the game pulling sounds from other versions.  So I mod the Diplomacy sounds but the Entrenchment intro plays.  I mod Entrenchment but can't run the mod while in Diplomacy.

Is this just the way it is or did you do something specific that worked? (at present I just replaced the Entrenchment file which isn't a great mod option).