I've been trying to burn the serialslave (from Marcus' site) onto
CD, but my Dreamcast is refusing to boot it. The script I'm using is
below; is there anything wrong with it or do I need to look for a
different CD writer? Incidentally, I've tried specifying padsize=0 or
not for cdrecord, specifying -C or not for mkisofs, running "cdrecord
-msinfo" or giving the value (known from previous writes) directly,
and taking the disc out or not between writes, but nothing seems to
work; the Dreamcast goes to the audio CD screen (2 tracks, 2:42) if I
boot with the cover closed, and if I try "play" from the menu it just
resets.
System info:
- OS: Linux (2.2.16)
- CD writer: Smart and Friendly CD-R4012 (SCSI drive; the
cdrecord README says it's supported, and it works
fine for ordinary audio/data writing)
- cdrecord: version 1.9
Script:
-------------------------------------
#!/bin/sh
tmpdir=/tmp/makedisc
dir=`echo "$1" | sed 's/\/$//'`
if [ "$2" ] ; then
ipbin="$2"
exclude=""
else
ipbin="$dir/IP.BIN"
exclude="-x $ipbin"
fi
if [ $# -lt 1 -o ! -f "$ipbin" ] ; then
echo >&2 "Usage: $0 <fs-dir> [IP.BIN-path]"
echo >&2 "If IP.BIN-path is not specified, it must be in <fs-dir>."
exit 1
fi
rm -rf $tmpdir
mkdir $tmpdir || exit 1
dd </dev/zero bs=2352 count=300 >$tmpdir/audio.raw
cdrecord -multi -audio $tmpdir/audio.raw
rm -f $tmpdir/audio.raw
msinfo=`cdrecord -msinfo`
if [ ! "$msinfo" ] ; then
echo >&2 'cdrecord -msinfo failed! Aborting.'
exit 1
fi
mkisofs -l -C $msinfo -o $tmpdir/disc.iso $exclude $1
dd if="$ipbin" bs=2048 count=16 of=$tmpdir/disc.iso conv=notrunc
cdrecord -multi -xa1 $tmpdir/disc.iso
rm -rf $tmpdir
-------------------------------------
--Andrew Church
ac...@ac... | New address - please note.
http://achurch.org/ | メールアドレスが変わりました。
|