Home | Webstore
Latest News: OOTP 13 THIRD Update Available: Version 13.3.9! - OOTP 13 Released! Download Now! - iOOTP 2012 Available NOW on the AppStore - Title Bout Championship Boxing 2.5 released!

Download OOTP 13 Now! | Download iOOTP 2012 from the AppStore

Go Back   OOTP Developments Forums > Earlier versions of Out of the Park Baseball > Earlier versions of OOTP: General Discussions

Earlier versions of OOTP: General Discussions General chat about the game...

Reply
 
LinkBack Thread Tools Display Modes
Old 06-23-2006, 04:31 AM   #21 (permalink)
Major Leagues
 
Join Date: Jan 2006
Location: Perth, Western Australia
Posts: 368
Thanks: 1
Thanked 2x in 2 posts
Got it working with WinRAR 3.51, but the more recent script didn't work. Had to use:

"c:\program files\winrar\rar" u -as -m1 -r -x*.rar OOTPSAVE.rar
pause
aewin is offline   Reply With Quote
Old 06-26-2006, 05:07 PM   #22 (permalink)
Minors (Single A)
 
Join Date: Apr 2005
Posts: 80
Thanks: 0
Thanked 0x in 0 posts
Glad you got it wokring. the -x*.zip was just to stop it zipping up the winzip files when I was testing, so your code is perfect for just .rar and game files.

How does it work with the demo verison?

Minnelli
minnelli is offline   Reply With Quote
Old 06-26-2006, 05:26 PM   #23 (permalink)
Major Leagues
 
Join Date: Jan 2006
Location: Perth, Western Australia
Posts: 368
Thanks: 1
Thanked 2x in 2 posts
doesn't work with demo version of WinRAR
aewin is offline   Reply With Quote
Old 06-26-2006, 06:01 PM   #24 (permalink)
Hall Of Famer
 
eriqjaffe's Avatar
 
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 5,236
Thanks: 15
Thanked 337x in 174 posts
Quote:
Originally Posted by aewin
Any chance of this utility working with a free command/program, eg XCOPY?
For those of you looking for a freeware equivalent, you can always use 7zip (www.7-zip.org).

All you need is the command-line version (which you can find on their "downloads" page). Unzip that somewhere into your %path%, (somewhere like c:\windows\system32 should be fine), and then you can run this command in a batch file from inside your league directory:

7za.exe u LEAGUEFILE.zip -up1q1r2x1y2z1w2 -x!*.zip,*.bat -tzip

syntax info:

1) The first "u" tells 7za that it's an update function (but it will create a new archive if one doesn't exist)
2) LEAGUEFILE.zip is the name of the file you want to create - you can call it anything. I don't know if putting in the extention here overrides the -t switch (see below) or not.
3) -up1q1r2x1y2z1w2 is 7za's way of telling it what to do with files if they are new/different/older/what have you - I took it right from 7-zip's help file.
4) -x!*.zip,*.bat will exclude all ZIP and BAT file from being added to the archive.
5) -tzip tells it to use the zip format. 7-zip can't create RAR files, but it can create the following: 7z, zip, gzip, bzip2 or tar.

7-zip isn't the fastest thing in the world, but it'll get the job done without any shareware nags.

I haven't tested it on OOTP, but I have tried it on some other directories and it works as expected.
__________________
Quote:
Originally Posted by rich12545 View Post
I don't believe I've EVER seen you make an actual contribution to a conversation.

Last edited by eriqjaffe; 06-26-2006 at 06:05 PM.
eriqjaffe is offline   Reply With Quote
Old 06-26-2006, 11:17 PM   #25 (permalink)
Minors (Single A)
 
Join Date: Apr 2005
Posts: 80
Thanks: 0
Thanked 0x in 0 posts
Good Find!!!
I got it working by installing 7zip and 7zip command line to c:\program files\7-zip

I used the following batch command:

"c:\program files\7-zip\7za.exe" u 7ZIPSAVE.zip -r -up1q1r2x1y2z1w2 -x!*.rar -x!*.zip -tzip

eriqjaffe's analysis of -up1q1r2x1y2z1w2 is dead on out of the manual - it's what you want to backup the update properly. I added -r for recursive directories.

I tried it with the last command -t7z instead on -tzip and changed the saved named to .7z but the .7z works on the first save but the 7z format does NOT allow updates!!!, so don't even try it until they update the 7z standard.

As for speed it is very similar to the using WinZip, which I mention earlier is a little slower with OOTP still opened. Testing went like this:
Forward game one day, Game - Save Game, wait, run bat file with tzip, then winzip, then winrar | times 58 seconds with both 7zip and winzip, 25 with winrar. The 7zip utility sped up a tad without compression, but the file was 360MB instead of the zip and rar size of about 60MB.

Bottom line for me I will stick with WinRar but the 7zip command line utility is a solid choice for anyone who does not own winrar or want to deal with the nags.

Kevin Minnelli
minnelli is offline   Reply With Quote
Old 06-27-2006, 09:13 AM   #26 (permalink)
Hall Of Famer
 
eriqjaffe's Avatar
 
Join Date: May 2003
Location: Under The Christmas Fish
Posts: 5,236
Thanks: 15
Thanked 337x in 174 posts
Quote:
Originally Posted by minnelli
I tried it with the last command -t7z instead on -tzip and changed the saved named to .7z but the .7z works on the first save but the 7z format does NOT allow updates!!!, so don't even try it until they update the 7z standard.
Actually, you can add the -ms=off switch, which turns off "solid" mode, and allows 7z archives to be updated.

The 7z format tends to have a higher compression ratio, but it's a bit slower getting there...so it may be a good option if you're somewhat cramped for disk space.
__________________
Quote:
Originally Posted by rich12545 View Post
I don't believe I've EVER seen you make an actual contribution to a conversation.
eriqjaffe is offline   Reply With Quote
Old 06-29-2006, 11:56 PM   #27 (permalink)
Hall Of Famer
 
fantom1979's Avatar
 
Join Date: Jul 2002
Location: Detroit, MI
Posts: 3,496
Thanks: 42
Thanked 48x in 25 posts
bump -- where are you going... get back on the first page where you belong.
fantom1979 is offline   Reply With Quote
Old 07-12-2006, 01:55 PM   #28 (permalink)
Major Leagues
 
fauteuil7's Avatar
 
Join Date: Nov 2003
Location: Central NJ
Posts: 331
Thanks: 0
Thanked 0x in 0 posts
Any chance of getting this thread sticky-ed? I saw it, forgot about it, just found it again, and wish I had it before my crash yesterday that corrupted my league database.

This is a great utility!
fauteuil7 is offline   Reply With Quote
Old 08-02-2006, 11:01 AM   #29 (permalink)
Minors (Single A)
 
Join Date: Apr 2005
Posts: 80
Thanks: 0
Thanked 0x in 0 posts
Bump
minnelli is offline   Reply With Quote
Old 08-03-2006, 02:51 AM   #30 (permalink)
Hall Of Famer
 
Giants44's Avatar
 
Join Date: Dec 2001
Posts: 2,039
Thanks: 25
Thanked 63x in 27 posts
this works fine

I still miss the in-game full backup and restore which worked perfectly for years.
__________________
"In a text sim - Immersion is everything"
-Me

"Judge a man not by the color of their skin, but by the content of their character"
-Martin Luther King

"Not everything that counts can be counted, and not everything that can be counted counts."
-Einstein

"The man who views the world at 50 the same as he did at 20 has wasted 30 years of his life."
-Muhammad Ali

"Baseball statistics are like a girl in a bikini. They show a lot, but not everything."
-Toby Harrah
Giants44 is offline   Reply With Quote
Old 08-03-2006, 03:28 AM   #31 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 6,720
Thanks: 200
Thanked 1,393x in 513 posts
I've added a link to this thread to the "Backups" thread in the FAQ forums
Andreas Raht is offline   Reply With Quote
Old 08-03-2006, 02:19 PM   #32 (permalink)
Major Leagues
 
Beach23BoyP's Avatar
 
Join Date: Apr 2002
Location: Spring, Tx
Posts: 407
Thanks: 0
Thanked 1x in 1 post
Quote:
Originally Posted by minnelli
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.
Thanks!
Beach23BoyP is offline   Reply With Quote
Old 11-30-2006, 05:18 PM   #33 (permalink)
All Star Starter
 
zekester91's Avatar
 
Join Date: Oct 2005
Posts: 1,122
Thanks: 0
Thanked 1x in 1 post
Bume since a couple of backup questinos came up
zekester91 is offline   Reply With Quote
Old 12-01-2006, 03:45 AM   #34 (permalink)
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 6,720
Thanks: 200
Thanked 1,393x in 513 posts
No need to bump this thread! There's a link to it in the FAQ!
Andreas Raht is offline   Reply With Quote
Old 12-05-2006, 11:34 AM   #35 (permalink)
All Star Starter
 
zekester91's Avatar
 
Join Date: Oct 2005
Posts: 1,122
Thanks: 0
Thanked 1x in 1 post
We have a FAQ section?????

And how many of us read the FAQs, besides there is a lot more traffic here than in the FAQ.
zekester91 is offline   Reply With Quote
Old 12-06-2006, 12:21 PM   #36 (permalink)
Minors (Double A)
 
Burto1945's Avatar
 
Join Date: Oct 2003
Location: Springfield, IL
Posts: 144
Thanks: 4
Thanked 0x in 0 posts
Anyone use IZarc?

Great utility here, I just noticed it. Is there any way one of you command line gurus could set up a batch file for IZarc? It uses almost all of the different file types that people would usually use, all in one program, with command line capability. (As of now, it can't create RAR, but it can extract from them). I haven't tried any of the batch files listed here (as I dont want to fudge up my files), but I would like to know if there is something similar to this 'auto backup' I could use. Thanks for any help.

www.izarc.org
__________________
"Baseball. The Boston Celtics and the Los Angeles Lakers could be playing for the championship, and I'd rather be here watching the Angels and Yankees."
--John Wooden, on his favorite sport (Los Angeles Times, 2005)
Burto1945 is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 02:56 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Search Engine Friendly URLs by vBSEO 3.6.0
Copyright © 2009 Out of the Park Developments