PiSave: A tool to backup saves to dropbox
-
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.
-
Wow. Thanks, bro. That's exactly what I was looking for.
Are you accepting pull requests? Wonder if I could contribute. =)
-
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
-
@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
-
I've already fixed the upload issue. I had to edit the way I was doing regular expressions.
-
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).
-
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!
-
What type of saves it makes? Score, states...?
-
@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*').
-
@Marinho yep this. I've even updated since. My wiki shows how to update the script.
-
It could be nice if the backup could be uploaded to any server (not only Dropbox)
-
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?
-
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.
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.