CDrecord...they have it for windows aswell as *nix
its CL so you could script it and save alot of time
you running winnt5 (xp/2k) right?
this isnt exact but you will get the idea..it would make your life easier.
(cant remember exact syntax for cdrecord but you will figure it out, cdrecord, latest version, supporst dvd writers)
@echo off
cdrecord -read scsibusid image.iso (or whatever the syntax is)
IF /I EXIST "c:\ps2patch\nul"ppf -patch c:\ps2patch\patch.ppf image.iso (or whatever)
eject.com(or .exe or whatever since NT5 doesnt even support EJECT alone)
:_label
DIR %cdrom%:\nul >nul
IF ERRORLEVEL==1 ping 127.0.0.1 >nul & GOTO _label
cdrecord -write scsibusid image.iso (or whatever the syntax is)
echo.
echo ps2 game done, l8r
echo.
echo Press [ENTER] to exit
pause >nul
obviously this is exact ;-P, but you could do it in that many lines. it would
just read the image and check to see if there is a patch avail in that dir if. if there was proceed to patch, if there wasnt one it would carry on to eject.com, then keep trying your dvdr drive letter for access to the empty directory (empty dvd in this case). Once you put one in, it would stop going to :_label and record the image. pinging yourself creates a rough 3second delay so it would deal 3secs everytime it tried to find a empy dvd. I peronally would make 3 pings for a ~9sec delay.
you get the idea though, this way you just click 1 .bat file in this case and all you have to do is put in the blank dvd and its done.
(sorry i dont know all that much about generic cmd shell scripting on NT5.x, use linux)
Last edited by neverMindNames; Nov 07, 2003 at 11:30 PM.
|