Skip to content
/ bchunk Public

BinChunker for Unix / Linux converts .bin / .cue images to .iso and .cdr

License

Notifications You must be signed in to change notification settings

hessu/bchunk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

	binchunker for Unix, version 1.2.2
	Copyright (C) 1998-2004  Heikki Hannikainen <[email protected]>
	
	Enhancements provided by:
		Colas Nahaboo <[email protected]>, 1999
		Godmar Back <[email protected]>, 2001
		Matthew Green <[email protected]>, 2003
		Piotr Kaczuba <[email protected]>, 2009
		Reuben Thomas <[email protected]>, 2008
		Yegor Timoshenko <[email protected]>, 2017

		
	http://he.fi/bchunk/
	
	Created with the kind help of Bob Marietta <[email protected]>,
	partly based on his Pascal (Delphi) implementation.
	Released under the GNU GPL, version 2 or later (at your option).
	
	---

  Licence:
	
	This program is free software; you can redistribute it and/or modify
	it under the terms of the GNU General Public License as published by
	the Free Software Foundation; either version 2 of the License, or
	(at your option) any later version.
      
	This program is distributed in the hope that it will be useful,
	but WITHOUT ANY WARRANTY; without even the implied warranty of
	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
	GNU General Public License for more details.
      
	You should have received a copy of the GNU General Public License
	along with this program; if not, write to the Free Software
	Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 
	02111-1307 USA
	
	---

  Credits:
	
	This is a Unix/C rewrite of the fine BinChunker software for some
	non-Unix system. The non-Unix version of BinChunker has been
	obsoleted by FireBurner, which can be found at www.fireburner.com.
	FireBurner does a lot more than BinChunker did, but can be used to
	do exactly the same even without a burner device installed.
	Thanks go to Bob Marietta, the author of BinChunker, for the
	extensive help, documentation and letting me look at his
	Pascal/Delphi source code!
	
	Colas Nahaboo <[email protected]> and Godmar Back <[email protected]>
	added support for MODE2/2352 ISO data tracks in bchunk 1.1.0.
	Matthew Green implemented the -r option for raw MODE2/2352
	extraction for bchunk 1.2.0.
  	
  	---
  
  What on earth is this stuff:
  
  	binchunker converts a CD image in a ".bin / .cue" format
  	(sometimes ".raw / .cue") to a set of .iso and .cdr tracks.
  	
  	The bin/cue format is used by some non-Unix cd-writing
  	software, but is not supported on most other cd-writing
  	programs.
  	
  	The .iso track contains an ISO file system, which can be
  	mounted through a loop device on Linux systems ('mount track.iso
  	/mnt/cdrom -o loop=/dev/loop0,blocksize=1024'), or written on a
  	CD-R using cdrecord.
  	
  	The .cdr tracks are in the native CD audio format. They can
  	be either written on a CD-R using cdrecord -audio, or converted
  	to WAV (or any other sound format for that matter) using
  	sox ('sox track.cdr track.wav'). Audio tracks can be written
  	in WAV format by using the -w switch.
  	
  	The output type depends on the input type (data is just copied).
  	If the input is in ISO format, the output will be. On the other
  	hand, if the input is raw audio data, the output will be CDR or
  	WAV (the latter if -w is given).

  	---
  	
  How to install this stuff:
  	
  	$ gzip -d -c bchunk-1.2.2.tar.gz | tar xvf -
  	$ cd bchunk-1.2.2
  	$ make
  	# make install
  	
  	If your system does not have GCC installed, edit Makefile,
  	uncommenting the CC lines.
  	
  	If your system does not ship with a BSD-style 'install' program and the
  	make install fails, copy the resulting 'bchunk' binary to your favourite
  	directory in your $PATH. /usr/local/bin is a good one. The manual page
  	'bchunk.1' should go to /usr/local/man/man1 for example.
  	
  	bchunk has been successfully compiled on the following platforms:
  	
  		Linux 2.0, i686, glibc 2.0.7, gcc 2.7.2.3  (RedHat 5.1)
  		Linux 2.2, i686, glibc 2.1.1, egcs 1.1.2 (RedHat 6.0)
  		Linux 2.4, i686, glibc 2.2, gcc-2.96 (RedHat 7.0)
  		Solaris 2.5.1, SPARC, gcc 2.7.2
  		Solaris 2.6, SPARC, gcc 2.8.1
  		Digital Unix 4.0c, Alpha, DEC C V5.2-033
  		SGI IRIX 6.5.7m, MIPS R4600 IP22, gcc 2.95.2
  		Mac OS X 10.1.4, gcc 2.95.2
  	
  	It should be ANSI enough to compile on any decent system.
  	(The HP-UX bundled compiler is not decent.)
  	
  	---
  	
  How to use this stuff:
  	
  	bchunk [-v] [-p (PSX)] [-r (raw)] [-w (wav)] [-s (swabaudio)]
  	  <image.bin> <image.cue> <basename>
  	
  	image.bin is the raw cd image file. image.cue is the
  	track index file containing track types and offsets.
  	basename is used for the beginning part of the created
  	track files.
	
	The -v flag makes binchunker print some more unnecessary
	messages, which should not be of interest for anyone.
	
	The -p flag 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.
	
	The -r flag makes binchunker output MODE2/2352 tracks in raw
	format, from offset 0 for 2352 bytes. Good for MPEG/VCD.
	
	The -p and -r flags works only with MODE2/2352 input (if input
	is in PSX mode pass -p flag or if it is in raw format pass
	-r flag).

	The -w flag makes binchunker write audio tracks in WAV format.
	
	The -s flag makes binchunker swap byte order in the samples of
	the audio tracks. If the audio sounds like loud static noise,
	try this.
	


About

BinChunker for Unix / Linux converts .bin / .cue images to .iso and .cdr

Resources

License

Stars

Watchers

Forks

Packages

No packages published