Space Engineers

Space Engineers

View Stats:
This topic has been locked
Azrtheal Jun 29, 2023 @ 5:00am
Adding custom music into your Jukebox
I've successfully managed to figure out how to add Custom Music to Space Engineers for all you Jukebox lovers out there! Let us start with a simple song: Queen's Bohemian Rhapsody. My file's name will be "Queen-Bohemian_Rhapsody.xwm"

*Note* I have tested this with inviting fellow builders into my world, but they did not hear the music I play since they don't have the files on their client-side. I have not tested this on dedicated, but it's unlikely that it'll work.

-------------------------------------------------------------

Things you'll need:

*Knowledge of where your Space Engineers install folder is

*Knowledge of editing files using Notepad or Notepad++

*Ability to find an online source or program to convert your audio format to WAV format if it's not already such

*Arecaidianfox's XWM - WAV Conversion program (found here: https://www.nexusmods.com/skyrim/mods/32075/ )


--------------------------------------------------------------------------

We start with converting our desired music into a format that's recognized by Space Engineers. The .xwm format is the audio format in which SE's Jukebox plays its music from. My suggestion would be to convert your music file into WAV format first, then using the XWM-WAV Conversion program we convert it to .xwm extension.

--------------------------------------------------------------------------

2. Next, we locate our Music folder in SE. The following location being:

{Steam app install folder}\steamapps\common\SpaceEngineers\Content\Audio\MUS

Here we will add a New Folder into here, renaming it to MusCus, and then fill with your newly converted .xwm files. Open this folder to view your .xwm files.

--------------------------------------------------------------------------

3. It'll be easier to keep this folder open and opening up a new window to locate the next folder:

{Steam app install folder}\steamapps\common\SpaceEngineers\Content\Data

--------------------------------------------------------------------------

4. Open the SoundCategories.sbc with Notepad or Notepad++, whichever you prefer.

Here you will see all the music files that are default to the music in Space Engineers.

--------------------------------------------------------------------------

5. I wouldn't recommend deleting any of these entries, so let's scroll down the list to the last entry:

<SoundDesc Id="MusFun" SoundName="SoundBlock\_SoundName\_MusFun" />

--------------------------------------------------------------------------

6. Here we'll add a new line underneath MusFun, and before </Sounds>:

<SoundDesc Id="MusCus" SoundName="Queen-Bohemian" />


This will create an entry in the JukeBox for the song to be selected.

Save the file.

--------------------------------------------------------------------------

7. Next, we return to the \SpaceEngineers\Content\Data folder that we'd opened before, and locate the file "Audio_music.sbc". Open this file in Notepad or Notepad++.

--------------------------------------------------------------------------

8. Here we're going to press "CTRL+F" to search for a specific term: "MusFun". This will bring us to the first entry where we have the 'Special category'.

--------------------------------------------------------------------------

9. Now, we're going to add a file direction so that the JukeBox entry is able to pull the music file and play it. Copy the entire entry:

<Sound>

<Id>

<TypeId>MyObjectBuilder_AudioDefinition</TypeId>

<SubtypeId>MusFun</SubtypeId>

</Id>

<Category>Music</Category>

<MaxDistance>2000</MaxDistance>

<Volume>0.5</Volume>

<Waves>

<Wave Type="D2">

<Start>MUS\MusFun\Spazzmatica_Polka.xwm</Start>

</Wave>

</Waves>

<TransitionCategory>NoRandom</TransitionCategory>

<MusicCategory>MusFun</MusicCategory>

<StreamSound>true</StreamSound>

</Sound>


Just after </Sound>, press Enter twice to create space for a new entry, and paste the copied text. you should now have two exact entries between Special & Racing.

--------------------------------------------------------------------------

10. There are only a few lines that have to be edited in this new entry we created:

**<SubtypeId>MusFun</SubtypeID>** -- will be changed to **<SubtypeId>MusCus</SubtypeID>**

**<Start>MUS\MusFun\Spazzmatica_Polka.xwm</Start>** -- will be changed to **<Start>MUS\MusCus\Queen-Bohemian_Rhapsody.xwm</Start>**

**<MusicCategory>MusFun</MusicCategory>** -- will be changed to **<MusicCategory>MusCus</MusicCategory>**

This indicates that the file is being pulled from the MUS\MusCus\ folder, and the MusCus category is being pulled from the SoundCategories.sbc file we edited prior. The SubtypeID MusCus is the name used in the previous file "<SoundDesc Id="MusCus"

Save the file.

--------------------------------------------------------------------------

Test your JukeBox in SE. Your new entry should show up at the bottom underneath the Fun entry. I stumbled across this after I didn't find any information regarding how to add custom music to the Juke, so I went hunting for the files myself. Safe travels, fellow Engineers!!
< >
Showing 1-5 of 5 comments
Dan2D3D  [developer] Jun 29, 2023 @ 6:59am 
Hi, I recommend to also create a SE Guide and share the link here.

All can create SE Guides from the "Guides" link on top of the forum,

click the "Create your own" button, here :

https://steamcommunity.com/app/244850/guides/
EvilXlivE Jan 19, 2024 @ 5:04pm 
Sounds like a self promotion....
Great guide. @Dan2D3D
Last edited by EvilXlivE; Jan 19, 2024 @ 5:04pm
REALRACE Jan 20, 2024 @ 12:08pm 
Originally posted by EvilXlivE:
Sounds like a self promotion....
is this a problem? how can you show your work if not posting about it?
Dan2D3D  [developer] Jan 20, 2024 @ 12:26pm 
Note

Keep in mind +3 months old discussions can get locked by Steam Moderators and me to avoid community reports about necroing old + ,,,
and it is in the forum rules added to pinned important messages.

+
Why I recommended to create a Guide in the "Guides link" on top of the forum because those will not be locked.




___________

EDIT

We lock +3 months old discussions because the game is not the same after a update where old disscussions may contain false information, discussions that don't have any activity so no new posts since 3 months. also to avoid community reports about "Necroing old" and it is in the forum rules added to pinned green messages.

Never be shy to create a new forum discussion if you want players help, one problem at a time so all players can help on one idea/problem per discussions that matches the game version.
Last edited by Dan2D3D; Jan 20, 2024 @ 12:33pm
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jun 29, 2023 @ 5:00am
Posts: 5