Starbound

Starbound

JukeCrate (tm)
 This topic has been pinned, so it's probably important
Soblow  [developer] 27 Jul, 2018 @ 1:34am
HOW TO : ADD YOUR OWN MUSICS
When talking about a directory, the "/" symbol represents the root of your mod. So for example, for me, it is "C:\Program Files (x86)\Steam\steamapps\common\Starbound\mods\musicMod\"

First of all, create a new folder in your mods/ folder, and call it "musicMod"

Then, follow the instructions from the "HOW TO : COMPATIBILITY OF YOUR MOD" topic.

Once it's done, you should have a file called "/datafiles/jukecrate/DIRECTORY.json"

Now, add your musics to the "/music" repertory
WARNING : Your musics must be in .ogg format. Look on the internet about how to convert your musics to the .ogg format

And add a block as explained in the "HOW TO : COMPATIBILITY OF YOUR MOD" topic for each of your musics.

Finally, go to the root of your mod, and add a _metadata file
WARNING : It must be _metadata, and not _metadata.txt . By default, Windows hides the extension of your files, so when you create a file, it automatically adds the extension at the end ! Check on the internet about how to disable this

In the _metadata file, add this code block :
{ "author" : "DoctorTee6", "description" : "My own music mod", "friendlyName" : "Music Mod", "link" : "", "name" : "musicMod", "steamContentId" : "", "tags" : "", "version" : "1.0" }
You can change anything except the steamContentId, the link, and the requires array.

Et voilà.
Last edited by Soblow; 29 Jul, 2018 @ 10:14am
< >
Showing 1-5 of 5 comments
Soblow  [developer] 27 Jul, 2018 @ 1:37am 
Here is an example. I only added one song in it, but you can add as many songs as you want.

https://www.dropbox.com/s/lukc0dnaf6duxmo/musicMod.zip?dl=0

Music included : https://www.youtube.com/watch?v=CqP-9RSlHo8
Last edited by Soblow; 29 Jul, 2018 @ 10:19am
Soblow  [developer] 29 Jul, 2018 @ 10:19am 
Fixed the mod and uploaded a e archive
Unhipmountain32 30 Nov, 2024 @ 1:39pm 
I used your example however it does not show up in game.
Mod still works, including in OpenStarbound, but (i think) _metadata format changed since author made this post and should look something like:

{ "name" : "musicMod", "version" : "1.0.0", "description" : "My own music mod", "friendlyName" : "Music Mod", "priority" : 20, "link" : "", "steamContentId" : "", "author" : "Hatty" }

Im not sure about "priority" but 20 works for me.

also make sure that index file mentioned in that other thread is specifically index.json.patch

At least that what i had to do for custom music to appear.
Soblow  [developer] 30 Jul @ 1:49pm 
Thank you for the heads up, glad to know it still works!
< >
Showing 1-5 of 5 comments
Per page: 1530 50