Hello.
i recently downloaded a game call "Duke Nukem The Manhattan Project" which is a good game to add to any cabinet, its a side scrolling version of Duke Nukem with customisable controls and good graphics.
But i ran in to a problem
, in order to run the game you have to have the disk image mounted (i use deamon tools). i wanted to add it to my cab but i needed to find some way of auto mounting the image when i selected the game in my front end so i created a batch file to do this (i use Maximus Arcade but this will work with any frontend that supports Batch files).
if you dont know how to create .bat files please see the link-
http://www.wikihow.com/Write-a-Batch-Filebelow is the batch file i wrote in order to do this-
@echo off
c:
cd C:\Program Files (x86)\DAEMON Tools Lite
This is the location of deomon toolsstart DTLite.exe -mount 0, "F:\emulators\PC games\Duke Nukem Manhattan Project\Duke Nukem Manhattan
this is the location of your disk image Project.ccd"
F:
cd F:\emulators\PC games\Duke Nukem Manhattan Project\
This is the location of your .exestart DukeNukemMP.exe
exit
DO NOT ADD THE WRITING IN RED Then i ran in to the problem that the .bat file was running to fast, before the disk was mounted it was trying to run the .exe, to over come this and slow down the .bat file i added a TIMEOUT for 5 seconds to the .bat file in order to give it chance to mount the image.
@echo off
c:
cd C:\Program Files (x86)\DAEMON Tools Lite
start DTLite.exe -mount 0, "F:\emulators\PC games\Duke Nukem Manhattan Project\Duke Nukem Manhattan Project.ccd"
TIMEOUT 5F:
cd F:\emulators\PC games\Duke Nukem Manhattan Project\
start DukeNukemMP.exe
exit
Now i can run this game in my frontend using the created .bat file and it will mount the image automatically.
This will work on any game that requires the image to be mounted for the game to run. you just need to change the paths of the-
1. Virtual drive (Deamon Tools)
2. Image path (The image of the game)
3. EXE file
i hope this is helpful and if i only help one person thats enough.
PEACE OUT
Smudge418