How to keep original music alongside Guns, Drums & Steel DLC

  • We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

RobJ

Recruit
47 Badges
Nov 6, 2014
1
0
  • Europa Universalis IV
  • Europa Universalis IV: Conquest of Paradise
  • Europa Universalis IV: Wealth of Nations
  • Europa Universalis IV: Res Publica
  • Victoria: Revolutions
  • Victoria 2: A House Divided
  • Victoria 2: Heart of Darkness
  • Pillars of Eternity
  • Europa Universalis IV: Rule Britannia
  • Europa Universalis IV: Mandate of Heaven
  • Stellaris: Apocalypse
  • Europa Universalis IV: Cradle of Civilization
  • Age of Wonders III
  • Tyranny - Bastards Wound
  • Tyranny - Tales from the Tiers
  • Stellaris: Synthetic Dawn
  • Europa Universalis IV: Third Rome
  • Tyranny: Archon Edition
  • Stellaris: Distant Stars
  • Europa Universalis IV: Dharma
  • Shadowrun Returns
  • Shadowrun: Dragonfall
  • Stellaris: Megacorp
  • Europa Universalis IV: Golden Century
  • Prison Architect
  • Stellaris: Ancient Relics
  • Stellaris: Federations
  • Europa Universalis 4: Emperor
  • Europa Universalis IV: Mare Nostrum
  • Crusader Kings II
  • Europa Universalis IV: Art of War
  • Victoria 2
  • Cities: Skylines
  • Europa Universalis IV: El Dorado
  • Mount & Blade: Warband
  • Magicka 2
  • Europa Universalis IV: Common Sense
  • Europa Universalis IV: Cossacks
  • Stellaris - Path to Destruction bundle
  • Stellaris
  • Hearts of Iron IV: Cadet
  • Europa Universalis IV: Rights of Man
  • Tyranny: Archon Edition
  • Cities in Motion 2
  • Tyranny: Gold Edition
  • Stellaris: Digital Anniversary Edition
  • Stellaris: Leviathans Story Pack
I noticed a number of people saying that they like the music in the new Guns, Drums & Steel DLC, but not the way it totally replaces the original EU4 songs. Apologies if it's already been posted somewhere, but I had a look and figured out a way to keep the original songs in the playlist alongside this DLC:

1. Navigate to "SteamApps\common\Europa Universalis IV\music" and make copies of the following files in the same directory:
a) battleoflepanto.ogg
b) kingscourt.ogg
c) rideforthvictoriously.ogg
d) thestageisset.ogg​


Each copied file should have a different name. In my case I prefixed all files with an underscore; the copy of "battleoflepanto.ogg" is named "_battleoflepanto.ogg".

2. Open the "songs.txt" file in the same directory and locate the block relating to each song. Make a copy of that block in the file, and change the filename in the second block to the name of the copied file. For the example file above, the file now reads:

Code:
song = {
	name = "battleoflepanto.ogg"
	
	chance = {
		modifier = {
			factor = 1.25
			is_at_war = yes
		}		
	}
}

song = {
	name = "_battleoflepanto.ogg"
	
	chance = {
		modifier = {
			factor = 1.25
			is_at_war = yes
		}		
	}
}

Or if you don't want to mess around with that, you can use the version of the file that I've attached to this message.

3. Run EU4. You should find that the original songs are back in the playlist, alongside the GD&S songs, and each version of the song will play with equal probability. Use the "nextsong" console command to cycle through them and make sure it's working. You can also make the original songs play more frequently by adjusting the "factor" values in "songs.txt" for each file.

This fix works because the DLC overwrites the original music files on launch, but it doesn't do anything to the copied files that you included as new entries in songs.txt. Note that it doesn't change the main menu music, since that is hardcoded to reference only one file. You may be able to replace that file within the DLC archive ("SteamApps\common\Europa Universalis IV\dlc\dlc031.zip" I believe) but I haven't tried that.

p.s. I've been playing EU4 for a while now but only just got around to joining the forums. Hi!
 

Attachments

  • songs.txt
    3,5 KB · Views: 135