This is actually pretty simple to do, though I haven't found any English instructions for doing so as of this writing. I did, however, find a very informative page on Touhou music extraction which included instructions for SWR.
This tutorial is Windows-centric, since SWR is a Windows game to begin with. Even if you normally use a different operating system, you should have a method of running Windows and .NET applications available to you.
To begin with, you need:
If you have all of these things, then we're ready to begin extraction!
Now that you have a temporary song data file full of uncompressed music, you can use thbgmextractor to extract the music into standard PCM .wav files with titles. I've attached a rough translation of the thbgmextractor interface to this post. My Japanese isn't great, but it should give you a general idea. The tool is open-source, so I might release a translated version at some point, maybe.
You can re-compress these to MP3 format using a tool like LAME by selecting the option to do so inside thbgmextractor. If you just want the music and you don't care about titles or OGG compression, you can actually find the OGG music extracted directly from the game archive inside of the data/bgm subdirectory of the working directory.
Whatever you choose to do, you can delete the entire working directory once you've gotten the music you want from it.
Comments
hello
Thanks for this advice.. I was just randomly exploring google for info about this and I seem to have hit the jackpot indeed.. All I know is that the last software "Touhou BGM Extractor" can be used to extract musics from any of the games, without going trough all the trouble you have stated above.. Meaning that it fins the music list and all by itself.. Well, at least now I'm enjoying my time listening these awesome musics ^^
Hey
Thanks for this very practical guide... in english.
You offered the list files of the music titles for th# 06 to 10; you know any place where I could find the one for Subterranean Animism (11)?
I've googled a lot of entries and I really couldn't find people talking about those things... other than you.
So yeah, thanks again if you can help me [or not], my e-mail address is [email protected]