RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login

    Idea: Clear State Button

    Scheduled Pinned Locked Moved Ideas and Development
    retroarchsave state
    5 Posts 2 Posters 1.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.
    • CapemanC
      Capeman
      last edited by Capeman

      Quick idea that might help people suffering from the old sram is erased by save state dilema we've all faced sometime in the past decade.

      Currently retroarch has buttons for save/load state and save state slots:
      input_save_state =
      input_load_state =
      input_state_slot_increase =
      input_state_slot_decrease =

      What would it take to add a button input to clear the state in the selected slot? Something like this:
      input_save_state_clear =

      I guess the idea would be that if you did a save state before a boss in a game like zelda, then played on and forgot about that state, you could potentially accidently load that state later, which would overwrite your sram. If you could "clear" the save state after you beat the boss and continue using the sram feature built into the game, then accidental rogue states would have less of a chance to mess up your game later.

      Now that i think of it, this is likely something that would need to be added by the retroarch team, unless RetroPie works off of a forked version.

      Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

      dankcushionsD 1 Reply Last reply Reply Quote 0
      • dankcushionsD
        dankcushions Global Moderator @Capeman
        last edited by

        @Capeman there is already undo load state/undo save state, which i guess achieve this same idea. https://github.com/libretro/RetroArch/pull/3069

        CapemanC 1 Reply Last reply Reply Quote 0
        • CapemanC
          Capeman @dankcushions
          last edited by

          @dankcushions It kind of does, but the rogue save state still exists and if you don't have a the retroarch menu button mapped (I don't because my pi is used by lots of people and everyone keeps pressing it somehow, haha), then you're screwed.

          I feel like just clearing the save state slot and deleting the save state completely would be a more elegant solution. That way you cant even accidentally load, negating the need to undo it.

          Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

          dankcushionsD 1 Reply Last reply Reply Quote 0
          • dankcushionsD
            dankcushions Global Moderator @Capeman
            last edited by

            @Capeman so you'd be safer with a 'clear save state' button mapped than a 'show retroarch menu' button mapped?!

            both should need a hotkey to access anyway if you have clumsy friends.

            i dunno, you could try requesting this from retroarch but i don't think they will go for it.

            1 Reply Last reply Reply Quote 0
            • CapemanC
              Capeman
              last edited by

              I just put this request into the retroarch github, i'm interested to see how they respond.

              https://github.com/libretro/RetroArch/issues/5119

              Vector Artist, Designer and Maker of Stuff: Laser Cut Atari / Pixel Theme Bartop

              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.