DOSBox individual game-config files?
-
Can you do these for speed (ie cycle numbers)? I know you can have per-game configs for controllers (though it's dauntingly complicated), but can you do it for games that run far too fast as well?
-
@spudsmctoole It depends which emulator you are using.
For lr-dosbox, bring up the RGUI and select
Quick Menu
. InOptions
, you will be able to select the number of CPU cycles. Once you're happy, then you can create a individual game config file by selectingCreate games-options file
option.For standalone DOSBox, using a
.conf
file would be the simplest method. In the pc roms folder, create a text file, name itGAME.conf
and add the following:[cpu] cycles=fixed 4000 [autoexec] MOUNT c /home/pi/RetroPie/roms/pc C: cd GAME-FOLDER GAME.EXE EXIT
You will need to adjust the commands to launch the game and you can also adjust the number of cycles to suit.
Support for
.conf
files in DOSBox is a recent update so you may need to re-install DOSBox. -
@dudleydes Hmm, no, that's not doing it.
I have standard non-lr DOSBox, and I only installed it last week so it should be the latest.
The file I want to run is a standalone EXE called DK.EXE, which lives in the root of the virtual C: drive (ie it's in Retropie/roms/pc)
So this is the config file I've got:
[cpu]
cycles=fixed 500[autoexec]
MOUNT c /home/pi/RetroPie/roms/pc
C:
DK.EXE
EXITand I've tried calling that file both DK.CONF and DK.EXE.CONF (both placed in the same folder as the EXE), and it's just ignoring it. I already know from experimenting with the universal config that 500 cycles is the speed I need, but it's still running about 100 times too fast.
-
Aha! Calling it DK.BAT solved the problem. Cheers for the nudge :)
-
@spudsmctoole just so you know, you can put cycles as first thing under [autoexec] and remove the [cpu]. All the settings can be done this way. They just have to be before you mount the drives.
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.