News:

11 March 2016 - Forum Rules

Main Menu

Change music on Sega CD game?

Started by yamigata, March 30, 2022, 06:22:16 PM

Previous topic - Next topic

yamigata

It's my first time doing something like this. My goal is to change the stage music (and title music if possible) for Ecco Tides of Time on Sega CD. The files I have are multiple .bin and a .cue file.

Is there a tool/software that can be used to go in and replace the audio tracks with something of my choosing?

Thanks in advance!

Jorpho

Quote from: yamigata on March 30, 2022, 06:22:16 PMThe files I have are multiple .bin and a .cue file.
Disc images are typically distributed as exactly one .bin file and exactly one .cue file, or alternatively exactly one .cue file, a .iso file, and a bunch of music files. I don't think I've encountered one .cue file and multiple .bin files before. A .cue file in an ordinary text file you can open in Notepad; perhaps you could paste its contents here?

In any case, if the game uses redbook CD audio for its music, then it's a relatively trivial matter of converting the image into that format with a bunch of music files, and then swapping in new music files – and possibly adjusting the track lengths in the .cue file. The most straightforward way of doing that would be to mount the CD image on a virtual drive on your PC (I use Virtual CloneDrive) and then using TurboRIP on the virtual drive.

(If the game doesn't use redbook CD audio, then this is going to be pretty hopeless.)
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

dshadoff

I'm pretty sure that Sega CD used redbook audio.  (as track 2 and onward, to conform to orange book)

Also, in cases like this where the audio tracks are ripped as bin, they are just binary rips - which are effectively WAV files, but without the headers that make them WAV files.

yamigata

#3
Thank you both for your replies. Here is what I have:

Spoiler
[close]

Based on what I've gathered from your responses, it sounds like perhaps I can replace these BIN files with my own WAV files as long as they are named the same exactly, right? Or do the replacement files ALSO need to be BIN extension?

Thanks again

*Edit* I reread your post Jorpho. I think it's a little more complicated than what I posted above. I'll keep researching...

*Edit 2* I have followed Jorpho's advice and mounted the image on a virtual drive, then ripped the audio with TurboRIP. So now I have the audio files. Once I have swapped them out following Jorpho's steps, do they need to somehow be converted back to BIN extension to be useable by either emulator or console?

Thanks

Jorpho

#4
Quote from: dshadoff on March 31, 2022, 10:25:27 AM
I'm pretty sure that Sega CD used redbook audio.
Yes, but not all games used redbook audio, and some games only used it for certain portions of the game.

QuoteAlso, in cases like this where the audio tracks are ripped as bin, they are just binary rips - which are effectively WAV files, but without the headers that make them WAV files.
Seems like a strange way of doing things when someone could just use .wav files instead. If one needs better compatibility/accuracy, then a single .bin file would be the only solution.

Quote from: yamigata on March 31, 2022, 01:38:00 PM*Edit* I reread your post Jorpho. I think it's a little more complicated than what I posted above.
Did you try opening the .cue file in Notepad like I said?  (You can do this easily by opening Notepad and then dragging and dropping the file onto the Notepad window.) You will find the .cue file contains the names of all of those files.  So, you can replace the .bin files with .wav files and then change the names in the .cue file accordingly.  (You can even use .mp3, .ogg, or .flac files but the specific program you're using has to support them. .wav would be the most compatible.)

The only tricky part is that the .cue file also contains the track lengths, so if you are replacing the tracks with new audio having a different length, you will also need to adjust the track lengths in the .cue file.  There are heaps of utilities out there for doing this and they all work the same. https://www.romhacking.net/utilities/1373/ might be useful.
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

yamigata

Thank you again Jorpho for all the valuable info. I'll let you know how it turns out!

k_huntington

so circling back to this topic... all redbook images from redumb are all .bin/.cue files, where as the cue is the header, and the track 01 bin is the game data, and all subsequent .bin files are the wav files with an alternate extension. yes, when you create an image in imgburn, imgburn truncates all disc tracks to 1 .bin file. but thats not how redump has images setup.

so has anyone figured out how to convert an array of wav files to an array of bin files? i know how to edit the cue file in notepad to match file length and track name and such. thats not the issue. the issue is how to convert 12 (or however) wav files  to 12 bin files. is it as simple as changing the file extension from wav to bin? (of course ensuring the wav files are all stereo pcm audio at 16-bit, 44.1khz to match redbook standards)

sorry about resurrecting an older thread, but usually mods on redit get cranky when starting new threads so i'm extending that courtesy here :)

KingMike

As the warning states, it is okay to start a new topic after 60 days.

But to answer the question, you could use a combination of virtual drive software (I use an old version of Daemon Tools, though I don't know how recommended that program is anymore) to load an ISO in one format, and then a CD ripping software to re-rip it into another desired format.
"My watch says 30 chickens" Google, 2018

Jorpho

Quote from: k_huntington on May 22, 2023, 06:59:07 PMi know how to edit the cue file in notepad to match file length and track name and such. thats not the issue. the issue is how to convert 12 (or however) wav files  to 12 bin files. is it as simple as changing the file extension from wav to bin?
This is already addressed in the post above. You can edit the .cue file to refer to the .wav files instead of the .bin files and it should still work with everything. (Or at least, I've never heard of an application that wouldn't accept cue/iso/wav.)
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!

Brutapode89

Can we do the same for PC-Engine CD games?

Example: By turning original Castlevania: Rondo of Blood musics to Castlevania: The Dracula X Chronicles (PSP) musics.

Jorpho

Quote from: Brutapode89 on May 24, 2023, 02:24:22 AMCan we do the same for PC-Engine CD games?
Only if they use redbook audio, i.e. with the music stored on separate tracks on the CD.

Probably almost any game on any system that uses redbook CD audio can be trivially changed this way.
This signature is an illusion and is a trap devisut by Satan. Go ahead dauntlessly! Make rapid progres!