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

    Controls not saving in RGUI menu

    Scheduled Pinned Locked Moved Help and Support
    rguicontrollersarcade buttons
    45 Posts 2 Posters 5.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.
    • L
      Lugzyboy82 @mitu
      last edited by

      @mitu I will have a read and give it a try. Thank you as always.

      1 Reply Last reply Reply Quote 0
      • L
        Lugzyboy82 @mitu
        last edited by

        @mitu hey there. I have used the guide with no joy. Something must be wrong with my .config file. I have just been browsing through to see if I can make any sense of it and I have noticed that in the controls section there are no # before the entry.

        For example, my config file shows:

        input_player1_a = "x"

        Should it read as:

        input_player1_a = "x"

        I have attached an image of my config file so you can see what I mean. Screenshot 2020-01-01 20.24.37.png

        mituM 1 Reply Last reply Reply Quote 0
        • mituM
          mitu Global Moderator @Lugzyboy82
          last edited by

          @Lugzyboy82 said in Controls not saving in RGUI menu:

          input_player1_a = "x"
          Should it read as:

          # input_player1_a = "x"
          

          The # is a comment sign, any line that has it at the beginning will be ignored. So looking at your config, the A button on the RetroPad is assigned to the x key on your keyboard and so on.

          L 1 Reply Last reply Reply Quote 0
          • L
            Lugzyboy82 @mitu
            last edited by

            @mitu correct. Bu its still not working. This is so frustrating. I looked through retroarch last night and it seems that the RGUI menu still thinks my controls are a retropad. I went to the joypad config file and the only thing there is USB controller config. Im really confused with this now.

            mituM 1 Reply Last reply Reply Quote 0
            • mituM
              mitu Global Moderator @Lugzyboy82
              last edited by

              The keyboard input is automatically added by RetroArch by default. Can you check if you have menu_unified_controls = true in your retroarch.cfg ?

              L 2 Replies Last reply Reply Quote 0
              • L
                Lugzyboy82 @mitu
                last edited by

                @mitu I can confirm that it is there, yes.

                1 Reply Last reply Reply Quote 0
                • L
                  Lugzyboy82 @mitu
                  last edited by

                  @mitu as mentioned earlier in the thread, I can set the buttons up perfectly for both players including the hotkeys in the input section of the RGUI menu. After exiting the ROM and re entering, all the controls I previously set up disappear.

                  Im not sure if this is due to having the USB gamepad plugged in at the same time so that I can access the RGUI menu. As soon as the RGUI menu appears I unplug the USB gamepad and use the joystick and buttons to create the binds in the input section.

                  mituM 1 Reply Last reply Reply Quote 0
                  • mituM
                    mitu Global Moderator @Lugzyboy82
                    last edited by mitu

                    @Lugzyboy82 said in Controls not saving in RGUI menu:

                    as mentioned earlier in the thread, I can set the buttons up perfectly for both players including the hotkeys in the input section of the RGUI menu.

                    This is the same as editing the .cfg file. I just tested a 2P game and the bindings added to retroarch.cfg are the same as the ones in the Input menu.

                    After exiting the ROM and re entering, all the controls I previously set up disappear.

                    These mappings are not saved, you need to save the configuration - but I advise you to do so without any game started, by starting RetroArch from the RetroPie system in EmulationStation - this way the input mappings are available in any system/game.

                    L 1 Reply Last reply Reply Quote 0
                    • L
                      Lugzyboy82 @mitu
                      last edited by

                      @mitu ok hopefully this will work. I will try it this evening. You say start retroarch from the retropie system in emulationstation. How would I do this? I want to do this correctly first time so any guidance or steps would be much appreciated.

                      1 Reply Last reply Reply Quote 0
                      • mituM
                        mitu Global Moderator
                        last edited by

                        @Lugzyboy82 said in Controls not saving in RGUI menu:

                        You say start retroarch from the retropie system in emulationstation.

                        In EmulationStation, you enter the RetroPie system and there's a RetroArch menu entry which starts RetroArch. I don't think I can put it simpler than that.

                        d65ed100-3609-49fd-a7f9-47c007402d89-image.png

                        L 4 Replies Last reply Reply Quote 0
                        • L
                          Lugzyboy82 @mitu
                          last edited by

                          @mitu hahaha. I thought it was going to be something other than that. I will give it a go. I will keep you informed.

                          1 Reply Last reply Reply Quote 0
                          • L
                            Lugzyboy82 @mitu
                            last edited by

                            @mitu here's an update. I updated the binds etc in retroarch as mentioned above. I saved and exited and then restarted the whole system. I went back to retroarch to see if the controllers have saved, which they did. But upon playing a ROM the controls are completely different again. So annoying so I am no further on.

                            1 Reply Last reply Reply Quote 0
                            • L
                              Lugzyboy82 @mitu
                              last edited by

                              @mitu I have also checked the config file which now corresponds with the binds I entered earlier, but the controls don't seem to work.

                              1 Reply Last reply Reply Quote 0
                              • L
                                Lugzyboy82 @mitu
                                last edited by

                                @mitu I have noticed this line at the top of the config file:

                                config_save_on_exit = "false"

                                Is this correct??

                                mituM 1 Reply Last reply Reply Quote 0
                                • mituM
                                  mitu Global Moderator @Lugzyboy82
                                  last edited by

                                  @Lugzyboy82 said in Controls not saving in RGUI menu:

                                  config_save_on_exit = "false"
                                  Is this correct??

                                  Yes.

                                  I went back to retroarch to see if the controllers have saved, which they did. But upon playing a ROM the controls are completely different again.

                                  Did you 'save' the configuration when you started a game from that system at some point ? What game/rom did you start (and doesn't have the controls you've set) ?

                                  L 1 Reply Last reply Reply Quote 0
                                  • L
                                    Lugzyboy82 @mitu
                                    last edited by

                                    @mitu hi there. I don't think I have saved a game at all. I have tried to use Alien Storm and I cant even access the game as the start button seems to be set as reset the emulator.

                                    mituM 1 Reply Last reply Reply Quote 0
                                    • mituM
                                      mitu Global Moderator @Lugzyboy82
                                      last edited by

                                      @Lugzyboy82 said in Controls not saving in RGUI menu:

                                      I don't think I have saved a game at all

                                      Not saving a 'game', but the RetroArch configuration for that game/system - with 'Save Configuration' from the RGUI. What system is this ROM from - arcade/mame-libretro/etc. ?

                                      L 1 Reply Last reply Reply Quote 0
                                      • L
                                        Lugzyboy82 @mitu
                                        last edited by

                                        @mitu its for the sega mega drive. I cant recall doing a save. If I have, then the controls are completely different to what I would use.

                                        mituM 1 Reply Last reply Reply Quote 0
                                        • mituM
                                          mitu Global Moderator @Lugzyboy82
                                          last edited by

                                          @Lugzyboy82 Post the contents of the /opt/retropie/configs/megadrive/retroarch.cfg (also accessible via file shares at \\retropie\configs\megadrive\retroarch.cfg) to pastebin.com and provide the link.

                                          L 1 Reply Last reply Reply Quote 0
                                          • L
                                            Lugzyboy82 @mitu
                                            last edited by

                                            @mitu

                                            https://pastebin.com/L0B7k6vL

                                            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.