Automic VaultAutomic Vault

brew

Install advancecomp with Homebrew, apk, apt, dnf, MacPorts, Nix

Recompression utilities for .PNG, .MNG, .ZIP, and .GZ files. Version 2.6 via Homebrew; verified 2026-07-02.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install advancecomp

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install advancecomp

MacPorts ports tree · archivers/advancecomp/Portfile · source: api.github.com

Linux

Alpine Linux apkverified · 92%
sudo apk add advancecomp

Alpine Linux edge package indexes · advancecomp · source: dl-cdn.alpinelinux.org

Debian aptverified · 92%
sudo apt install advancecomp

Debian stable package indexes · advancecomp · source: deb.debian.org

Fedora dnfverified · 92%
sudo dnf install advancecomp

Fedora Rawhide package metadata · advancecomp · source: dl.fedoraproject.org

Nixverified · 92%
nix profile install nixpkgs#advancecomp

nixpkgs package indexes · pkgs/by-name/ad/advancecomp/package.nix · source: api.github.com

overview

Package summary

Recompression utilities for .PNG, .MNG, .ZIP, and .GZ files

Commands and aliases

  • advdef
  • advmng
  • advpng
  • advzip

history

Project history and usage

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`.

Project history

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.

Adoption history

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.

How it is used

`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.

Why package nerds care

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.

Timeline

  • 2002: Early AdvanceSCAN releases introduced AdvanceZIP, advpng, and advmng.
  • 2003: AdvanceCOMP 1.5 split from AdvanceSCAN and added advdef.
  • 2013: AdvanceCOMP 1.17 changed to GPLv3 and added zopfli support.
  • 2016: AdvanceCOMP 1.21 added libdeflate support and made it the default.
  • 2022: AdvanceCOMP 2.4 fixed multiple CVEs and updated libdeflate.
  • 2023: AdvanceCOMP 2.6 updated libdeflate to 1.19.

Related projects

  • AdvanceMAME and AdvanceSCAN are sibling projects in the Advance project family.
  • OptiPNG, pngcrush, zopfli, libdeflate, and 7-Zip are adjacent compression tools or libraries referenced by the project documentation and history.

security posture

Risk level: blue

broad file, network, media, or database tool signal.

Risk classifier

blue risk · medium confidence · tool

Why

  • broad file, network, media, or database tool signal

Signals

  • text:compress

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Build metadata lists 3 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
advdefcliglobal executable
advmngcliglobal executable
advpngcliglobal executable
advzipcliglobal executable

freshness

Version and 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.

page generated2026-07-08
manager version2.6
manager updated2026-07-02
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/amadvance/advancecomp

install metadata

Package metadata

Package keybrew:advancecomp
Version2.6
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/advancecomp
Homepagehttps://www.advancemame.it/comp-readme.html
Repositoryhttps://github.com/amadvance/advancecomp
Upstream docshttps://www.advancemame.it/comp-readme.html
LicenseGPL-3.0-only
Source archivehttps://github.com/amadvance/advancecomp/releases/download/v2.6/advancecomp-2.6.tar.gz
Last updated2026-07-02T11:12:14-04:00
Pulseupdated
Build dependenciesautoconf, automake, libtool
Uses from macOSbzip2
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameadvancecomp
Version Scheme0
Revision0
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedno
Disabledno
Keg Onlyno
URL Keys
  • stable

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Debian apt95%

advancecomp 2.5-1

collection of recompression utilities

http://www.advancemame.it/

sudo apt install advancecomp
  • Section: utils
  • Architecture: amd64
  • 4 dependencies
  • normalized package name match
  • Matched by: Advancecomp
Debian stable package indexes · deb.debian.org · Debian stable package indexes: advancecomp from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz
Nix95%

advancecomp

nix profile install nixpkgs#advancecomp
  • normalized package name match
  • Matched by: Advancecomp
nixpkgs package indexes · api.github.com · nixpkgs package indexes: pkgs/by-name/ad/advancecomp/package.nix from https://api.github.com/repos/NixOS/nixpkgs/git/trees/master?recursive=1
Ubuntu apt95%

advancecomp 2.5-1build1

collection of recompression utilities

http://www.advancemame.it/

sudo apt install advancecomp
  • Section: utils
  • Architecture: amd64
  • 4 dependencies
  • normalized package name match
  • Matched by: Advancecomp
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: advancecomp from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
apk95%

advancecomp 2.6-r0

A collection of recompression utilities for your .ZIP archives, .PNG snapshots, .MNG video clips and .GZ files

https://www.advancemame.it/

sudo apk add advancecomp
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: advancecomp
  • 1 dependencies
  • 1 provides
  • normalized package name match
  • Matched by: Advancecomp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: advancecomp from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk95%

advancecomp-doc 2.6-r0

A collection of recompression utilities for your .ZIP archives, .PNG snapshots, .MNG video clips and .GZ files (documentation)

https://www.advancemame.it/

sudo apk add advancecomp-doc
  • License: GPL-3.0-or-later
  • Architecture: x86_64
  • Source Package: advancecomp
  • normalized package name match
  • Matched by: Advancecomp
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: advancecomp-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
dnf95%

advancecomp 2.6-18.fc45

Recompression utilities for .png, .mng, .zip and .gz files

https://www.advancemame.it/

sudo dnf install advancecomp
  • License: GPL-3.0-only AND GPL-2.0-or-later AND LGPL-2.1-or-later
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: advancecomp
  • 9 dependencies
  • 2 provides
  • normalized package name match
  • Matched by: Advancecomp
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: advancecomp from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
MacPorts95%

advancecomp

sudo port install advancecomp
  • normalized package name match
  • Matched by: Advancecomp
MacPorts ports tree · api.github.com · MacPorts ports tree: archivers/advancecomp/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment