Changing music?

I don't think we can do much of anything like that until we get the dll. I'm pretty sure we'll need to manipulate the source code to start messing with that stuff.
 
Wot!? I thought I only had to change over the Audio Defines in a way. That shouldn't be that impossible - just getting Alex to play the same music as Lizzie. It was an easy manipulation in Civ4.

This is all getting worse and worse by the minute. :(
 
I'm still learning myself. It may be that easy but I wouldn't know. I was just trying to help the best I could from what I've heard around the forums.
 
Seems like I've tried everything. The Audio Defines aren't art of the regular database it seems, so I can't just UpdateDatabase. I'll play around more with it tonight, but right now I need to go to work.

Thanks for the help though!
 
No big. Remember, everything is still relatively new, including the modding tools. Keep plugging away and keep one eye here and you never know :)
 
I am trying to figure out the audio as well. I physically put the file in the game, added the 2 defines, and even added the UpdateDatabase tag and even referenced an original track for the DOM, but no sound on custom civ. What have you tried besides me? Maybe we can figure it out together.
 
I'd rather have the old technology based music again.
I never liked it in civ 4 or 3 but that was because the music was pretty homoginously Christian
 
I am trying to figure out the audio as well. I physically put the file in the game, added the 2 defines, and even added the UpdateDatabase tag and even referenced an original track for the DOM, but no sound on custom civ. What have you tried besides me? Maybe we can figure it out together.

Well, Honorius, that was pretty much what I tried with as well. Then I went on to change leaderheads, and that wouldn't work either. For the game to be able to show static, common leaderheads, the modder has to ask the player to make changes in his .ini files.

It is not of interest to me to make a mod that has the player changing files, so I've therefore concluded that modding civ5 is not for me at this stage. They've closed or restricted this sort of stuff because they want to sell DLC, obviously, and I won't mod a game which is restricted for such reasons, because I have no interest in something that will restrict my creativity for their economic reasons. I am back to Civ4 right now, and will try Civ5 again later, when things perhaps become humane.
 
Hey I managed to do this around when the game first came out, the trick is rather simple really.

What you need firstly is Goldwave, which can be downloaded free.
http://www.goldwave.com/

Then you find the music file you want to change, open that in goldwave, then find the file that you want to change the music to open that as well in gold wave, then just copy and paste the data over the top and boom, it should work then.

I did this with the main menu changed it to Baba Yetu and worked like a charm- unfortunately I am unable to figure out how to mod the main menu background due to it being a 3D model lol, I already have the files needed to transform it into Civ4, but yeah haven't had any luck being able to get my models working. Ah well, that's a bit off topic. But I hope this is the information you were looking for.

Basically if you did it right, it should play fine, if you did it wrong, nothing at all will play. Make sure you keep backups of your originals.. As for adding new music via code, I would say you'd still need to follow this same process as I'm pretty sure Steam has a header on those files stopping "custom" files from opening, the only way to get it to work, is actually EDIT the file the game is known to work with. That should trick it into thinking its an unmodded file. I got it to work, I hope you do to.

EDIT:

I took the liberty of doing this for you,

http://www.davidguttridge.com/Alexander_Peace.ogg

Copy this file to C:\Program Files (x86)\Steam\steamapps\common\sid meier's civilization v\Assets\Sounds\Streamed\Music\Leader Music
be sure to backup the original before you overwrite.

I'm going to test it in game now, should hopefully work.
 
Wow! Thanks. I need to try it out right now. I hope it will work OK in my mod for others as well, but I am unsure where to put it and how to package it with the mod properly in ModBuddy.
 
Um, if all you want is Elizabeth_Peace.ogg to play instead of Alexander_Peace.ogg, you could simply copy and rename it. If the issue you have is playing ogg to find what you need to change, VLC and Winamp can do it, you don`t need sound editing software.

I have better question - does anyone know where all other sounds are ? Like notifications and such
 
What I want to do now is to get it in my mod so other people can enjoy the excellent English song instead of Alexander's too. Without having to ask them to start replacing their files. That's not proper modding.

There are horrible restrictions to modding with Civ5 still and they need to be corrected ASAP. Among other things, it's obviously not possible to create static leaderheads either, since that would require the end user of the mod to edit his .ini-files, which noone will do and which is also unfair to ask.

If things like these don't change, I see no purpose in continuing to mod Civ5 and will choose another strategy game by a different creator. Sigh.
 
Um, if all you want is Elizabeth_Peace.ogg to play instead of Alexander_Peace.ogg, you could simply copy and rename it. If the issue you have is playing ogg to find what you need to change, VLC and Winamp can do it, you don`t need sound editing software.

I have better question - does anyone know where all other sounds are ? Like notifications and such

Actual sound effects (voices, buttons, effects) can be found in the package folders, you'll need to unpack them. The music however is completely open.

As I understood this thread wasn't just about changing music from one thing to something that already existed in the game, rather changing the music in general, and for that you do need editing software to get around Civ5's checking- because using raw .wavs and .oggs simply WILL NOT WORK- I don't know why, but I think it could be because they include some header data on the actual file.. so the only solution is to modify one of the existing files that already has the header. Its a basic way to encrypt a file and that's how I assume they've done it, because raw files won't work.

Anyway that's the method I used to get custom music into the game, that's really why I posted that. It's a workaround solution in the event that you do try to get custom files to work but are thinking "hmm why isn't this working".

however I welcome better methods because it does seem a bit silly to have to edit the files this way. Well at least it works, so that's all that matters really for now.
 
Actual sound effects (voices, buttons, effects) can be found in the package folders, you'll need to unpack them. The music however is completely open.

As I understood this thread wasn't just about changing music from one thing to something that already existed in the game, rather changing the music in general, and for that you do need editing software to get around Civ5's checking- because using raw .wavs and .oggs simply WILL NOT WORK- I don't know why, but I think it could be because they include some header data on the actual file.. so the only solution is to modify one of the existing files that already has the header. Its a basic way to encrypt a file and that's how I assume they've done it, because raw files won't work.

Anyway that's the method I used to get custom music into the game, that's really why I posted that. It's a workaround solution in the event that you do try to get custom files to work but are thinking "hmm why isn't this working".

however I welcome better methods because it does seem a bit silly to have to edit the files this way. Well at least it works, so that's all that matters really for now.
Coincidentally, I also have changed menu music to Baba Yetu. Windows wouldn`t let me save directly to program files, so I created backup of OpeningMenu_Proto.wav by renaming it, saved Baba Yetu as OpeningMenu_Proto.wav on my desktop and then draged it to music folder. So as far that song goes no trouble using new files. I used Audacity to onvert it fro mp3 to wav, maybe there is some issue with sound editing software you use ?

How do you unpack them ? I just tried unpacking something with Nexus, doesn`t seem to work for me
 
I have a similar problem. I trie to change the techquotes. An easy task while changing text,a mission imposible if dealing with audiofiles. First I just trie to change the AudioDefinesFile (not in the gameplay DB but still provided with an XML-Data) so I hear the laserquote for the futuretech. Not working. Keal's moddingguide has a guide to mess around with the Unit art definition (which I didn't found at all) and it should work similar to the AudioDefine but it doesn't. I just can't belive, that such simple things can't be modded. So what the hell am I doing wrong?

P.S. Yes my english is a piece of c***. Sry for that.
 
What I want to do now is to get it in my mod so other people can enjoy the excellent English song instead of Alexander's too. Without having to ask them to start replacing their files. That's not proper modding.
Can't soundfiles included in the mod?

@RoberttheWise: Your english is pretty good actualy.
 
A lot is still restricted. It's not even possible to make static leaerheads without asking the end user to edit his .ini file. If all this doesn't change soon, it can only be considered disaster.

They want to sell DLC. That's why the ability to create leaderheads and editing music and sounds is limited. I bet. And if that's the case, and my creativity is restricted by someone else's wish for profit, I won't and can't mod this game. But we'll see if it changes soon enough.
 
Back
Top Bottom