Jump to content
Setting up an AI agent? ReverseEngineering.wiki skill (works from the command line, no configuration): https://reverseengineering.wiki/skill/rewiki/SKILL.md · setup for every client, including MCP: https://reverseengineering.wiki/llms.txt · REWiki:Connect

Format:GDI

From ReverseEngineering.wiki
Format
Platforms Platform:Sega Dreamcast
Extensions .gdi
On this wiki Facts · Code · Notes · Topics

Text track list (.gdi) that describes a Dreamcast GD-ROM dump: a track count, then one line per track with start sector, control type, sector size, file name and offset; track 3 starts at sector 45000.

Overview

A GD-ROM has a low-density area (tracks 1-2, a data track and an audio track) and a high-density area (track 3 onward, normally data then audio tracks). Dumps are stored as one raw file per track (trackNN.bin / .raw, often 2352-byte sectors) plus a .gdi text file listing them. The line format and the checks Flycast applies are in the track-line fact on this page.

Details

The IP.BIN of the game (Format:Dreamcast IP.BIN) sits in the first 16 sectors of track 3, i.e. at sector 45000 + 150 = 45150 in Flycast's addressing. Flycast also fills a two-session layout from a GDI (session 1 starts at track 1, session 2 at track 3) and a lead-out at 549300.

Unverified: the exact meaning of OFFSET for tracks whose file contains a leading pregap, and the DiscJuggler (.cdi) and CHD alternatives, were not checked here; Flycast's core/imgread directory has parsers for cdi, chd, cue and gdi.

Related

Platform:Sega Dreamcast, Format:Dreamcast IP.BIN.

Code & repositories

See the repositories linked below.

  • https://github.com/flyinghead/flycast @ 6bb0fc3e18dac4b01694f488c7a71f5930e8a648 · license: GPL-2.0-only (declared by the contributor for the files used; GitHub reports GPL-2.0 for the repository)
    Dreamcast emulator (GPL-2.0): core/imgread disc image parsers, core/reios HLE boot and descrambler
    Tested on: source read, not run · checked 2026-10-19; last activity 2026-10-17; Note: the latest release ships binaries; the wiki links only the source, never the binaries