Retropie 3.7 snes controller issue when playing N64
-
I'm using a USB snes controller on the pi3 and since using Retropie 3.7 I found I could no longer exit n64 games.
In fact I can’t perform any hotkey (combination button) tasks. This seems to be due to the "select" button no longer being bound.
I haven’t changed anything and the select button is working just fine in other emulators...
Does anyone know why this is no longer bound by default and what the easiest way to fix this is please?
EDIT:
Just wanted to confirm this is definitely an issue with the select button being unbound for n64
Just did a fresh reinstall of 3.7
Touched absolutely nothing, just moved 1 rom (Mario 64) to the n64 folder
Have nothing plugged in other than the USB snes controller which I configured correctly...
The select button does not work when playing n64 roms. Won't combine with start to exit or any other button to select state, load or save.
It used to work absolutely fine for the n64 in 3.6 and still works fine in other emulators on 3.7 (tested nes, snes, sms, smd & psx), it just doesn’t seem to work with the n64.
I imagine this is a simple fix for someone that knows what they are doing. Any help would be appreciated.
-
What does this section of
mupen64plus.cfg
look like?# Joystick event string for stopping the emulator Joy Mapping Stop = # Joystick event string for saving the emulator state Joy Mapping Save State = # Joystick event string for loading the emulator state Joy Mapping Load State =
Also your retroarch-joypad controller config file in a pastbin(or equivalent) would be nice.
-
@wetriner Thanks for the reply, here is the section from mupen64plus.cfg
Joystick event string for stopping the emulator
Joy Mapping Stop = ""
Joystick event string for saving the emulator state
Joy Mapping Save State = ""
Joystick event string for loading the emulator state
Joy Mapping Load State = ""and the only file in retroarch-joypads is USBGamepad.cfg which reads as follows:
input_device = "USB Gamepad "
input_driver = "udev"
input_r_btn = "5"
input_save_state_btn = "5"
input_start_btn = "9"
input_exit_emulator_btn = "9"
input_l_btn = "4"
input_load_state_btn = "4"
input_up_axis = "-1"
input_a_btn = "1"
input_b_btn = "2"
input_reset_btn = "2"
input_down_axis = "+1"
input_right_axis = "+0"
input_state_slot_increase_axis = "+0"
input_x_btn = "0"
input_menu_toggle_btn = "0"
input_select_btn = "8"
input_enable_hotkey_btn = "8"
input_y_btn = "3"
input_left_axis = "-0"
input_state_slot_decrease_axis = "-0"
input_enable_hotkey_btn = "6"Thanks for the support
-
Well looks like mupen didn't generate any hotkeys for you. Could be because you have two
input_enable_hotkey_btn
lines, but I'm not sure how much that could impact it. Even if it got generated properly inmupen64plus.cfg
you would have probably ended up having to use button 6(since it's last in the file), not select which is 8.Try it running a game with mupen64plus- without that last line in your retroarch-joypad config file. If that still doesn't generate anything in
mupen64plus.cfg
, you'll probably have to disable that part of the script so your config won't get overwritten. This post gives you the rundown. Joy Mapping Stop for you should look like "J0B8/B9". -
@wetriner Thanks for the help. After deleteing the duplicate command for input_enable_hotkey_btn in retroarch-joypads/USBGamepad.cfg it works just fine now.
mupen64plus.cfg is now showing
Joy Mapping Stop = "J0B8/B9"
Joy Mapping Save State = "J0B8/B5"
Joy Mapping Load State = "J0B8/B4"So it must have got confused when generating the keys due to the button being double bound.
Is this a bug in 3.7 which needs reporting to the devs? Because like I said I have setup multiple raspberrys with retropie 3.6 and never had this issue but it's happening on every install of 3.7...
Cheers
-
If you have a consistently reproducible bug(that has nothing to do with your specific config or setup), then you probably should. The question at this point would be to figure out if it does that every time for you with the stock 3.7, or if it's only doing it with your specific controller. Then finally, if anyone else experiences the same thing. Because I think that kind of determines the priority. Keep in mind, assuming it's a real bug, it's very possible to be caused upstream. RetroPie-Setup is essentially a really nice installer for all the packages that you actually use, so those packages have their own maintainers.
I'll probably try it out in a bit, and see if anything happens. I haven't done configure input on a fresh install for a while, so I wouldn't have noticed.
Edit: Tried it out with all three of my controllers on a fresh image, and it is all working properly. No double entries.
-
@wetriner I tried it again too. Didnt get a double entry on the USBGamepad.cfg this time. However when I ran super mario 64 the select button wasnt working again. After checking mupen64plus.cfg I saw it had failed to bind "Joy Mapping Stop" etc again...
No worrys I just enter the values myself, I wanted to understand why 3.7 wasnt auto doing it though yet 3.6 does. Guess I'll never know
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.