PDA

View Full Version : Dreamcast bootable CD HOWTO for Linux Users (by Duncan Brown)



Darksaviour69
September 5th, 2006, 15:27
Duncan Brown : [email protected]

There are quite a few 'how-to' files out there when it comes to making a bootable Dreamcast CD, but I personally think they all SUCK.

Here's my super easy DC-CD creation funtime.

Prep work #1 : Find out your CD-R drive's SCSI ID. Use the following command
line

$ cdrecord -scanbus

Prep work #2 : Put all files (especially the 1ST_READ.BIN and the IP.BIN)
that are required for this disc in ./files

------------------------------------------------------------------------------
[fatboy@littleman dreamsnes-0.9.8]$ ls *
files/ CHANGES IP.BIN LICENCE README

files:
0GDTEX.PVR 1ST_READ.BIN CHANGES gfx IP.BIN LICENCE locale README roms
sound
[fatboy@littleman dreamsnes-0.9.8]$
------------------------------------------------------------------------------

The two IP.BIN files have to be copies of the SAME EXACT FILE.

We need to make about 4 seconds of audio for the disc with the following
command

$ dd if=/dev/zero bs=2352 count=300 of=audio.raw

Next, we burn the audio track to the CD and mark the CD as a multi-session
disc.

$ cdrecord -v dev=0,0,0 speed=4 -multi -audio audio.raw

Now we find the msinfo for the disc we just created (0,11700 is the typical
response).

$ cdrecord dev=0,0,0 -msinfo

We create an .iso image with said msinfo informtion (replace MSINFO with the
data cdrecord returned with the previous command).

$ mkisofs -l -r -C MSINFO -o tmp.iso files

Now, we take our precompiled IP.BIN file and merge it with the iso we just
created while skipping the first 16 blocks.

(cat IP.BIN ; dd if=tmp.iso bs=2048 skip=16) > data.raw

Now we burn the .raw file onto our CD. (I've noticed ALOT of tutorials for
DC CD creation tell you to use -xa1, THIS IS NOT THE CASE.)

$ cdrecord -v dev=0,0,0 speed=4 -multi -xa data.raw

And delete the temporary files.

$ rm tmp.iso data.raw audio.raw