Stellaris

Stellaris

Modify the Galaxy
Modify your Stellaris experience by checking out the many mods created and shared by the community, including tweaks to almost any aspect of the game.
Learn More
Music Mod tutorial
I haven't seen a good tutorial on how to make a music changing mod. Can somebody explain what I am to do exactly if I want to add custom music to this game? I have about 20 .ogg files right now but I'm not quite sure where to put them. Thanks!
< >
Showing 1-8 of 8 comments
KaiserKatze 7 8 Jun, 2016 @ 7:03am 
Related Files
Stellaris\music\songs.asset
Stellaris\music\songs.txt

Structure (songs.asset)
music = { name = $string file = $string:filename volume = $float }

Structure (songs.txt)
song = { name = $string }

Variables
Variable Name
Variable Type
Description
name
string
Music name
file
string
Music file name (OGG file, located in Stellaris\music)
volume
float

Warning
  • There must be the same amount of music structures in both file songs.asset and file songs.txt files.
  • Each music structure in songs.asset must have a corresponding music structure that has exactly the same name in file songs.txt.
Last edited by KaiserKatze; 8 Jun, 2016 @ 8:00pm
Hmmm, I've done everything I could do but my songs still do not appear ingame. I added the .txt and .asset files correctly, and I also reformatted all the .mp3 files into .oggs, so I'm not sure what to do next. When I open the console and manually select a new song (tweakergui next.song I believe) it also doesn't work. Maybe the .ogg files didn't convert correctly?
KaiserKatze 7 8 Jun, 2016 @ 8:01pm 
Originally posted by -DoCa- BaasB:
Hmmm, I've done everything I could do but my songs still do not appear ingame. I added the .txt and .asset files correctly, and I also reformatted all the .mp3 files into .oggs, so I'm not sure what to do next. When I open the console and manually select a new song (tweakergui next.song I believe) it also doesn't work. Maybe the .ogg files didn't convert correctly?

are you sure you make everything correctly?
i just updated my answer (#1), you might want to take a look
Last edited by KaiserKatze; 8 Jun, 2016 @ 8:01pm
KaiserKatze 7 8 Jun, 2016 @ 8:07pm 
an example,

if you don't want to remove the original soundtrack of Stellaris,
create files baasb_songs.asset and baasb_songs.txt
say you have an OGG file named baasb_song_01.ogg

In the baasb_songs.asset, add the following code:
music = { name = "baasb_song_01" file = "baasb_song_01.ogg" volume = 0.70 # this controls volume, 0 < volume < 1 }

In the baasb_songs.txt, add the following code:
song = { name = "baasb_song_01" }
Ok, so I have done everything you just listed, and it still crashes when going to the next song (after the main theme). My mod folder looks like this now: I have a .mod file in users/documents/paradox/stellaris/mod called musicmod, and I also have a folder there with the same name. Inside this folder is a descriptor.mod (containing the same information as in the musicmod.mod file) and another folder called music. Inside this are my songs and the .txt and .asset files. I named all of them like this: musicmod_song_1, musicmod_song_2 etc. My .txt and .asset are both called musicmod_songs. I have looked over the files multiple times, ensuring there were no typos, but I still can't get it to work.
henk 15 Aug, 2017 @ 12:56am 
I'd love if someone can write a guide for this that's a bit easier to understand.
Hans_Yolo 18 Aug, 2017 @ 10:48pm 
I don't even know how to convert a .txt file into an .asset file, I'm literally too stupid for this.
emperor_kk 16 19 Aug, 2017 @ 7:49pm 
hmmm, i just tried it out, it works just fine. Now I have Stellaris with Beastie Boys music ... I know its kind of unsettling...

@Hans_Yolo just rename myfile.txt to myfile.asset and u r done.
< >
Showing 1-8 of 8 comments
Per page: 1530 50

Date Posted: 8 Jun, 2016 @ 5:52am
Posts: 8