Sonic and Sega Retro Message Board: Some DAC sample rips right out of ROMs - Sonic and Sega Retro Message Board

Jump to content

Hey there, Guest!  (Log In · Register) Help
Loading News Feed...
 

Some DAC sample rips right out of ROMs This is fun

#1 User is offline Andlabs 

  Posted 11 December 2009 - 08:39 PM

  • 「いっきまーす」
  • Posts: 2065
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
No comments; just enjoy.

Streets of Rage samples. These were ripped out of a dump of Z80 memory (so the split file is applied to that); while I could crack the compression routine used for everything else in the game (including the sound driver), I didn't want to deal with an algorithm that used the 68000's ccr as a general purpose register. These samples use their own compression format which differs from the Sonic 1/2/3K format; I left a C program to decompress them in the archive, along with uncompressed and wav versions.

The Hybrid Front samples. The split file is for the ROM; the DAC table is in Z80 memory. The samples are compressed in Sonic 1/2/3K format. Uncompressed and wav versions included.

Ristar samples. Again, the samples are ripped from ROM, but this game is interesting in that the 68000 tells the Z80 driver which bank to load and where to find the sample — that is, the DAC tables (yes, more than one) are accessed by the 68000. Samples are uncompressed in ROM; wav versions included.

Street Fighter II′: Special Champion Edition samples. Wow, getting this out was nuts. Good thing the samples were uncompressed! I left the structure format I used to format the DAC table in the Z80 ROM. As you can tell from the voice samples, a higher speed value means a slower speed. The split file is applied to the ROM.

Viewpoint (Mega Drive/Genesis) samples. So they decided to put the DAC tables in the ROM banks this time. Just check the relevant text file. It's jman2050 compression again.

Michael Jackson's Moonwalker samples. One thing holding this one back was that a data array used by jman2050 compression had been changed slightly for the voices; therefore a custom decompressor (no compressor) is included. Enjoy!

Tempo samples. (Yes, about time I updated this post =P) This game, despite being SMPS like Knuckles' Chaotix, also uses the Z80 DAC for some of the samples. The PWM table format is the exact same as in Chaotix, though, and includes the theme song!

Other ones I've done before (but not in this thread):
  • Knuckles' Chaotix (links to forum post; hey, posted exactly one year ago today lol)
  • Sonic Rush (ok, this isn't a rip like the others; I painstakingly went through every SEQ_ entry VGMTrans showed me since Dimps or whoever did the sound programming was stupid and duplicated all the levels's SEQ_ headers for each level for each character [for each act? I forget], invalidating the irrelevant ones... according to Aquaslash, Sonic Rush Adventure is even worse because it has MORE LEVELS... anyway original thread where posted)

This post has been edited by Andlabs: 27 August 2010 - 12:24 AM

#2 User is offline Glisp 

Posted 11 December 2009 - 11:34 PM

  • It's classic Super Sonic with Green eyes. Get over it.
  • Posts: 1220
  • Joined: 09-June 08
  • Gender:Male
  • Location:Bloomington, IN
  • Project:None at the moment I'm afraid.
  • Wiki edits:73
Total win! Thanks dude!

#3 User is offline TmEE 

Posted 12 December 2009 - 01:33 AM

  • Watermelons are good stuff
  • Posts: 1482
  • Joined: 06-January 08
  • Gender:Male
  • Location:Estonia, Rapla City
  • Project:Mélodie, Radical Rat, Cannon Cat, SMStrk
  • Wiki edits:11
Right term would be PCM sample, at least when they're uncompressed....

None the less, its fun what you've did. Regarding Ristar, the game does 2 ch playback but no freq scaling, and despite that things sound like shit, damn, my shittiest 2ch code did 11KHz and shoulded crisp and clean as there was no jitter...

#4 User is offline ICEknight 

Posted 12 December 2009 - 03:27 PM

  • Posts: 8111
  • Joined: 11-January 03
  • Gender:Male
  • Location:Spain
  • Wiki edits:18
Just out of curiosity, why do none the WAV files play at the correct speed?

Chipmunk Ristar is kinda funny, but still.

#5 User is offline Andlabs 

Posted 12 December 2009 - 03:31 PM

  • 「いっきまーす」
  • Posts: 2065
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
QUOTE (ICEknight @ Dec 12 2009, 03:27 PM)
Just out of curiosity, why do none the WAV files play at the correct speed?

Chipmunk Ristar is kinda funny, but still.

I would have to check, but I think the samples on the second DAC table are played slower than they are stored in ROM. The DAC tables don't store the playback speed, so I would have to look at the code.

Also are the "Hi everybody!" and "Hasta la vista baby!" samples used in game? Are there any samples in this pack not used in game?
This post has been edited by Andlabs: 12 December 2009 - 03:42 PM

#6 User is offline DalekSam 

Posted 12 December 2009 - 03:44 PM

  • woop woop yo ass too fat
  • Posts: 1752
  • Joined: 19-February 08
  • Gender:Male
  • Location:Northern Ireland, Belfast
  • Project:nothing
  • Wiki edits:165
Thank you for the SOR Samples! I personally have no use for the ones used when the player's hurt, but the drums themselves I intend on using. smile.png

EDIT: If you managed to get a rip of the samples from Street Fighter 2 Turbo, I'd be even more greatful, that snare is awesome.
This post has been edited by DalekSam: 12 December 2009 - 03:57 PM

#7 User is offline ddrmaxromance 

Posted 12 December 2009 - 08:44 PM

  • Posts: 477
  • Joined: 06-January 06
  • Wiki edits:40
QUOTE (Andlabs @ Dec 12 2009, 03:31 PM)
Also are the "Hi everybody!" and "Hasta la vista baby!" samples used in game? Are there any samples in this pack not used in game?

I believe he says "Hasta la vista baby" towards the end of the game after you defeat the boss.

EDIT: Check out this video on YouTube: http://www.youtube.com/watch?v=JDr61bEXZ9c and start the video about half way near 4:23. It's also interesting that Ristar uses some sounds from Sonic 3K!
This post has been edited by ddrmaxromance: 12 December 2009 - 08:45 PM

#8 User is offline TmEE 

Posted 13 December 2009 - 01:10 AM

  • Watermelons are good stuff
  • Posts: 1482
  • Joined: 06-January 08
  • Gender:Male
  • Location:Estonia, Rapla City
  • Project:Mélodie, Radical Rat, Cannon Cat, SMStrk
  • Wiki edits:11
Hasta La Vista baby is when you beat last boss as mentioned in previous boss, and Hi Everybody happens right when intro turns into title screen.

#9 User is offline nineko 

Posted 13 December 2009 - 07:35 AM

  • I am the Holy Cat
  • Posts: 5238
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
I wonder if I should post PCM samples from the Cube/Iwadare games, it's easy to extract them.

#10 User is offline Varion Icaria 

Posted 13 December 2009 - 07:40 AM

  • He's waiting....
  • Posts: 975
  • Joined: 26-August 03
  • Gender:Male
  • Project:S4: Cybernetic Outbreak
  • Wiki edits:1
Gimme Dr R's <3

#11 User is offline nineko 

Posted 13 December 2009 - 07:54 AM

  • I am the Holy Cat
  • Posts: 5238
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
There you go.
Note that I only separated the 4 drums, and I didn't feel like separating the voice clips. Though all you need is a wave editor if you want to do so.

#12 User is offline Animemaster 

Posted 13 December 2009 - 10:29 AM

  • Prison bitch!
  • Posts: 338
  • Joined: 13-August 08
  • Gender:Male
  • Location:UK
  • Project:Sonic 1 Revelation
  • Wiki edits:35
If you can get the revenge of shinobi drums, I will love you forever.
This post has been edited by Animemaster: 13 December 2009 - 01:57 PM

#13 User is offline Andlabs 

Posted 13 December 2009 - 11:48 AM

  • 「いっきまーす」
  • Posts: 2065
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
QUOTE (DalekSam @ Dec 12 2009, 03:44 PM)
EDIT: If you managed to get a rip of the samples from Street Fighter 2 Turbo, I'd be even more greatful, that snare is awesome.
QUOTE (Animemaster @ Dec 13 2009, 10:29 AM)
If you can get the revenge of shinobi dums, I will love you forever.
Give me a day or two and I will. smile.png I will also get the DAC tables for the two other games (I forgot them in the zip archive and I know how much that information will be useful to hackers, sorry; I originally just wanted to use them in my own songs) and the Ristar speed information either later or tomorrow.
This post has been edited by Andlabs: 13 December 2009 - 11:49 AM

#14 User is offline Animemaster 

Posted 13 December 2009 - 01:58 PM

  • Prison bitch!
  • Posts: 338
  • Joined: 13-August 08
  • Gender:Male
  • Location:UK
  • Project:Sonic 1 Revelation
  • Wiki edits:35
QUOTE (Andlabs @ Dec 13 2009, 04:48 PM)
QUOTE (DalekSam @ Dec 12 2009, 03:44 PM)
EDIT: If you managed to get a rip of the samples from Street Fighter 2 Turbo, I'd be even more greatful, that snare is awesome.
QUOTE (Animemaster @ Dec 13 2009, 10:29 AM)
If you can get the revenge of shinobi dums, I will love you forever.
Give me a day or two and I will. smile.png I will also get the DAC tables for the two other games (I forgot them in the zip archive and I know how much that information will be useful to hackers, sorry; I originally just wanted to use them in my own songs) and the Ristar speed information either later or tomorrow.

Awsome, look forward to it thank you smile.png
Edit: Can someone mirror the above links? everytime I click on a link it closes down instantly.
This post has been edited by Animemaster: 13 December 2009 - 02:02 PM

#15 User is offline Dracula 

Posted 13 December 2009 - 05:41 PM

  • Posts: 578
  • Joined: 03-March 03
  • Gender:Male
  • Location:I'm watching you!
  • Project:Tracking down Sega Genesis Music!
  • Wiki edits:12
Wow! Thank you all very much for this! If I knew how to do this then I'll be ripping stuff right now.

  • 3 Pages +
  • 1
  • 2
  • 3
    Locked
    Locked Forum

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