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

    SNES Controls incorrect.

    Scheduled Pinned Locked Moved Help and Support
    11 Posts 4 Posters 9.4k 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.
    • F
      Fluk3
      last edited by

      I'm pretty new to RetroPie and I've run in to a problem that I've spent at least 7 hours trying to fix using various guides, videos and posts but I have not been succesful and I could really do with some help.

      I have setup my controls correctly in EmulationStation and they work fine for all games/systems aside from SNES. Using Super Mario World as an example...

      Down makes Mario move left
      Left makes Mario move right
      Up makes Mario crouch down
      Right makes Mario look up
      A makes Mario spin (correct)
      B has no effect
      Start button has no effect
      Select button has no effect
      X has no effect
      Y has no effect
      a button that isn't mapped at all in Emulation station makes him jump
      Neither shoulder button has any effect

      Additionally my USB keyboard doesn't respond to any keys being pressed either, where as they would in another system and so I can not access the Retroarch gui/quick menu from in game nor do I have any way of exiting a game without removing the power to the Pi.

      I have tried to manually edit 'opt/retropie/configs/snes/retroarch.cfg' with different button mappings to 'configs/all/retroarch.cfg' and it has made no difference.

      I have a Pi 3 running the latest copy of RetroPie. I have 2 joysticks with 8 buttons each plus a start button - These are listed as 'DragonRiseInc.GenericUSBJoystick'.
      Running a jstest shows each button as below..
      A = button 3
      B = button 4
      X = button 6
      Y = button 7
      Left trigger = button 5
      Right trigger = button 8
      Start = 0
      Select = 1
      Spare button = 2
      Up = 32767
      Down = -32767
      Left = 32767
      Right = -32767

      I've included as much information as I can think of and hope that someone is able to help. Thanks in advance.

      1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators
        last edited by

        Which snes emulator ? Are you sure you are using a libretro one (so it uses the same mapping) - https://github.com/retropie/retropie-setup/wiki/runcommand (Please try and provide as much detail as possible when reporting issues as detailed here - https://retropie.org.uk/forum/topic/3/read-this-first)

        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

        1 Reply Last reply Reply Quote 0
        • F
          Fluk3
          last edited by

          My apologies I had included everything that I could think of. It is a Pi 3B, built from an SD image.

          If I use any of the snes lr- emulators it briefly goes to the black screen and then back to the games list. The only emulators that will load any of the snes roms are pisnes and snes9x.

          I have managed to get the buttons working correctly by editing 'opt/emulators/pisnes/snes9x.cfg'. However, when I run a jstest it gives me the values below for the joystick, if I change any of the joystick axis values in snes9x.cfg then the joystick does not respond at all within a snes game and I am unsure what values to set it to.

          Up = 32767
          Down = -32767
          Left = 32767
          Right = -32767

          BuZzB 1 Reply Last reply Reply Quote 0
          • BuZzB
            BuZz administrators @Fluk3
            last edited by

            @Fluk3 you should unpack your ROMs or work out why they are not working and use a libretro core. They are the best SNES emulators and are default for a reason.

            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

            F 1 Reply Last reply Reply Quote 0
            • F
              Fluk3 @BuZz
              last edited by

              @BuZz Thankyou for the response. If I put unpacked ROMS in the snes/roms folder then they do not show in Retropie at all. If I pack them and put them in the same folder they show up and will launch with pisnes or snes9x. Opinion may be that the libretro emulators are the best and it may be true, but from my position at the moment I can not get Retropie to see the unpacked snes roms and any snes libretro emulator will not run packed roms at all. Where as the pisnes & snes9x will see & run the games but have a problem with the joystick controls being incorrect

              It would seem quicker to work on correcting the axis settings within snes9x.cfg for the non libretro emulators than to start from scratch trying to get the libretro emulators to work. If you are able to point me in the right direction with the snes9x.cfg axis settings or if you are able to advise of what may be stopping the libretro emulators from running the games it would be appreciated.

              herb_fargusH 1 Reply Last reply Reply Quote 0
              • herb_fargusH
                herb_fargus administrators @Fluk3
                last edited by

                @Fluk3

                https://github.com/retropie/retropie-setup/wiki/Super-Nintendo-Entertainment-System

                If you read the documentation it will answer 99% of your questions: https://retropie.org.uk/docs/

                Also if you want a solution to your problems read this first: https://retropie.org.uk/forum/topic/3/read-this-first

                F 1 Reply Last reply Reply Quote 0
                • F
                  Fluk3 @herb_fargus
                  last edited by

                  @herb_fargus Thanks. That page is where I found where to amend the buttons which are now working correctly, I'm just stuck with the joystick directions being incorrect (down = left, left = right, up = down, right = up). I'm unsure what to amend 'JA_LR=0' & 'JA_UD=1' to.

                  1 Reply Last reply Reply Quote 0
                  • F
                    Fluk3
                    last edited by

                    I've sorted it now. The buttons were corrected within 'opt/retropie/emulators/pisnes/snes9x.cfg'

                    For the joysticks I put an end to my misery and just rewired them, then set the controls again in EmulationStation, all systems are now working correctly. Thanks for the replies.

                    1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators
                      last edited by

                      glad you have it working, however you would still be better off sorting out why the roms don't show/work on the other emulators and sorting that. eg wrong file extension etc.

                      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

                      1 Reply Last reply Reply Quote 0
                      • K
                        kakachagas
                        last edited by

                        Hi, first sorry for the bad English. I bought a SNES / USB adapter to play with the original snes control in the raspibarry, but at the moment of the control buttons ADJUSTMENT the system can not read all the up and down direction buttons.
                        Has anyone gone through this?
                        Is there a solution? #HELP

                        BuZzB 1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators @kakachagas
                          last edited by

                          @kakachagas 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 (and start a new topic).

                          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

                          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.