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

    No autosave when exit emulator

    Scheduled Pinned Locked Moved Help and Support
    hotkeyexitsnes
    20 Posts 2 Posters 5.1k 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.
    • M
      Maynard
      last edited by Maynard

      hi,

      i set up my retropie after release of 4.4, but i didn't use it for a while. i use the LT button on my controller as hotkey. when is start the retroarch menu while the emulator is running and leave the emu the game is saved. but when i leave the emulator using the hotkey and the start button the emulator is closed directly without any demand and the game isn't saved. i can't remember where i set up that the emulator is closed with hotkey+start (or maybe this is default?). is it normal that in this case the game isn't auto saved? can i change that behaviour so that auto save works no matter how i leave the emulator?

      maynard

      edit
      This problem only occurs when i use snes and mastersystem emulator. it works with nes, gameboy and megadrive.

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

        By default, auto-save (I assume you mean save states) is not enabled in RetroArch. You probably enabled it manually in the other emulators, but didn't enable it in snes and mastersystem. Take a look at the configuration for the other systems (where auto-save is enabled) and repeat the configuration for the systems where it's not working.

        1 Reply Last reply Reply Quote 0
        • M
          Maynard
          last edited by

          yes, i mean save states. it enables globally in the retroarch.cfg in /opt/retropie/configs/all. here i have this three points

          avestate_auto_save = true
          savestate_auto_load = true
          autosave_interval = 5
          

          as i understand this should be enough to enable save states in all emus?

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

            Should be enough to have auto-saves configured. Is is a type in your message or you really have avestate_auto_save = true in your config file ?

            1 Reply Last reply Reply Quote 0
            • M
              Maynard
              last edited by

              Its correct. in the config filte its

              savestate_auto_save = true
              

              maybe i have to add

              savestate_auto_save = true
              savestate_auto_load = true
              

              additionally in the retroarch.cfg of the emulator?

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

                @Maynard said in No autosave when exit emulator:

                additionally in the retroarch.cfg of the emulator?

                Only if the emulator's config file has those settings set to false. How large the emulator's config file ? It should be mostly empty, in which case you can add them there just to make sure - and then verify in the RGUI those options are set.

                1 Reply Last reply Reply Quote 0
                • M
                  Maynard
                  last edited by

                  This is what i have in the retroarch.cfg of the snes emulator

                  # Settings made here will only override settings in the global retroarch.cfg if placed above the #include line
                  input_remapping_directory = "/opt/retropie/configs/snes/"
                  joypad_autoconfig_dir = /opt/retropie/configs/snes/retroarch-joypads/
                  #include "/opt/retropie/configs/all/retroarch.cfg"
                  

                  For the half of my emulators hotkey+exit works and for half it doesn't. if disabled the exit button for all emulators and close the emulator using the retroarch gui.

                  Is it normal that in the retroarch menu the button for selecting a menu entry its always different? For some emulators its A, for some B and others X (but never Y). The control settings for the games are working. Is it possible to set up the button control for the menu without changing the control settings for the emulator?

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

                    Your SNES config file is wrong. There is no /opt/retropie/configs/snes/retroarch-joypads/ folder in a RetroPie installation - unless you configured it yourself.
                    I'd recommend removing this line and re-test again.

                    Is it normal that in the retroarch menu the button for selecting a menu entry its always different?

                    No, the mapping for RA key mapping is by default created after you configure your input in Emulationstation and should automatically apply to all lr- emulators.

                    Did you install RetroPie with the image from retropie.org.uk/download or using another image ?

                    1 Reply Last reply Reply Quote 0
                    • M
                      Maynard
                      last edited by

                      yes, if created the folder and copied the gamepad config file in because of specific gamepad control only for that folder. this was the procedure i've done on retropie older than 4.4 and i've made the same on 4.4. wrong?

                      yes, this is the image i used.

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

                        @Maynard said in No autosave when exit emulator:

                        yes, if created the folder and copied the gamepad config file in because of specific gamepad control only for that folder. this was the procedure i've done on retropie older than 4.4 and i've made the same on 4.4. wrong?

                        You should use the core remap features in RetroArch if you want per-system key bindings. It would only be a problem for multi-system emulators (libe GB/GBA), but not for SNES/NES.
                        Regardless, I advise to use the standard mappings to test - remove your customizations temporarily - and see if you still get the problem you're describing.

                        1 Reply Last reply Reply Quote 0
                        • M
                          Maynard
                          last edited by

                          It would only be a problem for multi-system emulators (libe GB/GBA)

                          That mean when i use two or more emulators for the same system? are gameboy and gameboy advanced not different systems?

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

                            @Maynard No, I meant when using emulators that support multiple systems. For instance GB and GBA both use the same emulator (lr-mgba or lr-gambatte).
                            If you want to have bindings for GB and you use the method I mentioned (saving core overrides), then the same bindings would apply for GBA since it's using the same emulator, even if it's a different system.

                            1 Reply Last reply Reply Quote 0
                            • M
                              Maynard
                              last edited by Maynard

                              Do you mean this https://github.com/RetroPie/RetroPie-Setup/wiki/RetroArch-Configuration#core-input-remapping when you suggest to use the "core remap features"?

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

                                @Maynard Yes, that's the RetroArch feature I'm talking about.

                                1 Reply Last reply Reply Quote 0
                                • M
                                  Maynard
                                  last edited by

                                  I played around a little bit with that and worked for the snes emulator.

                                  But i don't like the RGUI control. for me its better when i can select a menu entry with the button a and jump back with the button b. Can i edit the button control for the games independently from the RGUI control?

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

                                    @Maynard said in No autosave when exit emulator:

                                    Can i edit the button control for the games independently from the RGUI control?

                                    Yes, read on through the page in the docs. Just as you have an override for a core (emulator), the same override process can be used for each game.

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      Maynard
                                      last edited by Maynard

                                      But there is no way to remap the buttons for the core and not remap for the RGUI? I have to do this for all games individually?

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

                                        @Maynard I got to confess I don't understand what you're trying to do now.

                                        1 Reply Last reply Reply Quote 0
                                        • M
                                          Maynard
                                          last edited by

                                          OK, an example: snes core.

                                          With the default mapping that i set up directly after installing retropie i can control the snes RGUI as i want it. button a is accept/ok, button b is back/cancel. But to control the game i have to remap the controller. after that in RGUI now b is accept/ok and a is back/cancel. what i want is only remap the controller for the core (all games) and not for the RGUI.

                                          I know i can remap also for games but its very awkward doing this for all games.

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

                                            There is no 'SNES RGUI', the RGUI is the same for all libretro cores. Please read the page about the RetroArch configuration and how it works. You can configure your RetroPad (virtual RetroArch gamepad) per core as you wish, without influencing how RGUI interprets the buttons used to operate it (A/B/L/R).

                                            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.