Is there any way to turn a DOS game that runs in DOSBOX into an .EXE file that will run effortlessly?
I want to burn a bunch of old DOS games that require a DOS emulator onto a disc for a gift for my sister. In DOSBOX, you need to mount the drive with the game on it and type the file name you want to open. I was wondering if there is any way to turn this process into an .EXE file that will automatically run the game. I don't want it to be some messy thing where she has to mount the folder with the games and all that. I just want her to be able to pop the disc in and have a list of .EXE files come up that will automate the process of mounting and running the game.
Is there a way to write a program that will automate this? I've taken a Java programming course so I know some of the basics and have friends that can help me if I get stuck. I have a month to figure this out and I'm sure I can figure out how to use other programming languages. Thanks for any help.
Solution 1:
You could also use D-Fend Reloaded as another alternative. It's basically a frontend for DOSbox -- you'll need it for running D-fend, it shows a list of the games you have and uses it as a parameter to call and run dosbox). You can even generate and use screenshots for the game.
In my opinion it is more user-friendly than having a folder full of shortcuts and having to manually generate and edit shortcuts. It is as easy as clicking on the game's name to use it.
Disclaimer: It has been more than six years since I last used it. However, it was quite straightforward at the time.
Solution 2:
Just add shortcut that calls dosbox to execute it.
The target should be something like:
C:\Path\To\Dosbox.exe -conf startplayingmygame.conf -noconsole -c "exit"
Then in startplayingmygame.conf
you add the following stanza to the end after all the config options:
[autoexec]
mount C .
c:
cls
mygame.exe
exit
This will cause dosbox to immediately start the game once the shortcut is called, and exit once it's done.
Solution 3:
I'm pretty sure that DOS games sold by GOG.com work that way - they are somehow wrapped up in DOSBOX and run by it, but it's all handled by Windows installer, users don't have to deal with DOSBOX at all.
Maybe you could just buy them there, they have a LOT of abandonware and pretty good prices.
Solution 4:
I created a simple batch file (.bat) with a dos based menu linking to all my folders for my dos games. I used c:\ as my base directory and installed dosbox portable on a flash drive with all the games. Using this method all I need to do is mount c and run the batch file to play any game with specific startup options and settings. Check out the images below...