|
|
#1 (permalink) |
|
Hall Of Famer
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 |
|
|
|
|
|
#2 (permalink) | |
|
All Star Starter
Join Date: Apr 2004
Location: Not Here
Posts: 1,226
Thanks: 0
Thanked 0x in 0 posts
|
Quote:
__________________
Beer Snob and Baseball Sim Geek |
|
|
|
|
|
|
#3 (permalink) |
|
Major Leagues
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.
|
|
|
|
|
|
#4 (permalink) |
|
Hall Of Famer
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 |
|
|
|
|
|
#6 (permalink) |
|
All Star Starter
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. |
|
|
|
|
|
#7 (permalink) |
|
Hall Of Famer
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 |
|
|
|
|
|
#8 (permalink) |
|
All Star Starter
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.
|
|
|
|
|
|
#9 (permalink) | |
|
Global Moderator
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 282
Thanked 332x in 190 posts
|
Quote:
__________________
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 |
|
|
|
|
|
|
#10 (permalink) |
|
Minors (Triple A)
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. |
|
|
|
|
|
#11 (permalink) | |
|
Global Moderator
Join Date: Nov 2002
Location: Vancouver
Posts: 7,623
Thanks: 282
Thanked 332x in 190 posts
|
Quote:
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 |
|
|
|
|
|
|
#12 (permalink) |
|
All Star Starter
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 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" Code:
"Hit For The Cycle.lg\*.dat" "Hit For The Cycle.lg\*.txt" Code:
"Hit For The Cycle.lg\LEAGUE_NEWS_BOX\box*.html" "Hit For The Cycle.lg\LEAGUE_NEWS_BOX\log*.html" Here are some examples and what they would do Code:
createleaguefile 20041009 Delta deltafiles.lst Code:
createleaguefile 2004 FullwithBoxLog deltafiles.lst Code:
createleaguefile 2004 FULL Code:
createleaguefile 2004 leaguefiles.lst Code:
createleaguefile 2004 htmlfiles.lst |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|