macOS
brew install advancecomplocal Homebrew formula metadata
sudo port install advancecompMacPorts ports tree · archivers/advancecomp/Portfile · source: api.github.com
brew
Recompression utilities for .PNG, .MNG, .ZIP, and .GZ files. Version 2.6 via Homebrew; verified 2026-07-02.
install
brew install advancecomplocal Homebrew formula metadata
sudo port install advancecompMacPorts ports tree · archivers/advancecomp/Portfile · source: api.github.com
sudo apk add advancecompAlpine Linux edge package indexes · advancecomp · source: dl-cdn.alpinelinux.org
sudo apt install advancecompDebian stable package indexes · advancecomp · source: deb.debian.org
sudo dnf install advancecompFedora Rawhide package metadata · advancecomp · source: dl.fedoraproject.org
nix profile install nixpkgs#advancecompnixpkgs package indexes · pkgs/by-name/ad/advancecomp/package.nix · source: api.github.com
overview
Recompression utilities for .PNG, .MNG, .ZIP, and .GZ files
history
AdvanceCOMP is Andrea Mazzoleni's collection of recompression utilities for ZIP, PNG, MNG, GZ, and related deflate streams. It is best known in package-manager circles as a small suite of aggressive, lossless recompression commands: `advzip`, `advpng`, `advmng`, and `advdef`.
AdvanceCOMP came out of the Advance emulator tooling family. The official history shows the first AdvanceSCAN public release in 2002 carrying early `advzip` functionality, then `advpng` and `advmng`, before AdvanceCOMP 1.5 split from AdvanceSCAN in January 2003 and added `advdef`.
The official README describes AdvanceCOMP as utilities for recompressing ZIP archives, PNG snapshots, MNG video clips, and GZ files, especially for ROM, snapshot, and clip collections of emulated games. The GitHub README confirms broad platform support across Linux, Mac OS X, DOS, Windows, and other Unix-like platforms.
The project has kept its compression engine current over time. Its history records zopfli support and a GPLv3 change in 2013, libdeflate support becoming the default in 2016, libdeflate updates through 2023, and security fixes for multiple CVEs in 2022.
The provided package facts show AdvanceCOMP available through Homebrew, Alpine, Debian, Fedora, MacPorts, Nix, and Ubuntu. That is wide adoption for a specialist recompressor and reflects its usefulness beyond the AdvanceMAME world, especially anywhere deterministic lossless size reduction is desirable.
AdvanceCOMP's adoption overlaps with PNG and archive optimization workflows. Its own documentation compares it with OptiPNG and pngcrush, while its utilities are also useful in emulator collections where many ZIPs and screenshots are stored for long periods.
`advzip` recompresses and tests ZIP archives, using libdeflate by default and optionally trying slower 7z or zopfli modes. `advpng` recompresses PNG files, especially AdvanceMAME-generated snapshots, by stripping ancillary chunks, joining IDAT chunks, and recompressing deflate data. `advdef` recompresses compressed data inside PNG, MNG, GZ, TGZ, and SVGZ files without changing the surrounding file structure.
The package is usually run as a post-processing tool: apply it to archives or images when smaller files matter more than CPU time. Its `--shrink-insane`/iteration options are a clear signal that the package optimizes for enthusiasts willing to spend cycles for marginal byte savings.
AdvanceCOMP is significant because it packages compression obsession into stable, scriptable Unix commands. It is the kind of tool maintainers reach for in build pipelines, ROM set cleanup, reproducible archive experiments, and asset-shrinking tasks where a GUI optimizer would be awkward.
Its history also mirrors the evolution of deflate optimization culture: 7-Zip deflate, zopfli, and libdeflate each appear as the project chases better size/speed tradeoffs while keeping simple command-line tools.
security posture
broad file, network, media, or database tool signal.
blue risk · medium confidence · tool
Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.
executables
| Command | Kind | Exposure | Note |
|---|---|---|---|
advdef | cli | global executable | |
advmng | cli | global executable | |
advpng | cli | global executable | |
advzip | cli | global executable |
freshness
These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.
https://github.com/amadvance/advancecomp
install metadata
| Package key | brew:advancecomp |
|---|---|
| Version | 2.6 |
| Package manager | Homebrew |
| Package manager page | https://formulae.brew.sh/formula/advancecomp |
| Homepage | https://www.advancemame.it/comp-readme.html |
| Repository | https://github.com/amadvance/advancecomp |
| Upstream docs | https://www.advancemame.it/comp-readme.html |
| License | GPL-3.0-only |
| Source archive | https://github.com/amadvance/advancecomp/releases/download/v2.6/advancecomp-2.6.tar.gz |
| Last updated | 2026-07-02T11:12:14-04:00 |
| Pulse | updated |
| Build dependencies | autoconf, automake, libtool |
| Uses from macOS | bzip2 |
| Bottle | available (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | not defined |
| Service | none declared |
registry facts
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | advancecomp |
| Version Scheme | 0 |
| Revision | 0 |
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | no |
| URL Keys |
|
source database matches
Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.
advancecomp 2.5-1
collection of recompression utilities
sudo apt install advancecompadvancecomp
nix profile install nixpkgs#advancecompadvancecomp 2.5-1build1
collection of recompression utilities
sudo apt install advancecompadvancecomp 2.6-r0
A collection of recompression utilities for your .ZIP archives, .PNG snapshots, .MNG video clips and .GZ files
sudo apk add advancecompadvancecomp-doc 2.6-r0
A collection of recompression utilities for your .ZIP archives, .PNG snapshots, .MNG video clips and .GZ files (documentation)
sudo apk add advancecomp-docadvancecomp 2.6-18.fc45
Recompression utilities for .png, .mng, .zip and .gz files
sudo dnf install advancecompadvancecomp
sudo port install advancecompsource trail
This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.
View the package source record on GitHub.