scripts

misc scripts and tools
git clone git://git.2f30.org/scripts.git
Log | Files | Refs

README (1744B)


      1 Self-boot disc burning guide for the Dreamcast
      2 ==============================================
      3 
      4 Original information and software from:
      5 
      6     http://mc.pp.se/dc/sw.html
      7     http://mc.pp.se/dc/cdr.html
      8     http://dchelp.dcemulation.org/downloads/
      9     http://chui.dcemu.co.uk/snes4all.html
     10 
     11 First get the compiled binary of the game/program.  Here we will use the
     12 latest SNES4ALL release.  Test if the file is scrambled with the
     13 `1strdchk' program.
     14 
     15     $ ./1strdchk snes4all.bin
     16     snes4all.bin is unscrambled
     17 
     18 If it is not you need to `scramble' it.  It can have any given name but
     19 keep it simple.
     20 
     21     $ ./scramble snes4all.bin 1ST_READ.BIN
     22 
     23 Generate the IP.BIN boot sector using the `makeip' program and its text
     24 configuration file.  The ip.txt contains the boot filename 1ST_READ.BIN.
     25 Change it if you are using another filename.
     26 
     27     $ ./makeip ip.txt IP.BIN
     28 
     29 Create a dummy audio track and burn it to an empty disc.
     30 
     31     $ dd if=/dev/zero bs=2352 count=300 of=audio.raw
     32     $ cdrecord -multi -audio speed=1 audio.raw
     33 
     34 Query the information for the session you just burned on disc.
     35 
     36     $ cdrecord -msinfo
     37     0,11702
     38 
     39 Use the above information to create the image for the second session.
     40 Create this file as follows:
     41 
     42     $ mkisofs -C 0,11702 -V SNES4ALL -l -o tmp.iso 1ST_READ.BIN roms/
     43     $ (cat IP.BIN; dd if=tmp.iso bs=2048 skip=16) > data.raw
     44 or
     45     $ mkisofs -C 0,11702 -V SNES4ALL -l -G IP.BIN -o data.raw \
     46       1ST_READ.BIN roms/
     47 
     48 Read your `cdrecord' manpage to see which of the -xa, -xa{1,2} option is
     49 the correct CD-ROM XA mode 2 form 1 with data size multiple of 2056
     50 bytes.  For example, `wodim' has this as -xa but `cdrtools' as -xa1.
     51 
     52     $ cdrecord -multi -xa1 speed=1 data.raw
     53 
     54 Put the disc in your Dreamcast and enjoy!