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
      last edited by BuZz

      ok. I found the problem

      Floobs tool misses a line ending after rewind_enable = false so when the include is moved it ends up on the end of that line (so you get rewind_enable = false#include "/opt/retropie/configs/all/retroarch.cfg") - then on the next launch it will overwrite it as the include doesn't get processed.

      Ideally it should have a newline (as well as the rewind being moved) - but I will make sure the include moving adds one if one is missing (wouldn't happen with nano - but other editors could cause it also)

      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
        last edited by

        retropie-setup will now make sure there is a newline before moving the #include to the end, which should fix it (you will need to remove the damaged config as well as updating retropie-setup)

        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

        S 2 Replies Last reply Reply Quote 0
        • FloobF
          Floob
          last edited by Floob

          Thanks so much Buzz!
          I'll make a note of this and fix it in a future release (no lines under the include).

          Please read the Docs before asking a new question.
          RetroPie Help Guides: https://goo.gl/3gcNsT

          1 Reply Last reply Reply Quote 0
          • S
            sebacote @BuZz
            last edited by

            @BuZz Thanks! I'll try this right now and keep you informed!

            1 Reply Last reply Reply Quote 0
            • S
              sebacote @BuZz
              last edited by

              @BuZz it works flawlessly! Deleted retroarch.cfg, updated retropie-setup, removed/installed PSX emulator, reapplied video tools, rebooted, tried a game, works, quit, start a new game and works, tried 4-5 games and a reboot to be sure, it works well!

              Here is the pastebin of my current retroarch.cfg after playin a few games : http://pastebin.com/WPyhdzV1. Also, the file output is the same (/opt/retropie/configs/psx/retroarch.cfg: C source, ASCII text). There is a blank line after the include, I took a screenshot of mine : http://i.imgur.com/OI3v7fm.png

              Thank you for all the great work, it's really appreciated and you're the best :)

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

                Looks good! glad it is sorted.

                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
                • B
                  bengus
                  last edited by

                  @BuZz Thanks again for all of your work :-)

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

                    Hi! I've been having the same issue, and deleting the config files, updating the retropie-setup and uninstalling/reinstalling the emulators hasn't worked so far. Here's the corrupted retroarch.cfg http://pastebin.com/MsmwJ0T9 (you can swap out /neogeo/ to /fba/ as well, since it seems to happen to both.), and here it is as it should be http://pastebin.com/MArMmd5B

                    BuZzB 2 Replies Last reply Reply Quote 1
                    • X
                      xpz
                      last edited by

                      I am still having the same problem as well. Tried manually deleting the PSX config, deleting the PSX emu, reinstalling from binaries -> reboot. After several tries I still get the "bios not found" message + controller not working.

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

                        @xpz said in PS1 not seeing any controllers:

                        I am still having the same problem as well. Tried manually deleting the PSX config, deleting the PSX emu, reinstalling from binaries -> reboot. After several tries I still get the "bios not found" message + controller not working.

                        Did you do anything else - eg did you change the config after reinstalling or use the video manager software ? Did you update retropie-setup ?

                        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 @Ersatz
                          last edited by

                          @Ersatz said in PS1 not seeing any controllers:

                          Hi! I've been having the same issue, and deleting the config files, updating the retropie-setup and uninstalling/reinstalling the emulators hasn't worked so far. Here's the corrupted retroarch.cfg http://pastebin.com/MsmwJ0T9 (you can swap out /neogeo/ to /fba/ as well, since it seems to happen to both.), and here it is as it should be http://pastebin.com/MArMmd5B

                          I'm not sure either and I can't reproduce it. The bug only happened when the config files didn't end in a end of line character (eg the last line incomplete), and by default the configs do not have that. Also there is a workaround in the latest code to avoid this, so I can't see how the configs can end up like that.

                          When you say it hasn't worked - did it work after initially reinstalling the emulator (eg for the first load) ? Or it didn't work at all (in which case the default configs may not have been put in place correctly)

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