Dais wrote:Just curious...how do you go about finding/extracting streaming tracks from a DS game? I'm kind of curious to see if I could obtain music from games that don't have a sound test and don't get along with VGMTrans.
This is gonna be a little convoluted, so bear with me.
First of all you have to extract the files from the rom. NDSHeader (http://gbatemp.net/index.php?download=594) can do that, so just drag'n'drop the rom, go to the files folder and extract the music datafile (usually sound_data.sdat, but this can vary from game to game).
Sometimes the game will have bad entries in the filesystem, so the extracted datafile will be bad but you can check this easily, proper .sdat files should have 'SDAT' token at offset 0x0000. So, if the files can't be extracted by NDSHeader you cut them manually (I just use MRip, which has a selectable search/offset pattern).
Doki Doki Majou Shinpan had the borked filesystem, and it did use ADX files, stored out of sound_data.sdat, but there's a ripper for them available here (http://www.hcs64.com/in_cube.html).
Okay, let's say that you have the sound_data.sdat extracted. Now, this is another filesystem, extractable with sdattool (http://djbouche.net/wp/sdat-stuff/). It's gonna extract all the files, and sort them into folders. With streamed stuff you're interested in STRM folder. There's a STRM2WAV converter (http://loveemu.yh.land.to/down/loveemu-20070125.rar), but there's a little problem with it - IIRC it doesn't support loops yet. So you'll either have to live with single loops without fade, or just play a bit with audacity/the like.
I've lucked out with the ADX files, as the format contains all looping info needed.
Hope that helps.