vsilvalopes Posted October 6, 2009 Share Posted October 6, 2009 Hi Everyone !After some research in the forum , I´ve found this to use batch to use ECM Tools in within GameExThe idea of JK1974 is great , and helped me a lot to find the answer for my problem.Based on his code , I´ve modified it to apply better to my situation.So here´s my code@echo onset directory=%1set directory=%directory:~1,-1%set file=%2set file=%file:~1,-1%"C:\Playstation\packiso\unpakkIso.exe" "%directory%""%ProgramFiles(x86)%\Daemon Tools Lite\daemon.exe" -mount 0,"%directory%\%file%"C:\Playstation\ePSXe.exe -nogui -slowbootI´ve made just a few changes... Well , I need help in the following.This batch file does it :1-Run Unpackiso to Unpack my game and get it ready do be mounted by Daemon Tools2-Mount the ISO file3-Run epsxe.My problem is , after unpacking the ISO , the BIG *.bin file stays in the folder.And if I want to play the same game again, I will have to wait (a lot) the unpackiso process finish again.I want that the Batch file check if a *.BIN file is present , and if yes skips the process of unpackiso. Going right to the Daemon tools step.And after that , mount the *.cue that is already present in the directory.Thanks to everyone ! Link to comment Share on other sites More sharing options...
BrutalDeluxe Posted October 6, 2009 Share Posted October 6, 2009 @echo onset directory=%1set directory=%directory:~1,-1%set file=%2set file=%file:~1,-1%What are the input file names are they *.bin files?If they are you could use:-----IF NOT EXIST %file% GOTO unpack ELSE GOTO end:unpack"C:\Playstation\packiso\unpakkIso.exe" "%directory%"GOTO end:end"%ProgramFiles(x86)%\Daemon Tools Lite\daemon.exe" -mount 0,"%directory%\%file%"C:\Playstation\ePSXe.exe -nogui -slowboot-----Check out http://www.computerhope.com - for more batch file commands Link to comment Share on other sites More sharing options...
Recommended Posts