CDROM-Guide forums

CDROM-Guide forums (http://www.cdrom-guide.com/forums/index.php)
-   Video Game Backup - PS2 (http://www.cdrom-guide.com/forums/forumdisplay.php?f=15)
-   -   DVDDecrypter DOES!! support Command Line after all, here's my .bat for quicker use. (http://www.cdrom-guide.com/forums/showthread.php?t=263862)

neverMindNames Dec 09, 2003 11:16 PM

DVDDecrypter DOES!! support Command Line after all, here's my .bat for quicker use.
 
I never knew it, but reading the readme.txt pays off :-). RTFM right :-p

The following should be in the same directory...
1. dvddecrypter.exe
2. EJECT.EXE (optional, will eject drive after read and/or write for you though)
3. the .bat file

Just copy this and create a shortcut to this .bat on your quicklaunch bar and off you go, no more need for a mouse.

P.S. i havent tested this :-), i know it reads fine, but my riteks havent came yet. if the script is correct it will work just fine. This is the samething as if you used the gui. Just set your HDDDRIVE variable and DVDDRIVE variable and use EJECT.EXE. its all in the comments (::comment).

So im happy now ;-).

Start copying from @echo to end and put in a .txt, save it, rename .txt to .bat. This is a simpler life as you will see.

DVDDECRYPTER HAS TO BE IN THE SAME DIRECTORY AS THIS .BAT (not the shortcut of course)

one last thing, i dont know how it handles speed. i guess just start the program once regularly, select your speed and after it finish's it will save that speed for all use's? i really dont know this part since i havent gotten to it. (for writing atleast)

@echo off
:: This uses DVD Decrypter 3.1.7.0 (14/10/2003) found at
:: www.dvddecrypter.com
:: and EJECT.EXE in EJECT.ZIP found at
:: www.cmdtools.com
::
:: This will read a image and write it same as if you started
:: the program and used the gui, this is just quicker.
::
SET DVDDRIVE=D&::
SET HDDDRIVE=C&::
IF /I "1"=="" SET DVDWRITE=/CLOSE &:: notice the space after /CLOSE
IF /I "1"=="1" SET DVDREAD=/CLOSE &:: notice the space after /CLOSE
::
:: NOTE: turn off word wrap and make sure each line is on its
:: own line. IF, PING, ECHO, SET, START, EXIT, ::, PAUSE and any others
:: if there is should be on different lines.
:: The following information is for the variables above
:: and how they should be set. SUPER SUPER EASY!!
::
:: if you want to exit a batch at anytime press CTRL+C
:: &:: = online comment and ensures no trailing characters
:: will be after the variable.
::
:: set the DVDDRIVE letter, LETTER ONLY not the : aswell, just
:: letter, to the drive letter of your writer.
:: Also set the HDDDRIVE letter in the same manner for the
:: image to be wrote to.
::
::
:: if you want DVDDECRYPTER to close after WRITE put a 1
:: between the empty quotes in the if statement "1"==""
:: if you want it to close it should look like "1"=="1"
:: Again this is for closing DVDDECRYPTER AFTER WRITING.
:: It close's after READ by default. if you dont want it
:: to close after READ delete the 1 out of "1"=="1" with the
:: SET DVDREAD= variable
::
::
:: the following information is for use with EJECT.EXE
:: with the IF /I EXIST statements.
::
:: if you put EJECT.EXE in the same directory it will eject
:: the tray after the READING of the iso is finished.
:: the /I switch with the IF /I EXIST is to IGNORE case.
:: so eject.exe is the same as EJECT.EXE. I cant remmeber
:: if this works on win98 but it should. REMEMBER, win98
:: (FAT32) does NOT support files over 4gig.
::
:: EJECT.EXE can be found in the EJECT.ZIP found at
:: ***********.cmdtools.com/
::
:: Also START will star a application right duh. But using
:: the /W switch with START it will wait for the application
:: it starts to terminate before carrying on to the next line
:: in the batch.
::
ECHO.
ECHO Please put the dvd to read and write in the drive
ECHO and press the SPACE bar.
ECHO.
IF /I EXIST "EJECT.EXE" EJECT %DVDDRIVE%:
PAUSE >NUL
::
:: PING pings your own computer and each ping creates a
:: ~3 second delay. So it will delay for ~15 seconds after
:: you press the space bar to ensure its ready to go.
::
PING 127.0.0.1>NUL
PING 127.0.0.1>NUL
PING 127.0.0.1>NUL
PING 127.0.0.1>NUL
PING 127.0.0.1>NUL
SET STIME=%TIME%
START /W DVDDECRYPTER.EXE /MODE ISOREAD /START %DVDREAD%/SRC %DVDDRIVE%: /DEST "%HDDDRIVE%:\DVDiMAGE.iSO"
IF /I EXIST "EJECT.EXE" EJECT %DVDDRIVE%:
ECHO.
ECHO Read started at %STIME%
ECHO and finished at %TIME%
ECHO.
ECHO.
ECHO Press space bar when you have dvd drive closed
ECHO and writing will commence.
ECHO.
PAUSE >NUL
PING 127.0.0.1>NUL
PING 127.0.0.1>NUL
PING 127.0.0.1>NUL
PING 127.0.0.1>NUL
PING 127.0.0.1>NUL
START DVDDECRYPTER.EXE /MODE ISOWRITE /START %DVDWRITE%/SRC "%HDDDRIVE%:\DVDiMAGE.iSO" /DEST %DVDDRIVE%:
:: Why 2 EXIT'S? i have no clue but on win98 for some reason i have
:: noticed only 1 EXIT will leave the shell open, where 2 closes it.
:: i might just not know exactly why that happens (and i dont), but
:: it always works like this for me on win98 with 2 EXIT'S
EXIT
EXIT


All times are GMT -5. The time now is 08:12 AM.

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
Copyright 1996-2009 CDROM-Guide.com. All rights reserved