• 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.

Imperator Dev Diary 12/06/2019 - Modding Part 2: Music!

g4_rGypR-IIjTuqBUuUE-bpBJet4tV05FO5aAYhQCYzrVX9sWVRyJSmSqsMp99lXwKiVJAxC8exRWJwrb0idkAPCZubuMiiMyBB_01_JD3yW-a_HAUvtyRx214CEbMm-gjNbWQrA



Music Modding



Brief

Starting with version 1.3 Livy, Music Modding is now available on Imperator!

This is made possible thanks to a crucial under the hood improvement introduced by updating the Music System internally to a new version of our JominiMusicManager and also updating Fmod to version 2.x. Players won’t immediately notice any differences to the music playback, but there’s a bunch of cool stuff that this new Music System brings with it and we hope to make use of them more in the future.

The long story short is that one of our talented programmers (Will Jordan) has found a way to use the API from Fmod to playback mp3s, ogg, (or pretty much whatever audio filetype that FMOD supports) directly using just a filepath! For modders this means that if you want to add or replace music to the core game, it is as simple as adding a folder with the songs, adding a new txt file with music definitions and boom, all those tracks are now going to be available inside the game music player.


z8ZOQ4kwPqYt9Fd_pg_qDzLHl4VqHujoHnUXeQxSQvk2CA3QOq5G-_YRIdnCigW-f8ZLRIFCFxlQRN6TvJgVMqr4fnRDnS9FMd4znCFDRwva7jRGoaF_4BZKUUleoe2q3F1HVbKs



Try the Mod!
If you want to try it out yourself, a new mod has been uploaded to Steam today that adds all the soundtrack from
"Europa Universalis Rome" and changes the main track to be the one that shipped with the 2008 version. It should automatically extract itself on the “Documents > Paradox Interactive > Imperator > mod” folder, and from there you just need to enable it through the PDX launcher on Steam and then make sure the build is 1.3+ .

Also, with these new MusicManager comes new Debug Tools: Such as Music.PlayTrack nameOfTheTrack , Music.Pause, Music.Reset and Music.Weight which are all quite handy to test out specific songs, check spacing and pauses between them and so on. More info on that upon request ;)

PDX Launcher
Bs-pGv3ryosdnIlDBVot8gadosN_n9zg8tzkZlj_Vjx7_ht4PaHkqsbRlczV_cR6WH6ySRI-H4lGW4MDf0rk0VMI5xTRmBLvT0a-sEUVN5lmawSzWivU_KwK_9jZpgh1dfu1PRDU


Mod Contents

DoJ6ZyUJyCwjYz3i9ExWGCSJUKKRxBo0dFbVva0NvVU8tNyOi_xIb15u_s1GjtASdiseSTyrSLv5xQUGhnlvUTPIsnFptH6_CN-PRPup7y1GpWDazZw3D_lZNxB36CjEjQ1lp38R

ZtlEv4J8A9iShiSi7BMJLMAQu7GDEronevLTqrGh0W2dX1L8_l7Y-hoNR4ceITPbJUaxoPztPBRysrL8eiscaKTNXr78LTMYJCOGV17f_EYAgBvPGBYKJQumK8MFSONH4-htvTse


(These files will be added inside the game’s music folder, overwriting the main theme definition, and appending the extra songs)

Summary
When we started thinking about supporting Audio Modding for Imperator, we looked at what our community requested the most and prioritized our scope around that.

We learned then that the highest requested feature was to be able to add more music to the base game.

Also, we wanted to make it as simple as possible for anyone.

Adapting new tech and methods tends to create friction, and Fmod is an amazing tool that enables us to make our games sound even better, but from a modding perspective it definitely looks quite different to what our community has been accustomed to through all these years. Therefore, by providing a simple way that is as straightforward and familiar as it ever was, we hope Music Modding will be very well received and motivate any of you to create and share your own music mods.

So join us on a trip down memory lane and download this music mod that automatically adds an additional hour of music to the base game:

Europa Universalis: Rome Music Mod
Download Link
_________________________________________________________

Europa Universalis: Rome Soundtrack
Composed by: Andreas Waldetoft

  • Main Theme - Legions of Rome
  • Rome Goes to War
  • Riding to Battle
  • Auxiliaries
  • Rome is the Light
  • The Senate
  • Eagle Fly North
  • The Field
  • Vae Victis
  • To Victory
  • Citizens
  • Barbarians Approaching
  • Battle of Zama
  • Elysian Fields
  • Grief
  • All Trade Routes Lead to Rome
  • Rock and Rome
  • Imperator
  • Victorious - Rome Finale

Total runtime: 70 minutes
 
Finally figured it out. Make sure you have downloaded the free DLC. I did that and I finally got the full list of songs.
I have that downloaded already, it sadly doesn't make any difference for me. I also tried another music mod that popped up in the workshop and it's the same thing for that one. First song different then back to the original.
 
Hey guys! If you're having problems hearing the tracks from the EU Rome Soundtrack mod, can you please try playing the tracks from inside the game using the debug console and the command "Music.Playtrack track16" for instance? It should be one of the tracks that are added to the music playlist. The music folder should have a new file called eu_rome_music.txt where the new tracks are added. Please confirm that this is so :) Thanks!
 
Hey guys! If you're having problems hearing the tracks from the EU Rome Soundtrack mod, can you please try playing the tracks from inside the game using the debug console and the command "Music.Playtrack track16" for instance? It should be one of the tracks that are added to the music playlist. The music folder should have a new file called eu_rome_music.txt where the new tracks are added. Please confirm that this is so :) Thanks!
I tried changing tracks in debug mode to track16 and others and it worked well so the EU:Rome tracks are definitely there. They just never appear when I play. After about three hours of playtime yesterday the main theme was still the only one from the mod that appeared. The volume balance is also a bit off, main theme being significantly higher than the base game music.
This is not a big deal in the grand scheme of things, I still very much enjoy IR :) thank you for your time!
 
I tried changing tracks in debug mode to track16 and others and it worked well so the EU:Rome tracks are definitely there. They just never appear when I play. After about three hours of playtime yesterday the main theme was still the only one from the mod that appeared. The volume balance is also a bit off, main theme being significantly higher than the base game music.
This is not a big deal in the grand scheme of things, I still very much enjoy IR :) thank you for your time!

Thought it was working and getting the same issue. Really frustrated!
 
Hey guys! It's been a while since I checked on you here.

If you're still having problems with the music not playing on its own among the other tracks, make sure you get the latest update on the mod. I updated it at the beginning of March, and this should have fixed the issue.

Download link: https://steamcommunity.com/sharedfiles/filedetails/?id=1929682011&searchtext=EU+Rome

Update: 3 Mar @ 12:37pm
**Fixed** In/Game Music should now include the tracks from the EU Rome Mod in its playlist randomizer when the mod is enabled.


Regarding the volume difference, this is something that I cannot really fix. The volume they play is the volume the original files have, and are not mixed for Imperator but EU:Rome.
I hope this is not too frustrating.

Cheers!
 
Hey guys! It's been a while since I checked on you here.

If you're still having problems with the music not playing on its own among the other tracks, make sure you get the latest update on the mod. I updated it at the beginning of March, and this should have fixed the issue.

Thanks! adding "mood = yes" fixed everything!