Formats, Conversion & Magic Bytes
OpenROM is a front end for a small set of battle-tested preservation tools. The value it adds is routing: it works out what a file is, chooses the right tool and flags, and refuses combinations that would silently lose data.
The conversion matrix
Section titled “The conversion matrix”| Input | Output | Tool | Notes |
|---|---|---|---|
| ISO | CHD | chdman |
createcd for PS1 / Dreamcast / Saturn / Sega CD, createdvd for PS2 / GameCube / Wii / Xbox |
| ISO | CSO | maxcso |
PSP / PS2 — 2048-byte blocks are forced for hardware compatibility |
| ISO | ZSO | maxcso |
PSP / PS Vita — ZSO container with 2048-byte blocks |
| ISO | ECM | ecm |
Legacy PS1 compression |
| ISO | RVZ | nodtool |
GameCube / Wii |
| BIN | CHD | chdman |
A CUE is generated automatically when missing |
| BIN | ECM | ecm |
|
| CUE | CHD | chdman |
|
| GDI | CHD | chdman |
Dreamcast |
| IMG | CHD | chdman |
|
| CHD | ISO | chdman |
|
| CHD | BIN/CUE | chdman |
|
| CSO | ISO | maxcso |
Decompress |
| ZSO | ISO | maxcso |
Decompress |
| ECM | ISO / BIN | unecm |
Output type is detected from the payload |
| RVZ | ISO | nodtool |
GameCube / Wii |
| WIA | ISO | nodtool |
GameCube / Wii |
| WBFS | ISO | nodtool |
Wii |
| GCZ | ISO | nodtool |
GameCube / Wii |
Xbox (XISO), Wii U (WUD/WUX/WUA), NKit conversion and Sega Saturn SSP are not
in the core engine. They ship as community .orplug extensions — see
Plugins.
Why BIN → ISO is usually the wrong move
Section titled “Why BIN → ISO is usually the wrong move”A single-track BIN can become an ISO safely. A multi-track disc (most PS1 games) cannot: the audio tracks live in separate BIN files and a plain ISO has nowhere to put them. You get a game that boots without music or sound effects.
Convert the CUE to CHD instead, or go BIN/CUE → CHD → ISO if an ISO is
genuinely required.
Platform detection
Section titled “Platform detection”OpenROM identifies a platform from magic bytes in the image header, not from the file size or extension. That makes extension-less dumps and oddly named files work.
| Platform | Signature | Offset |
|---|---|---|
| PlayStation | PLAYSTATION |
0x001 |
| PlayStation 2 | PS2 boot header | 0x000 |
| PSP | PSP_GAME |
scanned |
| GameCube | 0xC2339F3D |
0x01C |
| Wii | 0x5D1C9EA3 |
0x018 |
| Xbox | MICROSOFT*XBOX*MEDIA |
0x10000, 0x2090000 |
| Dreamcast | SEGA SEGAKATANA |
0x000 |
| Sega Saturn | SEGA SEGASATURN |
0x010 |
| Sega CD | SEGADISCSYSTEM |
0x010 |
| PC Engine CD | PC Engine CD-ROM SYSTEM |
scanned |
| Neo Geo CD | NEO-GEO CD |
scanned |
Detection also reads real CHD v4/v5 headers to decide whether a CHD is a CD or a DVD image, rather than guessing from the file name.
Overriding detection
Section titled “Overriding detection”Fan translations and romhacks sometimes overwrite the bytes detection relies on. Force the platform when that happens:
openrom-core --input "modded.iso" --format CHD --force-platform PS2Accepted values: PS1, PS2, PSP, GameCube, Wii, Xbox, Dreamcast,
Saturn, Sega CD, PC-Engine CD, Neo Geo CD.
For unknown images you can also force the CHD media type:
openrom-core --input unknown.img --format CHD --media dvdopenrom-core --input unknown.img --format CHD --media cd --audio-codec vorbis--audio-codec accepts flac (default, lossless) or vorbis (smaller).
Choosing an output format
Section titled “Choosing an output format”| Situation | Recommendation |
|---|---|
| PS1, PS2, Dreamcast, Saturn, Sega CD | CHD (createcd) |
| GameCube, Wii | RVZ for Dolphin, or CHD |
| PSP on real hardware or Adrenaline | ZSO or CSO with 2048-byte blocks |
| Original Xbox | XISO extension |
| Wii U | WUA extension |
| Cartridge ROMs (SNES, GBA, NDS) | ZIP or 7Z — see Compression |
CHD is lossless, mounts directly in most emulators, and avoids the BIN + CUE juggling. It is the right default for almost every disc-based system.
Verifying conversions
Section titled “Verifying conversions”# Verify as part of the conversionopenrom-core --input "game.iso" --format CHD --verify
# Verify an existing CHD without convertingopenrom-core --input "game.chd" --verify-onlyVerification runs chdman verify and reports the result in the log (or as JSON
with --json).
Listing what this build supports
Section titled “Listing what this build supports”openrom-core --list-formatsThe list includes plugin-provided routes once an extension is installed.