Alex

Dreamcast CDI Burner (DCDIB) : Burn ALL Sega Dreamcast .CDI Files On Linux With Open Source Software

by Alex Free

DCDIB is an open source toolkit for burning Sega Dreamcast .cdi files (used for self-booting homebrew programs and backups) to CD-R discs on Linux! CDI is the proprietary format of the Windows-only software DiscJuggler. CDI is a very popular format for Sega Dreamcast software distribution. The CD-Rs you burn with DCDIB will just work and boot like authentic Sega Dreamcast GD-ROM discs.

GitHub Homepage Dreamcast-Talk Thread

Table Of Contents

Downloads

v1.1.1 (9/28/2024)

Changes:



Previous versions.

CDI Compatibility

DCDIB supports burning all 4 Sega Dreamcast CDI file format types:

## Self-Boot Console Compatibility

The ability to use self-booting CDIs on an unmodified Sega Dreamcast depends on the console revision that you own. There are 2 different CDI methods, audio+data and data+data.

Console Can Use AUDIO+DATA Self-Boot Method? Can DATA+DATA Self-Boot Method ?
Rev 0 Yes. Yes.
Early Rev 1 (September 1999 to May 2000 or possibly a bit earlier) Yes. Yes.
Late Rev 1 (June 2000 or possibly a bit earlier to October 2000 No. YES.
Rev 2 (October 2000) No. No.

To find the console revision, flip the entire console upside-down and look for the number 0, 1, or 2 in a circle on the model sticker as displayed below:

dreamcast early rev 1 console

Additionally, NTSC-U consoles have the date of manufacture on the label, which helps with identifying things like a late rev 1:

dreamcast late rev 1 console

CD-R Media

It is recommend to only use high-quality CD-R media with a Good CD-R Burner. My Ultimate Guide To PSX CD-Rs has a ton of info with that is also useful for Dreamcast in regards to good CD-R media and burners. The only thing specific to PSX is recommending 71 or 74 minute CD-Rs. While some CDI files can fit on lower capacity CD-Rs (i.e. 74 minutes), most CDI files target 80 minute CD-Rs. For CDI files targeting CD-R capacities larger then 80 minutes, such as 99 or 100 minute CD-Rs, be aware that not all 99 or 100 minute CD-Rs are compatible with the Dreamcast, and some burners don’t even support writing that much data to a disc as it is way out of Red Book spec. Some specific brands/types of 99 and 100 minute CD-Rs DO however work, though I don’t have any tests done myself yet.

If you are still having issues booting even high quality CD-Rs on the Sega Dreamcast, consider wiping with a clean microfiber cloth from the inner ring to the outer edge of the CD-R in all directions and then trying to boot the disc again.

Usage

1) Download and unzip the latest release.

2) After inserting a high-quality CD-R disc in your CD-R burner, ignore any prompts about the new blank CD-R that your OS may display such as:

Fedora new CD prompt

3) Using sudo execute the dcdib script in the extracted release directory with 1 or 2 arguments. Root privileges are required to ensure that buffer under-runs do not occur during burning which would result in a CD-R coaster. Root privileges also ensure that cdrecord can access your CD burner hardware successfully to burn the CD-R.

If your only using one argument, it must be the filepath to either a CDI file OR a supported compressed archive (7z/xz/cab/zip/gzip/bzip2/tar) containing a CDI file.

DCDIB usage 1

DCDIB usage 2

If your using 2 arguments:

Usage:

dcdib <file> Burn using <file> as input. <file> is either a CDI file OR a supported compressed archive (7z/xz/cab/zip/gzip/bzip2/tar) containing a CDI file.

dcdib -c <file> Check the self-boot method that <file> uses, without burning. If you have a late rev 1 Sega Dreamcast that can't boot the audio+data self-boot method used by many CDI files, this option can save you from some wasted CD-Rs.

dcdib -s <burn speed> Set burn speed to <burn speed> and exit.

dcdib -b <burner> Set burner to <burner> (i.e. "/dev/sr0").

Note: DCDIB provides a default CD burner config which should work on most if not all Linux distributions (/dev/sr0). If you find this to not work on your setup or if you have multiple drives, you can change it. You will know if you need to specify this argument because something like below will be displayed (if you a single burner that isn’t at /dev/sr0):

DCDIB devname

License

DCDIB itself is released as open source software under the 3-BSD license, see the file dcdib.md in the licenses directory.

DCDIB makes use of the following programs listed below, which have their own licenses/terms: