As I mentioned on previous occasions, I don’t take too kindly to people trying to make me pay once for a game and again for its soundtrack and, as a matter of principle, I rip my soundtracks straight from the data files I paid for rather than pirating the officially separated versions.
This time, it’s Desktop Dungeons. Unfortunately, this is a relatively recent Unity Engine game, so the only tool I’ve found which will extract the audio is Unity Assets Explorer.
Thankfully, it’ll run just fine inside Wine, so I wrote a script similar to what I did for Cave Story+.
So, here are the Linux instructions for extracting your Desktop Dungeons soundtrack from the game you bought:
- Download Unity Assets Explorer 1.2 or newer
- Use it to open
DesktopDungeons_Data/resources.assets
- Extract all of the
.ogg
files - Load them all in your music player and manually delete the ones which are sound effects. (You should be left with pairs of
Intro
andLoop
files.) - Download the following script and install the packages listed in the Requirements section
- Place the script in the same folder as your
.ogg
files, run it, and wait.
Extracting The Soundtrack From Your Copy of Desktop Dungeons by Stephan Sokolow is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.
did you tried disunity ?
I used it to unpack Surgeon Simulator 2013’s lovely soundtrack
Given that I prefer to work with open-source software, I did try disunity 0.3 at the time and I just tried disunity 0.5 now. Neither can understand the Desktop Dungeons resources.assets with any command-line I thought to try.
(In 0.5, they all die with “[warning] BundleCommand: Can’t open asset bundle resources.assets, caused by java.io.EOFException”)