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.7k 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.
    • suprjamiS
      suprjami
      last edited by suprjami

      A user on Reddit reports the same thing also happening to FBA and Neo-Geo configs. It seems the emulator overwites /opt/retropie/configs/neogeo/retroarch.cfg and /opt/retropie/configs/fba/retroarch.cfg

      I wonder if this is because older versions have the input mapping parameter unquoted:

      input_remapping_directory = /opt/retropie/configs/neogeo/
      

      but latest version seems to have it quoted:

      input_remapping_directory = "/opt/retropie/configs/neogeo/"
      

      Ref: https://www.reddit.com/r/RetroPie/comments/4yz4h5/retroarch_keeps_overwriting_my_controller_config/

      I tried a dozen launches of lr-fba-next with and without quotes but could not reproduce this.

      Anyone hitting this issue, please try adding quotes to the system-specific config as above and see if this solves it for you.

      FloobF 1 Reply Last reply Reply Quote 0
      • FloobF
        Floob @suprjami
        last edited by Floob

        @suprjami I can confirm that on game exit the system based retroarch.cfg is being updated (or at least the timestamp is).
        But I cant get it to break yet. This is on a clean RetroPie 4 final.

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

        1 Reply Last reply Reply Quote 0
        • FloobF
          Floob
          last edited by Floob

          Ok, maybe this is related? When it saves the file it moves some of the lines, which could result in some overrides kicking in?

          Before game starts

          # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
          
          
          # Test 1
          
          input_remapping_directory = "/opt/retropie/configs/psx/"
          
          # Test 2
          
          #include "/opt/retropie/configs/all/retroarch.cfg"
          
          # Test 3
          

          After quitting game

          # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
          
          
          # Test 1
          
          input_remapping_directory = "/opt/retropie/configs/psx/"
          
          # Test 2
          
          
          # Test 3
          #include "/opt/retropie/configs/all/retroarch.cfg"
          

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

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

            @Floob it moves the include to the end on exit in case the file was saved from rgui which breaks the order. Can't see a case where anyone would want configs after the include though.

            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

              I don't think the quoting would make a differenc btw. I need to see a broken config to debug this

              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
              • FloobF
                Floob
                last edited by

                @BuZz Ah, I see. Yes, I cant think of a reason why you would want something after the #include really.
                From the error being reported (i.e. no bios found), I presume whatever is happening is stopping the system retroarch.cfg from including the global retroarch.
                I see the retroarch.cfg files can only be read/written by "pi", perhaps there is an odd permission at play where a different user is trying to read the files. I dont know - like you say, really need a broken config to work it out.

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

                1 Reply Last reply Reply Quote 0
                • B
                  bengus
                  last edited by

                  here is a copy of my /opt/retropie/configs/psx/retroarch.cfg

                  http://pastebin.com/p06UkL7D

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

                    @bengus - You have enabled save on exit from retroarch (bad idea imho) and somehow you have also lost the #include line, along with other default settings such as the joypad location - not sure how that has happened. Usually when saving it will leave the config at the top - have you at some point removed the config and then resaved or something ?

                    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 BuZz

                      The fix in your case is to delete the config and reinstall the playstation emulator which will give you a default config. If retroarch saves over it, it should move the #include to the end, but the locations of joypads etc should not have got reset, so I suspect something was wrong with your config in the first place.

                      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
                      • R
                        redpidgey90
                        last edited by

                        I have the same issue, suddenly my psx doesn't find bios and recognize controller inputs. Wait for a fix

                        1 Reply Last reply Reply Quote 0
                        • B
                          bengus
                          last edited by bengus

                          Buzz: Thank you for taking the time to look that over. I honestly didn't even know I had save on exit enabled, and to answer your question about removing the config or re-saving it...the only time I have made changes to it would have been automated by Floob's video manager tool (for overlays/shaders etc....)

                          So...the steps you told me to do worked. However, after I made the changes with Floob's tool, it went back to the same problem(this also could just be a coincidence?). I am guessing it is some permissions issue but I am not sure yet. Trying to help myself figure it out as well.

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

                            I will need to see the configs - for example the config before when reset - and after using this tool. It's not a permissions issue.

                            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

                              Here is my original (after reinstall).

                              http://pastebin.com/TxmJKeMg

                              Here is after I run Floobs video manager tool (which runs perfectly once)

                              http://pastebin.com/xq136E1a

                              However, after doing so and trying to launch another psx title I get the same problems people in this thread are describing, and the config then looks like this.

                              http://pastebin.com/dC8CnhTP

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

                                was the rewind_enable added by the video tool? if so it is doing it wrong - but I'm still not sure why it would cause the #include to get removed later. I will use those configs and try and reproduce it though - perhaps there is a case where retroarch strips the include out completely (although this wouldn't explain why the joypad directory variable would be reset as it should still get the correct values for them the first time it loads the config before overwriting it)

                                please can i also see your /opt/retropie/configs/all/retroarch.cfg

                                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

                                  Also please can you post the output of /opt/retropie/emulators/retroarch/bin/retroarch --version so I can just confirm it matches against mine.

                                  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
                                  • FloobF
                                    Floob
                                    last edited by Floob

                                    @bengus
                                    The file output has config_save_on_exit = "true" could you have edited this in RGUI at some point?
                                    The default in the global retroarch.cfg is config_save_on_exit = "false"

                                    @BuZz
                                    Yes, my tool added that rewind line in the wrong place, I'll fix it.
                                    I get the same result as Bengus from a clean v4 and setting RGUI to save on exit.

                                    RetroArch: Frontend for libretro -- v1.3.6 -- 7a433a6 --
                                    Compiler: GCC (4.9.2) 32-bitBuilt: Jul 17 2016
                                    

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

                                    1 Reply Last reply Reply Quote 0
                                    • B
                                      bengus
                                      last edited by

                                      @Floob I honestly have never changed config_save_on_exit from the RGUI, nor have I manually.

                                      @BuZz here is my /opt/retropie/configs/all/retroarch.cfg

                                      http://pastebin.com/dTm4LHZS

                                      Version of Retroarch

                                      RetroArch: Frontend for libretro -- v1.3.6 -- 7a433a6 --
                                      Compiler: GCC (4.9.2) 32-bitBuilt: Jul 17 2016

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

                                        ok now I'm really confused - how are you ending up with a overwritten retroarch.cfg for psx when you don't even have save on exit enabled...

                                        retroarch getting confused over something ? I will try your configs out.

                                        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

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

                                          Please can you post the output of file /opt/retropie/configs/psx/retroarch.cfg

                                          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 bengus

                                            I just removed the broken cfg, re-installed the emulator and manually added the first 13 lines (not running the video-manager tool to do it)

                                            http://pastebin.com/H9a9JUaA

                                            I've launched and exited 8 different psx titles so far, and have not had any issues. The config has not been changed so far.

                                            Here is your output request

                                            /opt/retropie/configs/psx/retroarch.cfg: C source, ASCII text

                                            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.