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



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


  • Global Moderator

    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.



  • 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?


  • Global Moderator

    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 ?



  • 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?


  • Global Moderator

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



  • 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?


  • Global Moderator

    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 ?



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


  • Global Moderator

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



  • 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?


  • Global Moderator

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



  • 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"?


  • Global Moderator

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



  • 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?


  • Global Moderator

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



  • 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?


  • Global Moderator

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



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


  • Global Moderator

    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).



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.