You got one of those hybrid ISO CDs that does both data and audio and you want to rip the audio? Here's a way to do it without even needing a conversion program. Note: It's only for windows. But i'm pretty sure it can be done with unix-like. If you see how to, tell me so i can update the gist.
- with a Hexadecimal editor (like HxD), create a new file called
wav.hed
and put this in it:
52 49 46 46 FF FF FF 7F 57 41 56 45 66 6D 74 20 10 00 00 00 01 00 02 00 44 AC 00 00 10 B1 02 00 04 00 10 00 64 61 74 61 00 FF FF 7F
-
Put this file in the same place as the .bin image
-
Open a terminal in that place and use the command
copy /b wav.hed + file.bin file.wav /b
wherefile.bin
is your file.
This will extract all the audio tracks in a single wav file called file.wav
. Now you can do pretty much what yo uwant with them. For instance you can divide it into multiple files if the iso had more that one track audio.
Note that the first track will always be the "audio version" of the CD data so you must delete this part. (I discourage you to listen to it, srsly)
Wow! You just saved my day with this. :)
I got a rare game soundtrack in cue+bin file format, the problem being that each music track was in its own .bin file and the cue sheet was incorrect: all tracks were listed with "INDEX 01 00:00:00". None of the audio CD ripping or iso mounting tools I tried could handle it. I was pissed because I knew the audio was just there, in the .bin files...
Then I stumbled upon your message above and gave it a try. It didn't work at first, no audio player would recognize the test .wav file. So, I ripped a random track from a random CD I had, and used that RIFF header instead of yours. Then it almost worked... Some proper music started playing but it all went to garbage noise a second later.
After checking some more, I found out that my copy-paste went wrong as all [00] hex characters had been replaced with [20]! Since it displays a blank space in both cases, I hadn't noticed. Sooooo I corrected these and voilà! It worked. Thank you very much for suggesting this method. :)
In case it can be of use to anyone, here's the .wav file header that worked for me:
52 49 46 46 40 A4 71 03 57 41 56 45 66 6D 74 20 10 00 00 00 01 00 02 00 44 AC 00 00 10 B1 02 00 04 00 10 00 64 61 74 61 F0 9A 71 03
Also, since I had many .bin files to convert at once (double-CD soundtrack...) I did a .bat file that you can execute in the same folder:
for %%a in (*.bin) do copy /b wav.hed + "%%a" "%%~na.wav" /b
You just double-click it and any .bin files in the folder get converted to .wav files.