Dreamcast Tools
Dreamcast images are fussier than most: a boot sector with region flags, a GDI container that points at separate track files, and patches distributed as DCP containers. OpenROM ships tools for each layer.
IP.BIN editor
Section titled “IP.BIN editor”IP.BIN is the boot sector of a Dreamcast disc. It carries the product number,
title, region flags, peripherals (including VGA support) and the boot filename.
Read the fields
Section titled “Read the fields”openrom-core --read-ipbin IP.BINYou get the maker ID, product number and version, release date, boot filename, software type, region code, peripherals, and both product-name fields. Japanese titles are decoded from Shift-JIS, so they display correctly instead of as mojibake.
Edit the fields
Section titled “Edit the fields”# Enable every regionopenrom-core --write-ipbin IP.BIN --region-free
# Enable VGA outputopenrom-core --write-ipbin IP.BIN --set-vga
# Set an explicit region code (J = Japan, U = USA, E = Europe)openrom-core --write-ipbin IP.BIN --set-region JUE
# Set a new title (Shift-JIS encoded automatically)openrom-core --write-ipbin IP.BIN --set-title "MY GAME"| Flag | Effect |
|---|---|
--write-ipbin <file> |
The IP.BIN to modify. |
--set-title |
Replace the product name. |
--set-region |
Region characters to write, e.g. JUE. |
--region-free |
Shorthand for enabling Japan, USA and Europe. |
--set-vga |
Set the VGA peripheral bit. |
--output |
Write to a new file instead of modifying in place. |
GDI track inspector
Section titled “GDI track inspector”A GDI is a text file that lists the tracks in a Dreamcast disc image. The inspector prints the parsed layout:
openrom-core --read-gdi disc.gdiFor each track you get the track number, LBA offset, track type (audio or data),
sector size (2048 or 2352 bytes) and the referenced filename. This is the fastest
way to confirm that all the .bin tracks and the data track are present before
converting the set to CHD.
DCP patches
Section titled “DCP patches”DCP (Dreamcast Patch Container) is the format used by Universal Dreamcast Patcher. OpenROM applies it against an extracted disc directory — not a single file — because the patch may touch several tracks:
openrom-core --dcp patch.dcp --disc-dir /disc/extracted --output /out/| Flag | Meaning |
|---|---|
--dcp <file> |
The .dcp patch to apply. |
--disc-dir <dir> |
Extracted disc contents (the folder holding the tracks). |
--output <dir> |
Destination for the patched disc. |
The underlying format is xdelta3, so the same strictness applies: the source tracks must match the version the patch was built against.
BIN/CUE merging
Section titled “BIN/CUE merging”Many Dreamcast (and Saturn / Sega CD) dumps arrive as one BIN per track plus a CUE sheet. Some tools and emulators prefer a single BIN. OpenROM can merge them and preserve pregaps.
Generate a missing CUE
Section titled “Generate a missing CUE”openrom-core --generate-cue game.binOpenROM inspects the sector headers to choose MODE1/2352, MODE2/2352 or
AUDIO instead of guessing.
Merge a multi-track set
Section titled “Merge a multi-track set”openrom-core --merge-bins game.cueThe merged files are written next to the CUE (or into --output) as
game_merged.bin and game_merged.cue. INDEX 00 pregap handling is preserved,
which is the part naive cat-style merging gets wrong.
Build an M3U playlist
Section titled “Build an M3U playlist”For multi-disc games (Dreamcast, PS1, Saturn, Sega CD):
openrom-core --m3u "/roms/Shenmue"openrom-core --m3u "/roms/Shenmue" --absolute--absolute writes absolute paths, which some front ends prefer. Without it the
playlist stays relative and survives moving the folder.
A typical Dreamcast cleanup
Section titled “A typical Dreamcast cleanup”# 1. Confirm the track layoutopenrom-core --read-gdi game.gdi
# 2. Make the disc region-free and enable VGAopenrom-core --write-ipbin IP.BIN --region-free --set-vga
# 3. Apply a translation or widescreen hackopenrom-core --dcp patch.dcp --disc-dir ./disc --output ./patched
# 4. Archive the result as CHDopenrom-core --input game.gdi --format CHD --verify