Hey everybody! First of all, I hope this is the right place to post this
I made a small python script that let's you change the music that plays in the game. You can even put your own music on the respective folders that you want, and select it (because no matter how beautiful the music is, after a few hundred hours we'll all get tired of listening to the same music )
It isn't pretty (much due to the limited UI capabilities of Python), but it does the job (I hope).
You'll need Python 2.7.5 to use this script.
The "lite" version doesn't have a GUI, so it adds all the music it finds on each region folder, and you can't deselect the default music. This is for those that only wish to add music to the game.
This script goes very well with this mod: http://steamcommunity.com/sharedfiles/filedetails/?id=173203949
Known issues:
-The first time you run the script the musics "Fantasias A 3 No.6.ogg" and "BrightColours.ogg" will appear deselected because they appear as "Fantasias_A_3_No.6.ogg" and "BrightColors.ogg" in the .xml (seriously, Firaxis? ). You'll have to select them yourself.
-This changes won't have effect with Polynesia because their Audio2DScripts.xml is nowhere to be found. If you do know where it is, please let me know.
-If when you run the script for the first time, it doesn't find Civ in one of the default folders, a window will appear for you to select the correct path, along with an empty window. I don't know why that is, but you can safely close the empty window.
Finally, make sure that you converted your music to .ogg or your game will crash when trying to load it!
Also, after installing Python, go to the folder where you installed it, and select "Run this program as an administrator" for both "python.exe" and "pythonw.exe", otherwise your OS won't give the script permission to write the files.
I haven't gone thoroughly trough every civ .xml, but from the ones I saw, there were no problems. Let me know if you find any problem, though.
I made a small python script that let's you change the music that plays in the game. You can even put your own music on the respective folders that you want, and select it (because no matter how beautiful the music is, after a few hundred hours we'll all get tired of listening to the same music )
It isn't pretty (much due to the limited UI capabilities of Python), but it does the job (I hope).
You'll need Python 2.7.5 to use this script.
The "lite" version doesn't have a GUI, so it adds all the music it finds on each region folder, and you can't deselect the default music. This is for those that only wish to add music to the game.
This script goes very well with this mod: http://steamcommunity.com/sharedfiles/filedetails/?id=173203949
Known issues:
-The first time you run the script the musics "Fantasias A 3 No.6.ogg" and "BrightColours.ogg" will appear deselected because they appear as "Fantasias_A_3_No.6.ogg" and "BrightColors.ogg" in the .xml (seriously, Firaxis? ). You'll have to select them yourself.
-This changes won't have effect with Polynesia because their Audio2DScripts.xml is nowhere to be found. If you do know where it is, please let me know.
-If when you run the script for the first time, it doesn't find Civ in one of the default folders, a window will appear for you to select the correct path, along with an empty window. I don't know why that is, but you can safely close the empty window.
Finally, make sure that you converted your music to .ogg or your game will crash when trying to load it!
Also, after installing Python, go to the folder where you installed it, and select "Run this program as an administrator" for both "python.exe" and "pythonw.exe", otherwise your OS won't give the script permission to write the files.
I haven't gone thoroughly trough every civ .xml, but from the ones I saw, there were no problems. Let me know if you find any problem, though.