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

    Forced to re-map EmulationStation controls every time on boot

    Scheduled Pinned Locked Moved Help and Support
    control mappingmappingmapping keysmap on startupcontroller map
    41 Posts 5 Posters 8.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.
    • BuZzB
      BuZz administrators @lghtanddrk
      last edited by BuZz

      @lghtanddrk no. It just clears emulation station. But you can reconfigure to overwrite retroarch configs. You can remove retroarch mappings if you want from configs/all/retroarch/autoconfigs (or similar - not in front of computer).

      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

      L 1 Reply Last reply Reply Quote 0
      • L
        lghtanddrk @BuZz
        last edited by

        @BuZz I just cleared the emulationstation controls and remapped everything. Now what is the proper way to assign Gamepad 3 to player one in the PlayStation emulators?

        1 Reply Last reply Reply Quote 0
        • L
          lghtanddrk
          last edited by

          I used the Retroarch configuration tool to ensure that the Dragonfire which is on gamepad 3 (shows up as 2 since the tool lists p1 as 0, p2 as 1 and p3 as 2) is assigned to 0 which is p1. The mapping file is deleted. The controls show the proper bindings. I chose the overide to save to the core. I made sure it shows Retropad with left analog stick set. Yet, none of the controls work for the PCSX-Rearmed emulator.

          I just don't know how to get this working.

          mituM 1 Reply Last reply Reply Quote 0
          • mituM
            mitu Global Moderator @lghtanddrk
            last edited by

            @lghtanddrk Open the retroarch.cfg file from the psx configuration folder (/opt/retropie/configs/psx) and add a line, after input_remapping_directory:

            # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
            
            input_remapping_directory = "/opt/retropie/configs/psx/"
            # set Joystick #3 to be P1
            input_player1_joypad_index = 3
            
            #include "/opt/retropie/configs/all/retroarch.cfg"
            

            The same result can be accomplished using the Configuration Editor, like I mentioned before. `

            1 Reply Last reply Reply Quote 0
            • dankcushionsD
              dankcushions Global Moderator
              last edited by dankcushions

              i am always worried when people say things like:

              Things were so messed up that I had went through the PCSX and Retroarch folders and removed the CFG files

              if you've deleted CFG files like /opt/retropie/configs/all/retroarch.cfg or /opt/retropie/configs/psx/retroarch.cfg, then you've deleted all the retropie defaults and will revert to retroarch defaults, which will mean retropie will no longer function as intended. perhaps you should upload both of these files somewhere so we can see that they look correct?

              L 1 Reply Last reply Reply Quote 0
              • L
                lghtanddrk @dankcushions
                last edited by

                @dankcushions I'll try @mitu tonight and id that doesn't work then I'll use pastebin and post both cfg files. I only deleted them because someone in a forum suggested it, I guess that was a a bad move.

                1 Reply Last reply Reply Quote 0
                • L
                  lghtanddrk
                  last edited by

                  @mitu I already have a line of code like this. My 3rd gamepad uses ID 2. The first 2 sticks are 01 and 1. So my code was the same except for it being index = 2. I tried changing it to 3 just for a test and it still didn't work. I even tried the instructions from the following link and had no luck: https://github.com/RetroPie/RetroPie-Setup/wiki/PlayStation-1#pcsx-rearmed-controls

                  Here's the code to retroarch.cfg (/opt/retropie/configs/psx):

                  Settings made here will only override settings in the global retroarch.cfg if placed above the #include line

                  input_remapping_directory = "/opt/retropie/configs/psx/"

                  set Joystick #3 to be P1

                  input_player1_joypad_index = "2"
                  input_player1_analog_dpad_mode = "2"
                  input_player2_joypad_index = "0"
                  input_player3_joypad_index = "1"
                  #include "/opt/retropie/configs/all/retroarch.cfg"

                  The controller works in the RGUI and the GUI for the PSX-Rearmed Emulator but just not in the game.

                  1 Reply Last reply Reply Quote 0
                  • L
                    lghtanddrk
                    last edited by

                    Here's the code for the PCSX-Rearmed.rmp remapping file:

                    input_libretro_device_p1 = "5"
                    input_libretro_device_p2 = "5"
                    input_libretro_device_p3 = "5"
                    input_libretro_device_p4 = "1"
                    input_libretro_device_p5 = "1"
                    input_player1_analog_dpad_mode = "1"
                    input_player2_analog_dpad_mode = "1"
                    input_player3_analog_dpad_mode = "1"
                    input_player4_analog_dpad_mode = "0"
                    input_player5_analog_dpad_mode = "0"

                    1 Reply Last reply Reply Quote 0
                    • mituM
                      mitu Global Moderator
                      last edited by

                      The config for RA seems ok, though - as the wiki page says - some games will not work when analog controls are enabled.
                      Unfortunately, without any detailed log file, it's hard to say why it doesn't work. If the controller works in RGUI (RetroArch menu), then it means the index configurations are ok, since only P1 is able to operate the menu.

                      L 1 Reply Last reply Reply Quote 0
                      • L
                        lghtanddrk @mitu
                        last edited by

                        @mitu So now what? And, is there any way to get a more detailed log?

                        mituM 1 Reply Last reply Reply Quote 0
                        • mituM
                          mitu Global Moderator @lghtanddrk
                          last edited by

                          @lghtanddrk I guess the most detailed log is the one you already provided - which doesn't show much regarding controller setup.

                          So now what?

                          Start from a fresh image, map your controllers and do only the re-assignment. No overrides/remaps/extra scripts.

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            lghtanddrk @mitu
                            last edited by

                            @mitu That's how I originally started out and it didn't work. I have weeks of work into this image now and don't want to wipe it out on a whim until I know that every avenue has been explored. And as I said earlier, it's happening on multiple different images.

                            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.