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;
SanDisk 1TB SSD Plus, Internal Solid State Drive - SDSSDA-1T00-G26
$74.99
Western Digital 500GB WD Green SN350 NVMe Internal SSD, M.2 2280 - WDS500G2G0C
$46.99
Western Digital 250GB WD Blue SA510 SATA SSD Internal 2.5”/7mm Cased WDS250G3B0A
$39.99
SanDisk 32GB Outdoors FHD microSDXC UHS-I Memory Card - SDSDUNR-032G-GN6VN
$12.99
Crucial BX500 240GB Internal SSD,Micron 3D NAND SATA CT240BX500SSD1 - OEM item
$16.99
Netac 1TB 2TB 512GB Internal SSD 2.5'' SATA III 6Gb/s Solid State Drive lot
$13.99
Patriot P210 128GB 256GB 512GB 1TB 2TB 2.5" SATA 3 6GB/s Internal SSD PC/MAC Lot
$14.99
Intel Optane Memory M10 SSD M.2 2280 16GB MEMPEK1J016GA PCIe 3.0 3D Xpoint NVMe
$5.99
Fanxiang SSD 512GB 1TB 2TB 4TB 2.5'' SSD SATA III Internal Solid State Drive lot
$198.99
Fanxiang 256GB 512GB 1TB 2TB 4TB Internal SSD 2.5" SATA III 6GB/s for PC/MAC Lot
$197.99