Here's a little batch file a made because i was bored mainly, and impatentient. I Couldnt wait 10 seconds for a image to mount!
This will mount an image, run the game, and when u finish the game, unmount it
cant post attachments so
make a file with a .bat extension and copy all this in there
the file is pretti self explanitory, but for completness sake.
make a shortcut to the .bat file
go into the properties
the line should look something like
"C:\Automount.bat" "C:\Game.iso" "C:\Program Files\Games" Game.exe
the daemon tools line is optional, and is only needed if you installed daemon tools anywhere other than "C:\Program Files\Daemon tools\"
i have one that does something similiar to sd4hide in the file aswell. if anyone wants it just send some emails. like sd4hide, this one has more chances of stuffing up, and isnt needed for most games so the basic file goes on.
Tell me what u all think. This was my first attempt at making a batch file, so sorry if it looks a bit shabby
EDIT: Just had to add (tip)
ECHO Unmounting %1
%Daemon% -unmount 0
ECHO Done...
PAUSE
GOTO :end
delete the PAUSE, and the batch file will run automatically, u might not even notice it!
This will mount an image, run the game, and when u finish the game, unmount it
cant post attachments so
make a file with a .bat extension and copy all this in there
Code:
TITLE %3 loader @ECHO OFF CLS IF [%1]==[] GOTO syntax IF [%2]==[] GOTO syntax IF [%3]==[] GOTO syntax IF [%4]==[] GOTO fix SET Daemon=%4 GOTO start :fix SET Daemon="C:\Program Files\Daemon Tools\Daemon.exe" ECHO Mounting %1 at mount 0...(using %Daemon%) %Daemon% -mount 0,%1 ECHO done... ECHO. ECHO starting %3... CD /D %2 START /WAIT %3 ECHO done... ECHO. ECHO Unmounting %1 %Daemon% -unmount 0 ECHO Done... PAUSE GOTO :end :syntax ECHO Mounts games using daemon tools and then runs them. ECHO Also unmounts the image once the game stops. ECHO. ECHO Usage: Automount [image] [game path] [game.exe] [Daemon tools] ECHO. ECHO [image] = full path to image (iso,etc) ECHO [game path] = path to folder containing game.exe ECHO [game.exe] = file to run game ECHO. ECHO [Daemon tools] = full path to daemon tools exe ECHO (if not under "C:\Program Files\Daemon Tools\Daemon.exe") ECHO. ECHO Note: autorun should be disabled to make the process more smooth, google tweakui to do this. ECHO Also if you see this screen, u need to enter the parameters! ECHO. ECHO Written by bojo PAUSE >nul GOTO end :end
make a shortcut to the .bat file
go into the properties
the line should look something like
"C:\Automount.bat" "C:\Game.iso" "C:\Program Files\Games" Game.exe
the daemon tools line is optional, and is only needed if you installed daemon tools anywhere other than "C:\Program Files\Daemon tools\"
i have one that does something similiar to sd4hide in the file aswell. if anyone wants it just send some emails. like sd4hide, this one has more chances of stuffing up, and isnt needed for most games so the basic file goes on.
Tell me what u all think. This was my first attempt at making a batch file, so sorry if it looks a bit shabby
EDIT: Just had to add (tip)
ECHO Unmounting %1
%Daemon% -unmount 0
ECHO Done...
PAUSE
GOTO :end
delete the PAUSE, and the batch file will run automatically, u might not even notice it!
Comment