SNES Controls incorrect.
-
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 effectAdditionally 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 = -32767I've included as much information as I can think of and hope that someone is able to help. Thanks in advance.
-
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)
-
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 -
@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.
-
@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_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.
-
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.
-
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.
-
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 -
@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).
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.