MAXCSO(1)
π MAXCSO(1) β Fast cso compressor β¨
okay so bestie, welcome to MAXCSO(1) from the General Commands Manual β itβs giving βfast cso compressorβ and honestly it ate. Letβs get into it. π«Ά
πΈ NAME πΈ
MAXCSO β Fast cso compressor
β¨ SYNOPSIS β¨
maxcso [--args] [input.iso] [-o output.cso]
π DESCRIPTION π
A fast ISO to CSO compression program for use with PSP and PS2 emulators, which uses multiple algorithms for best compression ratio. No cap, thatβs the whole point. π₯
π¦ FEATURES π¦
- Can use as many CPU cores as you want. π
- Can use
zlib(3), 7-zip's deflate, and Zopfli. - Processes multiple files in one command.
- Can take a CSO or DAX file as a source.
- Able to output at larger block sizes.
- Support for experimental CSO v2 and ZSO formats using
lz4(1)(faster decompression). β‘ - Tuning of deflate or
lz4(1)compression threshold. - Decompression of all supported inputs (including DAX and CSO v2).
ποΈ Compression ποΈ
maxcso always uses compression level 9. Decompression speed is about the same regardless of level, and disk access is faster with smaller files. periodt. π
Using 7-zip's deflate and Zopfli improves compression ratios, but don't expect a lot. Usual results are between 0.5% to 1.0% smaller.
Larger block sizes than the default will help compression, in the range of 2-3%. However, the files may not be compatible with some software. For example, ppsspp versions released after 2014-10-26 will support larger block sizes. β
Avoid DAX where CSOs using larger block sizes are supported, since DAX is less efficient.
lz4(1) support is mostly for experimentation. π§
π Speed π
Compared to other tools like ciso and CisoPlus, maxcso can run much faster and achieve the same compression. Use --fast to get the fastest compression, which matches level 9 in other tools. ππ₯
Additionally, if you have better than a dual core processor, maxcso will use all of your cores, and perform even better.
In usage, CSOs typically perform well in all known emulators. Some versions of PSP firmware with support for CSOs have bugs in their CSO support, but this doesn't affect emulators. π
π OPTIONS π
Multiple files may be specified. Inputs can be iso or cso files.
--threads=Nβ SpecifyNthreads for I/O and compression.--quietβ Suppress status output.--crcβ Log CRC32 checksums, ignore output files and methods.--fastβ Use only basiczlib(3)orlz4for fastest result.--decompressβ Write out to raw ISO, decompressing as needed.--block=Nβ Specify a block size (default depends onisosize). Many readers only support the2048size.--format=VERβ Specify cso version:cso1,cso2,zso,dax. These are experimental, default iscso1.--usr-zlibβ Enable trials withzlib(3)for deflate compression.--use-zopliβ Enable trials with Zopfli for deflate compression. Because Zopfli is significantly slower than the other methods and uses a lot more memory, it is disabled by default. Use for maximum compression.--use-7zdeflateβ Enable trials with 7-zip's deflate compression.--use-lz4β Enable trials withlz4hcforlz4(1)compression.--use-lz4bruteβ Enable bruteforce trials withlz4hcforlz4(1)compression.--only-METHODβ Only allow a certain compression method (zlib(3), etc. above).--no-METHODβ Disable a certain compression method (zlib(3), etc. above).--lz4-cost=Nβ Allowlz4(1)to increase block size byN%at most (cso2only).--orig-cost=Nβ Allow uncompressed to increase block size byN%at most.---output-path=Xβ Output to pathX/, use basename for default outputs.
The cost arguments allow you to allow each block to be N% bigger by using lz4(1) or no compression. This makes the file read faster (less cpu power), but take more space. π
π EXAMPLES π
maxcso myfile.iso
Compress myfile.iso and create myfile.cso.
maxcso myfile.iso -o output.cso
Compress myfile.iso and create output.cso.
π SEE ALSO π
π BUGS π
Issue tracker: https://github.com/unknownbrackets/maxcso/issues
π source/version + date check, bestie: Debian, November 22, 2018 π
π¦ where this page comes from
- arch rolling: maxcso 1.13.0-4 Β· ISC
- nixos 26.05: maxcso 1.13.0
- nixpkgs unstable: maxcso 1.13.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms