Starbound

Starbound

140 ratings
Everything about songs for your musical instruments
By Max le Fou
Everything you need to know about songs for your musical instruments: How to make them, put them in game or the workshop, everything!
2
   
Award
Favorite
Favorited
Unfavorite
What songs are you talking about?
In Starbound, when you loot for chests and crates, you might find sometimes musical instruments. There's a big load of them in the game. If you try to equip one and left click, a menu will drop, showing the song to play. Once you choose one and clicked play, you can enjoy your character playing the selected song using the instrument... You can even play with other friends!

The game brings around 30 and more songs already, usually stuff from public domain. But you can actually add your own songs! This guide will tell you everything you need to know (or not) about how to play your own songs in Starbound!

(And by advance, sorry for my terrible english, it's not my main language)
The ABC format
Unlike what some people can think, Starbound doesn't use MIDI files. (.mid) The game uses another specific format, very close to MIDI: the ABC format (.abc)

This format has been created originally for the game "Lord Of The Rings Online". It's a simple text file with data that looks like this:

X:1 T:12days (made by ratissia of snowbourn)(3:42) Z:Transcribed by LotRO MIDI Player:http://lotro.acasylum.com/midi % Original file:000000000003.mid % Transpose:-2 L:1/4 Q:120 K:C z3 ^A/2 ^A/2 [^AG^D] [^d/2=D] ^d/2 [^dC] [] ^d/2 [^G,c/2f/2] g/2 [^A,^g/2=d/2] f/2 [^D=g3/2^d3/2] ^D/2 [F/2^g/2] [^d^aG] [c'/2^G] ^g/2 [] ^d/2 [f^G^A,] [^D=G5/2^d5/2] ^A, ^D, ^A/2 ^A/2 [^A/2G2^A,2^D,4] ^d/2 ^d/2 ^d/2 [^d^G2C2] =d/2 ^d/2 [^D,4=D2^A2f/2] g/2 ^g/2 f/2 [^D2^A2=g2] [^a^A4=D2] f/2 g/2 [^g^D] [] [^g/2F/2] [] [^Gc'/2^d/2] ^g/2 [^A=g/2] ^d/2 [^A,f^G] [^D=G3^d3] ^A, ^D, ^A/2 ^A/2 [^A^D,/2] ^A,/2 [^d/2G] ^d/2 [^d^D,/2] ^A,/2 [] ^d/2 [f/2^D,/2] [g/2^A,/2] [^g/2F] f/2 [] ^A,/2 ^A [^a^D,/2] ^A,/2 [f/2^G/2] [^A/2g/2] [^gc] [^a^D,/2] ^A,/2 [f/2^G/2] [] [^gF] [^A/2=g/2] [^g/2^G/2] []
Note: The code here is the first lines of the file "12 days of Christmas.abc" available in Starbound.

It's not really readable by humans but there's softwares for making abc files. (plus, Starbound seems to use a slightly modified version of the abc system.) We'll see about that in another chapter.

You can note some readable stuff at the beginning.
  • T: is the title of the song. (For some reason, it seems Starbound doesn't use that and rather use the file name instead.)
  • Z: is a short description of the song.
  • Q: is the tempo of the song.
  • K: the key used by the song
  • % Comment line

Note the % Original file line. It indicates that this song was converted from a midi file. This is the best and easiest way to make abc songs. We'll see more about that in another chapter.

Create a song
Tools
You will need tools to make your life easier into song making. Actually you need:

WARNING: You will also need to prepare Starbound Composer because the instrument preview doesn't work anymore with the 1.x versions of Starbound. Here's another guide that tells how to arrange this. This step is not necessary anymore with Starbound Composer version 0.8.7 or higher. Yay :D

Create or find MIDI files
If your song is something enough famous, there's likely a chance that there's a MIDI file of it. Use Google to find the MIDI files of the musics you want (pro tip: For the videogame songs, http://vgmusic.com is the best ressource ever) If you can't find it, create it yourself with the sequencer. I can't help here, find a tutorial about your sequencer to know how to do so.

ABC conversion
Open Starbound Composer to display this window. You will only need the highlighted buttons:
  • Red circle is for opening MIDI files.
  • Yellow circle is for mixing tracks.
  • Green circle is Play Pause and Stop buttons.
  • Black circle is instrument choice.
  • Blue circle is to apply the selected instrument into all the tracks.

Open your midi file and Starbound Composer should look like this:

MIDI format has multiple tracks for each instrument. But ABC format only has one. So we must arrange the song so the essential (melodies and bass) is on one track.

First, you can remove the percussions track. Then, click on play and check (using the speaker icon in the tracks to mute/unmute them) which tracks are good to keep and which are not. When you're decided, delete the tracks you don't want.

Once you have a satisfying result, select the tracks you want to keep by clicking the box at the left between the ↑ and ↓. Once they're selected, click the mixing tracks button (the yellow circle in the first pic). This will create a new track with all the tracks mixed together. This is what we need.

Click on the yellow icon on this new track. you will see a text file appear, like this:

We're almost there. now for the final touches.
  • Change the line T: to put your title (Don't put any strange characters in there or Starbound will crash hard when you will play!!)
  • Sometimes, the song can come lately after clicking play because of a silent moment. (some poorly designed MIDI files are like this) To remove this, remove the z# (in this sample, z3). at the beginning of the song code.
  • Finally, save your abc file. (Don't put any strange characters in the file name or Starbound will crash hard when you will play!!)

Test your song in-game
The songs of Starbound are located by default at this place:
C:\Program Files (x86)\Steam\steamapps\common\Starbound\assets\user\songs
(replace "C:\Program Files (x86)\Steam\" by whatever you placed your steamapps files if it's not in program files)

Simply put the abc files in this location. Then, start the game and use your instrument to see your song in the list.
Songs in multiplayer
You probably noticed you can play songs with your friends. You can even go further by organizing a sort of orchestra for a song where each player plays a part of the song ! But, although it's possible, playing a song made for single players (like we did earlier) with multiple players might not render as smooth as you expected.

It's because you simply need a song for each track of your song. For example, for a song with originally 4 tracks in the midi file, you'll have to make 4 songs, one for each track. It's as simple as that.
Upload your songs to the Workshop
Right. You have a bunch of .abc files and you want to share with them to your friends or even the world in an easy way. Here's how to.

Prepare your workshop submission
Make a new folder. in it, put your abc files. rename all your abc files so it has 6 - at the beginning of the name. Example: ------Aqua - Barbie Girl.abc

Note that it is possible to make subfolders in your folder and put your abc files in them. It's useful if you make a huge pack and if you want to sort them by genre or stuff. So, the songs will appear like this in the list:
movies/stuff
movies/anotherstuff
tv/athirdstuff
whatever

and in this case, you need to put those ------ in front of the folders' names and NOT in front of the files. So it should appear like this in your file explorer:
------movies/stuff.abc ------movies/anotherstuff.abc ------tv/athirdstuff.abc ------whatever.abc

Ok but why those ------ ?
This is very important! Because of Starbound's random stupidity in the code, the 6 first characters of the name of the song or the folder are truncated in the song list in game! So, to prevent this, we must put 6 random characters. (and ------ makes it easily readable for us) Why does it happen ? I don't know. I just hope this will be corrected some day... It only happens with songs submitted in the workshop, though.


So anyway, to resume it
  • If you just want your songs to display simply like the ones given already, put them in the folder and add ------ at the beginning of their file name.
  • You can optionally make categories for your songs, using subfolders. For the files in those subfolders, no ------ needed. But the subfolders' names will need them.
  • Do NOT make an assets folder for your abc files! (or for any other kind of mod! I'm DEAD SERIOUS!)

The Mod Uploader
Click on play and choose "Launch Mod Uploader" The following window will appear:

Note: "Name" is the name of the mod in the mods list in-game. "Title" is the name of the mod in the Steam workshop. In the usual cases, you'll probably put the same name for both. But don't put a too long name at least for "Name".)

Click on Select Mod directory and choose the folder you created for your mod. Then, fill the fields with the informations you want. Don't forget to put a pic and all.

Once you're done, click "Upload to Steam". This will create two additional files: "_metadata" and "_previewimage". Metadata contains the infos of the mod and its files, and previewimage is the preview pic (it means you can safely delete the pic you used for your submission now since it's saved as _previewimage.)

Now that it's uploaded, go to your workshop files to subscribe, make it public (or for friends only) and all. ^^

Oh, and if you had your abc files in your assets/user/songs too, don't forget to remove them or you'll have your songs twice!
FAQ / Troubleshooting
I have a server. Do all the players need to subscribe to my song mod?
It depends. The songs are streamed. So, potentially, someone who doesn't have your song in their mods can still hear it, but they still won't have it on their song list. If you want to make a music band and play multitrack songs with your friends, all of the song players will need the same song mod.

In Starbound Composer, I see (none) in the instruments list and there's no sound!
Your version of Starbound Composer is outdated. Use the version 0.8.7 or higher. You can find it on their official website.

Where do I put the .abc song files so I can try them locally on Starbound?
In the folder assets\user\songs of your Starbound installation. In most of the cases, it's at the following:
C:\Program Files (x86)\Steam\steamapps\common\Starbound\assets\user\songs

The songs I uploaded to the workshop have their names truncated. What's wrong?
It's because Starbound is stupid and automatically truncates the first 6 characters of a file/folder in the mod's root folder. To fix this, just add ------ in front of the files'/folders' name to avoid glitches (only in the root folder! no need to do this for the files in the subfolders!).

My song makes the game crash!
You probably made your abc file with something else than Starbound Composer (or you found an abc file meant for LOTR Online or anything. Use only Starbound Composer for your abc files. This is the best one guarantee for Starbound. :p
30 Comments
Numi 5 Jul, 2021 @ 11:59pm 
though, there might be some tempo and sustain issues
Numi 5 Jul, 2021 @ 9:04pm 
for those who wants to convert abc to midis, i think i found the program to do it
it's right in this link: https://www.nilsliberg.se/ksp/easyabc/
Max le Fou  [author] 9 Jun, 2021 @ 7:42am 
"im using the MAC OS version though"

Dude.
Mac os is NOT windows.
So your starbound installation MUST be somewhere else than mentionned.
I don't know where tho, since i don't have mac os. But if you find it, can you share it to me so i can add it to the guide?
thanks and good luck :)
Pepper 8 Jun, 2021 @ 11:05am 
yeah just checked, it is 0,8,7 on the website
Pepper 8 Jun, 2021 @ 11:04am 
I just downloaded it off of the link you provided in the post, i couldnt find anywhere that said what version you could choose to download, so i assumed it was the latest version. im using the MAC OS version though, so there may be some differences in how it works
Max le Fou  [author] 8 Jun, 2021 @ 9:30am 
I have starbound installed to the same spot and SBC found it with no problems. Are you using the latest version? (0.8.7)
Pepper 7 Jun, 2021 @ 6:31am 
When i try to open starbound composer, it asks me to confirm where starbound is located on my computer, but when i try to open it, it just says "no starbound installation was located at the directory", i assumed it was talking about the folder in steamapps/common/starbound, but that wouldnt work, is that the wrong one? if so, where would the file be?
Max le Fou  [author] 18 Jan, 2021 @ 12:54am 
@Syphist Mike is looking for the contrary: converting ABC to MIDI. Starbound Composer only does MIDI to ABC
Syphist 17 Jan, 2021 @ 3:32pm 
@Mike A tool does exist. It is Starbound Composer. You can find it here: http://www.starboundcomposer.com
MikeFoxy 17 Jan, 2021 @ 10:17am 
Thanks for getting back to me, even if without good news.