RPi 4 - RB7.1.1 - N64 in-game controls (GPIO)
Today I upgraded my arcade cabaret with a RPi 4 (coming from 3B+). Installed Recalbox 7.1.1, configured everything.
All seems to be fine until the Nintendo 64 actual game starts. By that I mean, all is still fine in the menus of the game (tried Mario Kart 64 and Extreme G), all buttons work fine, but as soon as the actual race starts, the controls don't work anymore.
Extreme G was lagging on 3B+, but I was able to control my vehicle. Here, no reaction to gas or direction... two buttons do react however, allowing to shoot and activate a shield.
Mario Kart 64, I am able to accelerate, break and jump. However I have no reaction from the joystick so I just can't turn.
With 7.1.1 on 3B+ I had absolutely no problems with the controls, as I said Extreme G was lagging but it did work and I did play Mario Kart 64 quite a bit and had absolutely no problems.
Before posting I checked, all other emulators are working fine (using MAME, Neo Geo, NES, SNES, PSX and Mastersystem).
Does someone have any idea of what's going on here ?
@monkoid See if this helps:
@Zing : Thanks. The problem described by Manoot is quite different since he was unable to get his N64 gamepad to work at all. I did however read through and follow suggested links which lead me to try a few things but with no avail.
..\share\system\configs\mupen64 on my RPi 4 only contains the files "input.xml" and "mupen64plus.cfg" where the same map on my RPi 3B+ contains quite a bit more. So I transferred all the files from 3B+ to 4 but the behaviour remains the same.
I now also noticed a 2 warnings pop up when starting the game, saying "DragonRise Inc. Generic USB Joystick (121/6) not configured".
By the way, being new to this, it seems I got confused with the controller types and I'm not using GPIO but indeed DragonRise USB controllers.
The reason I didn't notice the popups before is because they only appear when I add the file .retroarch.cfg in ..\share\roms\n64\ with the line "input_autodetect_enable = true". Same behaviour in game whether the file is present or not but no pop up when it isn't.
The following buttons do work for sure in game : B, Y, R1 and Start
I assume L1 and Select work as well but I can't confirm yet.
The following buttons do not work for sure in game : Joystick, X
I assume A doesn't work either but I can't confirm yet.
When setting global.inputdriver :
auto = Behaves as described
udev = Same behaviour
sdl2 = Makes it worse, can't even quit the game anymore
@monkoid N64 is a console whose joystick is very unique, and, in emulation, this is very problematic.
I recommend that you read it carefully:
@Zing : Thanks for trying mate, but it just won't work. I did discover a lot while trying to solve this, with the links you sent me and others I found by googling around. I've dug into config files and discovered I could test my joysticks in order to know exactly how each button is called in the system which was also something I was wondering about.
This problem doesn't seem to be related to the emulator's config since all controls work perfectly as long as I'm in the game's menu, which means I'm already using them inside the emulator without any issue. It's just plain weird that once the race for example starts, controls only partially keep working. I tried with a two player session by the way, and it's the exact same thing for both controllers.
Anyway - I'm moving on and just reinstalled with RetroPie - because I want to try some Gamecube games too - and will keep moving on until I find my favourite OS. I'll keep digging into Recalbox though for my friend who also bought a cab.
Thanks again !
luc1anocruz last edited by
@monkoid I have exactly the same problem, and this is a Recalbox 7.1.1 BUG. The problem is that in NT64 games that need to use Analog it will not work, all the buttons work, except the analog, I am seriously thinking about going back to Recalbox 6.
I have exactly the same problem
Please do not pollute the forum saying in several posts that you have the same problem, especially when it is not the same problem, you made it clear in the other topic that you have problems in the arcade, and in this topic the user claims that the arcade works well...
My problem is solved !
The following thread is French but it describes the exact same problem I described here.
There's a very simple howto at the end of the thread sent by @fanou - which is exactly the type of solution I was looking for - a simple way to configure your button layout for either one specific emulator or even for a specific game.
Basically it tells you to create the file ../share/roms/n64/.retroarch.cfg, containing the following line :
input_autodetect_enable = true
- Start your game
- Enter the retroarch menu (Hotkey+B while in-game)
- Go to "Buttons"
- Reconfigure your D-Pad to :
- Up = Y-
- Down = Y+
- Left = X-
- Right = X+
- Save remap to Core (here's where you can choose to save only for your game)
- Go back to and quit game
- Start game