Sonic and Sega Retro Message Board: GEMS Playback ROM - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Page 1 of 1
    Locked
    Locked Forum

GEMS Playback ROM With data from Warlock

#1 User is offline SoullessSentinel 

Posted 03 September 2010 - 12:40 PM

  • Posts: 254
  • Joined: 01-October 05
  • Gender:Male
  • Location:Grimsby, England
  • Project:Cxbx-Reloaded
A friend of mine asked if I could find a VGM rip of Warlock, and I was unable to find one, this appears to be because the game lacks a sound test screen.
In order to satisfy this need, I created this.

GEMS Playback Rom is a Megadrive ROM containing the GEMS sound driver from the GEMS SDK over at Hacking-Cult. It is basically a sound test for the GEMS sound driver. It is VERY badly coded in some areas (READ: Rushed just to make it work), and hacked together quickly with code from GEMS, Hacking-Cults examples (for the font/print routine) and Sonic 1 (Joypad Code), however, it does work, both in GENS and KEGA, so I decided to make a release.

Usage: DPAD Left/Right: Select Sound/Music
Buttons (ANY): Play Selected Track.

Source code is included, and it should work with any game using the GEMS driver, just replace the files in the "sounddata" folder with files ripped from the GEMS game of your choice, and run BUILD.BAT. (The required data can usually be found above just the start of the GEMS code, and is pointed to via a call to the gemsinit routine).

This release includes the data from Warlock, as it is what I used to develop/test this.

Download Link (Megaupload, sorry, my usual host is down):
http://www.megaupload.com/?d=HWIBD1EW
This post has been edited by lukeusher123: 03 September 2010 - 01:24 PM

#2 User is offline theocas 

Posted 06 September 2010 - 08:34 PM

  • Posts: 346
  • Joined: 10-February 10
  • Gender:Male
  • Wiki edits:50
QUOTE (lukeusher123 @ Sep 3 2010, 10:40 AM)
A friend of mine asked if I could find a VGM rip of Warlock, and I was unable to find one, this appears to be because the game lacks a sound test screen.
In order to satisfy this need, I created this.

GEMS Playback Rom is a Megadrive ROM containing the GEMS sound driver from the GEMS SDK over at Hacking-Cult. It is basically a sound test for the GEMS sound driver. It is VERY badly coded in some areas (READ: Rushed just to make it work), and hacked together quickly with code from GEMS, Hacking-Cults examples (for the font/print routine) and Sonic 1 (Joypad Code), however, it does work, both in GENS and KEGA, so I decided to make a release.

Usage: DPAD Left/Right: Select Sound/Music
Buttons (ANY): Play Selected Track.

Source code is included, and it should work with any game using the GEMS driver, just replace the files in the "sounddata" folder with files ripped from the GEMS game of your choice, and run BUILD.BAT. (The required data can usually be found above just the start of the GEMS code, and is pointed to via a call to the gemsinit routine).

This release includes the data from Warlock, as it is what I used to develop/test this.

Download Link (Megaupload, sorry, my usual host is down):
http://www.megaupload.com/?d=HWIBD1EW

Whoa. This is awesome. Thanks for the share! Now my evil plan will finally have the missing element! *MUAHHH*
No, this is just pure gold.

And since the source is included, I was able to port the driver in not a lot of time, and got it working perfectly. Is there a way to fade out the currently playing music instead of just stopping it? Or maybe it is being faded out, and then I'm just deaf.
This post has been edited by theocas: 06 September 2010 - 10:27 PM

#3 User is offline Chibisteven 

Posted 11 August 2014 - 06:44 PM

  • Posts: 1251
  • Joined: 20-August 08
  • Gender:Male
  • Location:US
  • Wiki edits:11
Does anyone still have this download or file? Being that MegaUpload is gone now anyway.

#4 User is offline Robochao 

Posted 12 August 2014 - 08:56 AM

  • Posts: 156
  • Joined: 20-June 09
  • Gender:Male

View PostChibisteven, on 11 August 2014 - 06:44 PM, said:

Does anyone still have this download or file? Being that MegaUpload is gone now anyway.


Maybe this'll help?
https://www.youtube....h?v=iQjfjEHVnGY
http://elektropage.r...shell/sample.7z

#5 User is offline Chibisteven 

Posted 14 August 2014 - 10:59 AM

  • Posts: 1251
  • Joined: 20-August 08
  • Gender:Male
  • Location:US
  • Wiki edits:11
Not as easy and straight forward as I thought it be. Is anything anymore? LOL

I was under the impression that...
  • Game Name - 00 Driver.bin
  • Game Name - 01 Instruments.bin
  • Game Name - 02 Envelopes.bin
  • Game Name - 03 Sequences.bin
  • Game Name - 04 Samples.bin


Would be enough for any game that lacks a sound test. Guess not. I have no idea how to separate and to arrange these into separate files required for this program or anything I can do to make it work. The game in question uses 2.5 of the GEMS sound driver and annoyingly has four different final versions of itself. :/ Programming languages is not my strong suit.

#6 User is offline ValleyBell 

Posted 15 August 2014 - 01:06 AM

  • Posts: 235
  • Joined: 08-September 10
  • Gender:Male
  • Project:researching SMPS sound drivers
  • Wiki edits:10
That thing makes it just more complicated than it could be, in order to support songs from multiple games within the same data banks.
And GEMS 2.5 and 2.8 are incompatible because GEMS 2.8 uses larger sequence pointers.

Now, how to get it working:
  • remove "gems_combine" from build.bat. You don't need to compile the songs/samples/etc. into library files, because you ripped the library files from a GEMS game.
  • in GEMS.asm, instead of including Z80.asm, incbin your driver binary.
  • fix the paths for all the other files (patches = instruments), put quotation marks around file names with spaces
  • build and you should get a working ROM


(If you just want to listen to the songs, you could also use the GEMSPlay tool, btw.)

#7 User is offline Chibisteven 

Posted 15 August 2014 - 04:33 PM

  • Posts: 1251
  • Joined: 20-August 08
  • Gender:Male
  • Location:US
  • Wiki edits:11
Got it.

Kind of glitchey and unsure how it'll perform on real hardware. Seems to need hard resets Fusion. Regen drops notes all the time (does it with other games, too) and needs Hard / Soft Resets in between tracks like Fusion. Exodus runs too slow for my computer to give any major clues in real time, but seems to need resets between songs.


If you guys want to download this, here's the link:
http://www.filedropp...eatstuffupdated
This post has been edited by Chibisteven: 17 August 2014 - 11:08 PM

Page 1 of 1
    Locked
    Locked Forum

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users