• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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

Nintendo Controllers Not Working in game.

Scheduled Pinned Locked Moved Help and Support
nes controllerretroarchretroarch.cfgemulation stati
16 Posts 3 Posters 4.2k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J
    Justintoxicated
    last edited by Justintoxicated 15 Jul 2017, 23:06

    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

    E 1 Reply Last reply 15 Jul 2017, 23:43 Reply Quote 0
    • E
      edmaul69 @Justintoxicated
      last edited by 15 Jul 2017, 23:43

      @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?

      J 1 Reply Last reply 16 Jul 2017, 00:37 Reply Quote 0
      • J
        Justintoxicated @edmaul69
        last edited by Justintoxicated 16 Jul 2017, 00:37

        @edmaul69

        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-quickness

        controller 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
        0_1500165776262_configs.png

        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?

        D 1 Reply Last reply 16 Jul 2017, 17:13 Reply Quote 0
        • J
          Justintoxicated
          last edited by 16 Jul 2017, 16:40

          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?

          1 Reply Last reply Reply Quote 0
          • D
            dankcushions Global Moderator @Justintoxicated
            last edited by 16 Jul 2017, 17:13

            @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

            J 1 Reply Last reply 16 Jul 2017, 17:24 Reply Quote 0
            • J
              Justintoxicated @dankcushions
              last edited by Justintoxicated 16 Jul 2017, 17:24

              @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/ZqC4ixKL

              Now 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?

              D 2 Replies Last reply 16 Jul 2017, 17:47 Reply Quote 0
              • D
                dankcushions Global Moderator @Justintoxicated
                last edited by 16 Jul 2017, 17:47

                @justintoxicated we need the /nes/retroarch.cfg, not n64

                J 1 Reply Last reply 16 Jul 2017, 18:42 Reply Quote 0
                • J
                  Justintoxicated @dankcushions
                  last edited by 16 Jul 2017, 18:42

                  @dankcushions oops that was just a typo on my side in the post that is the correct file though.

                  E 1 Reply Last reply 16 Jul 2017, 19:39 Reply Quote 0
                  • D
                    dankcushions Global Moderator @Justintoxicated
                    last edited by 16 Jul 2017, 19:15

                    @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.

                    J 1 Reply Last reply 17 Jul 2017, 07:40 Reply Quote 1
                    • E
                      edmaul69 @Justintoxicated
                      last edited by 16 Jul 2017, 19:39

                      @justintoxicated as dankcushions stated your /all/retroarch.cfg is messed up and the issue once that is fixed you will be smooth sailing.

                      1 Reply Last reply Reply Quote 0
                      • J
                        Justintoxicated @dankcushions
                        last edited by Justintoxicated 17 Jul 2017, 07:40

                        @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.

                        D 1 Reply Last reply 17 Jul 2017, 09:52 Reply Quote 0
                        • D
                          dankcushions Global Moderator @Justintoxicated
                          last edited by 17 Jul 2017, 09:52

                          @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

                          J 1 Reply Last reply 17 Jul 2017, 15:48 Reply Quote 0
                          • J
                            Justintoxicated @dankcushions
                            last edited by 17 Jul 2017, 15:48

                            @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.

                            1 Reply Last reply Reply Quote 0
                            • J
                              Justintoxicated
                              last edited by 18 Jul 2017, 16:27

                              @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.

                              E 1 Reply Last reply 18 Jul 2017, 17:00 Reply Quote 0
                              • E
                                edmaul69 @Justintoxicated
                                last edited by edmaul69 18 Jul 2017, 17:00

                                @justintoxicated if you had just deleted the cobfigs you created for 5 controllers in your /all/retroarch.cfg you would have been ok.

                                J 1 Reply Last reply 20 Jul 2017, 07:09 Reply Quote 0
                                • J
                                  Justintoxicated @edmaul69
                                  last edited by 20 Jul 2017, 07:09

                                  @justintoxicated

                                  @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.

                                  1 Reply Last reply Reply Quote 0
                                  16 out of 16
                                  • First post
                                    16/16
                                    Last post

                                  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.

                                    This community forum collects and processes your personal information.
                                    consent.not_received