Recalbox Forum

    • Register
    • Login
    • Search
    • Recent
    • Tags
    • recalbox.com
    • Gitlab repository
    • Documentation
    • Discord

    Local dosbox.cfg does not take missing variables from dosbox.conf (global)?

    Emulator Arcade/PC/Console
    dosbox.conf dos dosbox.cfg
    2
    5
    191
    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.
    • Smacaroni
      Smacaroni last edited by

      I'm a bit confused, according to the docs:
      "dosbox.conf is a configuration file that DOSBox can use globally and/or locally per game (and settings that are left out are taken from the global file)"
      https://www.dosbox.com/wiki/Dosbox.conf

      But I created a dosbox.cfg, added one variable "mapperfile=mapper-0.74.map" in the local directory and I now have a screeen that is about 1/8th the actual screensize.
      When I copy the entire ~/share/system/configs/dosbox.conf to ./dosbox.cfg, it works properly (and uses the local mapperfile.

      Need some clarification since this behavior appears to be contradictory. Or did I miss something in the recalbox specific documentation?

      Zing 1 Reply Last reply Reply Quote 0
      • Zing
        Zing Global moderator Translator @Smacaroni last edited by

        @Smacaroni The DOSBOX Documentation on Recalbox is:
        https://github.com/recalbox/recalbox-os/wiki/How-to-use-DOSBox-to-emulate-DOS-games

        I believe that the correct way is, you enter a DOS game, and press CTRL + F1, this will open a screen showing a virtual keyboard, then you select the key you want to emulate on the joystick. If you want to use the ASDW keys as a directional on the joystick, for example, click with the mouse on the "A" key of that virtual keyboard, click on the "ADD" button that will appear on the part below this keyboard, and after clicking on the "ADD", press on the joystick the left directional one, so, every time you press the left directional pad on the joystick, it will be equivalent to pressing A on the keyboard, and so on.

        Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
        If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

        1 Reply Last reply Reply Quote 0
        • Smacaroni
          Smacaroni last edited by

          That will modify the global configuration unless you've created a local configuration. I was able to create a "pretty good" global config, but I need to make a few local configs for games that have different elements, like one uses space bar to shoot, another uses the CTRL key(s). My options are either to use a local file or to modify the key map each time I play a different game.
          The key mapping took a bit of time to figure out, but that's not where the problem is.

          The DOSbox docs say "settings that are left out are taken from the global file", but on RecalBox DOSbox, if the setting doesn't exist, it's either not being set or it's being pulled from an entirely different config file, but only when a local dosbox.cfg file is used.

          Zing 1 Reply Last reply Reply Quote 0
          • Zing
            Zing Global moderator Translator @Smacaroni last edited by

            @Smacaroni I understand your positioning, the DOSBOX documentation is only for reference in this case, it does not mean that DOSBOX in RECALBOX works exactly the same. Really, the best way in this case is to configure game by game.

            Se a minha resposta foi útil, por favor, dê um voto positivo, clicando na seta para cima logo abaixo da resposta, ao lado de "citar".
            If my answer was helpful, please give a positive feedback by clicking the up arrow below the answer, next to "quote".

            1 Reply Last reply Reply Quote 0
            • Smacaroni
              Smacaroni last edited by

              Now I know. I'll just make sure I add a copy of the global config to each .pc directory to simplify things.

              Thanks.

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

              Want to support us ?

              104
              Online

              89.8k
              Users

              26.1k
              Topics

              181.0k
              Posts

              Copyright © 2021 recalbox.com