debian/0000755000000000000000000000000011760140556007173 5ustar debian/ecm-compress.10000644000000000000000000000307711640402103011643 0ustar .\" .TH ECM-COMPRESS 1 "December 22, 2008" .SH NAME ecm-compress \- selectively strips error correction codes from CD images .SH SYNOPSIS .B ecm-compress .RI " \fIcdimagefile\fR" " [\fIecmfile\fR]" .br .SH DESCRIPTION .B ecm-compress reduces the size of a CD image file (ISO, BIN, CDI, NRG, CCD or any other format that uses raw sectors) by eliminating the Error Correction Codes (EEC) and Error Detection Codes (EDC) from each sector when possible. .TP Since the data \fBecm-compress\fR strips is usually nearly impossible to compress with traditional tools, the resulting ECM file will compress far better than the raw CD image. .TP Hard drives already have mechanisms to protect data integrity, EEC/EDC data can thus be discarded safely. .TP This data can then be generated again using the command \fBecm-uncompress\fR. .TP Because \fBecm-compress\fR only discards EDC/ECC data for sectors where it's verifiably possible to recreate that data, the process is lossless. In case of copy protection, \fBecm-compress\fR will preserve the bogus data. .SH EXAMPLES .TP .B ecm-compress foo.bin strips the ECC/EDC data from the foo.bin CD image and save the resulting file as foo.bin.ecm .TP .B ecm-compress foo.img foobar strips the ECC/EDC data from the foo.img CD image and save the resulting file as foobar .br .SH SEE ALSO .BR ecm-uncompress (1). .br .SH AUTHOR \fBecm-compress\fR was written by Neill Corlett. .PP This manual page was written by Loïc Martin , for the Debian project (but may be used by others), using the documentation written by ECM author Neill Corlett. debian/ecm-uncompress.10000644000000000000000000000224211640267357012223 0ustar .\" .TH ECM-UNCOMPRESS 1 "December 22, 2008" .SH NAME ecm-uncompress \- regenerate error correction codes from ECM files .SH SYNOPSIS .B ecm-uncompress .RI " \fIecmfile\fR" " [\fIoutputfile\fR]" .br .SH DESCRIPTION .B ecm-uncompress is used to recreate CD image files (ISO, BIN, CDI, NRG, CCD or any other format that uses raw sectors) from ECM files, by regenerating Error Correction Codes (EEC) and Error Detection Codes (EDC) striped by the program \fBecm-compress\fR. .TP Because \fBecm-compress\fR only discards EDC/ECC data for sectors where it's verifiably possible to recreate that data, the process is lossless. .SH EXAMPLES .TP .B ecm-uncompress foo.bin.ecm regenerate the ECC/EDC data from foo.bin.ecm and save the resulting CD image as foo.bin .TP .B ecm-uncompress foo.img.ecm foobar regenerate the ECC/EDC data from foo.img.ecm and save the resulting CD image as foobar .br .SH SEE ALSO .BR ecm-compress (1). .br .SH AUTHOR .B ecm-uncompress was written by Neill Corlett. .PP This manual page was written by Loïc Martin , for the Debian project (but may be used by others), using the documentation written by ECM-UNCOMPRESS author Neill Corlett. debian/compat0000644000000000000000000000000211760140005010356 0ustar 9 debian/ecm-compress.fr.10000644000000000000000000000416211640266077012267 0ustar .\" .TH ECM-COMPRESS 1 "22\ décembre\ 2008" .SH NOM ecm-compress \- enlève de façon sélective les codes de correction d'erreur d'images CD .SH SYNOPSIS .B ecm-compress .RI " \fIfichier_image_CD\fR" " [\fIfichier_ecm\fR]" .br .SH DESCRIPTION .B ecm-compress réduit la taille d'un fichier image CD (ISO, BIN, CDI, NRG, CCD ou tout autre format utilisant des secteurs bruts) en éliminant les codes de correction d'erreur (EEC, pour "Error Correction Codes") et les codes de détection d'erreur (EDC, pour "Error Detection Codes") de chaque secteur quand c'est possible. .TP Comme les informations qu'enlève \fBecm-compress\fR sont en général très difficiles à compresser avec des outils traditionnels, le fichier ECM produit se compressera beaucoup mieux que l'image CD brute. .TP Les disques durs possèdent déjà des mécanismes pour protéger l'intégrité des données, les informations EEC/EDC peuvent donc être enlevées sans danger. .TP Ces informations peuvent ensuite être régénérées avec la commande \fBecm-uncompress\fR. .TP \fBecm-compress\fR n'enlevant les informations EDC/ECC que pour les secteurs où il est possible de recréer ces informations à l'identique, le procédé est sans pertes. Face aux protections contre la copie, \fBecm-compress\fR préservera les informations concernées. .SH EXEMPLES .TP .B ecm-compress foo.bin enlève les informations ECC/EDC de l'image CD foo.bin et sauve le fichier produit sous le nom foo.bin.ecm .TP .B ecm-compress foo.img foobar enlève les informations ECC/EDC de l'image CD foo.img et sauve le fichier produit sous le nom foobar .br .SH VOIR AUSSI .BR ecm-uncompress (1). .br .SH AUTEUR \fBecm-compress\fR a été écrit par Neill Corlett. .PP Cette page de manuel a été rédigée par Loïc Martin , pour le système Debian (mais elle peut être utilisée par d'autres), à partir de la documentation de Neill Corlett, auteur d'ECM-COMPRESS. .SH TRADUCTION Cette adaptation française a été réalisée par Loïc Martin . La version originale de ce document est toujours consultable via la commande\ : LANGUAGE=en man ecm-compress debian/ecm.install0000644000000000000000000000003211760135252011317 0ustar src/ecm-compress usr/bin/ debian/watch0000644000000000000000000000011411760127431010215 0ustar version=3 http://www.neillcorlett.com/cmdpack/ .*/cmdpack-(.*)-src\.tar\.gz debian/copyright0000644000000000000000000000377411760130312011126 0ustar Format-Specification: http://wiki.debian.org/Proposals/CopyrightFormat?action=recall&rev=440 Upstream-Name: cmdline Upstream-Maintainer: Neill Corlett Upstream-Source: http://www.neillcorlett.com/ Files: * Copyright: Copyright (C) 1996-2012 Neill Corlett License: GPL-3+ Files: debian/* Copyright: Copyright 2008, Loïc Martin Copyright: Copyright 2011-2012, Bart Martens License: GPL-2+ License: GPL-2+ 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, see . License: GPL-3+ 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 3 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, see . On Debian systems, the complete text of the GNU General Public License version 2 can be found in the '/usr/share/common-licenses/GPL-2' file. On Debian systems, the complete text of the GNU General Public License version 3 can be found in the '/usr/share/common-licenses/GPL-3' file. debian/control0000644000000000000000000000157311760131151010573 0ustar Source: cmdpack Section: utils Priority: optional Maintainer: Bart Martens Build-Depends: debhelper (>= 9) Standards-Version: 3.9.3 Homepage: http://www.neillcorlett.com/cmdpack/ Package: ecm Architecture: any Depends: ${shlibs:Depends}, ${misc:Depends} Homepage: http://www.neillcorlett.com/ecm/ Description: prepares CD image files so they compress better The ECM format allows you to reduce the size of a typical CD image file (BIN, CDI, NRG, CCD, or any other format that uses raw sectors). It works by eliminating the Error Correction/Detection Codes (ECC/EDC) from each sector whenever possible. The encoder automatically adjusts to different sector types and automatically skips any headers it encounters. Since the data skipped is nearly impossible to compress with traditional tools, the resulting ECM file will compress far better than the raw CD image. debian/ecm-uncompress.fr.10000644000000000000000000000316211640267474012633 0ustar .\" .TH ECM-UNCOMPRESS 1 "22\ décembre\ 2008" .SH NOM ecm-uncompress \- régénère les codes de correction depuis des fichiers ECM .SH SYNOPSIS .B ecm-uncompress .RI " \fIfichier_ecm\fR" " [\fIfichier_produit\fR]" .br .SH DESCRIPTION .B ecm-uncompress est employé pour recréer les fichier image CD (ISO, BIN, CDI, NRG, CCD ou tout autre format utilisant des secteurs bruts) à partir de fichiers ECM, en régénérant les codes de correction d'erreur (EEC, pour "Error Correction Codes") et les codes de détection d'erreur (EDC, pour "Error Detection Codes") enlevés par le programme \fBecm-compress\fR. .TP \fBecm-compress\fR n'enlevant les informations EDC/ECC que pour les secteurs où il est possible de recréer ces informations à l'identique, le procédé est sans pertes. .SH EXEMPLES .TP .B ecm-uncompress foo.bin.ecm régénère les informations EDC/ECC du fichier foo.bin.ecm et sauve l'image CD produite sous le nom foo.bin .TP .B ecm-uncompress foo.img.ecm foobar régénère les informations EDC/ECC du fichier foo.bin.ecm et sauve l'image CD produite sous le nom foobar .br .SH VOIR AUSSI .BR ecm-compress (1). .br .SH AUTEUR \fBecm-uncompress\fR a été écrit par Neill Corlett. .PP Cette page de manuel a été rédigée par Loïc Martin , pour le système Debian (mais elle peut être utilisée par d'autres), à partir de la documentation de Neill Corlett, auteur d'ECM-UNCOMPRESS. .SH TRADUCTION Cette adaptation française a été réalisée par Loïc Martin . La version originale de ce document est toujours consultable via la commande\ : LANGUAGE=en man ecm-uncompress debian/changelog0000644000000000000000000000220711760140556011046 0ustar cmdpack (1.03-1) unstable; urgency=low * Renaming source package name from ecm to cmdpack. * New upstream release. * debian/README.source: Removed. * debian/control, debian/compat: debhelper 9. * debian/watch, debian/copyright: New upstream homepage. * debian/control: Source and binary packages now have different homepages. * debian/copyright: Updated upstream license to GPL-3+. * debian/patches/Makefile: Replaced by debian/patches/makefile.diff. * debian/patches/rename.diff: Added, see #580548. * debian/ecm.links: ecm-uncompress is now a symlink to ecm-compress. -- Bart Martens Sat, 26 May 2012 10:14:50 +0000 ecm (1.00-2) unstable; urgency=low * New maintainer. * Renamed ecm to ecm-compress and unecm to ecm-uncompress. Closes: #580548. * Fixed typos. Closes: #583952. -- Bart Martens Tue, 27 Sep 2011 07:40:54 +0200 ecm (1.00-1) unstable; urgency=low * Initial release (Closes: bug#531079). * Repacked .zip to .tar.gz tarball, removed Windows binaries from archive (ecm.exe, unecm.exe) -- Loïc Martin Tue, 02 Jun 2009 11:28:30 +0200 debian/rules0000755000000000000000000000006511760140540010245 0ustar #!/usr/bin/make -f #export DH_VERBOSE=1 %: dh $@ debian/clean0000644000000000000000000000003111760137164010173 0ustar src/ecm src/ecm-compress debian/patches/0000755000000000000000000000000011760140532010614 5ustar debian/patches/rename.diff0000644000000000000000000000327011760134671012726 0ustar --- ./src/ecm.c.orig 2012-03-18 07:00:00.000000000 +0000 +++ ./src/ecm.c 2012-05-26 11:05:38.000000000 +0000 @@ -1,6 +1,6 @@ //////////////////////////////////////////////////////////////////////////////// // -#define TITLE "ecm - Encoder/decoder for Error Code Modeler format" +#define TITLE "ecm-compress - Encoder/decoder for Error Code Modeler format" #define COPYR "Copyright (C) 2002-2011 Neill Corlett" // // This program is free software: you can redistribute it and/or modify @@ -1041,7 +1041,7 @@ // ecm source // unecm source // - encode = (strcmp(argv[0], "unecm") != 0); + encode = (strcmp(argv[0], "ecm-uncompress") != 0); infilename = argv[1]; tempfilename = malloc(strlen(infilename) + 7); @@ -1085,7 +1085,7 @@ // ecm source dest // unecm source dest // - encode = (strcmp(argv[0], "unecm") != 0); + encode = (strcmp(argv[0], "ecm-uncompress") != 0); infilename = argv[1]; outfilename = argv[2]; break; @@ -1136,14 +1136,14 @@ "Usage:\n" "\n" "To encode:\n" - " ecm cdimagefile\n" - " ecm cdimagefile ecmfile\n" - " ecm e cdimagefile ecmfile\n" + " ecm-compress cdimagefile\n" + " ecm-compress cdimagefile ecmfile\n" + " ecm-compress e cdimagefile ecmfile\n" "\n" "To decode:\n" - " unecm ecmfile\n" - " unecm ecmfile cdimagefile\n" - " ecm d ecmfile cdimagefile\n" + " ecm-uncompress ecmfile\n" + " ecm-uncompress ecmfile cdimagefile\n" + " ecm-compress d ecmfile cdimagefile\n" ); error: debian/patches/makefile.diff0000644000000000000000000000031211760140521013215 0ustar --- /dev/null 2012-05-26 04:06:18.017129015 +0000 +++ ./Makefile 2012-05-26 11:40:47.000000000 +0000 @@ -0,0 +1,4 @@ +all: src/ecm-compress + +src/ecm-compress: src/ecm + cp -p src/ecm src/ecm-compress debian/patches/series0000644000000000000000000000003211760140532012024 0ustar rename.diff makefile.diff debian/ecm.manpages0000644000000000000000000000014211640266237011453 0ustar debian/ecm-compress.1 debian/ecm-uncompress.1 debian/ecm-compress.fr.1 debian/ecm-uncompress.fr.1 debian/ecm.links0000644000000000000000000000005411760135623010777 0ustar usr/bin/ecm-compress usr/bin/ecm-uncompress debian/source/0000755000000000000000000000000011760126453010473 5ustar debian/source/format0000644000000000000000000000001411760126453011701 0ustar 3.0 (quilt)