Skip to content
M5DevsPublic

About

Universal Retro Gaming Toolkit — convert, patch, compress and manage ROMs. PS1, PS2, Xbox, GameCube, Wii, Saturn, Sega CD and more. Windows, Linux & macOS.

Topics

Resources

Contributing

Security policy

Stars

329 stars

Watchers

6 watching

Forks

Latest commit

 

History

477 Commits

Folders and files

Repository files navigation

OpenROM Banner

⬡ OpenROM

Universal Retro Gaming Toolkit — by M5 Dev

Security Policy Ask DeepWiki M5 Dev Discord


🎮 Meet ROMeo — OpenROM's official mascot. Your friendly pixel-art cartridge companion for all things ROM.

OpenROM is a free, open-source Universal Retro Gaming Toolkit — one app to replace every fragmented ROM tool out there. Convert, patch, compress, clean, and manage your ROM collection with a modern Flutter desktop UI, real-time terminal logging, smart platform detection, and a full headless CLI for automation — with optional online features that are always opt-in.


⬇️ Download

OpenROM | AlternativeTo

Platform GitHub Release SourceForge Mirror
🪟 Windows (Installer) Windows Setup (.exe) Mirror
🪟 Windows (Portable) Windows Portable (.zip) Mirror
🐧 Linux x86_64 Linux x86_64 AppImage · Core CLI ZIP Mirror
🐧 Linux ARM64 Linux ARM64 AppImage · Core CLI ZIP Mirror
🍎 macOS Apple Silicon macOS arm64 DMG Mirror
🍎 macOS Intel macOS x86_64 DMG Mirror

Each release includes the Flutter GUI (OpenROM) and the headless CLI (openrom-core).

📖 Guides & Docs: Official Wiki — setup, Steam Deck, FAQs.


🎮 Features

🔁 ROM Conversion

  • Built-in conversion paths — ISO, BIN, CUE, GDI, CDI, IMG, ECM, CHD, CSO, ZSO, RVZ, WIA, WBFS and GCZ. Xbox (XISO), Wii U (WUD/WUX/WUA), NKit and Sega Saturn SSP ship as community .orplug extensions.
  • Smart Platform Detection — Magic byte detection for PS1, PS2, PSP, Xbox, GameCube, Wii, Dreamcast, Saturn, Sega CD — not size guessing.
  • Real CHD Header Parsing — Reads actual CHD v4/v5 headers to determine CD vs DVD type accurately.
  • Correct CHD Codec Routing — createcd for PS1/Dreamcast/Saturn/Sega CD, createdvd for PS2/GameCube/Wii/Xbox — never mixed up.
  • Auto CUE Generation — Generates CUE sheets for standalone BIN files with correct track mode detection (MODE1/MODE2/AUDIO) via sector header inspection.
  • Integrity Verification — Post-conversion CHD integrity check via chdman verify.

🕹️ Arcade / MAME Auditor

  • Pure-Dart MAME/Logiqx auditor — stream-audits mame.xml or Logiqx DATs without loading them into memory.
  • BIOS, parent and CHD checks — verifies required BIOS zips (romof), split-set parents for clones, and CHD disks beside the zip or in a <machine>/<disk>.chd folder.
  • CLI + GUI — openrom-core --audit-mame --dat mame.xml --folder /roms [--json], plus an Arcade / MAME tab with a library-health dashboard and per-game missing-chip details.

🩹 ROM Patching

  • 11 patch formats — IPS, IPS32, UPS, BPS, PPF, APS, EBP, DPS, xdelta3, SSP (Sega Saturn), DCP (Dreamcast).
  • Auto format detection — Drop a patch file and OpenROM detects the format automatically.
  • Checksum verification — CRC32 integrity checks before and after patching with a detailed report.
  • Ignore checksum mode — Force-apply patches even on modified ROMs.

🎮 Dreamcast Tools

  • DCP Patch Applier — Apply Dreamcast .dcp patch files with full xdelta3 delta-patch support. Compatible with Universal Dreamcast Patcher patch files.
  • IP.BIN Editor — Read and modify the Dreamcast boot sector: game title, region flags (Japan / USA / Europe / Region Free), VGA mode toggle, and full Shift-JIS encoding support for Japanese game titles.
  • GDI Track Inspector — Load and inspect GDI disc image track structure — track number, LBA offset, type (Audio/Data), sector size, and filename.

🗜️ Compression & Extraction

  • ZIP support — Compress ROMs or entire folders with fast / normal / ultra presets. Needs nothing installed.
  • 7Z support — Compress and extract .7z archives (fast / normal / ultra) through an installed 7-Zip binary (7zz/7z), or one pointed to by OPENROM_7Z. Not bundled.
  • Smart skip — Already-compressed formats (CHD, CSO, RVZ, 7Z…) are automatically skipped.
  • Batch extraction — Extract ZIP and 7Z archives with progress tracking.
  • Delete source option — Auto-clean source files after successful compression.

7-Zip requirement

ZIP compression and extraction work with no external tools. 7Z compression and extraction shell out to a 7-Zip binary:

  • Linux — sudo apt-get install p7zip-full (or your distro's p7zip / 7zip package).
  • macOS — brew install sevenzip (provides 7zz).
  • Windows — install 7-Zip, or rely on the default %ProgramFiles%\7-Zip\7z.exe lookup.

The lookup order is OPENROM_7Z (an explicit path), then 7zz, 7z, 7za, 7zr on PATH, then the Windows Program Files locations. If no binary is found, 7Z jobs fail with a clear message instead of throwing. Encrypted archives are not supported and fail fast.

🧹 ROM Header Removal

  • Copier header detection and removal for NES (iNES), SNES (SMC), Game Boy / GBC — with confidence rating (certain / likely).
  • Double-strip protection — SNES internal header validation prevents stripping clean ROMs twice.
  • Auto backup — Original ROM backed up as .bak before any modification. Existing backups are never overwritten.
  • Non-destructive — Output written to a separate file; source untouched by default.

🗂️ Collection Utilities

  • M3U Playlist Generator — Auto-generate M3U playlists for multi-disc games (PS1, Saturn, etc.).
  • BIN Merger — Merge multi-track BIN files into a single BIN + CUE, with correct INDEX 00 pregap handling.
  • CUE Sheet Editor — Open, edit, and save .cue files directly inside OpenROM.
  • Batch Processing — Drop a whole folder, process everything at once.

🧹 1G1R Cleaner

  • 1 Game 1 ROM — filters duplicate titles in a folder using a regional priority order (--1g1r, --priority).
  • Multi-disc aware — preserves Disc/CD tags and ignores companion files (.cue, .m3u, .sav).
  • Pre-release ranking — prefers commercial releases over beta/proto/demo builds.

👁️ Watch Folder

  • Automatic conversion — --watch <folder> --output <folder> --format CHD converts files as they arrive.
  • Size-stability debounce — waits for a file to stop changing (--settle-seconds, default 3 s) before starting.
  • GUI tab — live log, start/stop controls, and input/output folder pickers.

🏷️ ROM Renamer

  • No-Intro + Redump DAT support — Import any DAT file from datomatic.no-intro.org or redump.org.
  • CRC32 matching — Identifies ROMs by hash, not filename.
  • Dry run mode — Preview renames before applying.
  • DAT library — Import multiple DATs and OpenROM stores them locally for reuse.
  • Event-based streaming parser — Parses DAT and MAME XML without building a full DOM tree, so multi-hundred-MB DATs stay memory-safe.
  • 100% offline — No network requests, no API keys.

📊 Queue & Preview

  • Queue Manager — Drag to reorder conversion jobs before running. Clear completed jobs with one click.
  • Compression Preview — See estimated output size before converting, based on format and compression level.

🔎 ROM Hasher & Identification

  • Streaming hashes — CRC32, MD5, SHA-1 and SHA-256 in a single pass over a 1 MiB buffer, even for multi-GB ISOs (--hash).
  • Hasheous lookup — optional, key-free game identification by hash (--identify); off by default and only the file hash is sent.
  • GUI tab — drag-and-drop, per-field copy buttons, and an illustrated Hasheous result card.

🖥️ UI & Workflow

  • Gaming Dashboard UI — Flutter-powered dark interface inspired by PS5/Xbox aesthetics, with ROM cards, platform badges, and real-time progress.
  • Themeable — Swap between built-in themes (Gaming Dashboard, Cyberpunk, Terminal, Minimal) or create your own via JSON.
  • Real-time Terminal Log — Live process output with timestamps, slides up during conversion.
  • Drag & Drop — Native drag and drop for files and folders.
  • Full Headless CLI — openrom-core for scripting, automation, and Flutter IPC.
  • 8 Languages — English, Arabic, Spanish, French, Japanese, Portuguese, Chinese (Simplified) and Chinese (Traditional).
  • Privacy-first — No telemetry, no analytics, no accounts. Optional online features (update checks, RetroAchievements) are opt-in and clearly disclosed.

🧩 Plugins & Extensions

  • .orplug extensions — community routes and tools (XISO, WUD/WUX/WUA, NKit, SSP, CCI/ZAR) install without rebuilding the core.
  • Plugin Store — live catalogue with search, categories, verified publishers and one-click install.
  • Visual Builder Studio — scaffold, validate and pack .orplug projects from the GUI (--plugin-init, --plugin-validate, --plugin-pack in the CLI).
  • openrom:// deep links — openrom://install/<id> opens the store with a confirmation dialog; downloads are SHA-256 verified.

🌐 Online Features (Optional)

  • Auto-update check — Checks GitHub on startup for a newer version. Disabled by default, enable in Settings.
  • RetroAchievements hash check — Verifies if your ROM is supported before converting. Requires a free retroachievements.org account. Disabled by default.
  • All online features are opt-in. No data is ever collected without explicit user consent.

🔁 Conversion Matrix

Input Output Tool Notes
ISO CHD chdman createcd for PS1/Dreamcast/Saturn/Sega CD, createdvd for PS2/GC/Wii/Xbox
ISO CSO maxcso PSP / PS2 — always --block=2048 for PSP/PSVita hardware
ISO ZSO maxcso PSP / PSVita — --format=zso --block=2048 --use-lz4brute
ISO ECM ecm
ISO RVZ nodtool GameCube / Wii
BIN CHD chdman Auto CUE if missing
BIN ECM ecm
CUE CHD chdman
GDI CHD chdman Dreamcast
IMG CHD chdman
CHD ISO chdman
CHD BIN/CUE chdman
CSO ISO maxcso
ZSO ISO maxcso
ECM ISO / BIN unecm Auto-detects output format
RVZ ISO nodtool GameCube / Wii
WIA ISO nodtool GameCube / Wii
WBFS ISO nodtool Wii
GCZ ISO nodtool GameCube / Wii

🩹 Supported Patch Formats

Format Systems
IPS / IPS32 NES, SNES, GBA, and most retro systems
UPS Universal — any ROM
BPS Universal — any ROM
PPF PS1 / PS2 disc patches
APS (GBA) Game Boy Advance
APS (N64) Nintendo 64
EBP EarthBound / SNES
DPS DOS / PC
xdelta3 / VCDIFF Large ROMs, disc images, PS2, PSP
SSP (Sega Saturn Patcher) Sega Saturn disc patches
DCP (Dreamcast Patch Container) Sega Dreamcast disc patches

💻 CLI Usage

# Show all options
openrom-core --help

# Detect file format and platform
openrom-core --detect game.iso

# Convert a single file
openrom-core --input game.iso --format CHD

# Batch convert a folder
openrom-core --folder /roms/ --format CHD --compression Max

# Convert with verification
openrom-core --input game.iso --format CHD --verify

# Convert to ZSO (PSP / PS Vita Adrenaline-safe)
openrom-core --input game.iso --format ZSO

# Force CD/DVD routing for an unrecognized image
openrom-core --input unknown.img --format CHD --media cd

# Choose the CD-audio codec for CHD
openrom-core --input game.cue --format CHD --audio-codec flac

# Audit a MAME / Logiqx collection (BIOS, parent and CHD checks)
openrom-core --audit-mame --dat mame.xml --folder /roms --json

# Watch a folder and convert new files automatically
openrom-core --watch /inbox --output /out --format CHD --settle-seconds 10

# Build a 1G1R set with a regional priority order
openrom-core --1g1r /roms --priority "USA,Europe,Japan"

# Apply a Dreamcast DCP patch
openrom-core --dcp patch.dcp --disc-dir /disc/ --output /out/

# Generic ROM patching (IPS, BPS, UPS, etc.) is supported via the OpenROM GUI

# Read IP.BIN fields
openrom-core --read-ipbin IP.BIN

# Edit IP.BIN — region free + enable VGA
openrom-core --write-ipbin IP.BIN --region-free --set-vga

# Edit IP.BIN — set custom title
openrom-core --write-ipbin IP.BIN --set-title "MY GAME"

# Inspect GDI track structure
openrom-core --read-gdi disc.gdi

# Compress to ZIP
openrom-core --compress game.iso --format zip --level ultra

# Remove ROM header
openrom-core --remove-header game.smc

# Generate M3U for multi-disc game
openrom-core --m3u /roms/Metal\ Gear\ Solid/

# Generate a CUE for a BIN, or merge a multi-track CUE
openrom-core --generate-cue game.bin
openrom-core --merge-bins game.cue

# DAT library and renamer
openrom-core --import-dat nointro.dat
openrom-core --list-dats
openrom-core --scan-roms /roms
openrom-core --rename-roms /roms --dry-run

# Plugin management
openrom-core --list-plugins
openrom-core --install-plugin ./my-tool.orplug
openrom-core --remove-plugin my-tool

# Verify a CHD
openrom-core --input game.chd --verify-only

# Hash a ROM (CRC32 / MD5 / SHA-1 / SHA-256)
openrom-core --hash game.iso
openrom-core --json --hash game.iso
openrom-core --json --hash game.iso --identify

# Plugin developer tooling (orplug-builder)
openrom-core --plugin-init ./my-tool --name "My Tool" --id my-tool --category Utility
openrom-core --plugin-validate ./my-tool
openrom-core --plugin-pack ./my-tool --out ./my-tool-1.0.0.orplug

# Resolve an openrom:// deep link (store install links)
openrom-core --deeplink "openrom://install/my-tool"

# JSON output (for scripting / Flutter IPC)
openrom-core --json --detect game.iso

🛠️ Visual Plugin Builder (GUI)

The Plugins screen ships a Create / Studio tab that wraps the same orplug-builder engine: scaffold a plugin, fill in the manifest, attach a binary per platform (SHA-256 is computed automatically), validate, then pack to .orplug and copy the marketplace JSON entry — all without leaving the app. Projects are plain folders, so a plugin started in the GUI can be finished from the CLI (and vice versa).

🔗 openrom:// links

OpenROM registers the openrom:// URL scheme on Windows (NSIS registry), Linux (Flatpak .desktop x-scheme-handler), and macOS (CFBundleURLTypes). openrom://install/<plugin-id> opens the storefront with a confirmation dialog; the download is still verified against the published SHA-256 before anything is installed.


🎨 Themes

OpenROM ships with 4 built-in themes and supports fully custom themes via JSON files in the themes/ folder:

Theme Description
default.json Gaming Dashboard — dark navy, red accent
cyberpunk.json Neon on black
terminal.json Green on black, monospace
minimal.json Clean light mode

Create your own theme by copying any JSON file and editing the color values.


🛠️ Bundled Tools

All tools are open source and verifiable. See SECURITY.md for SHA256 checksums.

Tool Purpose License
chdman CHD conversion (MAME) GPL v2
maxcso CSO/ZSO compression ISC
ecm / unecm ECM compression GPL v2
nodtool GameCube / Wii formats MIT
xdelta3 xdelta/VCDIFF patching Apache 2.0

Xbox (XISO), Wii U (WUD/WUX/WUA), NKit and Sega Saturn SSP support ship as community .orplug extensions from the OpenROM Extension Store.


🚀 Building from Source

Requirements

  • Dart 3.14+ and Flutter 3.50+ (stable channel; CI pins Flutter 3.50.1)
  • Linux: GTK/X11 headers for the desktop build and tests: sudo apt-get install -y libgtk-3-dev libx11-dev libxi-dev clang pkg-config
  • 7Z support (optional): p7zip-full (7z) on Linux, sevenzip (7zz) on macOS, or 7-Zip on Windows

Run Flutter UI from source

git clone https://github.com/M5Devs/OpenROM
cd OpenROM

# Build Dart core CLI
cd core
dart pub get
dart compile exe bin/openrom.dart -o ../openrom-core

# Run Flutter UI
cd gui
flutter pub get
flutter run -d windows   # or linux / macos

Build release packages

# Windows
build_windows.bat

# Linux
./build_linux.sh

# macOS
./build_mac.sh

🗺️ Roadmap

  • Flutter UI rewrite (v2.5.0)
  • Magic byte platform detection
  • CHD header parsing
  • Theme system
  • ROM Patcher — IPS, BPS, UPS, xdelta3, PPF, SSP and more (v2.5.5)
  • ZIP compression & extraction (no external tools needed)
  • 7Z compression & extraction (requires an installed 7-Zip — 7zz/7z, or OPENROM_7Z; not bundled)
  • ROM header removal — NES, SNES, GB/GBC
  • M3U playlist generator
  • NKit / WUD / WUX support (v3.0.0; now a community .orplug extension)
  • SSP Sega Saturn Patcher (v3.0.0; SSP builder in v3.7.0)
  • Linux ARM64 builds (v2.8.0)
  • CUE Sheet Editor (v3.0.0)
  • Queue Manager + Compression Preview (v3.0.0)
  • ROM Renamer — No-Intro + Redump DAT support (v3.0.0)
  • Dreamcast DCP Patch Applier (v3.0.0)
  • IP.BIN Editor — region, VGA, Shift-JIS (v3.0.0)
  • GDI Track Inspector (v3.0.0)
  • DCP Patch Builder (v3.7.0)
  • maxcso ARM64 build
  • RetroAchievements hash verification (v3.8.0)
  • WUA support, CHD audio codec selection and 1G1R filter (v3.9.0)
  • Plugins (.orplug engine + Store) (v3.9.5)
  • Streamed ROM Hasher + orplug-builder CLI (v3.9.9)
  • Desktop-only build, .orskin bundles, Plugin Builder Studio and openrom:// links (v4.0.0)
  • Hasheous lookup, Watch Folder, space-saved metrics and .orskin v2 (v4.1.0)
  • MAME / arcade auditor (BIOS/parent/CHD) and ZSO output (v4.1.1)

🤝 Contributing

Contributions are welcome! Read CONTRIBUTING.md for guidelines on bug reports, feature requests, and pull requests.


📄 License

OpenROM is licensed under the GNU General Public License v3.0 (GPL v3) — a free, copyleft license approved by the Open Source Initiative.

✅ Free to use personally and commercially
✅ Free to study, modify, and distribute
✅ Forks must remain open source under GPL v3
✅ Listed on Flathub, Linux distros, and OSI-compliant repos

See LICENSE for the full license text.

About

Universal Retro Gaming Toolkit — convert, patch, compress and manage ROMs. PS1, PS2, Xbox, GameCube, Wii, Saturn, Sega CD and more. Windows, Linux & macOS.

Topics

Resources

Contributing

Security policy

Stars

329 stars

Watchers

6 watching

Forks

Releases

Sponsor this project

Contributors

Languages