View Single Post
Old 06-13-2006, 04:07 PM   #1 (permalink)
minnelli
Minors (Single A)
 
Join Date: Apr 2005
Posts: 78
OOTPSAVE Utility - Backup Restore Save

OOTPSAVE Utility



This batch job will save/update your league file. It only updates files that have changed since the last save. The best time to use it is after you save your game file. This will allow you to always go back and grab a good copy. I created this because of the save corruptions I kept encountered. Since this synchronizes the files, it will always capture new files and purge files that have been deleted by OOTP.

Required – WinRAR (http://www.rarlab.com/) – Install in default location.

Process:
Step 1 – Open up Windows Explorer to you saved games directory (i.e. c:\program files\ootp baseball 2006\data\saved_games\test123.lg)
Step 2 – Right click folder to create a new text document (right click – new – text document) File named New Text Document.txt will be created
Step 3 – Open the new document (New Text Document.txt) and Paste the following in the file

"c:\program files\winrar\rar" u -as -m1 -r -x*.rar OOTPSAVE.rar
pause

Step 4 – Save as OOTPSAVE.bat
Step 5 – Within Windows Explorer double click OOTPSAVE.bat

The first time this is run on a league it will take a few minutes, but have no fear, subsequent backups/updates will work a lot faster.

Code breakdown:
Rar – is the command line executable for winrar
u is the update switch
-as synchronizes the files
-r allows it to capture all the sub folders
-m1 makes it go faster than other compression formats
-x*.rar stops it from including other rar files in the folder
OOTPSAVE.rar can be anyname you want with a .rar
Pause shows you that it completed – if you remove it the window will disappear when the update is complete.

I’m sure a lot of folks can probably improve this, but I wanted to get something out that was working for me. Post any complaints here…I am not responsible for accidentally rar’ing up your whole drive and screwing something up…Give it a test and let us know what you think.

I look forward to your tweaks…

Kevin Minnelli

..................
Updated on June 26, 2006

Last edited by minnelli : 06-26-2006 at 05:17 PM.
minnelli is offline   Reply With Quote