Download and execute aqr-20261116-win-install.exe if you have no other reason.
Download aqr-20261116-win7.exe if you use Windows 8 or earlier.
Newly Supported Formats
- Game engines' and middleware's asset packs are taken apart, their files recompressed individually (no module: a pack's directory costs 0.01–0.1% of it):
- Godot .pck, UnityFS bundles, Unity serialized files (.assets) and .resource files, Unreal 4/5 .pak (versions 1–11), Unreal 3 packages and .tfc caches, Valve's VPK with its numbered archives
- FMOD banks, Wwise .bnk/.pck, XACT wave banks, CRI's AWB/ACB/CPK/AFS, GameMaker's data.win
- From public descriptions, not yet verified on real files: Quake PAK, Doom WAD, WAD2/WAD3, GMA, Bethesda BSA/BA2, EA BIG, Ren'Py RPA, KiriKiri XP3, MT Framework ARC, PSARC
- XNA/MonoGame .xnb files that are stored (not compressed): textures, sprite fonts and sound effects are rebuilt
- Unity textures: BC1–BC5 and uncompressed 8-bit textures, whether in the serialized file or in its .resS, are rebuilt by the texture and raster models
- Unreal 3's LZO1X chunks are rebuilt
- GPU textures: BC6H, BC7, ETC1/ETC2/EAC, PVRTC1 and 2D ASTC (LDR and HDR), and KTX, KTX 2, PVR 3 and .astc containers
- Wwise Vorbis media (.wem), also when found inside banks and other packs
- Microsoft ADPCM, in XACT wave banks and in WAV files
- Minecraft Java Edition:
- Region files (.mca): each chunk's zlib stream is rebuilt from its NBT; block states and light are coded by a model
- Distant Horizons' SQLite databases: their zstd blobs are rebuilt, and coarser LODs are made from their children
- Zstandard frames inside other data are rebuilt by an emulation of libzstd's level 3; SQLite databases of zstd blobs use this
- Logs and numeric text are split into line templates and typed columns:
- Timestamps, numbers (decimal commas and digit groups too) and IPv4 addresses are coded as integers
- Each file goes to the log model or the table model (aqr-xsv), whichever codes a sample spread across the file smaller
- Binary-to-text encodings in text files:
- Base64 blocks (MIME attachments, PEM, data URIs, JSON, XML) and hexadecimal blocks (RTF
\pict, SQL hex blobs,xxd -p) are decoded, and their bytes go to the matching recompressors - Quoted-printable bodies
- Base64 blocks (MIME attachments, PEM, data URIs, JSON, XML) and hexadecimal blocks (RTF
- Inno Setup 4.0 to 5.1.4 installers, including 4.0's zlib streams
Changes to Existing Formats
- AVI: any AVI with video is now taken, not just DivX 3; MP3 audio is recompressed as AC-3 audio already was
- Text: tables whose fields are separated by spaces go to aqr-xsv, and aqr-xsv codes dates and times as integers
- Recompression is now decided per batch as well as per file:
- A formula that loses to its data only slightly is kept as an alternative, and the batch picks whichever archives smaller
- Streams that do not compress alone but do after similar streams are grouped with them, not stored as they are
- DWARF: units using DW_FORM_strx2/strx3 (and addrx2/addrx3) were misparsed and kept raw; they are now coded
- Inno Setup installers whose data does not pay (already-packed executables) are no longer split for nothing
User-facing Changes
- Self-extracting archives are about a third of their earlier size: the stub is packed by UPX and the native modules follow it as a compressed bundle
- Windows: "Aqueous + SFX (.exe)" in the compression dialog's formats, with a "Self-extracting (.exe)" preset
- When a recompressor panics, aqr now reports it after the archive (panic: FORMAT: N recompressions panicked, …) and in
--stats' JSON, and keeps the data as it is; Before, nothing was reported - Developer options:
-Z NAME=VALUEand-Z [no-]NAMEset internal bounds and switches without a rebuild
Performance Optimizations
- Compression of AI model files has sped up
- Verifying a large file reads it once, not twice, and blocks that are stored as they are get hashed in place on all threads
- Large streams at the end of a batch are compressed side by side, and during the analysis rather than afterwards
- A batch's blocks are written to the store as they are made, not held on the heap
- Windows: each thread keeps a few freed large blocks for reuse, so threads stop waiting on page faults
- Faster ASTC and PVRTC coding, and faster recompression of small Wwise media
Bug Fixes
- Windows: aqr.exe, aqr-win.exe, the installer and self-extracting programs no longer need the Visual C++ redistributable
- A panic in a module running from a blob (the WebAssembly interpreter in aqr.exe, or a self-extracting program) now fails that module's run instead of killing the process
- Self-extracting programs: an entry name like
C:evilcould replace the destination directory; names are now sanitized the way aqr's own extraction does -jLABEL(without a space) was rejected as an unknown option- A long chain of links overflowed the stack; links nest 256 deep at most
- Windows: a console window no longer flashes when the GUI names or lists versions; the dialog's "default" 7z level is now 6, matching what is actually written (it said 5)
- cpio: a header that arrived in two pieces was rebuilt wrongly
- A set of PNG files with very many members could exceed the host's task limit; sets now hold at most 1024 members
- Corrupt or crafted input no longer causes panics, aborts or unbounded allocation across most readers and decoders (RAR, 7z/xz/tar/ALZ sizes, OLE, Unity, ASTC, formula blocks, and others). Hosts now limit tasks (2^16) and channels (2^12) per module run
- Homebrew: the tap update waits until the release has all its assets