Renpy backup saves

A place for Ren'Py tutorials and reusable Ren'Py code.
Forum rules
Do not post questions here!

This forum is for example code you want to show other people. Ren'Py questions should be asked in the Ren'Py Questions and Announcements forum.
Post Reply
Message
Author
User avatar
Andredron
Miko-Class Veteran
Posts: 719
Joined: Thu Dec 28, 2017 2:37 pm
Location: Russia
Contact:

Renpy backup saves

#1 Post by Andredron »

https://github.com/dtx3k/renpy-backup-saves

Python script to backup all your ren'py saves to a single location
This Script wil copy from every game folder the saves and copied them to a new folder in the root of the main directory. (you'll need all your games in the same folder though)

If your games are in c:\renpygames (c:\renpygames\game1, c:\renpygames\game2, etc)

you make a directory for example "_backup"
c:\renpygames\_backup

and edit the renpy-bckup.py to have your folder paths
alwayy use forward slashes even on windows -> /
when defining your path, the script will handle it ;) it is intended to be OS independent thats why.

Code: Select all

base_dir = "C:/_share/_game/VN/" # folder where your games are, change to your directory

backup_folder = "_backup" #backup folder !! NO SLASHES !! make shure it exists inside base_dir
run the script : python renpy-bckup.py

this wil make a new folder for every game inside _backup with the name of the game, inside there are the copies of all the saves for your save keeping

Example:
c:\renpygames\_backup\game1\save1.save
c:\renpygames\_backup\game2\save1.save

Post Reply

Who is online

Users browsing this forum: No registered users