Nintendo Controllers Not Working in game.
-
So I got some nintendo controller adapters so I could use my originals. Everything works in ES I can navigate around fine. But when I go to use them in game the controllers do not work.
I can probably get them to work by manually editing the retroarch.cfg but in't ES supposed to map the controller to work for me? I mean it would require manually re-editing every time I swap controllers for something else would it not?
Shouldn't it use the ES configs?
Pi Model or other hardware: (B, B+, 2 B, 3, X86 PC etc..) Pi3b
Power Supply used: (If using a Pi) canakit
RetroPie Version Used (eg 3.6, 3.8.1, 4.1 - do not write latest): 4.2
Built From: (Pre made SD Image on RetroPie website, Berryboot, or on top of existing OS etc.. - please provide the filename of any image used). retropie-4.2-rpi2_rpi3.img
USB Devices connected:
Tomee NES to USB Controller Adapter
Controller used: Original Nintendo Controller -
@justintoxicated go to commandline and type
sudo jstest /dev/input/js0
Pressthe buttons and write down what numbers they are. Press ctrl & \ together to get out of jstest. Open up /opt/retropie/configs/all/retroarch/autoconfigs/ (or is it autoconfig?) find your controllers config file in there. Check what button numbers they are in there. If they dont match the jstest change them. Also what emulators are you trying?
-
They match, I even made another configuration via retroarch, generated the same filename, and contents as well. But when I launch a game it says (not configured).
Basically it's just ignoring my controller configurations....
Tried the 3 different lr emulators (the nintendo ones).
lr-fceumm
lr-nestopia
lr-quicknesscontroller does not work, works in ES fine though.
I get 100% <%the controller name%> 7511/33 not configured![alt text]
This is the folder where my /all/retroarch.cfg is pointing for autoconfigs
edit:
for some reason when I configure the nintendo controller in ES, the entire retroarch.cfg gets copped into the /opt/retropie/configs/nes
(\RETROPIE\configs\nes) folder replacing the auto config stuff :(Anhyone know what would cause such a thing to happen?
-
Might be talking to myself, but this controler works in non-retroarch games. For instance if I launch a N64game with rice, the controller works fine (Although I can't play due to lack of buttons, but all the buttons on the controller do work!). It's only when I launch retroarch emulators that I get "controller not configured"
To me them means it should work, but something in retroarch is breaking it?
-
@justintoxicated said in Nintendo Controllers Not Working in game.:
for some reason when I configure the nintendo controller in ES, the entire retroarch.cfg gets copped into the /opt/retropie/configs/nes
(\RETROPIE\configs\nes) folder replacing the auto config stuff :(this doens't sound right.
perhaps you should post your /opt/retropie/all/retroarch.cfg and /nes/retroarch.cfg
-
@dankcushions
I agree, it's not happening anymore though. perhaps it was something I did at some point trying to follow what someone else did. I reverted it to match the other files :) I also re-installed retropie. Still can't get the controller to work in retroarch games. Works fine in N64 etc though./all/retroarch.cfg https://pastebin.com/mnwGK0Jy
/nes/retroarch.cfg https://pastebin.com/pwLHtFLQ/autoconfig/" NES PC Game Pad NES PC Game Pad .cfg"
https://pastebin.com/ZqC4ixKLNow the controller works in non retroarch games...
How do I write my own driver? I'm pretty sure it's not finding a cfg file match in any of the driver sets, so I'm guessing I have to write my own?
-
@justintoxicated we need the /nes/retroarch.cfg, not n64
-
@dankcushions oops that was just a typo on my side in the post that is the correct file though.
-
@justintoxicated said in Nintendo Controllers Not Working in game.:
/all/retroarch.cfg https://pastebin.com/mnwGK0Jy
this is the culprit i expect. a default retropie /all/retroarch.cfg would be much shorter. looks like you've saved some settings in retroarch and overwritten it.
you can return the default by deleting that, reinstalling retroarch, and renaming /all/retroarch.cfg.rp-dist to retroarch.cfg.
-
@justintoxicated as dankcushions stated your /all/retroarch.cfg is messed up and the issue once that is fixed you will be smooth sailing.
-
@dankcushions I think this is good news, but does that mean I need to re-install retropie from scratch in order to re-install retroarch?
I removed the file, then uninstalled the core package, then installed it again from binary. The retroarch.cfg looks to have been replaced.
the nintendo controller still will not work in retroarch games though. It does seem to work everywere else...
I'm re-writing to my micro SD from a near stock image (controller configured), from when I first set things up. Looks like it will take about 4 hours then another evening of coping the roms etc back over to it.
-
@justintoxicated said in Nintendo Controllers Not Working in game.:
@dankcushions I think this is good news, but does that mean I need to re-install retropie from scratch in order to re-install retroarch?
I removed the file, then uninstalled the core package, then installed it again from binary. The retroarch.cfg looks to have been replaced.
hmm, it shouldn't have - it should leave it alone if you already have one, and write the default retropie retroarch.cfg as retroarch.cfg.rp-dist. not sure what's going on there
-
@dankcushions said in Nintendo Controllers Not Working in game.:
@justintoxicated said in Nintendo Controllers Not Working in game.:
@dankcushions I think this is good news, but does that mean I need to re-install retropie from scratch in order to re-install retroarch?
I removed the file, then uninstalled the core package, then installed it again from binary. The retroarch.cfg looks to have been replaced.
hmm, it shouldn't have - it should leave it alone if you already have one, and write the default retropie retroarch.cfg as retroarch.cfg.rp-dist. not sure what's going on there
There was only a one line difference when I diffed retroarch.cfg.rp-dist and retroarch.cfg. I was sure to remove retroarch.cfg (well rename it) before removing th module and then re-installing it. But anyways still working on restoring the old backup which was taken before I messed wit any retroarch stuff.
-
@justintoxicated Took a day to roll everything back (manipulating 60 GB ISO's is painful on my laptop) but the nintendo controllers work! So it must have been something I changed while trying to get my N64 controllers to work. Not sure what that might be, but well at least it is working.
-
@justintoxicated if you had just deleted the cobfigs you created for 5 controllers in your /all/retroarch.cfg you would have been ok.
-
@edmaul69 said in Nintendo Controllers Not Working in game.:
@justintoxicated if you had just deleted the cobfigs you created for 5 controllers in your /all/retroarch.cfg you would have been ok.
I don't think so because reverting the config file through a re-install did not fix the issue.
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.