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

    tried to update joystick selection and it deleted my retropie setup

    Scheduled Pinned Locked Moved Help and Support
    retropiesetup script
    9 Posts 2 Posters 1.6k 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.
    • edmaul69E
      edmaul69
      last edited by

      i tried to update joystick selection and it deleted my retropie setup. i cant find what i need to put in the command line to get it back

      1 Reply Last reply Reply Quote 0
      • edmaul69E
        edmaul69
        last edited by edmaul69

        so i followed this guide to manually install everything
        https://github.com/RetroPie/RetroPie-Setup/wiki/Manual-Installation
        and when i type:

        sudo ./retropie_setup.sh
        

        i still get this error:

        ERROR: "/root/RetroPie-Setup" directory not found!
        Looks like you don't have RetroPie-Setup scripts installed in the usual place. Aborting...
        

        my retropie setup is in /home/pi/ and not /root/ . it ran these fine right before it

        cd RetroPie-Setup
        chmod +x retropie_setup.sh
        
        meleuM 2 Replies Last reply Reply Quote 0
        • meleuM
          meleu @edmaul69
          last edited by meleu

          @edmaul69 as I said on the other thread: looks like you are using the root account!

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

            @edmaul69

            when i type:

            sudo ./retropie_setup.sh
            

            i still get this error:

            ERROR: "/root/RetroPie-Setup" directory not found!
            Looks like you don't have RetroPie-Setup scripts installed in the usual place. Aborting...
            

            It's strange! this message is from joystick-selection installation, not retropie_setup!

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

              Also, the joystick-selection install.sh script is not intended to be used with sudo. It seems to be the reason of your confusion (you may had installed it with sudo install.sh).

              Anyway, I've just changed the script to make it work fine if the user launch it with sudo.

              My suggestion:

              1. log in to your raspbian as the user pi
              2. go to /home/pi/RetroPie-Setup:
              cd /home/pi/RetroPie-Setup
              
              1. launch retropie_setup script:
              sudo ./retropie_setup.sh
              
              • Useful topics
              • joystick-selection tool
              • rpie-art tool
              • achievements I made
              edmaul69E 3 Replies Last reply Reply Quote 0
              • edmaul69E
                edmaul69 @meleu
                last edited by

                @meleu well somehow it had killed my retropie setup. when i tried to run the setup script (doing this as pi not root and not using sudo as i am copying and pasting in putty) i kept getting an error about retropie setup not being in root, even though i am running it from the home pi location. so i duplicated it to root and ran it again and i get this error:

                pi@retropie:~/RetroPie-Setup $ /home/pi/RetroPie-Setup/scriptmodules/supplementary/joystick-selection.sh: line 23: unexpected EOF while looking for matching `"'
                > /home/pi/RetroPie-Setup/scriptmodules/supplementary/joystick-selection.sh: line 24: syntax error: unexpected end of file
                > Module /home/pi/RetroPie-Setup/scriptmodules/supplementary/joystick-selection.sh is missing valid rp_module_id
                > Module /home/pi/RetroPie-Setup/scriptmodules/supplementary/joystick-selection.sh is missing valid rp_module_desc
                
                1 Reply Last reply Reply Quote 0
                • edmaul69E
                  edmaul69 @meleu
                  last edited by

                  @meleu so i got it to magically start reading from home pi location. but i had to delete joystick-selection out of the supplementary folder to get retropie setupback. now to try the joystick selection install again

                  1 Reply Last reply Reply Quote 0
                  • edmaul69E
                    edmaul69 @meleu
                    last edited by

                    so you probably want to correct your github. i kept getting that error on joystick selection under both pi and root. under pi i had to use sudo for it to work. but it is loaded now. now i need to test it out

                    1 Reply Last reply Reply Quote 0
                    • edmaul69E
                      edmaul69
                      last edited by edmaul69

                      @meleu everything is now all good in the hood. thank you

                      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.