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

    RetroArch Config Confusion and Issues

    Scheduled Pinned Locked Moved Help and Support
    53 Posts 6 Posters 39.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.
    • meleuM
      meleu @BuZz
      last edited by

      @BuZz I agree. The current way is cleaner, but I went through many confusing situations to learn how these things work. Now I like it a lot!

      About the controller configs, this is an area that I am interested and made a progress (documented here). I was planning to adjust my script to add to scriptmodules/supplementary scripts. And later I was planning to implement a way to manage RetroAchievements accounts (I'm used to share the same RetroPie with some friends, and each one of us have a different RetroAchievements account).

      So let me ask: are you guys about to implement this controller configs feature? If yes, I let this task with you, the experienced guys, and try to work on the cheevos area.

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

        I didn't have any plans for setting which controller for which player - at least not initially - do you handle it so that if they plug a controller in a different port, it will automatically update the config ? It's something I could consider - I'm currently working on some other code though. You can also just plug the controllers in the order you want in the correct usb port, but it might be useful to have it on a per system basis, to force specific controllers.

        When I do some work on the input configuration, I will think about implementing it. I do want to make it easier to configure player 2 / player 3 when using keyboard also, which isn't automatic currently - that would need to be implemented into ES so it passes a parameter to the autoconfiguration script.

        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

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

          @BuZz

          do you handle it so that if they plug a controller in a different port, it will automatically update the config ?

          I think RetroArch already do this by searching the configs in /opt/retropie/configs/all/retroarch-joypads/ based on the joystick name, not the port. I never had problems with it.

          You can also just plug the controllers in the order you want in the correct usb port

          Yeah. But my script deal with any joystick connected to the system. If the connection is through USB, bluetooth (I didn't test GPIO)... It doesn't matter. If the SDL identifies a device as a joystick, my script can deal with it.

          My only concern is with the dynamic nature of bluetooth connections. If one connect and/or disconnect controllers "on-the-fly", the indexes will change and then it's required to execute the script again.

          but it might be useful to have it on a per system basis, to force specific controllers.

          I'm planning to work on this later. But I'm thinking about how to deal with the dynamic connections issue I mentioned (index changing). Maybe I'll work with joystick names... It's in my TODO list. :-)

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

            @BuZz
            Sorry if I'm asking too much, but could you please translate this small C code to python. I don't know python, but I think this code is as simple as a "hello world" for you. :-)

            https://github.com/meleu/RetroPie-input-selection/blob/8a5896b92473e00fe3b057c4a9c45515c2b5598b/jslist.c

            A python version will have a better portability.

            @wolfman100 Sorry for messing with your thread...

            • Useful topics
            • joystick-selection tool
            • rpie-art tool
            • achievements I made
            1 Reply Last reply Reply Quote 0
            • FloobF
              Floob @Wolfman100
              last edited by

              @Wolfman100 As mentioned above, you can use the configuration editor to save settings that are persistent that way.

              Or if you want to do it manually this video may help.

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

              Wolfman100W 2 Replies Last reply Reply Quote 0
              • Wolfman100W
                Wolfman100 @Floob
                last edited by

                @Floob Thanks for this.Will check the vid.Seen some of yours before,very clearly and concisely presented....good work!

                1 Reply Last reply Reply Quote 0
                • Wolfman100W
                  Wolfman100 @Floob
                  last edited by

                  @Floob By 'Configuration Editor' do you mean the one in the RetroPie Setup,the one you can access once a rom is loaded,or the one provided in 'RetroArch'?

                  This is kind of what I'm saying,there's 3-4 ways to change the same settings and very little clarity as to what way is the 'right' way....if you know what I mean?

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

                    @Wolfman100
                    When I say that RetroPie is very flexible, you can read it as "there is no only one right way to do a task". :D

                    Answering your question: when we say configuration editor, we mean Configuration Editor.

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

                      @meleu haha!Thanks for that clarification.....

                      In other words,theres not only one way to break something!

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

                        @Wolfman100 If you don't want this freedom and wanna let the developer make decisions for you, maybe you should take a look at recalbox.com ;-)

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

                          @meleu I was only joking sir,somehow I have developed a somewhat sadistic joy from configuring RetroPie and having it turn into a full time job :-)

                          Also I didn't actually realise that all these responses had been posted as I wasn't notified....as you can see it doesn't take much to confuse me!

                          1 Reply Last reply Reply Quote 1
                          • Wolfman100W
                            Wolfman100 @meleu
                            last edited by

                            @meleu Also thanks for the in-depth response....just trying to get my head around it all right now,which is proving a little trickier than usual after just having to write a two hour long email!

                            1 Reply Last reply Reply Quote 1
                            • Wolfman100W
                              Wolfman100
                              last edited by

                              Just to really clarify my process and how I was going about editing the config files.

                              At the moment I was concentrating mainly on the PSX emulator.I would open the RetroPie-Setup script via the menu in Emulation Station.This would then take me to the RetroPie Setup interface,in there I would then select:

                              • list item 'Edit RetroPie/RetroArch Configurations' >

                              • list item 'Configure basic libretro emulator option' >

                              • list item 'Configure Additional Options for PSX' >

                              • list item I would then make the required changes and exit

                              Noooooow......the crazy thing is,as I went through the steps in order to write this....I have now discovered that the settings have actually been saved,and the correct shader,aspect ratio etc is already selected when going through the configuration!!!!

                              Ermmmmm,so I guess the only thing to ask is whether this is the best and most robust way to make the configuration changes?

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

                                @Wolfman100
                                don't take my suggestion to recalbox as a reprimand. :-)

                                It's a good system for those who just wanna play videogames and don't care about learning/tinkering with Linux. But, as you said, this is not your case.

                                I'm enjoying messing around with RetroPie too. It brought me back to programming after some years away... And somehow this is the purpose of Raspberry Pi.

                                I guess the only thing to ask is whether this is the best and most robust way to make the configuration changes?

                                I think the most robust and organised way is editing the file by hand with the Configuration Editor. But I can't say if it's the best, this is a very personal answer! :-)

                                The problem is that editing the file by hand requires that you know the variables name. I don't know a good reference for the meaning of each variable in retroarch.cfg.

                                • Useful topics
                                • joystick-selection tool
                                • rpie-art tool
                                • achievements I made
                                1 Reply Last reply Reply Quote 0
                                • dankcushionsD
                                  dankcushions Global Moderator @Wolfman100
                                  last edited by

                                  @Wolfman100 said in RetroArch Config Confusion and Issues:

                                  Ermmmmm,so I guess the only thing to ask is whether this is the best and most robust way to make the configuration changes?

                                  yes, i'd say so. the configuration editor explains all the settings, and limits your changes to valid settings.

                                  1 Reply Last reply Reply Quote 1
                                  • Wolfman100W
                                    Wolfman100
                                    last edited by

                                    Sooooo....ignore my last post,switching to a different PSX game seems to have actually reset all the config settings to default again!Jeeeeeezzzz....time to investigate!

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

                                      @Wolfman100 hahahaha this is the very same feeling I had while I kept the "save config on exit" enabled!!!
                                      :-D

                                      • Useful topics
                                      • joystick-selection tool
                                      • rpie-art tool
                                      • achievements I made
                                      Wolfman100W 1 Reply Last reply Reply Quote 0
                                      • FloobF
                                        Floob @Wolfman100
                                        last edited by

                                        @Wolfman100 said in RetroArch Config Confusion and Issues:

                                        Sooooo....ignore my last post,switching to a different PSX game seems to have actually reset all the config settings to default again!Jeeeeeezzzz....time to investigate!

                                        Watching file changes in /opt/retropie/configs/psx/ can be a useful way to understand whats going on when you make changes in the GUI (either from RGUI or the Configuration editor etc..). Try PuTTY out and check it out.
                                        The video above should cover system and per game changes that are possible.

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

                                        1 Reply Last reply Reply Quote 0
                                        • Wolfman100W
                                          Wolfman100 @meleu
                                          last edited by

                                          @meleu hahaha.....top tip!

                                          Wolfman100W 1 Reply Last reply Reply Quote 1
                                          • Wolfman100W
                                            Wolfman100 @Wolfman100
                                            last edited by Wolfman100

                                            @Floob Will look into that.Thanks

                                            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.