RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    DOSBox individual game-config files?

    Scheduled Pinned Locked Moved Help and Support
    dosboxconfigs
    5 Posts 3 Posters 4.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • S
      SpudsMcToole Banned
      last edited by

      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?

      D 1 Reply Last reply Reply Quote 0
      • D
        dudleydes @SpudsMcToole
        last edited by

        @spudsmctoole It depends which emulator you are using.

        For lr-dosbox, bring up the RGUI and select Quick Menu. In Options, 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 selecting Create 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 it GAME.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.

        S 1 Reply Last reply Reply Quote 0
        • S
          SpudsMcToole Banned @dudleydes
          last edited by SpudsMcToole

          @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
          EXIT

          and 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.

          S edmaul69E 2 Replies Last reply Reply Quote 0
          • S
            SpudsMcToole Banned @SpudsMcToole
            last edited by SpudsMcToole

            Aha! Calling it DK.BAT solved the problem. Cheers for the nudge :)

            1 Reply Last reply Reply Quote 0
            • edmaul69E
              edmaul69 @SpudsMcToole
              last edited by

              @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.

              1 Reply Last reply Reply Quote 0
              • First post
                Last post

              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.