Skip to main content

Notice

Please note that most of the software linked on this forum is likely to be safe to use. If you are unsure, feel free to ask in the relevant topics, or send a private message to an administrator or moderator. To help curb the problems of false positives, or in the event that you do find actual malware, you can contribute through the article linked here.
Topic: Extract embedded audio from a game (Read 8205 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Extract embedded audio from a game

Hi.

I wasn't sure in what forum I should ask this, but since I don't know what codec / format it concerns, I decided to try my luck here.

I have this game, from which I want to extract the music for playback outside of the game. It comes with various 'rmp' files. It appears rmp files should be xml files read by realplayer, but in this case, the files contain various tracks, embedded in the files (and no version of realplayer can read the files). When opening the files with vi in hex mode, I can see various track names.

I was wondering if there is a way to extract said tracks from these files. Are there any apps or methods which can 'detect' whether or not there are tracks using codec X embeded in a file? I have a feeling the tracks are in OGG format, since the game comes with an ogg.dll and a vorbis.dll file (but I found no OggS strings in the files / hex code).

I'm willing to put some effort into this (as I have been doing for the past afternoon), so any hints, suggestions, or even full-blown sollutions are appreciated.

Thanks for reading, and have a nice day.

(In case someone replies, I'm in GMT+1 timezone, and cannot reply the upcoming 9 hours or so)

Extract embedded audio from a game

Reply #1
If nothing easier comes along, you can always record the audio as it plays as you go through the game, then edit the result into however many tracks/files you want.

Extract embedded audio from a game

Reply #2
I do hope something else comes along, since recording ingame isn't really the way to go ;)

By now I am 100% sure the embedded tracks are OGG format, but still clueless as to how I could extract them :(

Extract embedded audio from a game

Reply #3
I seem to recall another thread with a similar topic (sounds in games) where it was pointed out that the sound files were standard files (ogg?), with an additional set of header bytes added to obfuscate that fact.  Perhaps something you could investigate?

-brendan

Extract embedded audio from a game

Reply #4
Thanks a lot. I did find the subject you mentioned, but the difference between that file and mine is that mine has multiple oggs embedded in the file, whereas the other file was an ogg with an edited header.

I have uploaded two of the files, if anyone wants to give it a go:
http://www.xs4all.nl/~mjhn/BGM_login.rmp - 9.9M (should contain 2 songs)
http://www.xs4all.nl/~mjhn/bgm_alf.rmp - 32.0M (I think this one contains 10 songs)

Extract embedded audio from a game

Reply #5
You could try this http://sourceforge.net/projects/dragonunpacker

1. load the rmp file to dragonunpacker
2. go to format tab, select ogg
3. go to search tab, tick "creat hyper-ripper file", then press Search.

The embedded ogg vorbis filles will listed at main window when the search is done, after that, you can extract the ogg vorbis by select all the files, rigth click, select "extract file to..." >> "without Conversion".

Extract embedded audio from a game

Reply #6
Never knew about that app. Looks like a nice thing to have! :)

I followed your steps and then some, but whatever I try, the app won't find anything at all.. Maybe it's not ogg after all, even though I felt so sure about it.

Anyway, it seems some Chinese guy did what I wanted to do and offered the music for download in a torrent. I guess I should just go for that then and give up. Thanks for the help anyway!