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 and problems with keymapper save conf

    Scheduled Pinned Locked Moved Help and Support
    dosboxkeymapping
    22 Posts 4 Posters 5.3k 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.
    • R
      rawmessiah
      last edited by

      Update:

      I figured out how to save the configuration. Easily, it was necessary to first delete the configurated key, then add a new key in order to be able to save correctly the new configuration. Here's the step I was missing!

      The keys remain correctly saved but here's another point: despite the configuration setted, on Prince of Persia, the dear Prince won't move anywhere. It works just on his left and crouch pushing the left arrow. I setted the right bump (right 3) to pause the game, it let me freeze the game and I have to reboot the Pi.

      I tried, as suggested by @edmaul69 , to change the joystick type, but making this kind of modification on dosbox-SVN.conf, DOSBOX crashed after launch.

      Any supplementary hints that can helps?

      Thanks a lot for your support guys.

      Mic

      edmaul69E 4 Replies Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @rawmessiah
        last edited by

        @rawmessiah there is no reason for a crash by making the dosbox conf change. Not sure why it crashed for you. Im going to setup prince of persia and have a go at it.

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

          @rawmessiah with my wiimote i have issue of being stuck in crouch. Pressing up stands up and jumps. Same if i set the controls to the dpad or analog joystick. Investigating further.

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

            @rawmessiah ok there is something seriously wrong with this game in dosbox. I created a .map file just for this game. Couldnt map anything in prince of persia. So in another game i mapped the keyboard keys to the joystick for my prince of persia .map file and in my prince of persia .conf file i set the joystick to none. Boot up prince of persia and keyboard keys i set as shutdown and mod 3 (hotkey to exit) work, but none of the keyboard keys like the arrow keys mapped to my joystick work. They work on the keyboard but not the joystick. So you might be stuck with playing with a keyboard only on this game.

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

              @rawmessiah i figured out how to make the mapper work in prince of persia. In your .conf file under [joystick] you need to change

              timed=true 
              

              To:

              timed=false
              
              R 1 Reply Last reply Reply Quote 0
              • R
                rawmessiah @edmaul69
                last edited by

                @edmaul69, I will give it a try tonite, I will let you know.

                In the meanwhile, seriously thanks for all the support!

                edmaul69E 2 Replies Last reply Reply Quote 1
                • edmaul69E
                  edmaul69 @rawmessiah
                  last edited by

                  @rawmessiah no problem.

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

                    @rawmessiah if you already have the mapping of your joystick done your controller should already work.

                    R 1 Reply Last reply Reply Quote 0
                    • R
                      rawmessiah @edmaul69
                      last edited by

                      @edmaul69 Prince of Persia still doesn't work, I'm getting mad!

                      So I tried with Tennis Elbow and... great, it works really fine and all the keys are perfectly responsive! Maybe a problem of that specific rom of PoP, who knows. I will try another version to check if it works fine.

                      Really thanks for the support!

                      A question: are you using a specifi .conf and .map for every game on DOSBOX? Just in case, where do you put the customized files for the single game?

                      Thanks again!

                      Mic

                      quicksilverQ edmaul69E 4 Replies Last reply Reply Quote 0
                      • quicksilverQ
                        quicksilver @rawmessiah
                        last edited by

                        @rawmessiah you can copy the dosbox-SVN.conf directly to your /roms/pc/ folder and just modify and rename it for your game. Then duplicate, rename and modify for all your other dos games. That way you have a specific set of settings that you can configure on a per game basis.

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

                          @rawmessiah all of my games boot off of a .conf file. For example pop has a conf file in the rom folder called “Prince of Persia.conf”. At the bottom under [autoexec] you list the commands to boot the prince of persia game. If it needs a .map i change the option in the conf file from mapperfile=mapper-SVN.map to mapperfile=princeofpersia.map. And when you set up the mapping for pop when you save it will create a new map in the roms folder called princeofpersia.map. I will post my conf info a second.

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

                            @rawmessiah https://pastebin.com/HnKtWNb3 notice that my games are in ~/roms/pc/games/ to keep them separated from the .conf files i am using as my gamelist.

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

                              @rawmessiah oh i forgot. pop 1.4 that came from the cd i believe does not work properly in dosbox.

                              1 Reply Last reply Reply Quote 0
                              • R
                                rawmessiah
                                last edited by

                                Guys, I will try different confs to see if even PoP will work.

                                In the meanwhile you discovered to me a whole world of possibilities!

                                Thanks again all for your help!

                                Mic

                                1 Reply Last reply Reply Quote 2
                                • 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.