Workers & Resources: Soviet Republic

Workers & Resources: Soviet Republic

Not enough ratings
How to modify in-game music and make your own OST
By terectec
Learn how you can modify the game to change the OST, make your own and put over 8 hours of aditional songs into W&R!
   
Award
Favorite
Favorited
Unfavorite
Basic procedure
In the steam workshop, you may find some mods that change the in-game music to different themes. I myself have made two of these mods, for the DDR and the US, with different songs and more time of music than the base game. How is it done? It is surprisingly simple once you understand the process.

First, the basics - Where does the game store its music?
You can find the music folder for the game under *your_steam_folder*\steamapps\common\SovietRepublic\media_soviet\Music
There you will find 33 files, all named “trackXX.xwma”. Modifying the in-game music is as simple as overwriting these files with a file of the same name. The only difficulty arises from the file extension “xwma”, and the game will not recognise mp3.

xWMA is an audio extension made specifically for games, and we can convert any mp3 file to xWMA using a program called “MultiXwm”, which was initially made for modding bethesda games, but works just as well for W&R. You can download it here: https://www.nexusmods.com/fallout4/mods/3663. After extracting the program, open it and select the audio files you want to convert by clicking “add files” and selecting “Audio to Xwm” conversion type. Once it is done, you can go to the output folder to select the converted files.


Important note - MultiXwm will convert the file to the .xwm format, which the game also refuses to recognize. To fix this you can simply rename the extension to .xwma, which works perfectly.



After doing this, you should rename it to one of the tracks 1-30. Keep in mind that the “track01.xwma” file will always be the main-menu theme and will not play in-game. Furthermore, if you want to remove the original-game ost and only have the music you modded into the game, you’ll have to replace all the other files left with blank .xwma files. For example, if you made 10 tracks and only want them in–game, you’ll have to replace all the other 23 files, from track11.xwma to track33.xwma, with a blank .xwma file. This will make sure the game only plays your modded songs. A blank .xwma is any silent audio file, preferably 2 seconds in length, with the xwma extension. For example:


Now you’re done - open the game and you’ll see that your modded songs have now been included.


Extra - How to make longer OST replacements
So, now that you know the basic process of replacing music, you may want to put more songs into the game. However, you’ll find that the game will not recognize any track file above 33, so in theory you can only have 32 songs, including one main-menu track. The work-around to this is also simple - make each trackfile a little mix-tape with more than one song.

To do this I like to use Audacity but you can use whatever you prefer. Just combine multiple songs into a single mp3 file and do the procedure I outlined above for converting the mp3 to xwma again. There is a limit of around 17mins of audio per xwma file, probably related to the size of the file. Even still, you can easily fit 4 or 5 songs in a little over 15 minutes. If you do this for the 32 audio files, you can put a little over 8 hours of music in the game!

Here is an example of this in Audacity: