This script was written after seeing several people lose weeks or months of work due to unexpected computer failures (power-outage, hardware failure, etc). For some reason, when RM crashes, there is a chance that some or all of the data files will be wiped out.
This problem only seems to affect data files, so my solution is to regularly create back-ups. This can be done manually, but if you are not conditioned to create backups regularly it may be useful to have a script automatically do it for you.
If your project still does not load after restoring the backups, try replacing the rvproj2 file with a new one.
Script: download here
If your backups are still corrupted after computer failure, report it and I will look into the issue.
Copy into your project and it will run automatically everytime you playtest.
Each backup copies all of your data files into a separate folder. The name of the folder is the time-stamp that the backup was run, which is a combination of the current year, month, date, hour, minute, and second.
There are a few configuration options but they don’t do much.
- Run_Script – whether the script will run
- Backup_Path – where the backups will be created. This is rooted in your project directory