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

    basic 2 player support not working correctly

    Scheduled Pinned Locked Moved Help and Support
    raspberry pi 3bcontroller issucontrollersnessuper nintendo
    52 Posts 5 Posters 9.0k 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.
    • ClydeC
      Clyde @puppetj
      last edited by

      @puppetj Don't give up just yet. We can try to walk you through it, one step at a time.

      Which of our suggestions did you already try? What worked and what didn't (in what way)?

      P 2 Replies Last reply Reply Quote 0
      • P
        puppetj @Clyde
        last edited by

        @Clyde said in basic 2 player support not working correctly:

        @puppetj Don't give up just yet. We can try to walk you through it, one step at a time.

        Which of our suggestions did you already try? What worked and what didn't (in what way)?

        well the only suggestion i got, related to getting controllers to work for two player, is the usb port order, which never was a issue.

        1 Reply Last reply Reply Quote 0
        • P
          puppetj @Clyde
          last edited by

          @Clyde Im correct that pressing start and select at the same time quit game and goes back to the emulation station menu right? if so why doesnt it work?

          ClydeC mituM 2 Replies Last reply Reply Quote 0
          • ClydeC
            Clyde @puppetj
            last edited by

            @puppetj said in basic 2 player support not working correctly:

            well the only suggestion i got, related to getting controllers to work for two player, is the usb port order, which never was a issue.

            I also meant the suggestions for further diagnosis like running the games with verbose logging.

            @puppetj said in basic 2 player support not working correctly:

            @Clyde Im correct that pressing start and select at the same time quit game and goes back to the emulation station menu right? if so why doesnt it work?

            It also depends on the controller mapping. So, if that is broken, start+select may also not work. It also depends on the emulator used, as to my knowledge only the RetroArch / Libretro cores beginning with lr- are auto-mapped by Emulation Station. Other emulators have to be configured manually, see the Docs for that.

            1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @puppetj
              last edited by

              @puppetj said in basic 2 player support not working correctly:

              I'm correct that pressing start and select at the same time quit game and goes back to the emulation station menu right? if so why doesnt it work?

              Only P1 can use the hotkeys - if you're trying with the P2 controller, that won't work.
              Are the controllers working fine standalone (i.e. just one controller connected) ?

              ClydeC 1 Reply Last reply Reply Quote 0
              • ClydeC
                Clyde @mitu
                last edited by

                @mitu said in basic 2 player support not working correctly:

                Only P1 can use the hotkeys

                Ah yes, and that. 😊

                P 1 Reply Last reply Reply Quote 0
                • P
                  puppetj @Clyde
                  last edited by

                  @Clyde sometimes the hotkey "select" will work with two controllers plugged in, some times they dont work, it can be random

                  ClydeC 1 Reply Last reply Reply Quote 0
                  • ClydeC
                    Clyde @puppetj
                    last edited by Clyde

                    @puppetj And with just one? (see @mitu's question above)

                    If so, with any one of them or just one in particular?

                    With two, mind @mitu's remark that only the P1 controller can use Hotkeys.

                    The verbose log may be really helpful to see if the emulator says anything about the controllers.

                    edit: In the case that it's caused by changing player<->controller assignments, you could try @meleu's script joystick-selection. It's easy to setup following the instructions in the link and will be available in Emulation Stations Setup section afterwards. It can assign controllers to P1-4 via their name or index number of the system.

                    P 1 Reply Last reply Reply Quote 0
                    • P
                      puppetj @Clyde
                      last edited by

                      @Clyde

                      The verbose log may be really helpful to see if the emulator says anything about the controllers.

                      i dont undetstand what this means...

                      When launching Libretro cores (those prefixed by lr-) the Runcommand launch menu presents the option to Launch with verbose logging, let alone half of the other stuff on that page for logging

                      ClydeC 1 Reply Last reply Reply Quote 0
                      • ClydeC
                        Clyde @puppetj
                        last edited by

                        @puppetj It's what I suggested in my previous post:

                        @Clyde said in basic 2 player support not working correctly:

                        Finally, you should run the games with verbose logging and show us the contents of the file /dev/shm/runcommand.log.

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          puppetj @Clyde
                          last edited by

                          @Clyde said in basic 2 player support not working correctly:

                          @puppetj It's what I suggested in my previous post:

                          @Clyde said in basic 2 player support not working correctly:

                          Finally, you should run the games with verbose logging and show us the contents of the file /dev/shm/runcommand.log.

                          i dont undetstand what this means...

                          When launching Libretro cores (those prefixed by lr-) the Runcommand launch menu presents the option to Launch with verbose logging, let alone half of the other stuff on that page for logging

                          ClydeC 1 Reply Last reply Reply Quote 0
                          • ClydeC
                            Clyde @puppetj
                            last edited by

                            @puppetj Ah, that was a quote from the linked artikle. I thought those were all your own words and wondered why you don't just select verbose logging from the menu you already seemed to be in. You should put a > before quotes to mark them as such (like I did below).

                            If you don't know the Runcommand menu, the first paragraph of the article in my link tells you what to do:

                            Each time you load a ROM there is an option to open what is called the Runcommand Launch Menu. This is accessed by pressing any button on a controller (the bottom face button is recommended as to not accidentally change anything) or pressing any key on a keyboard, while the prompt in the image below is displayed or right after a launching image disappears, if you have those set up.

                            If you do that, you'll get a menu with the option Launch with verbose logging.

                            That said, we should first ensure that you can get to the logfile /dev/shm/runcommand.log afterwards to show it to us. You can get it via SSH and a program like WinSCP like @mitu told you above, or, if you can connect a keyboard to your Pi, I can tell you a handful of console commands to copy the file to a directory that you can already access, like your roms directory.

                            The former takes a few more steps to setup, but could be handy for more maintenance in the future. The latter should be easier, but you'll learn not much more than to type some commands which someone else tells you. So what should it be?

                            P 1 Reply Last reply Reply Quote 0
                            • P
                              puppetj @Clyde
                              last edited by

                              @Clyde yeah i can hook up a keyboard, let me know about the commands.

                              1 Reply Last reply Reply Quote 0
                              • ClydeC
                                Clyde
                                last edited by

                                1. Run a game that has the controller problems with verbose logging, and exit it again.
                                2. Press F4 in Emulation Station to get to RetroPie's command console.
                                3. Enter cp /dev/shm/runcommand.log /home/pi/RetroPie/roms. This will copy the log file to your roms directory which I guess you have access to.
                                4. Enter exit to return to Emulation Station.

                                You should then upload the file to https://pastebin.com/ and give us the link.

                                If there are any questions or obstacles, let us know.

                                P 1 Reply Last reply Reply Quote 0
                                • P
                                  puppetj @Clyde
                                  last edited by

                                  @clyde

                                  https://pastebin.com/qEYpXr1n

                                  mituM 1 Reply Last reply Reply Quote 0
                                  • mituM
                                    mitu Global Moderator @puppetj
                                    last edited by

                                    @puppetj According to the log, there's 2 controllers:
                                    Player 1 is the Logitech Cordless RumblePad 2 - this is the controller which can use the hotkeys, including Hotkey + Start to exit the emulator.
                                    Player 2 is _THRUSTMASTER FireStorm Dual Power _.

                                    ...
                                    [INFO] [udev]: Keyboard #0 (/dev/input/event0).
                                    [INFO] [udev]: Plugged pad: Logitech Logitech Cordless RumblePad 2 (1133:49689) on port #0.
                                    [INFO] [udev]: Pad #0 (/dev/input/event1) supports force feedback.
                                    [INFO] [udev]: Pad #0 (/dev/input/event1) supports 16 force feedback effects.
                                    [INFO] [udev]: Plugged pad: THRUSTMASTER FireStorm Dual Power (1103:45824) on port #1.
                                    [INFO] [udev]: Pad #1 (/dev/input/event4) supports 0 force feedback effects.
                                    [INFO] [Joypad]: Found joypad driver: "udev".
                                    ...
                                    
                                    P 1 Reply Last reply Reply Quote 0
                                    • P
                                      puppetj @mitu
                                      last edited by

                                      @mitu well i was playing double dragon as you see in the log and the hot key didnt work, and had to press escape on the keyboard to go back to the station menu

                                      mituM 1 Reply Last reply Reply Quote 0
                                      • mituM
                                        mitu Global Moderator @puppetj
                                        last edited by

                                        @puppetj In this case, check the controller configuration file - it should be in \\retropie\configs\all\retroarch-joypads, named probably Logitech Logitech Cordless RumblePad 2.cfg. Does it have a hotkey defined ? You can post its contents here in the topic.

                                        P ClydeC 2 Replies Last reply Reply Quote 0
                                        • P
                                          puppetj @mitu
                                          last edited by

                                          @mitu its defined, it worked in a few games, but not the double dragon game.

                                          mituM 1 Reply Last reply Reply Quote 0
                                          • mituM
                                            mitu Global Moderator @puppetj
                                            last edited by mitu

                                            @puppetj Does it work in any NES game ? You may have saved a configuration just for the NES system and that changed the input handling.

                                            P 1 Reply Last reply Reply Quote 0
                                            • First post
                                              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.