Starbound

Starbound

JukeCrate (tm)
 此主題已被置頂,因此它可能很重要
Soblow  [開發人員] 2018 年 7 月 27 日 上午 1:34
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à.
最後修改者:Soblow; 2018 年 7 月 29 日 上午 10:14
< >
目前顯示第 1-5 則留言,共 5
Soblow  [開發人員] 2018 年 7 月 27 日 上午 1:37 
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
最後修改者:Soblow; 2018 年 7 月 29 日 上午 10:19
Soblow  [開發人員] 2018 年 7 月 29 日 上午 10:19 
Fixed the mod and uploaded a e archive
Unhipmountain32 2024 年 11 月 30 日 下午 1:39 
I used your example however it does not show up in game.
Hatty Cattington 7 月 30 日 上午 11:45 
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  [開發人員] 7 月 30 日 下午 1:49 
Thank you for the heads up, glad to know it still works!
< >
目前顯示第 1-5 則留言,共 5
每頁顯示: 1530 50