Help extracting music from a GB file!

Mathazad · 5687

0 Members and 1 Guest are viewing this topic.

Offline Mathazad

  • Cyberelf
  • *
    • Posts: 2
    • View Profile
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 :)



Offline Align

  • Master's Unit
  • *
    • Posts: 3432
    • Gender: Male
    • View Profile
    • Natural Selection, my FPS of choice
Reply #1 on: October 07, 2013, 05:10:30 PM
You sure it's not been done already?
http://www.zophar.net/music.html for example



Offline Hiryu

  • Capcom's Favorite futuristic ninja
  • B-Class Hunter
  • *
    • Posts: 479
    • Gender: Male
    • View Profile
Reply #2 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.



Offline Mathazad

  • Cyberelf
  • *
    • Posts: 2
    • View Profile
Reply #3 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. 



Offline Hiryu

  • Capcom's Favorite futuristic ninja
  • B-Class Hunter
  • *
    • Posts: 479
    • Gender: Male
    • View Profile
Reply #4 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



Offline Hypershell

  • needs DRAGONITE POWER!
  • Legendary Hero
  • *
    • Posts: 5271
    • Gender: Male
  • Steel in Zee Head
    • View Profile
    • Get equipped with Hyper's DA
Reply #5 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.

Also on DeviantArt, Rumble, DLive.tv, and the Fediverse (@freespeechextremist.com and @bae.st)


Offline VixyNyan

  • Kind & Generous Fluffy Pillow~
  • RPM Ecchi Princess
  • ****
    • Posts: 9824
    • Gender: Female
  • ♪ Vixylicious Nya Nya~ ♪
    • View Profile
    • Rockman Perfect Memories
Reply #6 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

Nintendo 3DS Friend Code: 3480-2506-4200
[DeviantArt|Twitch.tv|Youtube|Fan Work|WiiVC|Character File]
Rock10: Ranking. Rock9: AC, EA, SS, Challenge, Ranking.
(c) Sky Child~