Configurer DOSBox ()

download Configurer DOSBox ()

of 3

Transcript of Configurer DOSBox ()

  • 8/10/2019 Configurer DOSBox (www.sierrahelp.com)

    1/3

    Click here to print this

    Creating a Game DOSBox Shortcut

    If you add the path to a game's executable (.COM, .EXE or .BAT) to the end of what's in the "Target" box in a DOSBox Shortcut, you can startthat game in DOSBox by simply double clicking the Shortcut.

    1. Create and Modify a DOSBox Shortcut2. Customizing the Shortcut

    3. Customizing DOSBox's Settings4. Automating Commands for DOSBox5. An example

    1. Create and Modify a DOSBox Shortcut

    Create a DOSBox Shortcut- then modify it for your game.

    Right click on the DOSBoxShortcut and choose "Properties"

    This will bring up the Shortcut's properties dialog.It's what's in the Target box that we want to modify.

    Depending on where you have DOSBox installed, what's in the Target box for the Start Menu Shortcut will be somethinglike:

    "C:\Program Files\DOSBox\DOSBox.exe"

    IMPORTANT: When specifying paths with any spaces in file names you mustplace it in

    quotes, i.e. "C:\My Game Folder". You do not need to if there are no spaces, i.e.C:\MYGAMEFOLDER.

    This is the path to DOSBox. We want to get It to use a specific config file that will setup DOSBox for the game. We need toadd a path to the configuration file to be used after the dosbox.exe pathy in the "Target" box:

    "C:\Program Files\DOSBox\DOSBox.exe" -conf "C:\SIERRA\QG4CD\dosbox.conf"

    To start a game in DOSBox with this Shortcut, all that needs to be done is to mount the game's folder as the harddrive,change to that harddrive and state the game's executable in the autoexec section of the dosbox.conf.

    On Vista/Windows 7, you can easily copy the path to your game's dosbox.conf by holding the shift key down, right click onthe conf file and choose "Copy as path" from the context menu to copy the file's path to the clipboard. For Windows XP, asmall free utility to make finding the path to files easier is Send To Toys from Gabriele Ponti. It adds a "Clipboard (asname)" choice to the "Send To" menu. Once installed, right click on a file and choose "Send To" > "Clipboard (as name)" tocopy the file's path to the clipboard.

    2. Customizing DOSBox's Settings:

    DOSBox can be configured to emulate different hardware or to use different display modes. You can set the speed (cycles)and memory options that DOSBox will use. You can also specify what settings the emulated hardware will use. All of thesemake DOSBox highly adaptable to be compatible with a very wide range of games.

    You can use a custom config file for each game that you setup a DOSBox Shortcut for. You can either copy the dosbox.conffrom DOSBox's installed folder to the game's folder and modify it or create one that only has the non-default options youwant and DOSBox will use the defaults for all the other settings.

    Graphics modes you may want to try are some of 3x scalers. On a 19" monitor, this will make the screen about the same

    converted by Web2PDFConvert.com

    http://www.web2pdfconvert.com/?ref=PDFhttp://www.web2pdfconvert.com/?ref=PDFhttp://gabrieleponti.com/software/index.html#sendtotoyshttp://localhost/var/www/apps/conversion/tmp/scratch_9/DOSBoxShortcut.html
  • 8/10/2019 Configurer DOSBox (www.sierrahelp.com)

    2/3

    size as a 14" monitor. There are also options for antialaizing (gets rid of the stairstep looking edges) and perspectivecorrection. See the DOSBox README for more information on these settings.

    To use this custom config file add its path to the Target box for the game's Shortcut:

    "C:\Program Files\DOSBox\DOSBox.exe" -conf C:\SIERRA\TRIAL\dosbox.conf

    3. Automating Commands for DOSBox:

    If your game needs the CD-ROM drive or floppy to run, you will need to mount them before DOSBox (and your game) will beable to see them. You can automate this by adding the mount commands to the [autoexec] section of the config file. Formore on mounting, see this guide.

    4. Customizing the Shortcut:

    You, of course, can rename the Shortcut to the game's name and change the icon to one for the game (through the"Change Icon" in the Shortcut's Properties dialog. More importantly, you can modify DOSBox's behavior by adding"switches".

    Adding -noconsoleto the target will prevent DOSBox's console window from opening. Adding -exitwill close DOSBox afteryou exit the game. A complete list of these switches can be found in the DOSBox README.

    5. An example:

    The Shortcut Target

    To run, say, Quest for Glory IV (with the game's folder mounted as "C:" in the autoexec section of the specifieddosbox.conf), if DOSBox is installed to its default location, you didn't want the console window opening and you wantedDOSBox to close after you exit the game, this is what you would put in the target box :

    "C:\Program Files\DOSBox-0.73\DOSBox.exe" -conf C:\SIERRA\QG4CD\dosbox.conf -noconsole -exit

    If you find that the game runs best on your computer at 12,000 cycles, you can set this speed in the the [cpu] section of yourconfig file.

    If you want perspective correction to keep things from being vertically compressed (the Sierra logo should be round, not anoval) and you wanted antialaizing you would need to add:

    aspect=truescaler=advmame3x

    to the [render] section of your config file.

    Mounting and starting the game can be handled through the [autoexec] section:

    mount c c:\sierra\qg4cd

    tells DOSBox to mount the Quest for Glory IV game folder as the "C:" drive. The game needs the CD to install and run, soyou would need to add to the [autoexec] section of your config file:

    mount d e:\ -t cdrom -ioctl

    Which tells DOSBox mount your real "E:" drive as DOSBox's "D:" drive. The -t cdrom tells DOSBox to mount it as a CD-ROM

    drive. The -ioctl tells DOSBox to use low level access for problematic CD games.To change to the game's folder, add:

    c:

    To start the game add the name of the game's executable:

    qg4cd.bat

    The dosbox.conf:

    [render]

    aspect=truescaler=normal3x

    [cpu]

    cycles=12000

    [autoexec]

    mount c c:\sierra\qg4cdmount d D:\ -t cdrom -ioctlc:qg4cd.bat

    You can help keep The Sierra Help Pages aliveby helping to defray some of the costs of hosting this site. If it has been ofhelp to you, please consider contributing to help keep it online.

    Thank you.

    Top

    Back

    Main DOSBox PageMain Emulator Page

    Main Utilities Page

    converted by Web2PDFConvert.com

    http://www.web2pdfconvert.com/?ref=PDFhttp://www.web2pdfconvert.com/?ref=PDFhttp://localhost/var/www/apps/conversion/Utilities.htmlhttp://localhost/var/www/apps/conversion/Emulators.htmlhttp://localhost/var/www/apps/conversion/tmp/scratch_9/DOSBox.htmlhttp://history.back%28%29/http://localhost/var/www/apps/conversion/tmp/scratch_9/DOSBoxGuide-Mount.html
  • 8/10/2019 Configurer DOSBox (www.sierrahelp.com)

    3/3

    Home| Sierra Game Help| Walkthroughs| Hints, Tips & Spoilers| Utilities| Links| Forums| Search

    2006 to present The Sierra Help Pages. All rights reserved. All Sierra games, artwork and music Sierra.

    converted by Web2PDFConvert.com

    http://www.web2pdfconvert.com/?ref=PDFhttp://www.web2pdfconvert.com/?ref=PDFhttp://www.google.com/coop/cse?cx=008921688798804678155%3Ak2yiguhliwyhttp://www.sierrahelp.com/forums/http://www.sierrahelp.com/Misc/WebLinks.htmlhttp://www.sierrahelp.com/Utilities/Utilities.htmlhttp://www.sierrahelp.com/Hints/Hints.htmlhttp://www.sierrahelp.com/Walkthroughs/Walkthroughs.htmlhttp://www.sierrahelp.com/Games/GameHelp.htmlhttp://www.sierrahelp.com/index.html