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

    PS1 not seeing any controllers

    Scheduled Pinned Locked Moved Help and Support
    87 Posts 14 Posters 42.4k 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.
    • BuZzB
      BuZz administrators @Ersatz
      last edited by BuZz

      @Ersatz if you go through the steps you did in more detail perhaps I will see the problem (including anything typed - even if obvious)

      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

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

        @BuZz i dont have save on exit enabled. It saves and rewrites it at game boot. However i redownloaded the emus that caused an issue. Then i put all my info above the #include line in the retroarch.cfg and it stopped messing up. Tried each system i have 3 times each to verify they dont end up overwriting on game startup. I think the biggest issue is making sure there is nothing below the #include line. I fixed some that way without updating the emulator, but redownloaded anyways just to be safe.

        BuZzB 1 Reply Last reply Reply Quote 0
        • BuZzB
          BuZz administrators @edmaul69
          last edited by BuZz

          @edmaul69 runcommand adjusts the config after exiting every game to make sure the #include is at the end of the file (it will actually do the change even if it is, but I may change this with some additional checks).

          It used to break if there is an incomplete line at the end of the file (eg not ending in a LF character) - which would only happen if manually editing the file with an editor other than nano - as nano will make sure the last line is complete, or using the video manager which creates this incomplete line.

          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

          X 1 Reply Last reply Reply Quote 0
          • X
            xpz @BuZz
            last edited by

            @BuZz said in PS1 not seeing any controllers:

            It used to break if there is an incomplete line at the end of the file (eg not ending in a LF character) - which would only happen if manually editing the file with an editor other than nano - as nano will make sure the last line is complete, or using the video manager which creates this incomplete line.

            There we have it! Using nano to edit the .cfg solves the problem. :)

            BuZzB 1 Reply Last reply Reply Quote 0
            • BuZzB
              BuZz administrators @xpz
              last edited by

              @xpz that means you can't have updated retropie setup correctly as it shouldn't need that with the fix. How did you update?

              To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

              X 1 Reply Last reply Reply Quote 0
              • X
                xpz @BuZz
                last edited by xpz

                @BuZz I updated using the Retropie Setup Menu in Retropie. Now I have another problem, probably related to this. Snes9x gave me the message "Saved new config to retroarch.cfg" and then the controller stopped working. It seem like some of the emu cores are ignoring then overwriting the Retroarch configs.

                I have not made any changes whatsoever in the SNES config after a fresh install of Retropie 4.0.

                BuZzB 2 Replies Last reply Reply Quote 0
                • BuZzB
                  BuZz administrators @xpz
                  last edited by

                  @xpz runcommand overwrites on exit moving the include to the end. If it's still breaking it sounds like you don't have an updated system or the inifuncs didn't update. I'll give you a couple of lines to type when I'm in front of PC.

                  To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                  BuZzB 1 Reply Last reply Reply Quote 0
                  • BuZzB
                    BuZz administrators @BuZz
                    last edited by

                    Or the config had been damaged already before you updated.

                    To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                    1 Reply Last reply Reply Quote 0
                    • BuZzB
                      BuZz administrators @xpz
                      last edited by BuZz

                      @xpz Please can you give me the output of the following (paste it into the terminal via ssh)

                      for file in /opt/retropie/lib/inifuncs.sh ~/RetroPie-Setup/scriptmodules/inifuncs.sh; do ls -la $file; md5sum $file; grep -A8 "re-add" $file; done
                      

                      To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                      X 1 Reply Last reply Reply Quote 0
                      • X
                        xpz @BuZz
                        last edited by

                        @BuZz A big thank you for all help! I made a complete update of the Retropie Setup Script plus all the binaries and now the problem seem to have disappeared. Do you still want me to run your script?

                        1 Reply Last reply Reply Quote 0
                        • BuZzB
                          BuZz administrators
                          last edited by

                          Might as well thanks, but I suspect everything will be fine. The only case I could think of that the update hadn't worked was

                          1. doing a manual git pull which would not have triggered the required change (copying updated inifuncs.sh to /opt/retropie/funcs).
                          2. a case where the new inifuncs.sh didn't get copied because the date of the existing one had been changed, which could happen I suppose if the file had been edited recently.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • E
                            epicrean
                            last edited by

                            This fix worked PERFECTLY. Thank you to all the experts

                            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.