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

    PiSave: A tool to backup saves to dropbox

    Scheduled Pinned Locked Moved Ideas and Development
    pisave
    13 Posts 5 Posters 3.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.
    • F
      FreakyBigFoot
      last edited by FreakyBigFoot

      I found myself constantly losing saves while tinkering with my RetroPie setup. So I decided to create a tool to back them up. I then took it step further and created PiSave.

      It's still a work in progress! This is my first python project. My theme is setup to work with carbon but I'm sure some of you know how to get it to work with others if need be. I still am writing a Restore script so you can take your saves back off of Dropbox and put them on your Pi.

      If you have any questions I will do my best to help.

      Wiki: http://www.freakybigfoot.com/pisave.php

      1 Reply Last reply Reply Quote 4
      • M
        Marinho
        last edited by

        Wow. Thanks, bro. That's exactly what I was looking for.

        Are you accepting pull requests? Wonder if I could contribute. =)

        1 Reply Last reply Reply Quote 0
        • F
          FreakyBigFoot
          last edited by

          Sure! I've not really ever worked on a project like this on GitHub. You just do a pull and any changes I can review right?

          Also I did find a bug. I didn't do my re.search() correctly. It backs up anything with srm or a combination of to dropbox. Exampe: filenamerm / filenamesr

          M 1 Reply Last reply Reply Quote 0
          • M
            Marinho @FreakyBigFoot
            last edited by

            @FreakyBigFoot Yep. You can review it and, if you think the changes make any sense, add the commit to the project.

            I'm new into python. I've been working more from the Java side of the Force. But practice makes perfection so I think we can do fine. =D

            1 Reply Last reply Reply Quote 0
            • F
              FreakyBigFoot
              last edited by

              I've already fixed the upload issue. I had to edit the way I was doing regular expressions.

              1 Reply Last reply Reply Quote 0
              • R
                robertybob
                last edited by

                I wonder if, once you've got the scripts sorted, whether this kind of thing could be implemented into Emlationstation by @fieldofcows ..just to make it user friendly really. I think it would be amazing if you could backup and restore saves using the GUI of Emulationstation without having to get a keyboard out to run a script (or if you didn't want your saves to be backed up automatically).

                1 Reply Last reply Reply Quote 1
                • F
                  FreakyBigFoot
                  last edited by

                  That would be pretty awesome! Right now the way I have it setup it actually adds an 'emulator' menu with a logo I created and you run it when you want. I think it would be pretty cool to have this be a part of the project!

                  1 Reply Last reply Reply Quote 0
                  • K
                    Kukez
                    last edited by

                    What type of saves it makes? Score, states...?

                    M 1 Reply Last reply Reply Quote 0
                    • M
                      Marinho @Kukez
                      last edited by Marinho

                      @Kukez You can configure it to backup any file extension you want.

                      The default, as stated in the Project Wiki, is: ('.state*|.srm*|.dat*|.nv*|.hi*|.hs*|.cfg*|.fs*|.eep*').

                      F 1 Reply Last reply Reply Quote 1
                      • F
                        FreakyBigFoot @Marinho
                        last edited by

                        @Marinho yep this. I've even updated since. My wiki shows how to update the script.

                        1 Reply Last reply Reply Quote 0
                        • K
                          Kukez
                          last edited by

                          It could be nice if the backup could be uploaded to any server (not only Dropbox)

                          1 Reply Last reply Reply Quote 0
                          • A
                            Aksen
                            last edited by

                            I registered to comment on this thread - I found the PiSave tool through google and am planning to install it tonight. I have a feeling I'm gonna be using my Pi for a lot of RPGs this year and don't want to lose my saves!!

                            From what i've seen, this tool might be the best "set and forget" solution. I wish it was implemented in the main script so I could more easily keep it up to date.

                            @FreakyBigFoot Is there anything I should worry about breaking? Anything to look out for?

                            1 Reply Last reply Reply Quote 0
                            • F
                              FreakyBigFoot
                              last edited by FreakyBigFoot

                              Glad to hear! I've been really busy working a couple jobs. I'll be finishing up the syncing script here shortly so you'll be able to download the game saves back to your rom directories. It would be cool to get this to be a part or RetroPie!

                              There shouldn't be anything to worry about as far as I can tell. Let me know if you find anything and I'll look into it.

                              1 Reply Last reply Reply Quote 1
                              • 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.