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: Online Leagues

Reply
 
LinkBack Thread Tools Display Modes
Old 10-08-2004, 09:33 PM   #1 (permalink)
Hall Of Famer
 
phenom's Avatar
 
Join Date: Mar 2003
Location: Near the Great Wall. On the GOOD side.
Posts: 3,302
Thanks: 9
Thanked 110x in 57 posts
DAT league file question

are there any DAT files I can exclude from a DAT file zip for a league file? After 104 years of sims, my DAT zip file is pretty big (7+ MB). The retired.dat file is 5MB of that (compressed).

help me?
__________________
reported
phenom is offline   Reply With Quote
Old 10-08-2004, 09:40 PM   #2 (permalink)
All Star Starter
 
jnshmoo's Avatar
 
Join Date: Apr 2004
Location: Not Here
Posts: 1,226
Thanks: 0
Thanked 0x in 0 posts
Quote:
Originally Posted by phenom
are there any DAT files I can exclude from a DAT file zip for a league file? After 104 years of sims, my DAT zip file is pretty big (7+ MB). The retired.dat file is 5MB of that (compressed).

help me?
Being a member of the league he is working on, I would like to second his request.
__________________
Beer Snob and Baseball Sim Geek

jnshmoo is offline   Reply With Quote
Old 10-08-2004, 09:41 PM   #3 (permalink)
Major Leagues
 
gubaru's Avatar
 
Join Date: Apr 2004
Location: Tyrone, PA
Posts: 326
Thanks: 0
Thanked 0x in 0 posts
The retired.dat file is only necessary if you want to allow the owner to view hall of fame & other retired players in the game. You can leave it out without hurting anything.
gubaru is offline   Reply With Quote
Old 10-08-2004, 09:48 PM   #4 (permalink)
rem
Hall Of Famer
 
rem's Avatar
 
Join Date: Jul 2003
Location: College Park, Md.
Posts: 4,998
Thanks: 7
Thanked 7x in 5 posts
You also only need to download that retired file once a season and things will still work correctly. I'd suggest only including the retired file in the lagre file, although maybe have a seperate link for it.
__________________
Born To Play: Commissioner, Baltimore Orioles GM
MLB 93: Baltimore Orioles
OTBA: Washington Filibusters

2005 Winner of LL's Pick the Loser Contest! - 15-0
rem is offline   Reply With Quote
Old 10-08-2004, 10:42 PM   #5 (permalink)
Hall Of Famer
 
phenom's Avatar
 
Join Date: Mar 2003
Location: Near the Great Wall. On the GOOD side.
Posts: 3,302
Thanks: 9
Thanked 110x in 57 posts
okay, good. screw the owners wanting HOF history.

thanks for the help!
__________________
reported
phenom is offline   Reply With Quote
Old 10-08-2004, 10:55 PM   #6 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
I have a simple batch file that combined with (WinRAR which you can download for free) lets you grab only the absolutely necessary files for the league files that have changed on your sim date.

So after each sim, you use this batch file and it will only zip up the necessary files that have changed. Makes it very easy to grab the only boxscores/gamelogs for that sim. Then your GMs can get everything (including the boxscores/logs) in one small download (less the 4MBs for a 2 week sim).

The catch is the GMs must never erase their league file directory. After each update they simply extract into it and they always stay in synch and up to date.

I also have a batch file that creates a full league file w/o boxscores/gamelogs. And another batch file that creates a zip that only contains the box/logs.

As long as you have a rudimentary understanding of your computer its pretty simple to use and keeps your files lean and mean.

Obviously your "full" league file would be fairly large with 100 years of history in it, but your GMs would only have to download it once or only after it has been modified for some reason.

Post if your interested and I can post the batch files here with explanation.
__________________
Dave
HFTC Commish
DaveHorn is offline   Reply With Quote
Old 10-08-2004, 11:03 PM   #7 (permalink)
rem
Hall Of Famer
 
rem's Avatar
 
Join Date: Jul 2003
Location: College Park, Md.
Posts: 4,998
Thanks: 7
Thanked 7x in 5 posts
What happens if a gm misses an update?
__________________
Born To Play: Commissioner, Baltimore Orioles GM
MLB 93: Baltimore Orioles
OTBA: Washington Filibusters

2005 Winner of LL's Pick the Loser Contest! - 15-0
rem is offline   Reply With Quote
Old 10-09-2004, 12:53 AM   #8 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
Nothing typically, but if they were out of date their file could not be submitted just like any league. But if they skipped one and then got the next one they'd be fine because the necessary league files that change when you do a sim are all the necessary files to submit. But for example, in the case above, the retired.dat would only be included in the sim in which it changed. So if the GM doesn't happen to pull down that file, if they decide they wanted the retired.dat later, they just have to resynch by pulling down the full file.
__________________
Dave
HFTC Commish
DaveHorn is offline   Reply With Quote
Old 10-09-2004, 07:10 AM   #9 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 282
Thanked 332x in 190 posts
Quote:
Originally Posted by DaveHorn
I have a simple batch file that combined with (WinRAR which you can download for free) lets you grab only the absolutely necessary files for the league files that have changed on your sim date.

So after each sim, you use this batch file and it will only zip up the necessary files that have changed. Makes it very easy to grab the only boxscores/gamelogs for that sim. Then your GMs can get everything (including the boxscores/logs) in one small download (less the 4MBs for a 2 week sim).

The catch is the GMs must never erase their league file directory. After each update they simply extract into it and they always stay in synch and up to date.

I also have a batch file that creates a full league file w/o boxscores/gamelogs. And another batch file that creates a zip that only contains the box/logs.

As long as you have a rudimentary understanding of your computer its pretty simple to use and keeps your files lean and mean.

Obviously your "full" league file would be fairly large with 100 years of history in it, but your GMs would only have to download it once or only after it has been modified for some reason.

Post if your interested and I can post the batch files here with explanation.
I use winzip to grab only the changed files so I don't really need them, but I'd like to look at your batch files just to see how they work. Thanks.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline   Reply With Quote
Old 10-09-2004, 09:56 AM   #10 (permalink)
Minors (Triple A)
 
clutch's Avatar
 
Join Date: Jul 2004
Location: Valley of Nod
Posts: 248
Thanks: 0
Thanked 0x in 0 posts
Me too. Right now, I just go into file details and zip only files that have changed during the sim by looking at the date.
__________________
Favorite:

Baseball Team: Philadelphia Phillies
Football Team: Miami Dolphins
Race Car Driver: Dale Earnhardt Jr.
clutch is offline   Reply With Quote
Old 10-09-2004, 10:23 AM   #11 (permalink)
Global Moderator
 
kq76's Avatar
 
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 282
Thanked 332x in 190 posts
Quote:
Originally Posted by clutch
Me too. Right now, I just go into file details and zip only files that have changed during the sim by looking at the date.
There's another way to do it via WinZip as PLG explains at: Online league export file size

Basically, right-click on your lg folder, select WinZip, Add to Zip File, check "Include only..." and check "Reset Archive...", then click Add. It takes about 10 seconds. You should read the explanation to understand what it's doing though.
__________________
Useful Links: Manuals | Downloads | Newsletters | Knowledge Base | New Tech Support | Updated Forum Rules

Interactive Online League Directory - find or advertise a league today!
Canadian Baseball League - uses OOTP11, running steadily since April 2002
kq76 is offline   Reply With Quote
Old 10-09-2004, 01:33 PM   #12 (permalink)
All Star Starter
 
DaveHorn's Avatar
 
Join Date: Aug 2003
Posts: 1,141
Thanks: 1
Thanked 1x in 1 post
I'm aware of the GUI methods to create the league file, but I prefer the batch file method because its much faster and because by making different copies of a single text file, I can create all sorts of backups; the delta file, the full file, the html file, a logo file, a player facepack, etc.

Here is the main cmd file

*** createleaguefile.cmd
Code:
del "Hit For The Cycle%2.zip"
set path=%path%;c:\program files\winrar
winrar a -ta%1 -r "Hit For The Cycle%2" @%3
copy "Hit For The Cycle%2.zip" d:\hitforthecycle
You pass 3 things to the batch file on the command line. The first param just give the league file its name. The second the date from which to start collecting files. And the third points it to the file that contains the file list. Here are some examples.

Here are examples of 3 files list files I use

*** detafiles.lst
Code:
"Hit For The Cycle.lg\*.dat"
"Hit For The Cycle.lg\*.txt"
"Hit For The Cycle.lg\LEAGUE_NEWS_BOX\box*.html"
"Hit For The Cycle.lg\LEAGUE_NEWS_BOX\log*.html"
*** leaguefiles.list
Code:
"Hit For The Cycle.lg\*.dat"
"Hit For The Cycle.lg\*.txt"
*** htmlfiles.lst
Code:
"Hit For The Cycle.lg\LEAGUE_NEWS_BOX\box*.html"
"Hit For The Cycle.lg\LEAGUE_NEWS_BOX\log*.html"
To get ALL files in the file list and not files from a certain date forward, the second parameter is simply an invalid date. To get ALL files in your league directory and not use a file list simply don't pass a third parameter.

Here are some examples and what they would do

Code:
createleaguefile 20041009 Delta deltafiles.lst
Creates the delta file, grabbing ONLY the files that changed on or after 10/09/2004.

Code:
createleaguefile 2004 FullwithBoxLog deltafiles.lst
Since 2004 is in invalid date, it simple grabs all files. This would create a full league file download that contains the boxscores and gamelogs.

Code:
createleaguefile 2004 FULL
This simply creates a backup of the ENTIRE directory since the date is invalid and the 3rd parameter was left off.

Code:
createleaguefile 2004 leaguefiles.lst
Creates a full league file that does not include the boxscores/logs

Code:
createleaguefile 2004 htmlfiles.lst
Creates a full zip of all only all boxscores/logs.
__________________
Dave
HFTC Commish
DaveHorn 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 03:20 AM.


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