Sonic and Sega Retro Message Board: Changing Sonic CD past music tracks... - Sonic and Sega Retro Message Board

Jump to content

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

Changing Sonic CD past music tracks...

#1 User is offline PimpUigi 

Posted 03 August 2011 - 06:22 PM

  • Posts: 41
  • Joined: 21-October 10
  • Gender:Male
  • Location:West Philadelphia
Will it ever be possible to change the past music in the Sega CD version of Sonic CD?

#2 User is offline Narstyle 

Posted 03 August 2011 - 07:26 PM

  • Posts: 260
  • Joined: 07-May 09
  • Gender:Male
  • Location:Manchester, UK
  • Project:Android Developments
I'm no expert at all in this regard, but if I had to guess, and you were say, using an iso+mp3, surely it just depends on what mp3's are named to whatever look up song you want to be played whereever?

I'm probably thinking way to vague here. So apologies if this isn't the answer you're looking for.

#3 User is offline TheDarkArchon 

Posted 03 August 2011 - 07:32 PM

  • Idiot
  • Posts: 270
  • Joined: 09-October 09
  • Gender:Male
  • Location:Somewhere that resembles nowhere

View PostNarstyle, on 03 August 2011 - 07:26 PM, said:

I'm no expert at all in this regard, but if I had to guess, and you were say, using an iso+mp3, surely it just depends on what mp3's are named to whatever look up song you want to be played whereever?

I'm probably thinking way to vague here. So apologies if this isn't the answer you're looking for.


The problem is the past tracks are not CD tracks: They're in the main game files.

#4 User is offline Ritz 

Posted 03 August 2011 - 07:38 PM

  • Subhedgehog
  • Posts: 3658
  • Joined: 01-January 06
  • Gender:Not Telling
  • Location:Glimmering Cornhole Zone
  • Wiki edits:2
I was really hoping this wouldn't be a question thread.

#5 User is offline MarkeyJester 

Posted 03 August 2011 - 07:41 PM

  • Clouded in obscurity.
  • Posts: 1595
  • Joined: 22-July 08
  • Gender:Male
  • Location:Japan
  • Wiki edits:16
The past tracks for Sonic CD are played via a series of multiple PCM samples, each PCM sample in a bank being the sound of one note to a specific instrument, drum sound or voice. These samples are played by SMPS code for an SMPS engine, however this SMPS varient is altered and designed for PCM playback of 8 PCM channels (I think it's 8, don't quote me on that).

The following banks on the disc hold; The SMPS engine (machine code), the SMPS data for the track itself, the PCM samples (including SFX samples).

SNCBNK1B.BIN
SNCBNK3B.BIN
SNCBNK4B.BIN
SNCBNK5B.BIN
SNCBNK6B.BIN
SNCBNK7B.BIN
SNCBNK8B.BIN

I tried editing one myself once, it didn't sound great, but it was fun to play around with, I'll dig up a download link in 10 minutes.

Edit: here we are Stardust Speedway Past. Terrible, but cool stuffs =P
This post has been edited by MarkeyJester: 03 August 2011 - 07:53 PM

#6 User is offline nineko 

Posted 03 August 2011 - 08:05 PM

  • I am the Holy Cat
  • Posts: 5341
  • Joined: 17-August 06
  • Gender:Male
  • Location:italy
  • Project:I... don't even know anymore :U
  • Wiki edits:5,251
You know, I've been considering to make a modified version of xm2smps which can target the 8 PCM channels of the Sega CD, with the additional feature that the samples in the XM files can be converted as well (within certain limitations of course). However, I'd need more documentation to do such a thing, as I know barely anything about the Sega CD smps.

#7 User is offline PimpUigi 

Posted 03 August 2011 - 08:06 PM

  • Posts: 41
  • Joined: 21-October 10
  • Gender:Male
  • Location:West Philadelphia
Yeah, Stardust Speedway Past is the exact track I wanted to edit too.
Ha.
Well, very informative. Thank you very much.

Edit:
I actually enjoyed the Stardust Speedway P remix you posted more than the original.
lolol
This post has been edited by PimpUigi: 03 August 2011 - 08:11 PM

#8 User is offline Tweaker 

Posted 03 August 2011 - 08:09 PM

  • Posts: 12389
  • Joined: 27-June 04
  • Gender:Male
Technically speaking, editing this music is pretty easy. Managing/editing the samples is trivial and the music just uses a modified version of SMPS. I imagine the reason why nobody has done it is either a lack of location data or just a lack of practical knowledge on the subject, much like editing Sonic 2 special stages in the ROM. It's relatively simple, though.

#9 User is offline Andlabs 

Posted 03 August 2011 - 09:02 PM

  • 「いっきまーす」
  • Posts: 2175
  • Joined: 11-July 08
  • Gender:Male
  • Project:Writing my own MD/Genesis sound driver :D
  • Wiki edits:7,061
I have a 50%-75% complete disassembly of the engine code I can put up when I finish it (along with sample rips), which leads me to the question: what's the easiest way to make simple patches to the code (like nop-ping out instructions or replacing them with jmp or rts instructions) to test stuff — patch codes in Gens/GS? Actually modifying the ISO file? Mounting the ISO and modifying the files from there?

For those of you who want to get a head start, conditions $F4==$F6 (jump) and due to the rather limited nature of the PCM chip's frequency system (which I still don't get 100%) expect to see crazy note offsets to keep the input data looking more like the original song and less like a MOD file with its limited octave range.
This post has been edited by Andlabs: 03 August 2011 - 09:03 PM

#10 User is offline Ritz 

Posted 04 August 2011 - 02:45 AM

  • Subhedgehog
  • Posts: 3658
  • Joined: 01-January 06
  • Gender:Not Telling
  • Location:Glimmering Cornhole Zone
  • Wiki edits:2

View PostMarkeyJester, on 03 August 2011 - 07:41 PM, said:

I tried editing one myself once, it didn't sound great, but it was fun to play around with, I'll dig up a download link in 10 minutes.

Edit: here we are Stardust Speedway Past. Terrible, but cool stuffs =P

What, seriously? I went in expecting white noise, but it came out pretty great. Your modesty irritates me.

Page 1 of 1
    Locked
    Locked Forum

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