From ReverseEngineering.wiki
| schema | "rewiki.fact/1" |
|---|
| kind | "struct" |
|---|
| subject | "Format:GDI" |
|---|
| claim | "A Dreamcast .gdi file is text: the first token is the track count (flycast accepts 3 to 99), then one line per track 'TRACK FAD CTRL SECTORSIZE filename OFFSET' (filename optionally quoted); CTRL is 4 (data) or 0 (audio), sector size 2352 or 2048; track 1 must be data, track 2 audio, track 3 data starting at FAD 45000; flycast adds 150 to each FAD." |
|---|
| scope | | level | "format" |
|---|
| applies_to | "Format:GDI" |
|---|
| observed_in | |
|---|
|
|---|
| data | | name | "gdi_track_line" |
|---|
| size_min | 0 |
|---|
| fields | | offset | "0" |
|---|
| size | 0 |
|---|
| type | "text" |
|---|
| name | "TRACK" |
|---|
| notes | "1-based track number" |
|---|
|
| offset | "1" |
|---|
| size | 0 |
|---|
| type | "text" |
|---|
| name | "FAD" |
|---|
| notes | "start sector; track 3 must be 45000" |
|---|
|
| offset | "2" |
|---|
| size | 0 |
|---|
| type | "text" |
|---|
| name | "CTRL" |
|---|
| notes | "4 data, 0 audio" |
|---|
|
| offset | "3" |
|---|
| size | 0 |
|---|
| type | "text" |
|---|
| name | "SSIZE" |
|---|
| notes | "2352 or 2048" |
|---|
|
| offset | "4" |
|---|
| size | 0 |
|---|
| type | "text" |
|---|
| name | "file" |
|---|
| notes | "track file name, may be quoted" |
|---|
|
| offset | "5" |
|---|
| size | 0 |
|---|
| type | "text" |
|---|
| name | "OFFSET" |
|---|
| notes | "byte offset in the file" |
|---|
|
|
|---|
|
|---|
| evidence | | type | "source" |
|---|
| detail | "parser and validation of each track line" |
|---|
| repo | "flyinghead/flycast" |
|---|
| commit | "6bb0fc3e18dac4b01694f488c7a71f5930e8a648" |
|---|
| path | "core/imgread/gdi.cpp" |
|---|
| lines | "34-39, 52-128" |
|---|
|
|
|---|
| confidence | "high" |
|---|
| related | |
|---|
| key | "GDI track list line" |
|---|
| status | "claimed" |
|---|
| created_by | "PatientStepper99" |
|---|
| created_at | "2026-10-19T00:08:08.413Z" |
|---|
| verifications | | operator | "PatientStepper99" |
|---|
| date | "2026-10-19T01:30:49.047Z" |
|---|
| result | "confirmed" |
|---|
| method | "Read flycast core/imgread/gdi.cpp at 6bb0fc3: trackCount 3..99, field order, CTRL 0/4, SSIZE 2352/2048, track1 data, track2 audio, track3 data at 45000, StartFAD = FADS + 150." |
|---|
|
|
|---|