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

    Retropie freezes

    Scheduled Pinned Locked Moved Help and Support
    save filesfreezes
    26 Posts 5 Posters 12.2k 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.
    • B
      backstander
      last edited by backstander

      @lkmaster
      You can either press F4 on an attached USB keyboard to your Raspberry Pi (aka RPi) or SSH in using something like PuTTY. Once you get logged in, just type in (or copy & paste) exactly from my previous post (the first line in red).

      find /home/pi/RetroPie/roms/ -name "*.srm" -o -name "*.state*" | tar --transform 's|/home/pi/||g' -PcJf retropie_game_saves.tar.xz -T -

      Next make sure you have your USB flash drive plugged in to your RPi and then type cp retropie_game_saves.tar.xz /media/usb0
      Another way to do the same thing is from your Windows PC use FileZilla to get retropie_game_saves.tar.xz from the /home/pi/ directory.

      After you have re-installed RetroPie on your microSD card and you back up and running, then with that same USB flash drive in either push F4 and type cd /media/usb0 then tar -C /home/pi -xJf retropie_game_saves.tar.xz
      or push it back over using FileZilla then press F4 and just type tar -C /home/pi -xJf retropie_game_saves.tar.xz

      Hopefully that wasn't too confusing!
      You might give this a read! List of common Linux commands:
      https://www.raspberrypi.org/documentation/linux/usage/commands.md

      ? 1 Reply Last reply Reply Quote 0
      • BuZzB
        BuZz administrators @A Former User
        last edited by BuZz

        @lkmaster said in Retropie freezes:

        @BuZz but if I use a new image I lose my save states

        use the instructions above / or just copy your roms folder off over the network - also see https://github.com/retropie/retropie-setup/wiki/updating-retropie#making-a-backup-option-1

        To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

        1 Reply Last reply Reply Quote 0
        • ?
          A Former User @backstander
          last edited by A Former User

          @backstander
          I have done it like u said and now when I try to load my save state this apers
          Failed to load state from "/home/pi/RetroPie/roms/snes/dragon quest IV ...

          ? 1 Reply Last reply Reply Quote 0
          • ?
            A Former User @A Former User
            last edited by

            @lkmaster
            I did a back up before I reinsalled retropie

            B 1 Reply Last reply Reply Quote 0
            • B
              backstander @A Former User
              last edited by

              @lkmaster said in Retropie freezes:

              I have done it like u said and now when I try to load my save state this apers
              Failed to load state from "/home/pi/RetroPie/roms/snes/dragon quest IV ...
              .
              I did a back up before I reinsalled retropie

              did you restore your save states by extracting the retropie_game_saves.tar.xz file after reinstalling RetroPie?
              tar -C /home/pi -xJf retropie_game_saves.tar.xz

              ? 1 Reply Last reply Reply Quote 0
              • ?
                A Former User @backstander
                last edited by

                @backstander yes but maybe my savestates are in another direktory do you know how I can check this or change this?

                mituM 1 Reply Last reply Reply Quote 0
                • B
                  backstander
                  last edited by backstander

                  @lkmaster
                  You can search for files by using something like this sudo find / -name "<filename>” Most of the save state files end is ".state" so I think you could do something like sudo find / -name ".state". I don't use the find function that much.

                  I personally like to use Locate instead!
                  To install Locate type:
                  sudo apt-get install locate

                  To update the database that Locate uses to find files and directories:
                  sudo updatedb

                  Now all you have to do is type this to find something:
                  locate <filename>

                  Example: to look for those ".state" files you would do this:
                  locate .state

                  The only downside to Locate is that you sometimes have to update the database (sudo updatedb) to make sure you get all the newest files in your search. Updating will also remove newly deleted files.

                  ? 2 Replies Last reply Reply Quote 0
                  • ?
                    A Former User @backstander
                    last edited by

                    @backstander
                    It's in /home/pi/RetroPie/roms/snes/dragon quest..

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by

                      Do I have to delet some thing or can I just try it again to coppy the files

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User @backstander
                        last edited by

                        @backstander it works thank you so much :)

                        BuZzB 1 Reply Last reply Reply Quote 1
                        • BuZzB
                          BuZz administrators @A Former User
                          last edited by

                          @lkmaster Your email is bouncing. Your have used a throw away email address. Change it to a working permanent email or I will have to remove your account. Thanks.

                          To help us help you - please make sure you read the sticky topics before posting - https://retropie.org.uk/forum/topic/3/read-this-first

                          1 Reply Last reply Reply Quote 0
                          • mituM
                            mitu Global Moderator @A Former User
                            last edited by

                            @lkmaster Replying to a 2 years old thread will not get you answers for the current version. Please start a new topic and state your problem/question there.

                            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.