How to Convert .BIN/.CUE Files to .ISO in Ubuntu
CD image format conversion from bin/cue to iso/cdrThe bchunk package contains a UNIX/C rewrite of the BinChunker program. BinChunker converts a CD image in a .bin/.cue format (sometimes .raw/.cue) into a set of .iso and .cdr/.wav tracks. The .bin/.cue format is used by some non-UNIX CD-writing software, but is not supported on most other CD-writing programs.
Install bchunk using the following command
sudo aptitude install bchunk
This will complete the installation.
bchunk [-v] [-p] [-r] [-w] [-s] <image.bin> <image.cue> <basename>
-v -- Makes binchunker print some more unnecessary messages, which should not be of interest for anyone.
-w -- Makes binchunker write audio tracks in WAV format.
-s -- Makes binchunker swap byte order in the samples of audio tracks.
-p -- Makes binchunker go into PSX mode and truncate MODE2/2352 tracks to 2336 bytes at offset 0 instead of normal 2048 bytes at offset 24.
-r -- Makes binchunker output MODE2/2352 tracks in raw format, from offset 0 for 2352 bytes. Good for MPEG/VCD.
bchunk IMAGE.bin IMAGE.cue IMAGE.iso
You can also use CDemu to do this and the ubuntu ppa as follows
deb http://ppa.launchpad.net/cdemu/ubuntu hardy main
deb-src http://ppa.launchpad.net/cdemu/ubuntu hardy main
Mount ISO Files in Ubuntu
If you want to mount iso use this or this or this tutorial.
this is very useful for me.
but i wanna know the difference between aptitude and apt-get.
aptitude moo -v
aptitude moo -vv
aptitude moo -vvvvvv
you’ll find the difference
this one is nice. there are tools available in ubuntu repo. like ISO Master. This is a graphical CD image(.iso) editor. You can use isomaster to:
– add files to an image
– extract files from an image
– delete files from an image
explains some differences between aptitude and apt-get.
You can also use this buc:
and mount iso image
Is there a similar way to do this with .IMG files? For example ISO > IMG or BIN/CUE > IMG
This is an example of just how powerful the terminal is in Linux.
1.Select the file of which format is to be changed
3.Change the format .cue/.bin to .mpg/.mpeg
Play it on Movie Player
nice and slow 😀
works for me
bchunk doesn’t create IMAGE.iso, but a couple of cdr files:
IMAGE.iso0N.cdr where N=number of tracks.
So yet again I ended up with another set of strange files instead of iso…
bchunk works perfect!, just tested on Kubuntu 42 AMD64
[email protected]:~$ bchunk sr-wrmrd.bin sr-wrmrd.cue wormsreloaded.iso
That really helped me.
Thanks a lot for the tutorial. Worked fine!
Too bad bchunk doesn’t actually work, or at least it doesn’t on Precise Pangolin; just spits out empty CDR and ISO files no matter what I do.
I’m officially tired of leaving my media trapped in cue sheets and bin files. I will resort to fixing this in a Windows program if I have to, because no open-source program so far actually does jack ****. It’s like trying to beat down a brick wall with a broom.
UNFORTUNATELY if the .bin contains both a data track and some audio tracks, this utility will not produce a single burnable/mountable ISO file. Instead it will save the tracks into separate files.
Used this on Raring Ringtail for PSX games, had to use the -r flag but works perfectly.
It does exactly what the manpage says: it extracts all the tracks in separate files, *.iso for data tracks, .cdr for audio tracks and even .wav for wav audio files, no reason to whine about the expected behaviour.
The .cue file contains a plain-text listing of the tracks with their type, you can see it with “less MYCD.cue”, where “MYCD.cue” is the .cue file. There will be as many files as tracks in the .cue file, this is expected.
The .iso files can be mounted on the fly with “mount -o loop FILE.iso MOUNTPOINT” (where “FILE.iso” is the filename and “MOUNTPOINT” is an existing directory).
The .cdr files are raw audio files. Unfortunately, .cdr is also the extension for “Corel Draw!”, hence Nautilus will launch LibreOffice to try to open them (LibreOffice will crash in most cases). To convert .cdr to .wav, use “sox TRACK.cdr TRACK.wav”. However, I don’t know if it’s necessary to convert them to .mp3 with ffmpeg, I didn’t check — maybe ffmpeg recognises .cdr natively, maybe not.
Hope this helps!