This is a patch against the compressloop implementation at http://projects.openoffice.nl/downloads/compressloop/
(I use this because it doesn't need huge amounts of RAM, since you can specify the image size in advance.)
For some reason, atoi() and atol() don't like numbers greater than 2^31. (Most likely because they assume signed results???)
As a result, compressloop is limited to a maximum input image size of 2^31 (2 gigs) instead of the 2^32 (4 gigs) limit of a long.
I'm sure the best way to fix this would be to replace atoi(), but it's 1:34 AM and I want to compress UT2k3 now, so my patch to the utilities is as follows:
This allows you to set the input image size in 2048-byte sectors. This gets around the atoi() limitation, and also makes compressloop easier to use in scripts with mkisofs -q -print-sizeCode:diff cloop/compressloop.c cloop-sectorpatch/compressloop.c 74a75 > fprintf(stderr, "\t-s sectors\t\tset number of 2048-byte sectors instead of image size in bytes\n"); 105a107 > unsigned long imagesec; 111c113 < while ((optionchar=getopt(argc,argv,"b:i:I:c:Fv"))!=-1) { --- > while ((optionchar=getopt(argc,argv,"b:s:i:I:c:Fv"))!=-1) { 119a122,125 > break; > case 's': > imagesec=atoi(optarg); > imagesize=imagesec*2048;
USB Flash Drive Memory Thumb Photo Sticks For iPhone iPad 128/256/512GB 1TB 2TB
$25.33
512GB USB Flash Drive External Storage Memory Stick For iPhone iPad Android
$17.59
SanDisk 128GB Ultra Flair USB 3.0 Flash Drive - SDCZ73-128G-G46
$12.99
SanDisk 128GB Extreme PRO USB 3.2 Solid State Flash Drive - SDCZ880-128G-A46
$36.99
New TESLA OEM Model S,3,X,Y USB Flash Drive for Dashcam & Sentry Mode 128GB
$18.99
Sandisk 16GB 32GB 64GB 128GB Cruzer Blade Flash Drive Memory Stick USB Lot Pack
$4.99
Mechanical Style Flash Drive USB 3.0 High Speed 16TB Large Capacity Waterproof
$8.37
Lenovo USB 16TB 3.0 USB Flash Drive Thumb Disk Silver Transfer Metal Memory
$24.99
USB Flash Drive Memory Stick Pendrive Thumb Drive 4GB, 8GB, 32GB, 64GB 128GB LOT
$249.37
Lot USB Flash Drive Memory Stick Pendrive Thumb Drive 2GB,4GB, 8G, 32G, 64G 128G
$414.85