SHORT VERSION:
1. I extracted some files from Track 01.bin (Road Rash redump image) and edited them. These were proper edits as detailed in the long version below.
2. Using UltraISO, I overwrote the original files in the disc image and created a new bin/cue via "Save as".
3. The newly created bin/cue doesn't seem to work in any emulators.
How do I correctly save the new files to the disc image? Is overwriting the relevant bytes at the original positions the only way, or can it be done with some other disc image program?
LONG VERSION:
I'll go into detail in case anyone else tries to do the same with this particular game and could use the info. Basically, I'm trying to replace the licensed music in Road Rash with the sequenced music from the PS1, 3DO and PC versions.
Half of the audio tracks are stored on the data track with the extensions .22K. These are signed/magnitude 8-bit PCM, which can be converted to WAV with SCDTools. These files play on the menus but not in-game. The music that plays during races seems to be stored in pieces in the .ALV files (but this isn't relevant to my question).
I've converted the music I want to the required format using SCDTools. I CAN insert them using CDMage, right-clicking a file and clicking "Import" to insert the new file over the old one. It gives the option to pad the remaining bytes with zeros. The resulting image works in emulators with the new music but with long pauses after each song due to the added padding.
So, is this the only way to insert edited files, or is there a way to rebuild the data track using just the files? Any help or information will be greatly appreciated.