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

    Here is a way to select joystick for players 1-4 (global or emu specific)

    Scheduled Pinned Locked Moved Help and Support
    retroarchinputcontrollerjoystickjoypad index
    154 Posts 28 Posters 134.8k 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.
    • hansolo77H
      hansolo77
      last edited by

      Sounds like you need to add it to the xml of the retropiemenu. It doesn't work like a ROM where you can just drop it in.. Or maybe it does? Do you have ES set to scan for new ROMs when it loads?

      Who's Scruffy Looking?

      TMNTturtlguyT 1 Reply Last reply Reply Quote 0
      • TMNTturtlguyT
        TMNTturtlguy @hansolo77
        last edited by

        @hansolo77 the retropie menu doesn't need a gamelist. I can manually move the script to the retropiemenu and it shows up, the script just doesn't function correctly when i do that.

        meleuM 1 Reply Last reply Reply Quote 0
        • meleuM
          meleu @TMNTturtlguy
          last edited by

          @TMNTturtlguy the instalation through retropie_setup / experimental packages should be enough. Could you try it again?

          • Useful topics
          • joystick-selection tool
          • rpie-art tool
          • achievements I made
          TMNTturtlguyT 1 Reply Last reply Reply Quote 0
          • TMNTturtlguyT
            TMNTturtlguy @meleu
            last edited by

            @meleu I just figured it out. It is because i am running off of a usb drive and the retropiemenu folder is on my USB drive, I am guessing that the setup menu is installing it to the SD Card?

            1 Reply Last reply Reply Quote 1
            • TMNTturtlguyT
              TMNTturtlguy
              last edited by TMNTturtlguy

              @meleu confirmed, i tried to reinstall with my USB stick in, did not work. Uninstalled. Removed my USB. Installed again through retropie setup and it is now in my retropie menu. That is running off of the SD card. What do i need to do to allow it to run off of my USB? Thanks

              Update: I tired a few things, first i looked at how it worked on the SD card and it was a simple symbolic link from the /opt/ location. So i tried to do this to the USB but it won't allow it. No matter what i try, even sudo will not allow the link. So i just copied the 3 files from the /opt/ location and dumped them into my retropiemenu location on the USB and it works. I can't run an update to this location, from the setup menu, but that is fine.

              meleuM 2 Replies Last reply Reply Quote 0
              • meleuM
                meleu @TMNTturtlguy
                last edited by

                @TMNTturtlguy I'll think on a better solution and let you know when it's ready.

                • Useful topics
                • joystick-selection tool
                • rpie-art tool
                • achievements I made
                1 Reply Last reply Reply Quote 1
                • meleuM
                  meleu @TMNTturtlguy
                  last edited by

                  @TMNTturtlguy I think I solved your issue. Could you remove those files from retropiemenu and install the tool using the steps I've put on the README?
                  https://github.com/meleu/RetroPie-joystick-selection/blob/master/README.md#installation

                  • Useful topics
                  • joystick-selection tool
                  • rpie-art tool
                  • achievements I made
                  TMNTturtlguyT 1 Reply Last reply Reply Quote 1
                  • meleuM
                    meleu
                    last edited by

                    Changelog

                    • Installation procedure has changed (some people were having issues with the previous one). The OP and README file were updated accordingly.
                    • solved the issue when ~/RetroPie directory is on a partition that doesn't support symbolic links (thanks @TMNTturtlguy for reporting this issue).
                    • added the possibility to invoke the tool in runcommand menu and configure the joystick input for the system that is about to be launched (thanks BuZz for adding such a cool feature on runcommand).
                    • Useful topics
                    • joystick-selection tool
                    • rpie-art tool
                    • achievements I made
                    PeriodicLogicP 1 Reply Last reply Reply Quote 1
                    • meleuM
                      meleu @Rion
                      last edited by

                      @Rion said in Here is a way to select joystick for players 1-4 (global or emu specific):

                      Looking forward for Joystick support and included in run command before you start a game! :)

                      More than one year later but this day finally has come! Update the script and you'll get what you want! ;-)

                      Note: this feature depends on RetroPie 4.2.8+

                      • Useful topics
                      • joystick-selection tool
                      • rpie-art tool
                      • achievements I made
                      RionR DarksaviorD 2 Replies Last reply Reply Quote 1
                      • TMNTturtlguyT
                        TMNTturtlguy @meleu
                        last edited by

                        @meleu Thanks for doing this, unfortunately I am once again traveling and don't have my pi. I will test this upon my return in 3 days.

                        1 Reply Last reply Reply Quote 0
                        • RionR
                          Rion @meleu
                          last edited by

                          @meleu High Five!

                          FBNeo rom filtering
                          Mame2003 Arcade Bezels
                          Fba Arcade Bezels
                          Fba NeoGeo Bezels

                          1 Reply Last reply Reply Quote 0
                          • DarksaviorD
                            Darksavior @meleu
                            last edited by Darksavior

                            @meleu I get an error when trying to download the install.sh script. https://pastebin.com/8iYrjcBT
                            I'm on 4.2.9 but kernel is from 4.2. I started with a clean 4.2 image. So I then downloaded it on my pc instead and transferred to my pi that way. It now gives me:
                            ERROR: "/root/RetroPie-Setup" directory not found! Looks like you don't have RetroPie-Setup scripts installed in the usual place. Aborting...
                            I tried to execute it in my /home/pi/RetroPie-Setup/ folder.
                            I also tried /home/pi/ and /home/

                            meleuM 1 Reply Last reply Reply Quote 0
                            • meleuM
                              meleu @Darksavior
                              last edited by meleu

                              @Darksavior it's weird. @edmaul69 reported the same thing but I'm unable to reproduce. Anyways I noticed a little bug on install.sh and just fixed it. Can you try it again, please?

                              curl https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh -o install.sh
                              chmod a+x install.sh
                              ./install.sh
                              
                              • Useful topics
                              • joystick-selection tool
                              • rpie-art tool
                              • achievements I made
                              DarksaviorD mattrixkM 2 Replies Last reply Reply Quote 0
                              • DarksaviorD
                                Darksavior @meleu
                                last edited by Darksavior

                                @meleu Now I can download the installer on my pi without errors, but when installing it, it still gives me the same error.
                                Update: I fixed it. I changed the installer's "$home/RetroPie-Setup" to "/home/pi/RetroPie-Setup"
                                Sorry I didn't open the file to find out the problem before. I've never opened an sh file in my life:P

                                1 Reply Last reply Reply Quote 0
                                • mattrixkM
                                  mattrixk @meleu
                                  last edited by

                                  @meleu I've used this script a couple of times without issue, but I'm doing a fresh install and I'm getting an error:

                                  0_1501219392140_controller script error.JPG

                                  Is this something wrong on my end? I had trouble setting up the wifi too (it wouldn't let me input a password).

                                  My ES themes: MetaPixel | Spare | Io | Indent

                                  meleuM 1 Reply Last reply Reply Quote 0
                                  • meleuM
                                    meleu @mattrixk
                                    last edited by

                                    @mattrixk said in Here is a way to select joystick for players 1-4 (global or emu specific):

                                    Is this something wrong on my end?

                                    Yes. I'm pretty sure.

                                    • Useful topics
                                    • joystick-selection tool
                                    • rpie-art tool
                                    • achievements I made
                                    mattrixkM 1 Reply Last reply Reply Quote 0
                                    • mattrixkM
                                      mattrixk @meleu
                                      last edited by mattrixk

                                      @meleu Darn. Any ideas? Either what it might be, or how to test out what it might be?

                                      Edit: I was able to update retropie via the setup script without issue, so I should be connected to the net.

                                      My ES themes: MetaPixel | Spare | Io | Indent

                                      meleuM 1 Reply Last reply Reply Quote 0
                                      • meleuM
                                        meleu @mattrixk
                                        last edited by

                                        @mattrixk
                                        Can you ping github.com?

                                        • Useful topics
                                        • joystick-selection tool
                                        • rpie-art tool
                                        • achievements I made
                                        mattrixkM 2 Replies Last reply Reply Quote 0
                                        • mattrixkM
                                          mattrixk @meleu
                                          last edited by

                                          @meleu
                                          ping: unkown host github.com

                                          I had just followed https://www.modmypi.com/blog/how-to-give-your-raspberry-pi-a-static-ip-address-update to set up a static IP address. Maybe that has interfered with something...

                                          My ES themes: MetaPixel | Spare | Io | Indent

                                          1 Reply Last reply Reply Quote 0
                                          • mattrixkM
                                            mattrixk @meleu
                                            last edited by

                                            @meleu That was the problem. I deleted the lines from /etc/dhcpcd.conf and I was able to install your script without a problem. Cheers.

                                            Also I'll point out, on your github page (and just a few posts above this) you have:
                                            curl https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh -o install.sh

                                            But in your update on the first post of this thread it just has:
                                            curl https://raw.githubusercontent.com/meleu/RetroPie-joystick-selection/master/install.sh

                                            My ES themes: MetaPixel | Spare | Io | Indent

                                            meleuM 1 Reply Last reply Reply Quote 1
                                            • 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.