Fork notice: This is a fork of MarcTV's Docker CHD Converter. It adds a Web UI and more conversion tools on top of the original CLI converter. Thanks to MarcTV for the original.
A game image converter that wraps twelve tools: CHDMAN (MAME), dolphin-tool (Dolphin Emulator), z3ds_compressor (Nintendo 3DS), nsz (Nintendo Switch), maxcso (PSP/PS2 CSO/ZSO), 7z (handheld ROM archives), makeps3iso (PS3 decrypted folder → ISO), nkit2iso (NKit-shrunk GameCube/Wii image → ISO), JWUDTool (Wii U WUD ↔ WUX), extract-xiso (Xbox / Xbox 360 disc image → XISO), rom-converto (the converter RomM ships; Xbox 360 disc image → ZAR, PSP PBP → ISO, 3DS CIA ↔ CCI), and unar (a multi-part RAR set from usenet → the one file inside it). It also repacks eXoDOS game zips for RomM's in-browser DOS player. Pick the tool that matches your files and convert from a browser, or run it headless from the command line.
.iso), NKit (an NKit-shrunk GameCube/Wii image restored to a full .iso), Wii U (WUD ↔ WUX), Xbox (a full Xbox / Xbox 360 disc image trimmed to XISO), or rom-converto (an Xbox 360 disc image packed to ZAR for Xenia, a PSP PBP turned back into its ISO, or a 3DS CIA converted to CCI and back), chosen per job.| Tool | Platform / Use | Input Formats | Output Formats | Compression Control | External Keys | Binary |
|---|---|---|---|---|---|---|
| CHDMAN | CD / DVD / HD / LaserDisc discs | .gdi, .cue, .bin, .iso, .chd | .chd, .cue, .bin, .iso, .raw, .avi | Codec list (zstd, zlib, …) | None | mame-tools |
| Dolphin | GameCube / Wii discs | .iso, .wbfs, .rvz, .wia, .gcz | .rvz, .wia, .gcz, .iso | Codec + numeric level | None | dolphin-emu |
| 3DS | Nintendo 3DS ROMs | .cci, .cia, .3ds, .cxi, .3dsx, .zcci, .zcia, .z3ds, .zcxi, .z3dsx | .zcci, .zcia, .z3ds, .zcxi, .z3dsx, .cci, .cia, .3ds, .cxi, .3dsx | None (fixed) | None | z3ds_compressor |
| Switch | Nintendo Switch dumps | .nsp, .xci, .nsz, .xcz | .nsz, .xcz, .nsp, .xci | Layout + level | Yes (prod.keys) | nsz |
| CSO | PSP / PS2 game images | .iso, .cso, .zso, .dax | .cso, .zso, .dax, .iso, .chd | Effort preset (Fast/Default/Max); the cso_to_chd chain ignores it and uses chdman defaults | None | maxcso (+ chdman for cso_to_chd) |
| Handheld ROM | Cartridge ROMs (Nintendo, Sega, and other 8/16-bit systems) | .gb, .gbc, .gba, .nds, .nes, .sfc, .smc, .z64, .n64, .v64, .sms, .md, .gen, .smd, .gg, .vb, .ws, .wsc, .ngp, .ngc, .lnx, .d64, .t64, .prg, .a26, .a78, .7z, .zip | .7z, .zip, and the original ROM | Effort preset (Fast/Default/Max) | None | 7z (p7zip-full) |
| PS3 ISO | Decrypted PS3 disc / JB folders | a folder containing PS3_GAME/ (plus PS3_DISC.SFB for disc rips) | .iso (optional 4 GB FAT32 split) | None (fixed) | None | makeps3iso |
| Wii U | Wii U disc images | .wud, .wux | .wux, .wud | None (fixed); a verify-after-conversion toggle | None | JWUDTool (Java) |
| NKit | NKit-shrunk GameCube / Wii discs | .nkit.iso, .nkit.gcz | .iso, .rvz (via the nkit_to_rvz chain) | None (fixed) | None | nkit2iso (+ dolphin-tool for nkit_to_rvz) |
| Xbox | Xbox / Xbox 360 disc images | .iso (only images holding an Xbox filesystem) | .xiso.iso | None (fixed) | None | extract-xiso |
| rom-converto | Xbox 360 disc images for Xenia; PSP PBPs; 3DS CIA and CCI | .iso, .xiso.iso (only images holding an Xbox 360 filesystem), .pbp (PSP games only), .cia, .cci, .3ds | .zar, .iso, .cci, .cia | None (fixed) | None (keys built into rom-converto; the app never downloads or ships any) | rom-converto v0.24.0 |
| eXoDOS | eXoDOS DOS game zips, for RomM | .zip (only zips holding one game folder with a template in EXODOS_DOS_DIR) | .dosz | None (fixed) | Your own eXoDOS !dos folder (EXODOS_DOS_DIR) | none (built in) |
| RAR sets | Multi-part RAR sets (usenet downloads), RAR4 and RAR5 | the set's first volume: .rar (with .r00, .r01, …) or .part01.rar (with .part02.rar, …) | the one file inside the set, under its own name | None (fixed) | None | unar |
Most conversions above are lossless and fully reversible, including 3DS, which
now decompresses back to the original ROM as well. This uses
z3ds_compress (a fork that adds a
decompression mode and .cxi/.3dsx support to the original
energeticokay/z3ds_compress).
The compressed .z3ds can be read directly by Azahar, or restored to
.cci/.cia/.3ds with z3ds_decompress; see
Nintendo 3DS Support.
PS3 ISO is the clearest exception to the round trip. It packs a decrypted PS3
folder into a .iso that RPCS3 mounts directly; there is no reverse mode back to
a folder, and it never deletes the source. See
PlayStation 3 Support.
ZAR is the other one-way format. A ZAR holds an Xbox 360 game's files, not the disc, and nothing turns it back into an ISO, so the ZAR mode never deletes its source and says why. See Xbox 360 ZAR Support.
The CSO tool also has a one-step chain, cso_to_chd, that runs a .cso/.zso/.dax
through maxcso to a temporary .iso and then chdman to a .chd in a single job.
The disc image survives losslessly, but this one changes container: extracting the
resulting .chd gives you an .iso, not the original .cso/.zso/.dax, so
delete-on-verify here trades the compressed source for a CHD. See
PSP / PS2 Support.
NKit is one-directional for the opposite reason: this app never writes NKit,
it only restores it. nkit_restore rebuilds the original .iso — bit-exact and
CRC32-verified, except for a Wii image missing its update partition (see
NKit Support) — which you can then hand to Dolphin or
CHDMAN like any other disc image — or use the
one-step nkit_to_rvz chain, which restores and compresses to RVZ in a single job
so the full-size ISO never lands in your library. See
NKit Support.
Archive inputs: most input formats above can be converted straight from inside a ZIP, 7z, or RAR archive, including 3DS ROMs, Dolphin game images, Switch dumps, and Wii U images. Browse into the archive, pick a member, and convert. This even covers CHDMAN's extract modes pulling a
.chdout of an archive and decompressing it back to a game image. A few exceptions: CHDMAN's copy/recompress mode is not offered from an archive (recompressing an already-finished.chdwould be a pointless round trip); Handheld ROM does not accept loose ROMs from inside an archive — its.7z/.zipare the packed product, so to unpack one select the archive file itself and runromz_extract, rather than browsing into it for a member; and PS3 ISO takes a folder, not a file, so it is never an archive input (a zippedPS3_GAMEtree can't be converted from inside an archive). Each tool's full mode list (e.g. CHDMAN'screatecd/extractcd, CSO'scso2_compress, the ROM packer'sromz_7z/romz_zip/romz_extract, the PS3 packer'sfolder_to_iso, and NKit'snkit_restore/nkit_to_rvz) is in Supported Operations.
Archive inputs: most input formats above can be converted straight from inside a ZIP, 7z, or RAR archive, including 3DS ROMs, Dolphin game images, Switch dumps, and NKit images. Browse into the archive, pick a member, and convert. This even covers CHDMAN's extract modes pulling a
.chdout of an archive and decompressing it back to a game image. A few exceptions: CHDMAN's copy/recompress mode is not offered from an archive (recompressing an already-finished.chdwould be a pointless round trip); Handheld ROM does not accept loose ROMs from inside an archive — its.7z/.zipare the packed product, so to unpack one select the archive file itself and runromz_extract, rather than browsing into it for a member; and PS3 ISO takes a folder, not a file, so it is never an archive input (a zippedPS3_GAMEtree can't be converted from inside an archive).
Compressatorium can sync MAME Redump DAT files (Logiqx XML) in one click and check your compressed files against known-good Redump hashes. The same hashes let tools like Hasheous and RomM match your library.
MAMEREDUMP_AUTO_SYNC=true to sync DATs on container startup when none are loadeddolphin-tool verify — the same hash MAME Redump records for GameCube/Wii discs — so compressed Dolphin outputs match without the container bytes having to be identical.iso/.bin): Matched via file-level SHA1.iso, and the .bin data track from CHDMAN extract), not just CHDs, so non-CHD libraries get cached match results too. A single PS3-packed .iso is matched like any other .iso; a 4 GB split set is not, since its .iso.0/.iso.1 parts aren't scanned extensions. Heavy Dolphin disc-hashing during the scan honors MATCH_MAX_FILE_SIZE and stops promptly if you cancel the scan.Hasheous is a hosted hash-lookup service run by the Gaseous project. It indexes 14 preservation databases and answers "what game is this hash?" for all of them at once. Turn it on and every hash your imported DATs don't recognise is looked up there, so your library gets identified without you curating DATs for every system you own.
Setup is one click. Open DAT Library in the web UI and press Turn on
in the Hasheous panel. It takes effect immediately — no restart, no editing
docker-compose.yml — and the choice is saved, so it survives restarts. A
Test button next to it confirms the server is reachable and reports the
round-trip time.
No account, no API key, no signup — the hash-lookup endpoint is public.
If you'd rather set it declaratively (a fresh container that should come up with it already on), the environment variable does the same thing — but it has to reach the process, so put it where the process will actually see it.
In docker-compose.yml, add it to the service's environment: list. That list
is enumerated rather than inherited, so a value in your shell or in a .env
file will not reach the container on its own:
environment:
- COMPRESSATORIUM_HASHEOUS_ENABLED=true
Running from a checkout, export it (or prefix the command) so the child process inherits it — a bare assignment on its own line sets a shell variable and launches nothing:
COMPRESSATORIUM_HASHEOUS_ENABLED=true ./run_dev.sh
# or, for the whole shell session:
export COMPRESSATORIUM_HASHEOUS_ENABLED=true
The UI toggle wins over the variable when both are set, and the panel tells you when that's the case.
Redump · No-Intro · TOSEC · MAMERedump · MAMEArcade · MAMEMess · WHDLoad · RetroAchievements · FBNeo · PureDOSDAT · Pleasuredome · TotalDOSCollection · eXo · ScreenScraper
Because MAMERedump is among them, Hasheous is a strict superset of the DATs the one-click sync pulls — including the CHD header hashes that only MAMERedump records. Nothing you get today is lost by enabling it.
A local DAT hit tells you the game name and the ROM filename. A Hasheous hit carries considerably more. Everything except the link URLs is shown in the file-list badge tooltip; the tooltip names which databases list the game, and the URLs themselves are stored with the match and returned by the API:
| Field | Example |
|---|---|
| Game name | Jumpman Junior |
| ROM name | Jumpman Junior (1983)(Epyx).bin |
| Source DAT | Redump / No-Intro / TOSEC / MAMERedump … — which database actually knew the hash |
| Platform | Commodore 64 |
| Publisher | Epyx |
| Year | 1983 |
| Region | US, EU, … (when the source records it) |
| Metadata links | IGDB, TheGamesDB, RetroAchievements, Wikipedia, LaunchBox, SteamGridDB |
The links are IDs and URLs into those databases, so a match is a jumping-off
point for artwork or achievements even though Compressatorium doesn't fetch
them itself (see What it deliberately does not do).
The file list shows which of those databases list the game; the URLs are in
the match payload from /api/dat/matches/lookup rather than being clickable in
the row, since the badge tooltip is a native one and can't hold anchors.
The order is fixed, and local always wins:
So a library your own DATs already cover never makes a single network call, and a file your DATs can identify is never disclosed to a third party. Matching is also deterministic: the same file resolves the same way whether or not the network is healthy.
One exception, if you set MATCH_MAX_FILE_SIZE: a file over that cap is never
read, so its file-level hash cannot be computed or checked locally at all. Such
a file still gets looked up on whatever hashes it can offer for free (a CHD's
header and data SHA1s), because the cap means "don't read this file", not
"don't identify it". Leaving the cap unset restores the ordinary order for
those files — their own SHA1 is computed and checked against your DATs before
anything is sent — but it is not a way to keep large files off the network:
if your DATs don't know the file, its hashes still go to Hasheous like any
other. There is no size-based opt-out; the controls that actually stop a
disclosure are turning the fallback off, or pointing
COMPRESSATORIUM_HASHEOUS_URL at your own instance.
Results are cached in the local database, so a file is looked up once, not once per browse. If you enable Hasheous after files were already recorded as "no match", those old verdicts are automatically re-checked against the new source as you browse those files — the cached verdict records which source produced it, so it stops being accepted the moment a stronger one is available. Re-checking is lazy, not a library-wide sweep: a folder you never open keeps its old verdict until you open it, or until you run a rescan.
| Badge | Meaning |
|---|---|
| DAT (blue) | Matched one of your imported DATs |
| HASH | Matched via Hasheous — hover for platform, year, region and source DAT |
Enabling this sends the SHA1 of your files (and nothing else — no filenames,
no paths, no account identifier) to whatever server COMPRESSATORIUM_HASHEOUS_URL
points at. That is why it ships off, and why nothing is transmitted at all
until you enable it — either with the toggle in the DAT Library or by setting
the variable. Requests are HTTPS-only, and a redirect that would
downgrade to plain HTTP is refused rather than followed.
If you'd rather not talk to a third party at all, Hasheous is open source and self-hostable — point the URL at your own instance and lookups stay on your network.
A failed lookup is reported as an error, never recorded as "not in any DAT". A network blip therefore can't permanently mark your library unmatched; the affected files are simply retried next time.
To keep an outage cheap, the client stops calling out for 60 seconds after a failure. Without that, a 1,000-file scan against a dead endpoint would spend over four hours re-learning the same fact once per file.
A metadata scan that ran while Hasheous was unreachable says so on its final
line — … 12 not checked (Hasheous unreachable). The scan itself still
succeeds, because the metadata it collects is unaffected; without that count a
rescan during an outage would finish looking like a clean "nothing matched".
Those files are retried the next time you browse or rescan them.
| Variable | Default | Purpose |
|---|---|---|
COMPRESSATORIUM_HASHEOUS_ENABLED | false | Starting state of the master switch. The DAT Library toggle overrides it and persists. |
COMPRESSATORIUM_HASHEOUS_URL | https://hasheous.org | Point at your own instance. Must be https. |
COMPRESSATORIUM_HASHEOUS_TIMEOUT | 15 | Whole-request timeout in seconds, from the TCP connect to the last byte: every address the host resolves to (one budget between them, not one each), a proxy CONNECT tunnel, headers and body. Not per socket read, so a server or proxy dripping the response a byte at a time can't stall a scan. Two things sit outside the budget: name resolution — getaddrinfo runs before any socket exists, so a stalled resolver is bounded by /etc/resolv.conf instead — and a dripping TLS handshake, which gets the remaining budget as its socket timeout (a peer that stalls or dies mid-handshake is bounded) but not a per-record deadline, so a peer trickling handshake records can outlast it. Both raise eventually, and the 60s cooldown then opens. This call sits in the file-browse path, so keep it short. |
Legacy short names (HASHEOUS_ENABLED, HASHEOUS_URL, HASHEOUS_TIMEOUT) are
accepted as aliases.
The DAT Library page shows the live state — on or off, which server it is pointed at, whether the setting came from the toggle or the environment, and a Test button that reports reachability and latency.
Changing COMPRESSATORIUM_HASHEOUS_URL re-checks previously-unmatched files
against the new server automatically — cached "no match" verdicts record which
server produced them, so pointing at a different instance doesn't leave you with
stale answers.
Hasheous has no bulk endpoint — its API accepts several hashes for one file, not a batch of files — so an uncached library costs at least one request per file.
A file that matches on its first candidate costs one request. Anything else costs more, because candidates are tried in order and each one is a request: a CHD offers a header SHA1 and a data SHA1, and since a CHD's own container bytes may also be indexed, a miss on both falls back to a file-level SHA1 — up to three requests, and three hashes disclosed, for one CHD. That ceiling applies whether the CHD ends up matching on a later candidate or not; a match only stops the requests that would have come after it. Formats with a single hash (ISO, 3DS, Switch, CSO) cost one either way. Dolphin RVZ/WIA/GCZ report one exhaustive disc hash, so they cost one and never fall back.
Responses are cached both locally and by Hasheous' CDN, so this is a one-time cost per file rather than a per-browse one. If you have a large uncached library, run the background library scan once and let it prime the cache rather than browsing folder by folder.
Importing a DAT, or syncing MAMERedump, does not re-send anything. The re-match those trigger runs against your local DATs only. A file the new DATs now identify has its badge upgraded from HASH to DAT; a file they still don't cover keeps the badge it already had. Nothing goes back out over the network, so a sync costs zero requests no matter how large your library is.
The one exception is a file that was previously recorded as no match anywhere. Those verdicts are dropped by the import (a new DAT can turn a miss into a hit), so the next time you browse such a file it is re-checked — locally first, then remotely if the local DATs still don't know it. That is one request at the moment you look at the file, not a burst of thousands at sync time.
The Docker image is available from two registries:
docker pull pacnpal/compressatorium
docker pull ghcr.io/pacnpal/compressatorium
Both registries provide identical images with multi-architecture support (linux/amd64 and linux/arm64).
Note: Use either registry: replace
pacnpal/compressatoriumwithghcr.io/pacnpal/compressatoriumfor the same image.
| Tag | Description |
|---|---|
latest | Latest stable release |
beta | Latest pre-release build (see warning below) |
X.Y.Z | Specific stable version (e.g., 3.7.0) |
X.Y.Z-beta-N | Specific pre-release build (e.g., 3.7.0-beta-3) |
sha-xxxxxxx | Specific commit build |
To track pre-release builds, pull the :beta tag instead of :latest:
docker pull pacnpal/compressatorium:beta
Or pin to a specific pre-release (recommended if you want to control when you upgrade):
docker pull pacnpal/compressatorium:3.7.0-beta-3
Warning: beta builds can cause data loss. Pre-releases may carry unfinished migrations, experimental conversion logic, or breaking changes to the job database. Running a beta against a database that a stable release created can corrupt it or migrate it past the point of return, and downgrading back to
:latestafterwards is not supported. Before you pull:beta:
- Back up your SQLite database (
compressatorium.dbin your data volume) and any in-flight output files.- Prefer a separate data volume for beta testing rather than pointing a beta container at your production volume.
- Do not use beta builds for batches you cannot afford to redo.
When you open the Web UI, you'll see the tool options at the top:
docker pull pacnpal/compressatorium:latest