head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.22 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.20 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.5.0.18 pkgsrc-2011Q4-base:1.5 pkgsrc-2011Q2:1.5.0.16 pkgsrc-2011Q2-base:1.5 pkgsrc-2009Q4:1.5.0.14 pkgsrc-2009Q4-base:1.5 pkgsrc-2008Q4:1.5.0.12 pkgsrc-2008Q4-base:1.5 pkgsrc-2008Q3:1.5.0.10 pkgsrc-2008Q3-base:1.5 cube-native-xorg:1.5.0.8 cube-native-xorg-base:1.5 pkgsrc-2008Q2:1.5.0.6 pkgsrc-2008Q2-base:1.5 pkgsrc-2008Q1:1.5.0.4 pkgsrc-2008Q1-base:1.5 pkgsrc-2007Q4:1.5.0.2 pkgsrc-2007Q4-base:1.5 pkgsrc-2007Q3:1.4.0.32 pkgsrc-2007Q3-base:1.4 pkgsrc-2007Q2:1.4.0.30 pkgsrc-2007Q2-base:1.4 pkgsrc-2007Q1:1.4.0.28 pkgsrc-2007Q1-base:1.4 pkgsrc-2006Q4:1.4.0.26 pkgsrc-2006Q4-base:1.4 pkgsrc-2006Q3:1.4.0.24 pkgsrc-2006Q3-base:1.4 pkgsrc-2006Q2:1.4.0.22 pkgsrc-2006Q2-base:1.4 pkgsrc-2006Q1:1.4.0.20 pkgsrc-2006Q1-base:1.4 pkgsrc-2005Q4:1.4.0.18 pkgsrc-2005Q4-base:1.4 pkgsrc-2005Q3:1.4.0.16 pkgsrc-2005Q3-base:1.4 pkgsrc-2005Q2:1.4.0.14 pkgsrc-2005Q2-base:1.4 pkgsrc-2005Q1:1.4.0.12 pkgsrc-2005Q1-base:1.4 pkgsrc-2004Q4:1.4.0.10 pkgsrc-2004Q4-base:1.4 pkgsrc-2004Q3:1.4.0.8 pkgsrc-2004Q3-base:1.4 pkgsrc-2004Q2:1.4.0.6 pkgsrc-2004Q2-base:1.4 pkgsrc-2004Q1:1.4.0.4 pkgsrc-2004Q1-base:1.4 pkgsrc-2003Q4:1.4.0.2 pkgsrc-2003Q4-base:1.4 buildlink2-base:1.2 netbsd-1-5-PATCH001:1.1.1.1 netbsd-1-5-RELEASE:1.1.1.1 netbsd-1-4-PATCH003:1.1.1.1 netbsd-1-4-PATCH002:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2007.11.16.12.03.42; author dillo; state dead; branches; next 1.4; 1.4 date 2003.09.01.10.17.37; author cjep; state Exp; branches; next 1.3; 1.3 date 2003.08.25.12.11.30; author mrg; state Exp; branches; next 1.2; 1.2 date 2001.11.04.03.28.46; author tv; state dead; branches; next 1.1; 1.1 date 2000.02.21.16.45.32; author pooka; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2000.02.21.16.45.32; author pooka; state Exp; branches; next ; desc @@ 1.5 log @Update to 1.2.0 and fix two bugs: - Only use index 1 as track boundary. Previously, the first index was taken as the end of the previous track and the last index as the start of this track. All sectors in between were silently dropped. - Stop output of a track *before* the first sector of the next track. Previously, the first sector was output twice, once as the last sector of the previous track, once as the first sector of the current track. Patches will be sent upstream shortly. Take maintainership, ok pooka. @ text @$NetBSD: patch-aa,v 1.4 2003/09/01 10:17:37 cjep Exp $ --- bchunk.1.orig 2001-08-07 21:20:31.000000000 +1000 +++ bchunk.1 2003-07-18 23:57:34.000000000 +1000 @@@@ -2,7 +2,7 @@@@ .SH NAME bchunk \- CD image format conversion from bin/cue to iso/cdr .SH SYNOPSIS -.B bchunk [-v] [-p] [-w] [-s] +.B bchunk [-v] [-p] [-r] [-w] [-s] .SH DESCRIPTION .LP .B bchunk @@@@ -41,6 +41,10 @@@@ 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. (untested, please let me know if this actually works) +.TP 10 +.BI \-r +makes binchunker output MODE2/2352 tracks in raw format, from offset +0 for 2352 bytes. .SH FILES .LP .TP 5 @ 1.4 log @Add NetBSD RCS tags @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @add a "-r" flag that enables a "raw" mode - copy the data out in 2352 sector chunks. this flag has already been included by the upstream and will be in the next release of bchunk. @ text @d1 1 @ 1.2 log @Fix patch (no longer needed), and install new manpage. @ text @d1 22 a22 31 $NetBSD: patch-aa,v 1.1 2000/02/21 16:45:32 pooka Exp $ --- bchunk.c.orig Sun Oct 11 01:51:30 1998 +++ bchunk.c Mon Feb 21 18:09:52 2000 @@@@ -138,13 +138,22 @@@@ } else if (!strcasecmp(modes, "MODE2/2352")) { track->bstart = 0; - // If this would happen to be a playstation data track - if (0) // leave at 2352 - track->bsize = 2352; + if (1) + track->bsize = 2048; else // PSX track->bsize = 2336; track->extension = ext_iso; - + + } else if (!strcasecmp(modes, "MODE2/2352/2048")) { + track->bstart = 24; + track->bsize = 2048; + track->extension = ext_iso; + + } else if (!strcasecmp(modes, "MODE2/2352/2324")) { + track->bstart = 24; + track->bsize = 2324; + track->extension = ext_iso; + } else if (!strcasecmp(modes, "MODE2/2336")) { // WAS 2352 in V1.361B still work? // what if MODE2/2336 single track bin, still 2352 sectors? @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Import bchunk 1.0.0, a utility to convert CD images in ".bin / .cue" format to a ISO filesystem or VCD @ text @@