1BCHUNK(1) General Commands Manual BCHUNK(1)
2
3
4
6 bchunk - CD image format conversion from bin/cue to iso/cdr
7
9 bchunk [-v] [-p] [-r] [-w] [-s] <image.bin> <image.cue> <basename>
10
12 bchunk converts a CD image in a ".bin / .cue" format (sometimes ".raw /
13 .cue") to a set of .iso and .cdr tracks.
14
15 The bin/cue format is used by some non-Unix cd-writing software, but is
16 not supported on most other cd-writing programs.
17
18 image.bin is the raw cd image file. image.cue is the track index file
19 containing track types and offsets. basename is used for the beginning
20 part of the created track files.
21
22 The produced .iso track contains an ISO file system, which can be
23 mounted through a loop device on Linux systems, or written on a CD-R
24 using cdrecord. The .cdr tracks are in the native CD audio format.
25 They can be either written on a CD-R using cdrecord -audio, or con‐
26 verted to WAV (or any other sound format for that matter) using sox.
27
28 It is advisable to edit the .cue file to either MODE2/2352/2048 or
29 MODE2/2352/2324 depending on whether an ISO filesystem or a VCD is
30 desired, respectively. The format itself does not contain this feature
31 and in an ambiguous case it can only guess.
32
34 -v Makes binchunker print some more unnecessary messages, which
35 should not be of interest for anyone.
36
37 -w Makes binchunker write audio tracks in WAV format.
38
39 -s Makes binchunker swap byte order in the samples of audio
40 tracks.
41
42 -p Makes binchunker go into PSX mode and truncate MODE2/2352
43 tracks to 2336 bytes at offset 0 instead of normal 2048 bytes
44 at offset 24.
45
46 -r Makes binchunker output MODE2/2352 tracks in raw format, from
47 offset 0 for 2352 bytes. Good for MPEG/VCD.
48
50 image.bin
51 Raw CD image file
52
53 image.cue
54 TOC (Track index, Table Of Contents) file
55
56 *.iso
57 Tracks in ISO9660 CD filesystem format. Can be either written on a
58 CD-R using cdrecord, or mounted (on Linux platforms at least)
59 through a loop device ('mount track.iso /mnt/cdrom -o
60 loop=/dev/loop0,blocksize=1024').
61
62 *.cdr
63 Audio tracks in native CD audio format. They can be either written
64 on a CD-R using 'cdrecord -audio', or converted to WAV (or any
65 other sound format for that matter) using sox ('sox track.cdr
66 track.wav').
67
68 *.wav
69 Audio tracks in WAV format.
70
72 cdrecord(1), mkisofs(8), sox(1), cdrdao(1)
73
75 Heikki Hannikainen <hessu@hes.iki.fi>
76 Bob Marietta <marietrg@SLU.EDU>
77 Colas Nahaboo <Colas@Nahaboo.com>
78 Godmar Back <gback@cs.utah.edu>
79 Matthew Green <mrg@eterna.com.au>
80
81
82
83Heikki Hannikainen v1.2.0 29 Jun 2004 BCHUNK(1)