First make sure the author did not release it standalone.
Anyway make sure you have the latest version of VGMtrans
https://github.com/vgmtrans/vgmtrans/releases
If that does not work we are going to need to know what ROM and what hack to it -- the ROM might be one of the few to not use SDAT ( https://gbatemp.net/threads/the-various-audio-formats-of-the-ds.305167/ ) or do something odd with it, and beyond that some hackers took to adding things in different ways (if the original game does not use the PCM/ADPCM STRM player then it does not include it in the final build, hackers then added a means to play wave format audio by themselves -- https://gbatemp.net/threads/telling-the-game-to-play-a-strm-instead-of-sseq.340692/ for one example). You might also have a better time rather than dragging the ROM if you first unpack the ROM (ndstool, crystaltile2, tinke, ndsts... there are hundreds of tools to pull apart DS games and fish the files out) and try to feed vgmtrans the SDAT file by itself.
You could also do the classic loop back RIP -- assuming the hack works in an emulator then load up the game, get the song playing (preferably at a point without sound effects) and just record it with whatever you care to use here (audacity would be my pick but plain old windows wave recorder will probably do, and some emulators have options to grab audio and video).
So I unpacked the rom. I dragged the sound_data.sdat in the vgmtrans and the thing still quit. What is the problem