oxyROMon
oxyROMon is a cross-platform, opinionated ROM organizer written in Rust. It checks ROM files against known-good Logiqx DAT files, imports them into a tidy directory tree, and sorts them by region, in one-game-one-ROM (1G1R) mode, or both.
It is designed with archiving in mind, so it only keeps original and lossless formats. It can still export to popular lossy formats, leaving your lossless files untouched. Console and computer systems use No-Intro or Redump DATs, and arcade systems (work in progress) use MAME or FBNeo DATs.
Every format is handled in-process, so oxyROMon needs no external tool.
oxyROMon comes in three flavors, all driving the same code and the same database:
- A command-line tool, the core of the project.
- A web UI, served by
oxyromon server, also available as a desktop app. - A Model Context Protocol (MCP) server, so an AI assistant can explore and maintain your library.
New here? Install it, then follow the quick start.
oxyROMon is free software, under the GPL-3.0 or later, developed on GitHub, where issues and pull requests are welcome.
Installation
| Platform | Install with |
|---|---|
| macOS, Linux | brew install alucryd/tap/oxyromon |
| Windows | winget install alucryd.oxyromon |
| Windows | scoop bucket add alucryd https://github.com/alucryd/homebrew-tap, then scoop install oxyromon |
| Arch Linux | pacman -S oxyromon, from the official repositories |
| Docker | alucryd/oxyromon |
| Rust toolchain | cargo install oxyromon, the command-line tool only |
Binaries for Linux, macOS and Windows are also on the release page, along with the desktop app.
The format crates’ command-line tools install from crates.io, as cargo install chd-rs, and ORE’s as cargo install oxyromon-rom-enclosure.
Each archive holds a single executable: put it anywhere on your PATH.
Desktop app
The desktop app shows the web UI in its own window, and shares the command-line tool’s database and settings.
The release page has it for Linux, as a .deb, a .rpm and an AppImage.
Docker
The images are Alpine-based, with oxyromon as their entrypoint, /data holding the database and /roms the library.
Pass the command as you would to oxyromon:
docker run --rm -v oxyromon:/data -v /path/to/Emulation:/roms alucryd/oxyromon info
To serve the web UI, listen on every address inside the container, and publish the port on the host’s loopback only, as the server has no authentication:
docker run -d -v oxyromon:/data -v /path/to/Emulation:/roms -p 127.0.0.1:8000:8000 alucryd/oxyromon server --address 0.0.0.0
Building it yourself
See Building from source for the web UI, the desktop app and the optional features.
Quick start
oxyROMon organizes a library one system at a time, and a system is created from a Logiqx DAT file, the list of every known-good dump of that system.
1. Get DAT files
- Cartridge-based consoles and older computers: Dat-o-Matic (No-Intro).
- Disc-based consoles: Redump, or let
download-datsfetch them for you. - MAME: Progetto-Snaps.
- FBNeo: harder to find, libretro has some.
2. Tell oxyROMon where your library lives and what to keep
oxyromon config -s ROM_DIRECTORY /path/to/Emulation # where your library lives
oxyromon config -s REGIONS_ALL US,EU,JP # regions to keep
oxyromon config -s REGIONS_ONE US,EU # 1G1R regions, by preference
Regions use TOSEC’s two-letter codes.
REGIONS_ALL keeps every game from those regions, and REGIONS_ONE keeps one game per title, the first region in the list winning: see Sorting and 1G1R.
3. Import, then sort
oxyromon import-dats "Nintendo - Game Boy (20260101-000000).dat"
oxyromon import-roms ~/Downloads/roms
oxyromon sort-roms --system "Game Boy"
ROM files that match the database are moved into their system’s directory, the rest are left alone.
sort-roms then distributes them according to your settings, and needs at least one region in REGIONS_ALL or REGIONS_ONE.
Add --wanted to see which games you are still missing.
Where to go from there
convert-romsswitches formats, to save space or to suit your emulators, andPREFER_FORMATdoes it as ROMs are imported: see Formats.check-romsverifies integrity.purge-romsempties theTrashdirectories and forgets files you deleted by hand.export-romswrites copies for real hardware, leaving your library untouched.oxyromon serverdoes much of this from a browser.
How it compares
| oxyROMon | igir | RomM | RomVault | clrmamepro | |
|---|---|---|---|---|---|
| Interface | CLI, web UI, desktop app, MCP server | CLI | Web app | GUI, CLI | GUI, CLI |
| Platforms | Linux, macOS, Windows, Docker | Wherever Node.js runs | Docker, self-hosted | Windows, CLI on Linux | Windows, Linux through Wine |
| Checks files against DATs | ✔ | ✔ | ✔ | ✔ | |
| 1G1R and region preferences | ✔, with Retool’s clone lists | ✔ | With a filtered DAT | With a filtered DAT | |
| Writes | ZIP, 7Z, CHD, RVZ, CSO, ZSO, NSZ, WUX, ORE | ZIP, TorrentZip | ZIP, TorrentZip, 7Z, CHD | ZIP, 7Z | |
| Wii U discs and titles, PS3 from IRDs | ✔ | ||||
| Patches | Kept for RetroArch’s softpatching | Applied, 14 formats | Applied in the browser | ||
| Metadata, box art, play in browser | ✔ | ||||
| Users and sign-in | ✔, OIDC | ||||
| License | GPL-3.0+ | GPL-3.0 | AGPL-3.0 | Free | Freeware, closed source |
Each column is from that project’s documentation as of November 2026; corrections are welcome.
oxyROMon and RomM
oxyROMon and RomM do different jobs, and work well together.
oxyROMon keeps the library checked, sorted and in the formats you chose; RomM puts box art on it and plays it in a browser.
Point RomM at a library oxyROMon sorted: with GAME_SUBFOLDERS set, the discs of a game share one folder, which RomM reads as one game.
Configuration
Settings are stored in the database and managed with the config command:
oxyromon config --list # every setting
oxyromon config --get REGIONS_ONE # one setting
oxyromon config --set REGIONS_ONE US,EU # set one
oxyromon config --add DISCARD_FLAGS "Virtual Console" # add an entry to a list
oxyromon config --system "Game Boy" --set PREFER_FORMAT 7Z
Settings are global by default.
Pass -n/--system to override one for a single system, which then falls back to the global value when unset.
The web UI edits global and per-system settings too.
The settings are described where they matter:
- The directories, below.
- The sorting settings in Sorting and 1G1R.
- The format settings in Formats.
GROUP_SUBSYSTEMSandGAME_SUBFOLDERSin Directory layout.
Directories
| Setting | Description | Default |
|---|---|---|
ROM_DIRECTORY | Your ROM library | ~/Emulation |
TMP_DIRECTORY | Scratch space for conversions, at least 8 GB for DVDs | The system’s temp directory |
ROM file paths are stored relative to their system’s ROM_DIRECTORY.
Changing it moves no files: oxyROMon looks for them under the new directory, and still finds those left in the global one until sort-roms moves them.
Environment variables
The database lives in the platform’s data directory, under oxyromon.
These environment variables change where things go:
| Variable | Purpose |
|---|---|
OXYROMON_DATA_DIRECTORY | The directory holding the database |
OXYROMON_ROM_DIRECTORY | The initial ROM_DIRECTORY, used only until it is set |
OXYROMON_TMP_DIRECTORY | The initial TMP_DIRECTORY, used only until it is set |
OXYROMON_LOG_LEVEL | Log verbosity, in env_logger syntax |
The data directory also holds the keys import-keys stores.
Directory layout
${ROM_DIRECTORY}
├── ${SYSTEM_NAME} # each system's games, from the regions you keep
│ ├── 1G1R # its 1G1R games
│ └── Trash # its discarded games
└── Trash # files import-roms -t matched to no system
GROUP_SUBSYSTEMS, on by default, controls ${SYSTEM_NAME}: when on, every variant of a system shares one directory.
GAME_SUBFOLDERS puts games in folders named after them within their system’s directory, so a game of several files stays together:
never, the default, puts no game in a folder.multipleputs only a game stored as several files in one, a CUE and its BINs, while one in a single archive or disc image stays as it is.alwaysputs every game in one.
Under either of the last two, the discs of a game share one folder with their playlist, named after the game without its (Disc N) tag, as frontends such as RomM read a multi-disc game.
Arcade games stored as archives stay as they are.
REGIONS_ALL_SUBFOLDERS and REGIONS_ONE_SUBFOLDERS, set to alpha, sort a system’s games and its 1G1R games into folders by their first letter, A to Z, and # for the rest.
Files in a Trash directory are deleted by purge-roms --trash.
Sorting and 1G1R
sort-roms moves games between the system directory, 1G1R and Trash, according to your settings.
- Regions mode keeps every game from the
REGIONS_ALLregions in the system directory. - 1G1R mode keeps one game per Parent-Clone group in
1G1R, elected byREGIONS_ONEorder and thePREFER_*settings. - Hybrid mode does both: the 1G1R election, plus every remaining game from the
REGIONS_ALLregions.
Discarded games always go to Trash.
Regions use TOSEC’s two-letter codes, and ZZ, the unknown region, works as a catch-all in REGIONS_ALL.
The 1G1R election
By default, the election only considers games you own.
REGIONS_ONE_STRICT makes it follow your preferences regardless, so a missing game shows as wanted instead of being replaced.
1G1R is useful even without a Parent-Clone DAT: it separates the games you play from, say, Japanese originals kept for translation patches.
Without Parent-Clone data
Without Parent-Clone data, as in Redump’s DATs, every game is a group of its own.
INFER_CLONES groups such a system’s games by title instead, leaving out of a name its regions, languages, versions, release status, and the flags that only tell editions apart: budget lines and reissues, limited editions and bundles, serials, ring codes, and demos.
A game’s disc number and any other flag stay, so Game (Europe) (Disc 2) is grouped with Game (USA) (Disc 2), and Game (USA) (Bonus Disc) has a group of its own.
These groups have no parent, so PREFER_PARENTS doesn’t apply to them.
Clone lists
A clone list imported with import-clone-lists adds to these groups: the titles it names as one game share a group, whatever their names, a filter moving a region’s release to another, and within a region its priorities elect a release before the PREFER_* settings do, a lower number first.
A title naming an edition, as Game (Premium Box), takes precedence over one naming the game for that edition’s releases.
Language first
LANGUAGE_FIRST lifts language above region in the election, on the order set by PREFERRED_LANGUAGES:
- A release shipping a preferred language beats one in a higher-ranked region.
- A release whose languages the DAT doesn’t tell stays below a preferred one, but above a release that ships only unwanted ones.
- A release speaking no preferred language is kept rather than trimmed, so a game whose only release is a language you didn’t ask for still makes 1G1R.
The LANGUAGES filter takes no part in a language-first election; set the language order with PREFERRED_LANGUAGES, which ranks and nothing else.
With LANGUAGE_FIRST off, or PREFERRED_LANGUAGES empty, the region order rules.
Arcade systems
Arcade systems sort by set type instead: see Arcade.
Settings
| Setting | Description | Default |
|---|---|---|
REGIONS_ALL | Regions for which to keep every game, unordered (eg: US,EU,JP) | |
REGIONS_ONE | Regions for 1G1R, by order of preference (eg: US,EU) | |
REGIONS_ALL_SUBFOLDERS | Subfolders for games: none or alpha | none |
REGIONS_ONE_SUBFOLDERS | Subfolders for 1G1R games: none or alpha | none |
REGIONS_ONE_STRICT | Elect 1G1R games whether you own them or not | false |
REGIONS_ALL_ARCADE | Arcade set types for the main directory: bios, parent, clone | |
REGIONS_ONE_ARCADE | Arcade set types for the 1G1R directory: bios, parent, clone | |
INFER_CLONES | Group games by title for 1G1R when their DAT has no Parent-Clone data | false |
PREFER_PARENTS | Favor parents in the 1G1R election | true |
PREFER_REGIONS | Favor games released in more (broad) or fewer (narrow) regions, or neither (none) | none |
PREFER_VERSIONS | Favor new or old revisions, or neither (none) | new |
PREFER_FLAGS | Flags to favor in the 1G1R election (eg: Rumble Version) | |
DISCARD_CATEGORIES | DAT categories to discard (eg: Demos,Coverdiscs) | |
DISCARD_FLAGS | Flags to discard (eg: Virtual Console) | |
DISCARD_RELEASES | Releases to discard (eg: Beta,Proto) | |
LANGUAGES | Languages to keep, for games that list theirs (eg: En,Ja) | |
LANGUAGE_FIRST | Rank the language a game ships above its region in the 1G1R election, instead of filtering by LANGUAGES | false |
PREFERRED_LANGUAGES | The language order for that election, most wanted first (eg: Fr,En) | |
GROUP_SUBSYSTEMS | Put every variant of a system in the same directory | true |
GAME_SUBFOLDERS | Put games in folders named after them: never, multiple (those stored as several files) or always | never |
sort-roms --regions and --1g1r override REGIONS_ALL and REGIONS_ONE for one run.
Formats
oxyROMon keeps original and lossless formats in your library, and convert-roms switches between them.
Lossy and console-specific formats are for export-roms, which writes copies elsewhere.
Set PREFER_FORMAT and imported ROMs are converted to it as they come in.
| Format | Import and check | Convert | Export | Backend |
|---|---|---|---|---|
| Original files | ✔ | ✔ | ✔ | |
| 7Z, ZIP | ✔ | ✔ | ✔ | sevenz-rust2, zip |
| CHD | ✔ | ✔ | ✔ | chd-rs |
| CSO, ZSO | ✔ | ✔ | ✔ | xso-rs |
| NSZ | ✔ | ✔ | ✔ | nsz-rs |
| ORE | ✔ | ✔ | ✔ | ore-rs |
| RVZ | ✔ | ✔ | ✔ | rvz-rs |
| WBFS | ✔ | wbfs-rs | ||
| WUX (Wii U) | ✔ | ✔ | ✔ | wux-rs |
| WUA (Wii U) | ✔ | wux-rs | ||
| NUS folder (Wii U) | ✔ | wux-rs | ||
| GDI | ✔ | gdi-rs | ||
| ISO (from CUE/BIN) | ✔ | |||
| CIA | ✔ | cia-rs | ||
| JB folders (PS3) | ✔ | ✔ | ird-rs, from IRD files | |
| BPS, IPS, XDELTA patches | ✔ | xps-rs, xdelta-rs |
The crates without a link are oxyROMon’s own, in crates/.
Each began as a port of the tool oxyROMon used to run: chdman, ctrtool, maxcso, nsz, gdidrop, Flips, xdelta3, Dolphin’s and wit.
wux-rs instead follows wudd and Cemu, as oxyROMon never ran a tool for the Wii U, and ird-rs ps3-disc-dumper’s IRDs.
Each also installs as a standalone command-line tool, as cargo install chd-rs.
Notes per format
Which format suits which system is on the GameCube and Wii, Wii U, Nintendo 3DS, PlayStation, PS2 and PSP and PlayStation 3 pages.
NSZ. Your Switch keys are only needed to compress NSPs that contain NCAs: see Keys. Importing, checking and decompressing NSZs never need them.
RVZ.
RVZ files are interchangeable with Dolphin’s in both directions, and with Zstandard, bzip2 or no compression, the same byte for byte.
Compressing a Wii ISO to RVZ needs the Wii common key, which oxyROMon does not ship: import-keys stores it.
Reading an RVZ, or rewriting one, needs no key, and neither does a GameCube disc.
WBFS.
WBFS files are those wit copy --wbfs writes: only what the disc points to is kept, so a WBFS is no longer the original disc, which is why it is an export format only.
Exporting an RVZ to WBFS needs no key and decodes no ISO on the way; exporting a Wii ISO needs the Wii common key, as compressing it to RVZ does.
ISO.
Exporting to ISO targets OPL on the PlayStation 2.
It turns CUE/BIN CD games into an ISO of the first track’s 2048-byte data sectors, as bchunk does, keeping only that track for multi-track games.
Zstandard archives are opt-in.
They compress much faster than LZMA2 at a comparable size, but almost nothing else reads them.
7-Zip, emulators and Windows Explorer cannot open a Zstandard .7z or .zip, so keep them for archival rather than for a library you play from.
Settings
| Setting | Description | Default |
|---|---|---|
PREFER_FORMAT | Format imported ROMs are converted to: ORIGINAL, 7Z, CHD, CSO, JB, NSZ, ORE, RVZ, WUX, ZIP, ZSO; arcade systems take only ORIGINAL and ZIP | |
CHD_PARENTS | Use the other discs of a game as CHD parents, which needs playlists to have been generated | false |
CHD_CD_HUNK_SIZE | CHD hunk size in bytes for CDs, 16 to 1048576 | auto |
CHD_CD_COMPRESSION_ALGORITHMS | Up to 4 CHD codecs for CDs: none, cdfl, cdlz, cdzl, cdzs | auto |
CHD_DVD_HUNK_SIZE | CHD hunk size in bytes for DVDs, 16 to 1048576 | auto |
CHD_DVD_COMPRESSION_ALGORITHMS | Up to 4 CHD codecs for DVDs: none, flac, huff, lzma, zlib, zstd | auto |
CHD_HD_HUNK_SIZE | CHD hunk size in bytes for hard disks, 16 to 1048576 | auto |
CHD_HD_COMPRESSION_ALGORITHMS | Up to 4 CHD codecs for hard disks: none, flac, huff, lzma, zlib, zstd | auto |
CHD_LD_HUNK_SIZE | CHD hunk size in bytes for LaserDiscs, 16 to 1048576 | auto |
CHD_LD_COMPRESSION_ALGORITHMS | CHD codecs for LaserDiscs: none, avhu | auto |
ORE_COMPRESSION_ALGORITHM | ORE codec: auto, lzma2 for cartridges and zstd for discs and 3DS cards; zstd, quicker to read; or lzma2, smaller | auto |
ORE_PROFILE | ORE group size: stream, 1 MiB, quicker to read, or archive, 4 MiB, smaller, to keep rather than play | stream |
ORE_STORE | Keep a system’s OREs’ chunks in one store, .ore-store in its directory, each game a thin ORE | false |
ORE_STORE_BATCH | How OREs go into the store: run, all of a conversion at once, or game, each committed alone | run |
ORE_STORE_PARITY | Parity shards a store’s segment gets against its 239 data shards, 0 to 16: 16 adds 6.7%, 8 3.2%, 0 nothing; a change applies to existing segments at the next compact-roms | 16 |
RVZ_BLOCK_SIZE | RVZ block size in KiB, 32 to 2048, rounded up to a power of two | 128 |
RVZ_COMPRESSION_ALGORITHM | RVZ codec: none, zstd, bzip2, lzma, lzma2 | zstd |
RVZ_COMPRESSION_LEVEL | RVZ level, 1 to 22 for zstd and 1 to 9 otherwise | 5 |
SEVENZIP_COMPRESSION_ALGORITHM | 7Z codec: lzma2 or zstd | lzma2 |
SEVENZIP_COMPRESSION_LEVEL | 7Z LZMA2 level, 1 to 9 | 9 |
SEVENZIP_ZSTD_COMPRESSION_LEVEL | 7Z Zstandard level, 1 to 22 | 19 |
SEVENZIP_SOLID_COMPRESSION | Solid 7Z archives | false |
ZIP_COMPRESSION_ALGORITHM | ZIP codec: deflate or zstd | deflate |
ZIP_COMPRESSION_LEVEL | ZIP Deflate level, 1 to 9 | 9 |
ZIP_ZSTD_COMPRESSION_LEVEL | ZIP Zstandard level, 1 to 22 | 19 |
ORE
ORE is oxyROMon’s own format, one container for every system, specified as ORE 1.0 in crates/ore-rs/SPEC.md with conformance vectors: an ORE this version writes opens in every later one.
An ORE holds one of these:
- A disc: a GameCube, Wii, Wii U, PlayStation 2, PlayStation 3, PSP, Xbox or Xbox 360 image, or a CD or Dreamcast GD-ROM with its cue sheet and tracks. A game on several discs has one ORE per disc.
- A cartridge or card: its ROM, for every cartridge system
convert-romslists, 3DS cards included. - A floppy: an Amiga or Atari ST IPF, or a Famicom Disk System or 64DD disk.
- A download: a Wii U eShop title, or a PlayStation Network package with its license when it has one.
A game of several ROMs or floppies is a single ORE, as an archive would hold them.
Why ORE
- Smaller than the format each system uses today, CHD, RVZ or 7z, without dropping a byte: an ORE gives back the original, byte for byte, matching the DAT. It knows the media it holds, and rebuilds what a disc can be computed from rather than storing it: a CD’s sync, headers, EDC and ECC, a GameCube or Xbox disc’s filler, a GD-ROM’s generated area, a ROM’s padding.
- Even smaller in a store, where what regional versions, revisions, a game’s discs or its updates share is kept once.
- It checks itself: each ORE carries the hashes of what it holds, so it is known without decoding it, and a store carries parity that
check-romsrepairs from. - One file a game, a CD’s cue sheet and tracks included, which every ROM of the game points to.
- No key needed to read one: a Wii U disc or title is stored decrypted, with what encrypts it back, so it compresses and still exports as the original. Compressing a Wii ISO needs the Wii common key, as RVZ does.
How small
Against today’s formats
Each game as one ORE, against the same games in the format each system is usually kept in, measured in November 2026 on test sets of verified dumps, every ORE checked back byte for byte.
ORE’s defaults throughout: the stream profile, Zstandard for discs and LZMA2 for cartridges.
| System | Compared with | Test set | An ORE a game |
|---|---|---|---|
| Wii U | WUA | 10 discs | 16.8% smaller |
| Wii U | 7z | 6 updates, 1 DLC | 33.9% smaller |
| PlayStation 2 | CHD | 52 DVDs | 4.2% smaller |
| GameCube | RVZ | 2 discs | 13.6% smaller |
| Wii | RVZ | 1 disc | 0.3% smaller |
| 3DS | 7z | 13 cards | 16.7% larger |
| PlayStation | CHD | 68 discs | 11.1% smaller |
| Xbox | CHD | 1 disc | 6.0% smaller |
| Dreamcast | CHD | 29 GD-ROMs | 14.2% smaller |
| PSP | CHD | 26 UMDs | 10.8% smaller |
| Game Boy Advance | 7z | 2,635 ROMs | 0.5% larger |
| Nintendo 64 | 7z | 828 ROMs | 0.8% larger |
| DS | 7z | 86 ROMs | 2.8% larger |
| Saturn | CHD | 18 discs | 8.6% smaller |
| PC Engine CD | CHD | 12 discs | 9.3% smaller |
| Mega CD | CHD | 9 discs | 3.6% smaller |
| SNES | 7z | 3,001 ROMs | as large |
| Game Boy Color | 7z | 1,310 ROMs | 0.2% larger |
| Mega Drive | 7z | 1,464 ROMs | 0.1% larger |
| Neo Geo CD | CHD | 5 discs | 3.9% smaller |
| NES | 7z | 2,201 ROMs | 0.6% larger |
An ORE a game is smaller than CHD, RVZ and WUA, as it rebuilds what a disc can be computed from rather than storing it, and about as large as 7z for a ROM, where there is nothing to rebuild.
A 3DS card compresses less with Zstandard than with 7z’s LZMA2, and a store more than makes up for it: 13 cards in one were 22% smaller than their 7z files, and a cartridge system’s ROMs in one 11% (Game Boy Color) to 43% (Nintendo 64) smaller than theirs.
ORE_PROFILE at archive and LZMA2 take a few percent more off, for what you keep rather than play: on the PlayStation, 16.5% smaller than CHD rather than 11.1%.
A whole library
A test library of verified dumps in December 2026, nearly all of it OREs, a store a system: 1.93 TB of original images in 893 GB, parity included, counted as each store weighs once compacted. The last column is what each store saves against the same OREs standalone: what regional versions, revisions and a game’s discs sharing their data are worth. How much there is to share is in the two columns before it: the releases a title, regions and revisions counted, a title being a release’s name without its tags, and the share of OREs that are a disc of a game of several.
| System | OREs | Releases a title | Discs of multi-disc games | Original | Stored | Of the original | Store against standalone |
|---|---|---|---|---|---|---|---|
| Wii U | 45 | 1.67 | 0% | 646.2 GB | 148.1 GB | 23% | −7.8% |
| PlayStation 3 | 933 | 1.12 | 0% | 440.8 GB | 330.0 GB | 75% | −12.7% |
| PlayStation 2 | 50 | 1.02 | 16% | 189.3 GB | 115.9 GB | 61% | −10.6% |
| Wii | 36 | 1.03 | 0% | 188.3 GB | 81.1 GB | 43% | −10.8% |
| GameCube | 63 | 1.04 | 35% | 92.0 GB | 44.3 GB | 48% | −18.3% |
| 3DS | 44 | 1.05 | 0% | 76.2 GB | 31.5 GB | 41% | −30.2% |
| Xbox 360 | 7 | 1.00 | 71% | 55.8 GB | 35.3 GB | 63% | −22.5% |
| PlayStation | 76 | 1.06 | 46% | 47.7 GB | 16.7 GB | 35% | −20.8% |
| Xbox | 5 | 1.00 | 0% | 39.1 GB | 26.0 GB | 66% | −0.7% |
| Dreamcast | 29 | 1.06 | 55% | 34.8 GB | 10.0 GB | 29% | −31.9% |
| PSP | 26 | 1.04 | 8% | 28.5 GB | 18.2 GB | 64% | −6.1% |
| Game Boy Advance | 2,638 | 1.38 | 0% | 22.7 GB | 6.1 GB | 27% | −38.8% |
| Nintendo 64 | 831 | 1.75 | 0% | 13.8 GB | 5.4 GB | 39% | −47.3% |
| DS | 89 | 1.00 | 0% | 10.7 GB | 4.8 GB | 45% | −12.3% |
| Saturn | 18 | 1.00 | 39% | 9.2 GB | 5.4 GB | 58% | −8.5% |
| PC Engine CD | 12 | 1.09 | 0% | 7.5 GB | 4.2 GB | 56% | −1.6% |
| Mega CD | 9 | 1.00 | 0% | 5.2 GB | 2.7 GB | 52% | −0.1% |
| Amiga | 2,664 | 1.17 | 0% | 4.6 GB | 2.6 GB | 57% | −1.0% |
| SNES | 3,003 | 1.39 | 0% | 4.6 GB | 1.9 GB | 41% | −28.7% |
| Game Boy Color | 1,315 | 1.26 | 0% | 2.0 GB | 0.5 GB | 23% | −19.8% |
| Mega Drive | 1,470 | 1.31 | 0% | 1.9 GB | 0.6 GB | 34% | −29.3% |
| Neo Geo CD | 4 | 1.00 | 0% | 1.8 GB | 1.0 GB | 55% | −0.0% |
| NES | 2,201 | 1.31 | 0% | 0.5 GB | 0.2 GB | 35% | −13.5% |
A store saves the most where a title comes in several releases, as the cartridge systems do, or a game on several discs, as the Dreamcast’s and the PlayStation’s: a library of one release a title, all on one disc, sees less of it, as the Xbox’s, the Mega CD’s and the Neo Geo CD’s here. Sister versions released under different names count as two titles here, though they share nearly everything, which is much of the 3DS’s figure. A Wii U disc’s original is its 25 GB WUD, mostly unused, which flatters its figure; much of a PS3 disc is already compressed, which sinks its.
Reading is cheap: a GameCube disc decodes faster from a stream ORE than from its RVZ.
Playing OREs
Emulators read OREs through smelt, ORE’s reader library under MIT OR Apache-2.0, in crates/smelt-rs.
These libretro cores read them, from their feat/ore branches:
| System | Cores |
|---|---|
| PlayStation | Beetle PSX, Beetle PSX HW |
| PlayStation 2 | ParaLLEl PS2, PCEE2 |
| PlayStation 3 | RPCS3 |
| PSP | PPSSPP |
| GameCube, Wii | Dolphin |
| Wii U | Cemu |
| 3DS | Azahar |
| DS | melonDS DS |
| Nintendo 64 | ParaLLEl N64 |
| NES | Mesen |
| SNES | Mesen-S |
| Game Boy, Game Boy Color, Game Boy Advance | SameBoy, mGBA |
| Virtual Boy | Beetle VB |
| Pokémon Mini | PokeMini |
| Master System, Game Gear, Mega Drive, Mega CD | Genesis Plus GX, PicoDrive |
| Saturn | Beetle Saturn |
| Dreamcast | Flycast |
The ORE cores workflow builds them for Linux x86_64 against the latest smelt; each run’s artifacts hold the cores, and ore-core-info their .info files with ore added, which RetroArch needs to offer a core an ORE.
Put the .so files in RetroArch’s cores directory and the .info files in its info directory; updating the core info files from RetroArch’s online updater overwrites them.
For any other emulator, export-roms what you play: an ORE, thin or not, exports as the files it holds to ORIGINAL, 7Z and ZIP, and as its ISO or cue sheet and tracks to ISO and CHD.
Using ORE
Set PREFER_FORMAT to ORE to convert games as they are imported, or convert-roms --format ORE a library already there; convert-roms lists what converts to and from ORE.
ORE_COMPRESSION_ALGORITHM and ORE_PROFILE trade size for reading speed: see Formats.
Importing a CD ORE needs every track it holds to match the DAT; when its cue sheet is not the DAT’s, import the DAT’s, and it goes into the ORE in its place, its metadata alone written again.
Stores
With ORE_STORE on for a system, convert-roms --format ORE puts its OREs’ chunks in one store, .ore-store in the system’s directory, and each game becomes a thin ORE naming its chunks there.
A chunk that regional versions, revisions or a game’s discs share is stored once, with Reed-Solomon parity that check-roms repairs from.
On the Game Boy libraries this was 11-34% under their 7z files, against about the same as 7z an ORE a game.
ISOs and cartridge ROMs, loose or in an archive, are written straight into the store, compressed once.
A game is checked and its original replaced once its batch is committed: the whole run’s with ORE_STORE_BATCH at run, each game’s with game, which writes far more as the store’s last segment is copied each time.
A run that fails before leaves the originals and the database as they were.
CD games and CHDs are converted to standalone OREs first, then attached, which takes about twice as long.
Turning ORE_STORE off makes the run’s OREs standalone again.
A store no game uses any more, once convert-roms has taken a system’s last thin ORE out of it, to another format or standalone, is deleted; one with an ORE beneath its directory that cannot be read is kept, as that ORE may still need its chunks.
With GROUP_SUBSYSTEMS on, systems sharing a directory share its store, and its settings, ORE_STORE, ORE_STORE_PARITY, ORE_STORE_BATCH and ORE_PROFILE, are those of the base system, the one named as the directory is (Nintendo - Wii U for Nintendo - Wii U (Digital) (CDN)); a subsystem without its base system imported keeps its own.
A thin ORE reads only beneath its store’s directory, which sort-roms’ folders are; export-roms --format ORE detaches it.
Maintaining a store
check-romschecks a store whole, repairs what its parity covers, and reports its chunk count, what its dedup saved and what its parity costs.purge-romsleaves the chunks of purged games in the store.compact-romsdrops the chunks no game uses any more, packs small groups together, and reseals segments with the currentORE_STORE_PARITY.
GameCube and Wii
GameCube and Wii discs are ISOs in Redump’s DATs. oxyROMon keeps them as ISO, RVZ or ORE, all lossless, and exports them to WBFS for a Wii.
| Format | For | Key needed to write it from a Wii ISO |
|---|---|---|
| ISO | the original, as the DAT lists it | |
| RVZ | playing in Dolphin, which reads and writes the same RVZs | the Wii common key |
| ORE | the smallest, and Dolphin’s ORE core plays it | the Wii common key |
| WBFS | a Wii’s USB loader, export only: it drops what the disc never reads | the Wii common key |
A GameCube disc needs no key at all, and reading an RVZ or an ORE never does: see Keys.
RVZ
RVZ is Dolphin’s format, and oxyROMon’s RVZs are interchangeable with Dolphin’s both ways, byte for byte with Zstandard, bzip2 or no compression.
RVZ_COMPRESSION_ALGORITHM, RVZ_COMPRESSION_LEVEL and RVZ_BLOCK_SIZE set it: see Formats.
ORE
An ORE regenerates the filler a disc is padded with rather than storing it, and in a store keeps what a game’s discs and its regional versions share once. It also decodes faster than an RVZ. In numbers, see How small:
- GameCube: an ORE a game is 13.6% smaller than RVZ (2 test discs); a test library’s 63 take 44.3 GB of 92.0 GB in one store, 18.3% less than standalone.
- Wii: an ORE a game is 0.3% smaller than RVZ (1 test disc); a test library’s 36 take 81.1 GB of 188.3 GB in one store, 10.8% less than standalone.
WBFS
export-roms --format WBFS writes what wit copy --wbfs writes, for a Wii’s USB loader: only what the disc points to, so it is no longer the original disc.
An RVZ exports to WBFS without a key and without decoding an ISO on the way; a Wii ISO needs the Wii common key.
Playing
Dolphin plays ISO and RVZ, and its libretro core built with ORE plays ORE: see Playing OREs.
Wii U
Discs
Wii U discs are WUDs, which Redump lists as ISOs, so that is what converting back to the original gives; a .wud found in the wild is matched and renamed all the same.
WUX compresses a WUD losslessly, as wudd dumps it and Cemu reads it.
ORE keeps a disc losslessly too, and deduplicates the update partitions discs share through its store; a disc kept as an ORE exports to WUX and NUS through the WUD it rebuilds.
Updates and DLC
Wii U updates and DLC are games of their own, as No-Intro’s CDN DAT lists them: a folder per title, holding its TMD, ticket and content files as Nintendo’s servers deliver them.
Each title keeps its files in a folder of its own, since every title names them alike.
A title folder is found by its TMD, and either a downloader’s names (title.tmd, 00000000.app) or No-Intro’s (tmd.32, 00000000) will do.
Converted to 7Z or ZIP, a title’s folder becomes one archive in its place, and its files go back in their folder when converted or exported to ORIGINAL.
No-Intro lists each title once, with every version’s TMD and every content any version used, while Nintendo’s servers deliver only the newest version: a title counts as complete with its newest TMD and ticket, and the files that TMD lists, older TMDs and tickets being ignored. No-Intro sometimes leaves a hashed content’s H3 file out of its DAT, though a title installs only with every one: importing leaves such a file where it is, and exporting the title rebuilds it from its content and checks it against the TMD, which needs the Wii U common key.
A title needs its ticket to be decrypted: No-Intro lists every update with one, but no DLC, which Nintendo’s servers deliver without one.
Importing a title’s folder keeps the ticket a downloader made, when no DAT lists it, in a wiiu_tickets folder in oxyROMon’s data directory, beside the keys, by title ID; importing the folder of a title already imported keeps it too.
WUA
WUA is Cemu’s archive of a title’s decrypted game files: converting a disc to it drops the disc’s encryption and layout, so it is an export-only format (export-roms --format WUA).
Exporting a Wii U disc (from WUD, ISO, WUX, ORE, or a legacy lossless WUA) or a NUS title to WUA writes a standalone plain WUA.
Exporting a disc to WUA adds the newest update and DLC in the library, from any system, matched by title ID, as Cemu bundles them.
Exporting to WUA decrypts a title with its ticket; DLC without a ticket is skipped with a warning.
Legacy lossless WUAs written by earlier versions can still be checked, exported, and converted back to WUX, ORE, or ISO when their .update-partitions store is beside them.
Importing one does not bring its store along, and warns of each update partition the library lacks.
purge-roms deletes .update-partitions entries that no WUA in the database needs any more, keeping them all if any WUA cannot be read.
NUS
Exporting a disc to NUS writes the folder WUP Installer GX2 installs on a console: the disc’s TMD, ticket and certificates, and the game’s contents, each checked against the TMD.
Exporting a title for a console adds its ticket as title.tik, which WUP Installer GX2 needs.
A folder already in its place is only replaced if it holds nothing the export wouldn’t write, as an earlier export of the same disc; otherwise the export fails and leaves it alone.
A disc’s game partition holds the title’s CDN contents byte for byte, so every .app and .h3 matches No-Intro’s CDN DAT; only title.tmd differs, as Nintendo signed one for the disc and another for its servers.
ORE
An ORE keeps a disc, an update or a DLC decrypted, with what encrypts it back, so it compresses and still exports as the original, and in a store the update partitions discs share, and the versions of a title, are kept once. In numbers, see How small:
- Wii U: an ORE a game is 16.8% smaller than its WUA (10 test discs), and an update’s or a DLC’s 33.9% smaller than 7z (6 updates, 1 DLC); a test library’s 45 take 148.1 GB of 646.2 GB in one store, 7.8% less than standalone.
Keys
WUA and NUS need the disc’s key and the Wii U common key, neither of which ships with oxyROMon: see Keys.
Playing
Cemu plays WUD, WUX, WUA and NUS folders, and its libretro core built with ORE plays OREs of discs, updates and DLC, which need no key: see Playing OREs.
Nintendo 3DS
Cards
3DS cards are .3ds images in No-Intro’s DATs; the decrypted DAT is the one emulators play from.
oxyROMon keeps a card as its image, in 7Z or ZIP, or as an ORE, Zstandard by default, which reads quicker than LZMA2 for images up to 4 GiB.
ORE
An ORE keeps a card’s image whole, its unused space a run rather than data, and in a store a game’s other versions cost next to nothing, as they differ by a few files: a sister version or a revision took 1-8% of the first’s size. In numbers, see How small:
- 3DS: an ORE a game is 16.7% larger than 7z (13 test cards), and 22% smaller in one store; a test library’s 44 take 31.5 GB of 76.2 GB in one store, 30.2% less than standalone.
eShop titles
CIAs are matched against No-Intro’s eShop DATs by the files they hold, and kept as CIAs: they do not convert to ORE.
Keys
No 3DS operation needs a key yet.
import-keys stores Azahar’s aes_keys.txt for the decrypting to come.
Playing
Azahar plays .3ds images, and its libretro core built with ORE plays OREs: see Playing OREs.
PlayStation, PlayStation 2 and PSP
Redump lists PlayStation discs and PlayStation 2 CDs as cue sheets and their tracks, PlayStation 2 DVDs and PSP UMDs as ISOs. oxyROMon keeps them as their originals, CHD or ORE, and PSP and PlayStation 2 ISOs as CSO or ZSO too; none of them needs a key. The PlayStation 3 has a page of its own.
| Format | For |
|---|---|
| CUE/BIN, ISO | the originals, as the DAT lists them |
| CHD | playing in almost every emulator: one file a disc, its tracks included |
| ORE | the smallest: one file a disc, smaller still in a store, played by the ORE cores |
| CSO, ZSO | PSP and PlayStation 2 ISOs, for PPSSPP, a PSP or OPL; ZSO is the quicker to read |
| ISO export | OPL on a PlayStation 2, from a CD game too |
CHD
CHD_CD_* settings apply to CDs and CHD_DVD_* ones to DVDs and UMDs: see Formats.
With CHD_PARENTS on, a game’s other discs serve as a CHD’s parents, which needs the playlists generate-playlists writes.
ORE
An ORE rebuilds what a CD sector can be computed from, its sync, header, EDC and ECC, rather than storing it, and codes XA audio and STR video as what they are; on a PlayStation 2 DVD it codes the audio it finds by its headers as audio. In numbers, see How small:
- PlayStation: an ORE a game is 11.1% smaller than CHD (68 test discs); a test library’s 76 take 16.7 GB of 47.7 GB in one store, 20.8% less than standalone.
- PlayStation 2: an ORE a game is 4.2% smaller than CHD (52 test DVDs); a test library’s 50 take 115.9 GB of 189.3 GB in one store, 10.6% less than standalone.
- PSP: an ORE a game is 10.8% smaller than CHD (26 test UMDs); a test library’s 26 take 18.2 GB of 28.5 GB in one store, 6.1% less than standalone.
Multi-disc games
generate-playlists writes an M3U for each multi-disc game, so RetroArch can swap discs; run it again after convert-roms.
Exporting for real hardware
export-roms --format ISO writes ISOs for OPL on a PlayStation 2, a CD game’s ISO holding its first track’s 2048-byte data sectors, as bchunk writes it; a multi-track game keeps only that track.
export-roms --format CSO or ZSO writes what a PSP’s or OPL’s loader reads.
Playing
The PlayStation’s Beetle PSX, the PlayStation 2’s ParaLLEl PS2 and PCEE2, and the PSP’s PPSSPP play OREs in their builds with ORE: see Playing OREs.
PlayStation 3
JB folders and IRDs
PS3 games are usually dumped as JB folders, their extracted files.
An IRD file validates a JB folder: import a PS3 DAT first, then the IRDs with import-irds, then the folders with import-roms.
If the DAT doesn’t come from Redump, make sure its name contains PlayStation 3.
Only IRD version 9, the latest, is supported.
A game counts as complete without its PS3_CONTENT, PS3_EXTRA and PS3_UPDATE directories.
When an IRD no longer matches a file already in its JB folder, that file is imported again or moved to Trash.
purge-irds removes what an IRD import created, so a different IRD can be imported.
Rebuilding the Redump ISO
The IRD is kept with its game: with it, convert-roms rebuilds the Redump ISO from the JB folder, checked against the DAT, with --format ORIGINAL, and extracts the ISO back to its JB folder with --format JB.
Its disc key is derived from the IRD, so no .dkey is needed.
A JB folder converts to ORE the same way, as the ISO it rebuilds.
A JB folder needs its system update, PS3_UPDATE/PS3UPDAT.PUP.
import-roms imports a PS3UPDAT.PUP, loose or in a JB folder, to PS3_UPDATE/<version>/ in the system’s directory, once for every JB folder whose IRD lists it, as every disc built on that firmware carries the same file.
Disc keys
An IRD’s disc key is also added to ps3_keys.txt in oxyROMon’s data directory, for an ISO of the disc wherever it comes from.
For an ISO with no IRD, import Redump’s .dkey file with import-keys.
Converting a PS3 ISO to ORE decrypts it with its key, which the ORE keeps, so that its data compresses: without one, it is stored encrypted, still bit-exact, a few percent smaller.
ORE
An ORE keeps a disc decrypted with its key, which it carries, so its data compresses, and in a store what regional versions share is kept once. In numbers, see How small:
- PlayStation 3: a test library’s 933 OREs, discs and PlayStation Network packages, take 330.0 GB of 440.8 GB in one store, 12.7% less than standalone.
PlayStation Network
PlayStation Network entries, a PKG and its RAP when the DAT lists one, convert to and from ORE. The package’s data region is stored decrypted under the retail PKG key, a constant of the format the reader ships, so it compresses, 84.1% of what the CDN serves across a measured library. The RAP, when there is one, rides as the package’s second member. No key file is needed to open or export one.
Playing
RPCS3 plays ISOs and JB folders, and its libretro core built with ORE plays OREs: see Playing OREs.
Keys
oxyROMon ships no console key.
A few operations need one, which import-keys stores in oxyROMon’s data directory, so a headless server needs no emulator:
| To | You need |
|---|---|
| Compress a Wii ISO to RVZ or ORE, or export it to WBFS | The Wii common key |
| Export a Wii U disc or title to WUA or NUS | The disc’s key and the Wii U common key |
| Export a Wii U title missing an H3 file | The Wii U common key |
| Compress an NSP holding NCAs to NSZ | Your Switch’s prod.keys or title.keys |
| Compress a PS3 ISO to ORE without an IRD | Its Redump .dkey |
Every key file import-keys writes is readable by its owner only, and importing again after new dumps only adds or updates keys.
Wii and Wii U
Wii and Wii U keys come from files in the format of Cemu’s keys.txt: one 32-digit hex key per line, with anything after # or ; ignored.
Disc keys and the Wii U common key can share a file.
A console’s OTP dump, otp.bin, can be imported too: its Wii U and vWii common keys are taken from it, the vWii key serving the vWii titles a disc’s update partition can carry.
The Wii common key comes from a Wii U’s or a Wii’s otp.bin, from BootMii’s keys.bin, or from a line of its own in a keys file.
The keys are all merged into wiiu_keys.txt, as every key is tried, each key kept once.
Switch
Switch keys come from prod.keys and title.keys, as Lockpick_RCM dumps them.
They are merged by name into switch_keys.txt, a newer value replacing an older one.
A prod.keys is checked first, as compressing will read it: one whose keys are not the real ones is refused, and nothing is written.
When only title.keys were imported, or nothing, ~/.switch/prod.keys, where nsz keeps them, is read.
Importing, checking and decompressing NSZs never need keys.
3DS
3DS keys come from Azahar’s aes_keys.txt, known by its key slots’ names (slot0x2CKeyX) and its generator constant.
They are merged by name into 3ds_keys.txt, in the same format, a newer value replacing an older one.
A key slot’s key, common0 to common5 or the generator constant that is not 16 bytes is refused, and nothing is written.
Nothing uses them yet: they are there for decrypting 3DS games to come.
PlayStation 3
PS3 disc keys come from Redump’s .dkey files, known by their extension, into ps3_keys.txt, one key per line, each kept once.
A disc’s IRD gives its key already; a .dkey is for an ISO with none, and each key is tried against the disc, so a file’s name does not matter.
See PlayStation 3.
Arcade
Arcade support is a work in progress.
Importing DATs
A DAT that lists machines, like MAME’s, is imported as an arcade system by import-dats.
The output of MAME’s or HBMAME’s -listxml is read directly too: having no header, its system is named after the file, which -n overrides, and versioned after the build.
FBNeo’s arcade DATs list games, so import them with -a to make them arcade.
An update keeps a system arcade, and -f without -a reverts it.
MAME ships separate DATs for ROMs, CHDs and more.
Turn GROUP_SUBSYSTEMS on and name them MAME (ROMs), MAME (CHDs) and so on, so they share a MAME directory that MAME reads as is.
Where to find the DATs: MAME’s on Progetto-Snaps, FBNeo’s on libretro.
Importing ROMs
Arcade systems accept uncompressed files, ZIP and CHD.
PREFER_FORMAT takes only ORIGINAL and ZIP for them.
Arcade games stored as archives stay as they are in the directory layout.
Sorting
Arcade systems sort by set type instead of region.
REGIONS_ALL_ARCADE and REGIONS_ONE_ARCADE say which of bios, parent and clone go to the system directory and to 1G1R.
With both empty, everything stays in the system directory, and otherwise the types left out are discarded.
Merging strategies
rebuild-roms rebuilds arcade sets with another merging strategy:
- Split: each set holds only its own files.
- Non-merged: each set also holds its parent’s files.
- Full non-merged: each set also holds its parent’s files and the BIOS files it needs.
- Merged: a parent’s ZIP also holds its clones’ files, each stored once. A clone’s file whose name the parent already uses with other contents goes under
<clone>/, as ClrMamePro does. Sets must be ZIPs: convert loose sets withconvert-romsfirst.
Web UI and desktop app
oxyromon server serves the web UI at http://127.0.0.1:8000 by default, and the desktop app shows the same UI in its own window.
From there you can browse systems, games and ROM files, see each system’s completion, download a ROM file, edit global and per-system settings, purge a system, import DAT files, uploaded or fetched from Redump, and import ROM files.
The UI loads nothing from the internet, so it works offline.
The page keeps itself up to date: a change shows a few seconds after it is made, whether from the web UI, MCP or the command line, and a long job such as an import refreshes it at least every 30 seconds.
The server also serves a GraphQL API at /graphql, and the MCP server at /mcp.
Security
The server has no authentication. It can also import ROM files from a URL, which the server itself downloads, so it reaches anything the server can reach. Keep it on the default loopback address unless you trust your network.
MCP server
The MCP server lets an AI assistant explore and maintain your library with the same actions as the command-line tool:
- Read-only tools:
status,list_systems,get_system,list_games,get_game,search_games,get_settings,downloadable_systemsandparse_game_name. - Mutating tools:
import_dats,download_dats,import_roms,sort_roms,check_roms,convert_romsandset_setting. - Destructive tools:
purge_roms,purge_systems,purge_gamesandpurge_irds, which refuse to run withoutconfirm: true.
Mutating tools run to completion within the call, report progress as they go, and can be cancelled.
The server also exposes resources (oxyromon://status, oxyromon://systems, oxyromon://systems/{id} and oxyromon://settings) and two guided prompts, onboard_system and audit_system.
Over stdio
oxyromon mcp speaks over stdio, and --read-only hides every mutating tool:
{
"mcpServers": {
"oxyromon": {
"command": "oxyromon",
"args": ["mcp"]
}
}
}
Over HTTP
oxyromon server also serves it over HTTP at /mcp:
{
"mcpServers": {
"oxyromon": {
"url": "http://127.0.0.1:8000/mcp"
}
}
}
The server has no authentication: see Security.
Commands
Every command has its page here, with what oxyromon <command> --help prints.
Rusty ROM OrgaNizer
Usage: oxyromon [COMMAND]
Commands:
info Print system information
config Query and modify the oxyromon settings
create-dats Create DAT files from directories
import-dats Parse and import Logiqx DAT files into oxyromon
download-dats Download No-Intro and Redump DAT files and import them into oxyromon
import-irds Parse and import PlayStation 3 IRD files into oxyromon
import-patches Import patch files into oxyromon
import-keys Import Wii, Wii U, Switch, 3DS and PS3 keys into oxyromon
import-clone-lists Import Retool clone lists into oxyromon
import-roms Validate and import ROM files or directories into oxyromon
purge-games Move the files of games to the trash
purge-irds Unassociate games from IRD files
sort-roms Sort ROM files according to region and version preferences
convert-roms Convert ROM files between common formats
export-roms Export ROM files to common formats
rebuild-roms Rebuild arcade ROM sets according to the selected strategy
check-roms Check ROM files' integrity
purge-roms Purge trashed, missing, and orphan ROM files
compact-roms Compact ORE stores, dropping what no game uses
purge-systems Purge systems
generate-playlists Generate M3U playlists for multi-disc games
benchmark Benchmark oxyromon
mcp Serve the Model Context Protocol on stdin/stdout
server Launch the backend server
help Print this message or the help of the given subcommand(s)
Options:
-h, --help Print help
-V, --version Print version
The order above is roughly a library’s life: import DATs, import ROMs, sort, convert, check and purge.
mcp needs the mcp feature, and server the server feature; the release binaries have both.
info
Prints the version, every format backend and its version, and some library statistics.
Print system information
Usage: oxyromon info
Options:
-h, --help Print help
config
Lists, reads, sets and unsets settings, and adds or removes entries of list settings.
Every operation is global unless -n/--system scopes it to one system.
See Configuration for how settings work, and the pages it links to for each setting.
Query and modify the oxyromon settings
Usage: oxyromon config [OPTIONS]
Options:
-n, --system <NAME> Select a system by name (supports % globs)
-l, --list Print the whole configuration
-g, --get <KEY> Print a single setting
-s, --set <KEY> <VALUE> Set a single setting
-u, --unset <KEY> Unset a single setting
-a, --add <KEY> <VALUE> Add an entry to a list
-r, --remove <KEY> <VALUE> Remove an entry from a list
-h, --help Print help
create-dats
Builds a DAT file from a directory, which oxyROMon or any other tool can then import. Name and description default to the directory’s name, and the version to the current date and time, No-Intro style. Each file becomes a game named after the file without its extension, with all three checksums, computed in one read.
Files are hashed as they are and subdirectories are ignored, with two exceptions. A WUX is listed as the WUD it holds, decompressed as it is hashed, so the DAT matches the disc in either format. A Wii U title’s folder, found by its TMD, becomes one game whose ROMs are its files, as No-Intro lists updates and DLC. Otherwise, use original, uncompressed files if you plan to import the DAT and then convert or export its ROMs.
Create DAT files from directories
Usage: oxyromon create-dats [OPTIONS] <DIRECTORIES>...
Arguments:
<DIRECTORIES>... Set the directories to process
Options:
-n, --name <NAME> Customize the DAT name
-d, --description <DESCRIPTION> Customize the DAT description
-v, --version <VERSION> Customize the DAT version
-a, --author <AUTHOR> Customize the DAT author
-u, --url <URL> Customize the DAT URL
-o, --output <OUTPUT> Customize the output directory
-h, --help Print help
import-dats
Imports Logiqx DAT files from No-Intro, Redump or MAME, including Parent-Clone DATs.
ZIP files such as No-Intro’s daily packs are read directly, including DATs in nested directories.
With -u, only systems already in the database are updated, which keeps a collection in sync with those packs.
An update keeps a system’s custom name and extension unless new ones are given.
-f sets each to what is given, so one left out reverts to the DAT’s.
When an update moves ROM files, to a renamed game or to Trash, the directories they leave empty are deleted, except the ROM, system and Trash directories.
When it renames a game’s tracks along with their cue sheet, as Redump renames a game, the cue sheet is rewritten to name them as they are now, and kept when the DAT lists the result; otherwise it goes to Trash.
Some systems need a header definition next to their DAT file. oxyROMon falls back to its own when it is missing.
MAME, HBMAME and FBNeo DATs are covered in Arcade.
Parse and import Logiqx DAT files into oxyromon
Usage: oxyromon import-dats [OPTIONS] <DATS>...
Arguments:
<DATS>... Set the DAT files to import
Options:
-i, --info Show the DAT information and exit
-u, --update Only import DAT files for systems already in the database
-s, --skip-header Skip parsing the header even if the system has one
-f, --force Force import of outdated DAT files
-n, --name <NAME> Customize the system name
-e, --extension <EXTENSION> Customize the system extension
-a, --arcade Import as arcade systems, for DATs that list games instead of machines
-h, --help Print help
download-dats
Redump offers direct downloads, so this can download and import new Redump systems and update those you have.
A DAT no newer than the imported one changes nothing, unless -f forces it.
A system that fails to download is reported and skipped, and the run then fails, naming it.
No-Intro offers no direct downloads, so for No-Intro it only reports which systems have an update.
As with import-dats, an update keeps custom names and extensions, and -f reverts them.
Download No-Intro and Redump DAT files and import them into oxyromon
Usage: oxyromon download-dats [OPTIONS]
Options:
-n, --nointro Download No-Intro DAT files
-r, --redump Download Redump DAT files
-u, --update Check for system updates
-a, --all Import all systems
-f, --force Force import of outdated DAT files
-s, --save <DIRECTORY> Save downloaded DAT files to the specified directory
-h, --help Print help
import-irds
Imports PlayStation 3 IRD files, which validate JB folders, the extracted form PS3 games are usually dumped in. Import a PS3 DAT first. A game whose IRD was imported by an earlier version keeps it once its IRD is imported again. See PlayStation 3 for what the IRD is then used for.
Parse and import PlayStation 3 IRD files into oxyromon
Usage: oxyromon import-irds [OPTIONS] <IRDS>...
Arguments:
<IRDS>... Set the IRD files to import
Options:
-i, --info Show the IRD information and exit
-f, --force Force import of already imported IRD files
-s, --system <SYSTEM> Select the system to import into, matching the game and ROM automatically
-h, --help Print help
import-patches
Imports BPS, IPS and XDELTA patches, named after their ROM files following RetroArch’s softpatching convention.
Import patch files into oxyromon
Usage: oxyromon import-patches [OPTIONS] <PATCHES>...
Arguments:
<PATCHES>... Set the patch files to import
Options:
-n, --name Customize patch names
-f, --force Force import of already imported patch files
--rom <ROM> Select the target ROM by id, skipping the prompts
-h, --help Print help
import-keys
Imports the Wii, Wii U, Switch, 3DS and PS3 keys oxyROMon does not ship. See Keys for which operations need which key, and the files each comes from.
Import Wii, Wii U, Switch, 3DS and PS3 keys into oxyromon
Usage: oxyromon import-keys <KEYS>...
Arguments:
<KEYS>... Set the key files to import, as Cemu's keys.txt, a Wii's or a Wii U's otp.bin, BootMii's keys.bin, or the Switch's prod.keys or title.keys, or Azahar's aes_keys.txt, or Redump's PS3 .dkey files
Options:
-h, --help Print help
import-clone-lists
Imports Retool’s clone lists, such as those in retool-clonelists-metadata’s clonelists folder, which INFER_CLONES reads to group titles a DAT names differently, as Wipeout XL and Wipeout 2097, and to elect one of a region’s releases over another: see Sorting and 1G1R.
A list goes to the system its name gives, Sony - PlayStation (Redump) to Sony - PlayStation, and is skipped when that system’s DAT comes from another release group than the one the name ends with, as its URL tells.
A system has one list: importing another replaces it, and importing the same version again is skipped, unless forced.
Of each group, the titles are read, supersets among them, with their priorities and their filters on regions, languages and names.
Compilations, filters on the region order, and region-free search terms are skipped, and the import says how many.
Import Retool clone lists into oxyromon
Usage: oxyromon import-clone-lists [OPTIONS] <CLONE_LISTS>...
Arguments:
<CLONE_LISTS>... Set the clone list files to import
Options:
-f, --force Force import of clone lists already imported
-h, --help Print help
import-roms
Hashes files and directories and moves those that match the database into their system’s directory.
The system is usually detected, but you can narrow the search with -s, by a case-insensitive partial name.
-s is also needed to match headered ROMs, for the Nintendo Entertainment System (Headerless), Famicom Disk System, Atari 7800 and Atari Lynx.
Files are moved as they are, except archives holding several games, which are extracted.
When the system has a PREFER_FORMAT, imported ROMs are then converted to it, unless you pass --as-is.
Files needing a choice, such as JB folders or ambiguous matches, prompt by default, and -u skips them or picks the first match instead.
Consoles accept every No-Intro and Redump format, 7Z, ZIP, CHD, CIA, CSO, NSZ, ORE, RVZ, WUX, ZSO, JB folders and Wii U title folders. Arcade systems accept uncompressed files, ZIP and CHD. A PS3 system update is imported as PlayStation 3 describes.
Validate and import ROM files or directories into oxyromon
Usage: oxyromon import-roms [OPTIONS] <ROMS>...
Arguments:
<ROMS>... Set the ROM files or directories to import
Options:
-s, --system <SYSTEM> Select systems by name
-t, --trash Trash invalid ROM files
-d, --delete Delete invalid ROM files (hard delete)
-f, --force Force import of existing ROM files
-u, --unattended <MODE> Handle ROM files that require human intervention (skip: skip, first: auto-select first match) [default: none] [possible values: none, skip, first]
-x, --extract Extract top-level archives before importing their contents
-a, --as-is Import ROM files as-is without converting them
-h, --help Print help
purge-games
Moves the files of games to their system’s Trash, for you to delete afterwards with purge-roms --trash.
The games stay in the database, now missing, and sort-roms leaves their files where they are.
A file that also holds ROMs of a game not being purged, such as a merged arcade set, stays in place, and so does a multi-disc playlist until all its discs are purged.
--game takes SQL LIKE patterns, % matching any run of characters and _ any one, as the other commands’ do.
Without --game, it prompts for games among those with files.
--incomplete selects the games missing some of their files instead, without prompting: all of them in the systems selected, or those of them --game names.
Move the files of games to the trash
Usage: oxyromon purge-games [OPTIONS]
Options:
-s, --system <SYSTEM> Select systems by name
-g, --game <GAME> Select games by name
-i, --incomplete Select the games missing some of their files
-h, --help Print help
purge-irds
Removes the ROMs an IRD import created, moving their files to the system’s Trash directory.
The game is no longer a JB folder afterwards, so a different IRD can be imported.
Unassociate games from IRD files
Usage: oxyromon purge-irds [OPTIONS] [GAMES]...
Arguments:
[GAMES]... Set the game names to purge
Options:
-s, --system <SYSTEM> Select the system to purge from, skipping the prompt and purging every IRD game when no names are given
-h, --help Print help
sort-roms
Moves games between the system directory, 1G1R and Trash, according to your settings, in regions, 1G1R or hybrid mode.
See Sorting and 1G1R for the modes, the election and the settings, and Arcade for arcade systems.
--regions and --1g1r override REGIONS_ALL and REGIONS_ONE for one run, and --wanted lists the games you are missing.
Sort ROM files according to region and version preferences
Usage: oxyromon sort-roms [OPTIONS]
Options:
-r, --regions <REGIONS_ALL>...
Set the regions to keep (unordered)
--subfolders <REGIONS_ALL_SUBFOLDERS>
Set the subfolders scheme for games [possible values: none, alpha]
-o, --1g1r <REGIONS_ONE>...
Set the 1G1R regions to keep (ordered)
--1g1r-subfolders <REGIONS_ONE_SUBFOLDERS>
Set the subfolders scheme for 1G1R games [possible values: none, alpha]
-w, --wanted
Show wanted games
-a, --all
Sort all systems
-s, --system <SYSTEM>
Select systems by name
-y, --yes
Automatically say yes to prompts
-h, --help
Print help
convert-roms
Converts ROM files between lossless formats and back to their originals:
- Any original format to and from 7Z and ZIP.
- CUE/BIN and ISO to and from CHD, with CHDs restored to their original split CUE/BIN.
- ISO to and from CSO, ZSO and RVZ.
- GameCube, Wii, PlayStation 2, PlayStation 3, PSP, Xbox and Xbox 360 ISOs, CUE/BIN and CHD to and from ORE, with OREs restored to their cue sheet and tracks; an ISO of another system is skipped.
- Cartridge ROMs, loose or in an archive, to and from ORE, restored under their name: every ROM of a cartridge system ORE knows by its DAT’s name, the Atari consoles, ColecoVision, Odyssey 2, PC Engine and SuperGrafx, the Nintendo handhelds and consoles from the NES to the 3DS, its cards but not its eShop’s CIAs, the NeoGeo Pocket, the Sega consoles from the SG-1000 to the 32X, and the WonderSwan, headerless or not, BIOSes included; in any other system, Game Boy, Game Boy Advance, DS, 3DS, N64 and Mega Drive ROMs ORE recognises by their header, the rest skipped.
- Floppy images, loose or in an archive, to and from ORE, restored under their name: the Amiga’s and the Atari ST’s IPFs and the Famicom Disk System’s and the 64DD’s disks.
- A game of several ROMs, a floppy game’s disks or a cartridge’s chips, as one ORE, as an archive holds them, each ROM a file of it, and back as the folder of its ROMs; the OREs a ROM each of an earlier build are gathered into one.
- NSP to and from NSZ.
- Wii U discs between ISO and WUX, and Wii U discs and eShop titles to and from ORE (legacy lossless WUAs also convert out to ISO, WUX, ORE, 7Z or ZIP).
- PS3 JB folders to their Redump ISO with
ORIGINAL, and the ISO back to its JB folder withJB; a JB folder converts toOREthe same way, as the ISO it rebuilds. - PS3 PlayStation Network entries, a PKG and its RAP when the DAT lists one, to and from ORE.
Games and systems are selected by case-insensitive name, with SQL wildcards, and both flags can be repeated.
--save also stores the format as each processed system’s PREFER_FORMAT, so future imports follow it.
Each format’s settings are in Formats.
Convert ROM files between common formats
Usage: oxyromon convert-roms [OPTIONS]
Options:
-f, --format <FORMAT> Set the destination format [possible values: ORIGINAL, 7Z, CHD, CSO, JB, NSZ, ORE, RVZ, WUX, ZIP, ZSO]
-g, --game <GAME> Select games by name
-s, --system <SYSTEM> Select systems by name
-a, --all Convert all systems/games
-r, --recompress Force conversion even if already in the selected format
-d, --diff Print size differences
-c, --check Check ROM files after conversion
-p, --parents Prompt for CHD parents
-S, --save Persist the format as the systems' preferred format (PREFER_FORMAT)
-h, --help Print help
export-roms
Like convert-roms, but writes copies to another directory and leaves your library untouched, so lossy formats are allowed.
It is meant for real hardware, through an EverDrive or an optical drive emulator.
An ORE, thin or not, exports as the files it holds to ORIGINAL, 7Z and ZIP, as its ISO or cue sheet and tracks to ISO and CHD, and as a standalone ORE to ORE, a thin one detached from its store; ORE exports OREs only.
ISO, WBFS, WUA and NUS are described in Formats and Wii U.
Export ROM files to common formats
Usage: oxyromon export-roms [OPTIONS] --directory <DIRECTORY>
Options:
-f, --format <FORMAT> Set the destination format [possible values: ORIGINAL, 7Z, CHD, CSO, GDI, ISO, NSZ, NUS, ORE, RVZ, WBFS, WUA, WUX, ZIP, ZSO]
-g, --game <GAME> Select games by name
-s, --system <SYSTEM> Select systems by name
-d, --directory <DIRECTORY> Set the output directory
-o, --1g1r Export 1G1R games only
-h, --help Print help
rebuild-roms
Rebuilds arcade sets with another merging strategy: split, non-merged, full non-merged or merged. See Arcade.
Rebuild arcade ROM sets according to the selected strategy
Usage: oxyromon rebuild-roms [OPTIONS]
Options:
-m, --merging <MERGING> Set the arcade merging strategy [possible values: SPLIT, NON_MERGED, FULL_NON_MERGED, MERGED]
-f, --force Force rebuild even if merging strategy is unchanged
-a, --all Rebuild all arcade systems
-y, --yes Automatically say yes to prompts
-h, --help Print help
check-roms
Hashes every ROM file of the selected systems again and moves corrupt ones to Trash.
--size also recomputes stored file sizes.
A system’s ORE store is checked whole too, what its parity covers repaired, and the check fails naming the games past repair. The store check reports its chunk count, what its dedup saved and what its parity costs. After the check, the store’s chunk references are counted again: a store whose sizes drifted while games were rewritten or purged heals without a compaction, and a store no game uses any more is deleted.
Check ROM files' integrity
Usage: oxyromon check-roms [OPTIONS]
Options:
-a, --all Check all systems
-g, --game <GAME> Select games by name
--size Recalculate ROM file sizes
-s, --system <SYSTEM> Select systems by name
-h, --help Print help
purge-roms
Forgets ROM files that went missing or that no ROM references, and deletes the files in every Trash directory, the ROM directory’s own included.
--foreign deletes files in the ROM directory that the database doesn’t know.
Directories left empty are deleted, except the ROM, system and Trash directories.
An ORE store’s files are never foreign; the chunks of games purged stay in it until compact-roms, and the store is deleted once its last game is purged.
purge-roms also deletes legacy .update-partitions entries once no WUA in the database references them, keeping them all if any WUA cannot be read.
Purge trashed, missing, and orphan ROM files
Usage: oxyromon purge-roms [OPTIONS]
Options:
-m, --missing Delete missing ROM files from the database
-o, --orphan Delete ROM files without an associated ROM from the database
-t, --trash Physically delete ROM files from the trash directories
-f, --foreign Physically delete ROM files unknown to the database
-y, --yes Automatically say yes to prompts
-h, --help Print help
compact-roms
Compacts the ORE store of each system selected, once a directory shared by systems: the chunks no game uses any more go, as purge-roms and conversions leave them, small groups are packed together, and segments sealed with other parity than ORE_STORE_PARITY are sealed again with it, their groups copied as they are.
--recompress decodes and packs every group again, the smallest the store gets, for a read and a write of all of it: worth it after many runs a game at a time.
It deletes no game, and a game reads on through it.
Compact ORE stores, dropping what no game uses
Usage: oxyromon compact-roms [OPTIONS]
Options:
-a, --all Compact all systems
-r, --recompress Decode and pack every group again: the smallest store, for a read and a write of all of it
-h, --help Print help
purge-systems
Removes systems and their ROMs from the database and moves their files to Trash, for you to delete afterwards.
Purge systems
Usage: oxyromon purge-systems [OPTIONS]
Options:
-e, --empty Only list empty systems for selection
-s, --system <SYSTEM> Select systems by name
-h, --help Print help
generate-playlists
Writes M3U playlists for multi-disc Redump games, so RetroArch can swap discs.
The playlists also tell CHD_PARENTS which discs belong together.
sort-roms moves playlists along with their games, but run this again after convert-roms.
Generate M3U playlists for multi-disc games
Usage: oxyromon generate-playlists [OPTIONS]
Options:
-a, --all Generate playlists for all systems
-h, --help Print help
benchmark
Measures read and write speeds in the ROM and temporary directories, and ranks the checksum algorithms. CRC is usually fastest, then SHA1, then MD5, though it depends on your hardware.
Benchmark oxyromon
Usage: oxyromon benchmark [OPTIONS]
Options:
-c, --chunk-size <CHUNK_SIZE> Set the chunk size in KB for read and writes (Default: 256) [default: 256]
-h, --help Print help
mcp
Serves MCP over stdio, as described in MCP server.
Nothing else may write to standard output while it runs.
It needs the mcp feature, which the release binaries have.
Serve the Model Context Protocol on stdin/stdout
Usage: oxyromon mcp [OPTIONS]
Options:
--read-only Expose only non-mutating tools
-h, --help Print help
server
Serves the web UI at /, the GraphQL API at /graphql, and MCP at /mcp.
It needs the server feature, which the release binaries have.
The server has no authentication: see Security.
Launch the backend server
Usage: oxyromon server [OPTIONS]
Options:
-a, --address <ADDRESS> Specify the server address [default: 127.0.0.1]
-p, --port <PORT> Specify the server port [default: 8000]
-h, --help Print help
Building from source
The command-line tool has no special requirement beyond a C toolchain, which Zstandard needs:
cargo build --release
The web UI is a Leptos app compiled to WebAssembly and embedded into the binary. It needs the Trunk bundler and the WebAssembly target:
rustup target add wasm32-unknown-unknown
cargo install --locked trunk
cargo build --release --features server
Set SKIP_TRUNK=true to reuse web assets you already built.
Desktop app
The desktop app lives in desktop/.
It wraps the web UI in a Tauri window and starts a bundled oxyromon server behind it, so it shares the command-line tool’s database and settings.
It needs everything the web UI needs, the Tauri CLI, and your platform’s webview development packages.
On Linux, those are webkit2gtk-4.1, gtk3, librsvg and libayatana-appindicator.
cargo install --locked tauri-cli --version "^2"
cd desktop
cargo tauri build # or `cargo tauri dev` while working on it
Format crates
The repository also holds oxyROMon’s format crates, under crates/.
Each is a library and a standalone command-line tool:
cargo build --release -p chd-rs -p gdi-rs -p nsz-rs -p ird-rs -p rvz-rs -p wbfs-rs -p wux-rs -p xdelta-rs -p xps-rs -p xso-rs
Features
| Feature | Description | Default |
|---|---|---|
mcp | The MCP server over stdio | |
server | The web server and UI, which also serves MCP over HTTP | |
use-rustls | TLS through rustls | ✔ |
use-native-tls | TLS through the system’s OpenSSL |
To use OpenSSL instead of rustls:
cargo build --release --no-default-features --features use-native-tls