GDIBuilder v2.0

Screenshots of GDIBuilder on Windows, macOS and Linux
This tool will assist in building .gdi images of a Dreamcast GD-ROM disc. It creates the track03.bin track (and final data track for images with CDDA) to be used in a .gdi. This tool cannot be used for MIL-CD's or tracks intended for a normal CD-ROM.

Download v2.0 for Windows - Windows 10 or newer

Download v2.0 for Mac - Intel Macs with macOS 10.15 or newer

Download v2.0 for Mac - Apple Silicon (M1 and newer)

Download v2.0 for Linux - Requires .NET 8 Runtime

Download v2.0 for Windows x64 (Command Line) - Windows 10 or newer

Software Developers
Nuget Package for .NET Developers - Build GDI images in your own apps. See buildgdi source code on Github for examples on how to use the package.

Technical Details
The primary executable on a Dreamcast GD-ROM (usually 1ST_READ.BIN) must be located at a specifc LBA sector for the disc to boot. According to dissassembly research done by japanese_cake, the required start location must be at least 100 minutes into the disc. This tool was created to make it easier to generate images with the executable in the correct location. On official media, when CDDA is used 150 empty sectors always separate the data and audio tracks on the disc. The tool also accounts for this when generating the data tracks. Finally, the IP.BIN bootsector contains a table of contents starting at offset 0x100. This TOC lists the tracks in the high-density area of the disc along with their LBA offset and track type. This information is written to the bootsector of the generated image.

Version History
Version 2.0 (released 2024-12-03) adds the ability to cancel a disc build, adds the patching feature, and adds .gdi browsing and file extraction. It also introduces the Linux port, and a Nuget package for other developers to add functionality to their applications for building GDI images.

Version 1.3 (released 2019-12-07) fixes empty folders being excluded from the build GD-ROM. It also sets the timestamps on folders to match the source folders added. On Windows, high DPI displays are now supported. On macOS, dark mode is supported and the application is notarized for macOS 10.15 and newer.

Version 1.2 added a feature to produce a truncated data track creating a gap in the disc. This allows for smaller GDI images to be created, however the resulting image is not technically valid and may be unsupported by some software or hardware. The option is disabled by default. In the UI it is enabled with a checkbox in the Advanced Options window; in the command line version adding the -truncate argument will enable this mode.

Source Code
The complete source code to the application is available on Github:
http://github.com/Sappharad/GDIbuilder

File timestamps change when I extract a GD-ROM and rebuild it?
There is a bug in the popular tool "GD-ROM Explorer" by japanese_cake, which ignores the time zone information on all disc timestamps. This will cause the timestamps on files to shift by how far your time zone is from UTC each time you rebuild a disc with the same files. I reported this bug to the original developer on November 2nd 2019, but after not hearing back for a month I fixed it myself. You can download the unofficial patched version of this program below.
Download Unofficial GD-ROM Explorer v1.6.3.2 for Windows - Not official, do not report any bugs to the original developer without confirming if they exist in an official release.

Previous release(s)
Download v1.3 for Windows - Windows 7 or newer

Download v1.3 for Mac - Mac OS X 10.11 or newer

Download v1.3 for Windows (Command Line) - Windows 7 or newer

Download v1.2 for Windows - Windows XP or newer

Download v1.2 for Mac - Mac OS X 10.7 or newer

Download v1.2 for Windows (Command Line) - Windows XP or newer; Compatible with Mono on Linux and OS X