Skip to content

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 is the boot sector of a Dreamcast disc. It carries the product number, title, region flags, peripherals (including VGA support) and the boot filename.

Terminal window
openrom-core --read-ipbin IP.BIN

You 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.

Terminal window
# Enable every region
openrom-core --write-ipbin IP.BIN --region-free
# Enable VGA output
openrom-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.

A GDI is a text file that lists the tracks in a Dreamcast disc image. The inspector prints the parsed layout:

Terminal window
openrom-core --read-gdi disc.gdi

For 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 (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:

Terminal window
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.

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.

Terminal window
openrom-core --generate-cue game.bin

OpenROM inspects the sector headers to choose MODE1/2352, MODE2/2352 or AUDIO instead of guessing.

Terminal window
openrom-core --merge-bins game.cue

The 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.

For multi-disc games (Dreamcast, PS1, Saturn, Sega CD):

Terminal window
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.

Terminal window
# 1. Confirm the track layout
openrom-core --read-gdi game.gdi
# 2. Make the disc region-free and enable VGA
openrom-core --write-ipbin IP.BIN --region-free --set-vga
# 3. Apply a translation or widescreen hack
openrom-core --dcp patch.dcp --disc-dir ./disc --output ./patched
# 4. Archive the result as CHD
openrom-core --input game.gdi --format CHD --verify