Retropie 4.0.2 Hotkeys no Longer work in N64 emulation, they were working and i didn't specifically change any N64 settings, any ideas as to how I can get them working again?
This is the second time this has happened, the first time I just reverted to a backup, but now I think I should actually find a way to fix the issue. I'm using a PS3 controller and mupen64plus, and like the title says the hotkeys just stop working, meaning that to exit emulation I need to hit esc on a keyboard.
If I look in /opt/retropie/configs/all/autoconf.cfg I can see that the field "mupen64plus_hotkeys" does in fact have a value of 1, so what do I need to change? I don't really care about the default hotkeys to exit, I would just like a way to exit emulation without a keyboard.
Posted Nov 6, 2016, 5:06 PM UTC
12
Maybe a simple solution would be to re input your controller into emulation station? That may force retropie to reassign the hotkeys to mupen
This didn't work, but I did find a sort of hack around method that did work. I did this with a PS3 controller, so the button will be different on a different controller, but here's how I mapped select to exit emulator (only player 1 can exit the game, although you could make it more):
-go to /opt/retropie/emulators/mupen64plus/bin/mupen64plus.sh and comment out the following lines
This will prevent mupen64 from overwriting the hotkeys mupen64plus.cfg every time it exits.
-Next, go to /opt/retropie/configs/n64/mupen64plus.cf and find/edit the lines
The select button on a PS3 controller is button(0), so J0B0 means joystick 0 button(0). This is a bit tricky because lower in the same config they define buttons in the format "button(x)" where x is whatever the button number is, but in the hotkey section the format must be "JxBy" where x is a joypad number and y is a button number.
I know there is a way to make it require 2 buttons to be pressed at the same time, and there are many hotkey options in mupen64plus.cfg so if you wanted you could recreate the standard RetroArch hotkeys if you wanted. You could also allow more players to exit the game by hitting select, (J1B0, J2B0, J3B0, etc), but personally I prefer only one player be able to end the emulation.