djFai Posted February 1, 2018 Share Posted February 1, 2018 As per the title I'm having trouble getting an iso to be mounted before a game is booted. As of right now I use Daemon Tools Pro. The attached images show the current attempt. It's important to note that it would appear that the application "DT Pro: Mount Image" is the one that doesn't work at game boot. However, if I manually right click and select that option the iso mounts fine. From what I can gather only one application can run automatically before the main application? Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted February 1, 2018 Share Posted February 1, 2018 What emulator are you using for PS1 games ? The common emulators such as ePSXe, Mednafen and Retroarch do not require you to mount disk images at all. Though they can require cue + bin disk images. You can try this batch file as your emulator if you must mount the disk image. @echo off set game=%1% set daemon="C:\Program Files\DAEMON Tools Ultra\DTAgent.exe" set emu="path\to\ps emulator.exe"" %daemon% -mount F, %game% start /wait "" %emu% %daemon% -unmount F This will mount your game on load and unmount it once you are done. I used this for Saturn games using SSF before Mednafen started to support Saturn and then moved to it. Quote Link to comment Share on other sites More sharing options...
djFai Posted February 1, 2018 Author Share Posted February 1, 2018 10 minutes ago, Lordmonkus said: What emulator are you using for PS1 games ? The game I'm trying to get to work (Croc 2) is a windows game, so it doesn't require an emulator. Maybe I can use a batch file to combine my 'add virtual drive' and 'mount image'? Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted February 1, 2018 Share Posted February 1, 2018 Ahh, sorry I should have noticed it wasnt't a PS game, I just saw Croc and assumed it was. You could try modifying the batch file to mount and run it but unfortunately I am not a batch file expert so you would either have to figure it out on your own or hopefully someone better at them can help you out. Is there much of a difference between the PS and Windows versions of the game ? With the PS version and emulator like ePSXe or Retroarchs PSX Hardware core you could up the internal resolution and enable PGXP to clean up the look of the game significantly. Quote Link to comment Share on other sites More sharing options...
djFai Posted February 1, 2018 Author Share Posted February 1, 2018 (edited) Thanks for the help @Lordmonkus, I used your batch file as a basis and modified it to seek the result I was after! Edited February 1, 2018 by djFai bat file didn't show preview 1 Quote Link to comment Share on other sites More sharing options...
Lordmonkus Posted February 1, 2018 Share Posted February 1, 2018 Good to hear you got it working the way you want it to. Quote Link to comment Share on other sites More sharing options...
MrZed0 Posted April 13, 2023 Share Posted April 13, 2023 (edited) You can do all this in LB without bat files just use the Daemon Tools DTCommandLine.exe file not DTAgent.exe #1 Remove_All: Application Path: C:\Program Files\DAEMON Tools Lite\DTCommandLine.exe Application Command-Line Parameters: --remove_all Automatically Run Before Main > Wait For Exit #2 Mount: Application Path: C:\Program Files\DAEMON Tools Lite\DTCommandLine.exe Application Command-Line Parameters: -m -l f -p C;\Path\To\iso\file.iso Automatically Run Before Main > Wait For Exit #3 Run Game: Application Path: F:\rungame.exe #4 Unmount: Application Path: C:\Program Files\DAEMON Tools Lite\DTCommandLine.exe Application Command-Line Parameters: --remove_all Automatically Run After Main Application If The Game Requires DosBox: Make sure that the dosbox.conf file is created and you also added mount d f:\ (f:\ being your mounted image} Commands: -m (mount) -l (drive letter) -p (path) --remove_all (removes all mounted drives) -u (unmount) --unmount_all (unmounts all images} Edited April 13, 2023 by aztm22 wanted to add more info to help users Quote Link to comment Share on other sites More sharing options...
alienhuntinyeti Posted 2 hours ago Share Posted 2 hours ago Thank you MrZed0, this was really helpful! For anyone who finds this by googling it like I did, if you're using Daemon Tools Pro or a newer version of lite that doesn't have DTCommandLine.exe, use DTAgent.exe and only one dash in the -remove_all command. If Daemon Tools is your default program to mount disc images you can just link directly to the iso/cue for the Mount step instead of going through the app with command lines, and if your game exe is the default app when launching Step 3: Run Game is redundant. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.