RockmanPM Forums

Other Things => Gaming => Emulation => Topic started by: Mathazad on October 07, 2013, 10:21:16 AM

Title: Help extracting music from a GB file!
Post by: Mathazad on October 07, 2013, 10:21:16 AM
Hey I'm fairly new to these forums so I'm sorry if this is in the wrong section,
basically I need some help extracting music files from a GameBoy rom file.

I would like to extract all of the original music files from the original Pokemon Green game to mainly have a look at the Lavender Town theme and possibly put to rest the "Missing Frequency" theory + Plus I'm kind of interested in hearing and listening to all of the old music untouched.

I've had a look at an old post but it didn't particularly help me, I need something that will work preferably on mac but it's fine if it'll work on Windows.  >0<
All help appreciated :)
Title: Re: Help extracting music from a GB file!
Post by: Align on October 07, 2013, 05:10:30 PM
You sure it's not been done already?
http://www.zophar.net/music.html for example
Title: Re: Help extracting music from a GB file!
Post by: Hiryu on October 07, 2013, 05:45:15 PM
Yea, there's nothing there for Pokemon Green.

Allegedly, this program makes GBS files, but it's more of a disassembly tool and it's written in Japanese. You're supposed to load the file, hit the rectangle button above L4 Map, hit CTRL+S, select BIN and check the GBS file checkbox. I couldn't get it to play back in my Audio Overload program, so maybe it requires more tinkering:

http://mrchecker.web.fc2.com/index.htm

If this seems too much trouble, I'd suggest having your emulator record the sound.
Title: Re: Help extracting music from a GB file!
Post by: Mathazad on October 07, 2013, 11:58:22 PM
Yeah no, thanks for the reply!
 I'll try have a look at both of your links. I would have just recorded the sound, but I would have never been able to use that in a spectogram as it's not the original .wav file.

- As a side note: I'm not even sure what format the files inside are going to be i.e. mp3, wav or some other format made for the gameboy. 
Title: Re: Help extracting music from a GB file!
Post by: Hiryu on October 08, 2013, 06:06:16 PM
I'm not exactly sure how they insert music in the ROMs, but usually, you can extract a GBS file from it and then have a program convert a piece of music to other audio formats
Title: Re: Help extracting music from a GB file!
Post by: Hypershell on October 09, 2013, 01:47:45 AM
I'm not exactly sure how they insert music in the ROMs
You know, I'd be VERY interested if anyone actually knew how to do that...  I did some digging a while back but wasn't able to find anything.
Title: Re: Help extracting music from a GB file!
Post by: VixyNyan on October 09, 2013, 01:56:27 AM
Most of the time you have to rely on using existing tools, or do some Hexadecimal editing with a Hex editor, finding the string of code that has the music in it, and replace it with your own stuff.

And then there are guides for other platforms as well:
http://www.pokecommunity.com/showthread.php?t=121856