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

    PSX Controller mapping messed up

    Scheduled Pinned Locked Moved Help and Support
    psxcontroller
    13 Posts 3 Posters 750 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.
    • mituM
      mitu Global Moderator
      last edited by

      There is no 'default'. Once you configure the controller in Emulationstation, an auto-configuration file for RetroArch is written in /opt/retropie/configs/all/retroarch-joypads. If you've reset or change the location of RetroArch's auto-config folder, then the configuration from Emulationstation will not be carried over.
      It can also be that you've used the 'update joypad configs' menu in RetroArch and this has downloaded the configurations from https://github.com/libretro/retroarch-joypad-autoconfig and those configuration the ones generated by Emulationstation.

      Can you add more details about your setup ? What version of RetroPie/what controller, etc. ?

      1 Reply Last reply Reply Quote 1
      • langestL
        langest
        last edited by

        Retropie version: 4.5.2 on buster.
        RPi4b Manual install after Darksaviors guide: https://www.reddit.com/r/RetroPie/comments/dnimkw/raspberry_pi_4_manual_install_method/
        I did not update retroarch so it is running on version 1.7.6.
        Emulator is lr-PCSX-ReARMed.

        I know I updated the controls for n64 in the retroarch menu and hit save for core.
        Can I un-'update joypad configs' for a given core? Or should I try updating retroarch to see if that fixes the issue?

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

          @langest said in PSX Controller mapping messed up:

          Can I un-'update joypad configs' for a given core? Or should I try updating retroarch to see if that fixes the issue?

          If you save a core remap, then this is not going to be deleted by an update/re-installation. Look into /opt/retropie/configs/retroarch/config/remaps and try to delete the offending remap file.

          langestL 1 Reply Last reply Reply Quote 0
          • langestL
            langest @mitu
            last edited by

            @mitu said in PSX Controller mapping messed up:

            /opt/retropie/configs/retroarch/config/remaps

            I don't have that directory

            pi@raspberrypi:~ $ ls /opt/retropie/configs/retroarch/config/remaps
            ls: cannot access '/opt/retropie/configs/retroarch/config/remaps': No such file or directory
            pi@raspberrypi:~ $ ls /opt/retropie/configs/
            all  arcade  dreamcast  fds  gamegear  gb  gba  gbc  mame-libretro  mastersystem  megadrive  n64  nds  nes  ports  psp  psx  scummvm  segacd  sg-1000  snes
            
            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @langest
              last edited by

              @langest said in PSX Controller mapping messed up:

              I don't have that directory

              Err, that should be /opt/retropie/configs/all/retroarch/config/remaps.

              1 Reply Last reply Reply Quote 1
              • langestL
                langest
                last edited by

                It's empty

                pi@raspberrypi:~ $ ls -a /opt/retropie/configs/all/retroarch/config/remaps/
                .  ..
                
                mituM 1 Reply Last reply Reply Quote 0
                • mituM
                  mitu Global Moderator @langest
                  last edited by

                  @langest That means you didn't save a core remap. Did you save the RetroArch configuration instead ? Then clear the /opt/retropie/configs/n64/retroarch.cfg and re-install the N64 Libretro core to have the file re-created.

                  1 Reply Last reply Reply Quote 0
                  • langestL
                    langest
                    last edited by

                    It doesn't look like it contains anything unusual.

                    # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
                                                                                                       
                    input_remapping_directory = "/opt/retropie/configs/n64/"                                                                                                                                                          
                                                                                                       
                    input_player1_joypad_index = "2"                                                   
                    input_player2_joypad_index = "3"                                                   
                    #include "/opt/retropie/configs/all/retroarch.cfg"
                    

                    I tried removing the files for n64 and psx, but it did not change anything.

                    I will try reinstalling lr-pcsx-rearmed, I think the problem lies there somewhere since the same controller works fine on psp (I use a different controller for n64).

                    1 Reply Last reply Reply Quote 0
                    • langestL
                      langest
                      last edited by

                      @langest said in PSX Controller mapping messed up:

                      I tried removing the files for n64 and psx, but it did not change anything.
                      I will try reinstalling lr-pcsx-rearmed, I think the problem lies there somewhere since the same controller works fine on psp (I use a different controller for n64).

                      I uninstalled the emulator.
                      Removed everything in /opt/retropie/configs/psx.
                      Installed the emulator.
                      Did not change anything.

                      I changed the control order to verify if the problem is the controller. But as expected (since it works on psp), the other controller has the same messed up mapping on psx. This second one works fine on n64.

                      I also tried starting a multiplayer game. The controls for player 1 is messed up but player 2 is fine. Regardless of which controller I plug into player 1 and 2 respectively.

                      So something is wrong with the settings for player 1.

                      langestL 1 Reply Last reply Reply Quote 0
                      • langestL
                        langest @langest
                        last edited by

                        I updated retroarch to version 1.8.1 and it did not do the trick.

                        1 Reply Last reply Reply Quote 0
                        • langestL
                          langest
                          last edited by

                          I ended up rebinding all the controls through trial and error. Seems like there is no logic behind the labels. But now it works.
                          Also, turns out the erroneous mapping was for player 2 as well, but I could copy the same mapping to player 2 after I had saved settings for the core.

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