The new forums will be named Coin Return (based on the most recent vote)! You can check on the status and timeline of the transition to the new forums here.
The Guiding Principles and New Rules document is now in effect.
So I'm running the delightful Theme Park through dosbox, and every time I start it up I have to
1. mount c to C:/theme
2. change directory to C:
3. run main.exe
Is there a way to set this up so I can just click on a shortcut and dosbox will run theme park automatically?
Tube on
0
Posts
BethrynUnhappiness is MandatoryRegistered Userregular
Apparently you can do this simply with a desktop shortcut targeted as follows:
e.g. "E:\Games\DOSBox-0.74\DOSBox.exe E:\Games\UFOCD\ufocd.bat" will start DosBox and then immediately make it run UFOCD batch.
I know you can also write batch files for DOSBox if you need to also alter other settings like cycles etc., but that's probably the simplest way of just running a game without any other fuss.
I think I may have made myself sound more competent than I actually am. I don't know how to write a batch file and the sierra link made me cry.
0
BethrynUnhappiness is MandatoryRegistered Userregular
edited June 2012
A "batch" file would just be writing those three lines of code you wrote earlier; it's just the technical term for short DOS 'programmes' that are collections of simple commands.
As to how to do this, I would say.
Create New Shortcut
Point it to dosbox.exe wherever it is.
Go to the properties of the shortcut, and where target is listed, add in the shortcut to Theme Park's exe.
Alternatively, you can download a graphical frontend for DOSBox like D-fend which lets you set up different profiles for your various games and change the various settings in a graphical way. And you can tell to make a desktop shortcut to launch your game.
Sir CarcassI have been shown the end of my worldRound Rock, TXRegistered Userregular
There's also a section at the bottom of the config file (accessible from a shortcut in the DOSBox start menu folder) where you can type in commands that it will automatically run upon starting it up.
Posts
e.g. "E:\Games\DOSBox-0.74\DOSBox.exe E:\Games\UFOCD\ufocd.bat" will start DosBox and then immediately make it run UFOCD batch.
I know you can also write batch files for DOSBox if you need to also alter other settings like cycles etc., but that's probably the simplest way of just running a game without any other fuss.
As to how to do this, I would say.
Create New Shortcut
Point it to dosbox.exe wherever it is.
Go to the properties of the shortcut, and where target is listed, add in the shortcut to Theme Park's exe.
So you'd get something like
"E:\Games\DOSBox-0.74\DOSBox.exe C:\theme\main.exe"
And that should just make it start DOSBox and then have DOSBox run that programme without any of the hassle of mounting a drive in DOSBox beforehand.
If that doesn't work, I can probably dig up a set of instructions for doing it the other way.
This drives me insane on Twitter.