The image size limit has been raised to 1mb! Anything larger than that should be linked to. This is a HARD limit, please do not abuse it.
Our new Indie Games subforum is now open for business in G&T. Go and check it out, you might land a code for a free game. If you're developing an indie game and want to post about it, follow these directions. If you don't, he'll break your legs! Hahaha! Seriously though.
Our rules have been updated and given their own forum. Go and look at them! They are nice, and there may be new ones that you didn't know about! Hooray for rules! Hooray for The System! Hooray for Conforming!

dosbox help

TubeTube Administrator, ClubPA admin
edited June 2012 in Help / Advice Forum
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


  • BethrynBethryn Registered User regular
    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.

  • TychoCelchuuuTychoCelchuuu ___________PIGEON _________San Diego, CA Registered User regular
  • TubeTube Administrator, ClubPA admin
    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.

  • BethrynBethryn Registered User regular
    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.

    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.

    Bethryn on
  • TubeTube Administrator, ClubPA admin
    That worked, thank you!

  • TofystedethTofystedeth veni, veneri, vamoosi Registered User regular
    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.

  • EchoEcho Where da waaagh at? Moderator mod
    Batch files typically begin with an @echo off.

    This drives me insane on Twitter.

    Echo wrote: »
    Let they who have not posted about their balls in the wrong thread cast the first stone.
  • Sir CarcassSir Carcass I have been shown the end of my world Round Rock, TXRegistered User regular
    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.

Sign In or Register to comment.