[deleted user] Staff Note: This tutorial is outdated and it is strongly recommended you no longer use this method to modify music.
It is recommended that you use Lucas' RadMusic Script Builder instead. You can
Staff Note: This tutorial is outdated and it is strongly recommended you no longer use this method to modify music.
It is recommended that you use Lucas' RadMusic Script Builder instead. You can find full documentation on that tool
here as well as a more recent community made tutorial
here.
`In this tutorial, I will show you how to get the hex value of custom rsd files and put them into the level's rms file you intend to change.
Step One
Firstly, you must have a 24000 hz stereo wav file. This is tricky to get, and requires
both putting it into audacity, changing the
Default Sample Rate to 24000 hz.,
and resampling the track to 24000 hz.

Simply replace 41000 with 24000
YOU MUST DO THIS EVERY TIME, EVEN IF THE DEFAULT RATE IS ALREADY 24000 hz, YOU MUST RECONFIRM EVERY TIME
Step Two
Now we must export the wav file and find it's
Size not
Size On Disk (Silly me!) once inputted into a rsd file.
Also put the file in
YourMod/CustomFiles/sound/music/example.rsd
Now you have to find the hex value of the file.
Note: The Windows 10 Calculator seems to give me incorrect results, use an alternative if you can
This is done by changing the calculator mode to
Programmer 
imgur.com/vrnCJ7F.png " alt=""/>
Now we will end up with this:

imgur.com/tgidwir.png " alt=""/>
and reverse the order of the entire set of numbers e.x. (3T 03 E4 00 turns into 00 4E 30 T3)
Now we are going to input the hex value we have calculated into the rms file for whatever level you want to replace. Extract the rms file by opening
in the game's directory. Find
inside and extract it. Now use
to find the hex value for a song you intend to replace. Now open this up in a hex editor such as HxD. Use the search function and select
before you search. Also, be sure to select
before you search. Now replace the value you searched with the value we found earlier for your rsd file.
This can be fixed by undoing your change.
Having a revisions .txt file is recommended.