View Single Post
Old 11-06-2007, 02:37 PM   #6
The Fifth Horseman
FUTURE SCIENCE BASTARD
 
The Fifth Horseman's Avatar


 
Join Date: Oct 2004
Location: Opole, Poland
Posts: 14,276
Default

1.2: [autoexec] FTW!!! K THX LOL!!!

Very good, but you don't want to bother with mounting that directory and changing to it every time round, right? That would be just a plain waste of time, so we'll take a small detour that will let us stop bothering about it.

Go to the same location in your Start Menu where you launched DOSBox from. A bit below the DOSBox shortcut, there will be one labeled DOSBox.conf. Open it (if Windows "asks" what program to open it with, choose "Notepad").



Looks all techy and complicated? Don't worry. For the moment we won't be bothering with most of this.

Scroll down to where it says "cycles=auto".
You _could_ leave these settings at their defaults, but this way what we do next will work faster. So let's change the lines to:

cycles=10000
cycleup=1000
cycledown=1000


This way, DOSBox will start at 10 000 cycles and manual speed adjustments will increase and decrease the speed by 1000 cycles. You can later change these values to ones that better suit your system and the games you're running or go back to the default Auto preset.

NOTE: the part of DOSBox.conf responsible for core mode and cycles are the ones you're going to change the most. While some games need high cyclecount to make them run smoothly, there are also others which have to be ran on very low cycles in order to be playable.


Rest of the configuration doesn't concern us - but we will be coming back to it eventually.

Now what _really_ interests us is the very end of the config file, after where it says:

[autoexec]
# Lines in this section will be run at startup.


Rings a bell? Every command you enter here will be automatically ran when DOSBox starts.
It's a great way of avoiding to have to mount your games directory every time you start the emulator.

So let's put there the following two lines:

mount C C:\oldgames
C:


And save the modified config file.
The Fifth Horseman is offline                         Send a private message to The Fifth Horseman
Reply With Quote