Hacking for VGMs

Got a new set? Wanna point something out with an old set? Wanna update an existing set? Here's your place to do it!
User avatar
nensondubois
Posts: 23
Joined: Sun Sep 23, 2007 12:13 am
Contact:

Hacking for VGMs

Post by nensondubois »

Debuggers, tracers and codes used to access unused music for ripping into VGMs. Requesting a sticky for this... or not since the VGM ripping tutorial covers basic elements of Sega Genesis hacking. Here is a small list of powerful (and only?) Sega Genesis debuggers/Tracers/Tools for hacking games for VGM ripping.

Debuggers:
Geiger/FCUEUXDSP style debugger
http://aamirm.hacking-cult.org/www/regen.html

MAME style debugger
HazeMD
http://mamedev.emulab.it/haze/

Tracers:
Gens Tracer:
http://www.romhacking.net/utils/337/
Koto
Been Here for a Bit
Posts: 48
Joined: Tue Apr 08, 2008 1:01 pm

Re: Hacking for VGMs

Post by Koto »

Could be possible any "hacking vgm for dummies" guide? ...

See ya
andlabs
New Around Here
Posts: 8
Joined: Wed Mar 02, 2011 1:29 pm

Re: Hacking for VGMs

Post by andlabs »

Not sure, but I will say this: I've hacked Ya Se Chuan Shuo to rip the songs already (though what ValleyBell said in another thread will mean I have to look a bit further), and now that Sansan has been dumped I'm working on hacking a sound test into that too. In both cases I use IDA to disassemble the game and then analyze the code to see what I can do -- with Ya Se I just stopped the game after the first song plays; with Sansan I might be able to outright replace one of the entries in the options menu with a sound test option (I found the function that option calls to open its menu and several text functions — all text in the game is Shift-JIS...)
User avatar
nensondubois
Posts: 23
Joined: Sun Sep 23, 2007 12:13 am
Contact:

Re: Hacking for VGMs

Post by nensondubois »

Koto wrote:Could be possible any "hacking vgm for dummies" guide? ...

See ya


Tools... tools... for hacking.
User avatar
Dark Pulse
Board Regular
Posts: 141
Joined: Wed Jun 28, 2006 2:16 am
Location: Buffalo, NY, USA
Contact:

Re: Hacking for VGMs

Post by Dark Pulse »

Topic stickied.
codeman38
New Around Here
Posts: 2
Joined: Sat Jul 29, 2006 7:01 pm
Location: Boston-ish
Contact:

Re: Hacking for VGMs

Post by codeman38 »

I already mentioned this in an aside over on the "various fixes for various archives" thread, but the sound test code for Yase Chuan Shuo might be useful for various other Taiwanese unlicensed/bootleg games as well. The sound engine in Yase Chuan Shuo is quite obviously hacked from High Seas Havoc, and a bunch of other bootlegs use the same sound engine, including Shui Hu Feng Yun Zhuan (which needs a better rip), Pocket Monster, and Mulan.

Edit: Other games on the unripped list that use this same sound engine include Fengshen Yingjiechuan, Hercules, Mortal Combat 5, Romance of the Three Kingdoms Part 5, and Tiger Hunter Hero Novel (a.k.a. Shui Hu Zhuan, not to be confused with the other Shui Hu game mentioned above).
andlabs
New Around Here
Posts: 8
Joined: Wed Mar 02, 2011 1:29 pm

Re: Hacking for VGMs

Post by andlabs »

I'll keep those in mind, thanks. I did disassemble High Seas Havoc for the hell of it, but I don't see how it fixes that one-frame problem, if it even does. I might be able to get around it by waiting a frame before writing the sound variables, but eh... (These games using High Seas Havoc's sound driver is already very well known, though I wonder how they figured out how it works so quickly...?)

Anyway I tried putting my sound test code in Ya Se Chuan Shuo, but I can't get it to do anything because it does some weird controller manipulation :| I did get it in Sansan and since there are only four songs (two music tracks and two jingles, only one of which is looping) I could have it ready by the end of the week. Until then, could someone translate the Sansan composer's name? 井関 健二
codeman38
New Around Here
Posts: 2
Joined: Sat Jul 29, 2006 7:01 pm
Location: Boston-ish
Contact:

Re: Hacking for VGMs

Post by codeman38 »

andlabs wrote:(These games using High Seas Havoc's sound driver is already very well known, though I wonder how they figured out how it works so quickly...?)

Heh, yeah... I know that GDRI had mentioned the High Seas Havoc thing on their sound driver list, but I still think it's hilarious how they literally ripped off one of the tunes with only minor changes. :)

And yeah, I'd also wondered about how they managed to reverse-engineer it so quickly. All I can gather is that Hanmin Liao is like some sort of Chuck Norris of sound engine reverse-engineering-- all the games he's credited on, across various systems, use someone else's sound driver, and all of them sound good. Heck, he's worked with three different Mega Drive sound engines (Shi-Kin-Joh and Wonder Boy III are the other two).
ValleyBell
Board Regular
Posts: 128
Joined: Mon Aug 30, 2010 7:10 am

Post by ValleyBell »

I need a little help with hacking Xin Qi Gai Wang Zi (also known as Beggar Prince).

I already found the music driver at 11C0 in 68k RAM and my problem is, that I'm unable to find a music trigger (if there is any).
I also found the music pointers in the ROM, but it's annoying to reopen the ROM everytime I want to rip a new track. (and I'd need to find the tune that currently plays)

Can anyone help me?
The music engine doesn't sound like the High Seas Havoc one (no vibrato anywhere and no slowdowns when songs are started), but it uses the DAC.

EDIT: OK, got help from andlabs.
Winged Cat
New Around Here
Posts: 1
Joined: Wed Jul 20, 2011 1:33 pm

Re: Hacking for VGMs

Post by Winged Cat »

I need help.
For example, I want to record music from Bike Race stage from "The Lost World: Jurassic Park" (SMD), but there are a lot of SFX sounds (shots, etc.)
How can I remove them?
Post Reply