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

    Delete Save States

    Scheduled Pinned Locked Moved Help and Support
    delete save sta
    5 Posts 4 Posters 5.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.
    • N
      NoJoke
      last edited by

      I'm fairly new to Retropie (currently using a Pi 3) and I'm simply trying to delete all save states from all games in my Pi. Why you ask? No good reason other than I'm slightly OCD and want a clean machine as I tweak it to my liking. I've honestly read through the forums and can't seem to find an explanation that I understand, given my limited ability to understand the technical jargon being used.

      So, can I easily delete these save states directly from my Pi (possibly through the command lines)? Does it have to be through my PC with the SD card (not preferred)? Is there some easier solution altogether? Any guidance would be greatly appreciated.

      1 Reply Last reply Reply Quote 0
      • SanoS
        Sano
        last edited by Sano

        You can issue the following command to search all state files :
        find /home/pi/RetroPie/roms/ -name *.state
        If it's good for you, juste add -delete to the command line :
        find /home/pi/RetroPie/roms/ -name *.state -delete

        N 1 Reply Last reply Reply Quote 3
        • N
          NoJoke @Sano
          last edited by

          @Sano your guidance was simple and worked liked a charm. Really appreciate the support!

          1 Reply Last reply Reply Quote 1
          • pjftP
            pjft
            last edited by

            @Sano said in Delete Save States:

            find /home/pi/RetroPie/roms/ -name *.state

            Sorry, a little tweak to this :)

            find /home/pi/RetroPie/roms/ -name *.state*

            as subsequent save states append a number to it, not to mention in some emulators it starts in "1" rather than blank. :)

            1 Reply Last reply Reply Quote 1
            • P
              PetroRie
              last edited by

              I created a save folder into the rom dir, if I want to delete save games I just do it on my Windows machine via the network. It's not the best solution but it does the job.

              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.