DreamRip

  http://www.geocities.co.jp/Playtown/2004/
  bero@geocities.co.jp

[what is]

this is GD-ROM ripping software using PC-DC serial cable.


[requirement]

Marcus's DC<->PC serial cable and serial-slave CD-R
http://mc.pp.se/dc/serifc.html
http://mc.pp.se/dc/serslave.html

Terminal Software
for example: http://hp.vector.co.jp/authors/VA002416/teraterm.html
un-gzip software
for example: http://member.nifty.ne.jp/beambitious/


[instruction]

use terminal software whatever you like.

serial setting:
 baud rate    : 57600bps
 data bit     : 8bit
 parity bit   : none
 stop bit     : 1bit
 flow control : hardware

terminal setting:
 transit newline: CR+LF

if display '>' when you press 'enter' key, setting is fine.

send "dreamrip.srec" to DC.
in teraterm,[file]-[Send file]

when display "please set 115k and hit 'o''k'",
change baud rate to 115200, and press 'o' and 'k' key step-by-step.
in teraterm,[Setup]-[Serial port..]-[Baud Rate]

when display "file: trackxx.iso.gz" or "file: trackxx.raw.gz"
then start download with xmodem-1k

in teraterm, select [file]-[transfer]-[xmodem]-[recieve],
and check [1k] and [binary] checkbox.
otherwise, [control]-[macro] and select dcrip.ttl before you press 'o''k'.


[sleep]

serial speed is 115200 bps, bps means bit-per-second.
1 byte means 8 bit, but additional 1 start bit and 1 stop bit.
so 115200 bps means 115200 / 10 = 11520 byte/sec.

If GD-ROM used full 1G byte,
1000,000,000(byte) / 11520(byte/sec) = 86805(sec) = 1466(min) = 24(hour) = 1(day)
so you need sleep.


[decode]

file is gzipped.
use un-gzip software whatever you like.


[extract image]

data track named "trackxx.iso"

	extract track03.iso

this command extract image file to each file.
some GD have two data tracks. in this case,

	extract track03.iso trackxx.iso 123456

last argument is start sector of 2nd data track image. see terminal.

sound track named "trackxx.raw"
sound track include about 2 second (150 sector) silence at end of file.

	raw2wav track04.raw

		or

	raw2wav *.raw

this command convert raw file to wave file and cut silence


IMPORTANT:
  don't distruibute ripped data follows copyright law in your country.
  at least Japanese law, "personal use" only. 
  "personal use" means yourself, your family, and so on.


[Acknoredge]

 gcc: http://www.gnu.org/
 newlib: http://sources.redhat.com/
 zlib: http://www.info-zip.org/pub/infozip/zlib/
 libdream: http://www.allusion.net/dcdev/
 xmodem protocol: http://web.fu-sen.net/amiold/protocol.shtml (in Japanese)


[history]

version 0.04 - xmodem support - by track
version 0.03 - sound track support - by track
version 0.02 - uuencode & gzipped - by file
version 0.01 - uuencode - by file
