Matrix Games Forums

Forums  Register  Login  Photo Gallery  Member List  Search  Calendars  FAQ 

My Profile  Inbox  Address Book  My Subscription  My Forums  Log Out

OOTB6 csv schedule files for import?

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
  Printable Version
All Forums >> [Current Games From Matrix.] >> [Sports] >> PureSim Baseball >> OOTB6 csv schedule files for import? Page: [1]
Login
Message << Older Topic   Newer Topic >>
OOTB6 csv schedule files for import? - 6/26/2006 7:20:18 AM   
risk_doc

 

Posts: 21
Joined: 5/7/2006
Status: offline
I am currently playing with small leagues (8 teams, 2 divisions), shorter (40 or 60 games) schedules and find the default schedules to be very unbalanced. I noticed PSB7 has the option to import OOTB6 csv format schedules. Does anyone know of a good website with sample schedules in this format? Also, has anyone written a utility to generate these csv format schedule files based upon user input criteria?

Also, Shawn mentions to possibility of exporting schedules directly from PSB7 and editing them. Does anyone know how this can be done?

Thanks for your help.
Post #: 1
RE: OOTB6 csv schedule files for import? - 6/26/2006 7:34:29 AM   
DandricSturm


Posts: 492
Joined: 8/7/2005
Status: offline
Try THESE

< Message edited by DandricSturm -- 6/26/2006 7:37:50 AM >


_____________________________



"The Guns, Thank God, The Guns..." - Rudyard Kipling
http://www.bluemax-ara-assoc.com/

(in reply to risk_doc)
Post #: 2
RE: OOTB6 csv schedule files for import? - 6/28/2006 12:29:00 AM   
KG Erwin


Posts: 8981
Joined: 7/25/2000
From: Cross Lanes WV USA
Status: offline
Dandric, thank you for pointing out that source.  In Pure Sim, the Retrosheet schedules only work with the 35-man historical associations.  These imported OOTP schedules were the missing link, so to speak.   

(in reply to DandricSturm)
Post #: 3
RE: OOTB6 csv schedule files for import? - 6/28/2006 1:05:42 AM   
risk_doc

 

Posts: 21
Joined: 5/7/2006
Status: offline
Dandricsturm,

Thanks for the information.  BTW, I have figured out how to take the OOTP4 output from the Stickware application and convert it to an OOTP6 format that can be used with PSB7.  The procedure that i use is as follows:

1) create a Stickware schedule with teams labeled 1 through (no of teams), put them in a divisional structure and if you only have one league, remember that stickware requires teams in both leagues, also the team number corresponds to the team order in the PSB7 league (ie., Team 1 = 1st team in first division within first league and so forth),

2) once a Stickware schedule has been successfully created, import the resultant text file into Excel,

3) within Excel delete all of the rows down to the first scheduled game under "Team 1", also delete all rows following the last game under the last team,

4) within Excel, select the first column and go to the "Data" menu and select "Text to Columns", when the dialog pops up, select "Delimited" and "space" options, and proceed, this should put the date in the first column, time in the second column, away team number in third column, "@ or vs" in the fourth column, and home team number in the fifth column,

5) insert a row prior to the first row and create column headings, names can be anything descriptive,

6) take mouse, drag and highlight all data including column headings, go to "Data" menu, select "Filter" and then "Autofilter",

7) select the fourth column and filter for blanks, highlight and delete filtered rows, then select any other characters ("vs", "Allstar" if break, etc.), filter and delete rows, THE OBJECTIVE IS TO DELETE ALL ROWS EXCEPT THOSE WITH "@" IN THE FOURTH COLUMN,

8) make sure the first column is in Excel date format then insert a blank column following the first column.  This column with hold the day number (ie., days since Dec 31st of previous year, ignoring leap year days),

9) off to the side of the dataset in its own cell, type in the last day of the year prior to the first date in the date row.  For example, if the dates begin with "4/2/2002", then the date in this cell should be "12/31/2001" (note: the year and actual dates are irrelevant when importing into PSB7, only the relative days between the games).  Name this cell using Excel's range name function (any name will do),

10) in the inserted second column type in a formula that subtracts the named date (from #9 above) from the date in the first row, format this value as a "default" number (ie. will be an integer value between 1 and 365), copy the formula down through the entire dataset,

11) highlight the data in the second column, select "Edit/Copy" and then repaste as "Values" to replace the formalae with numeric values,

12) Delete the first column with the actual dates, the imported "Time" column, and the column with the "@" values in it,

13) Delete all of the descriptive names in the first row and replace with a comment (starts with the "#" character), comment can be anything.  IMPORTANT: PSB7 WILL NOT IMPORT THE CSV FILE UNLESS IT CONTAINS A COMMENT IN THE FIRST ROW,

14)append a column of times (i.e., 7 = 7:00 pm EST) right after the final column, I usually just put "7" in each cell and copy (i don't believe that PSB7 uses this field),

15) Finally, save the file as a csv file from Excel.

16) If imported into a text editor, the file should look as follows:

#(any comments here)
91,1,3,7                     */ day number, away team #, home team #, time
91,2,4,7
etc.

When you import the file into PSB7, if it imports successfully it will ask you for a starting date, the first day number in your data file will be set to that date.

Hope this is of some use to you all.  If you have any questions, just post to this thread and I will try to answer.

Riskdoc

(in reply to KG Erwin)
Post #: 4
RE: OOTB6 csv schedule files for import? - 6/28/2006 1:45:17 AM   
KG Erwin


Posts: 8981
Joined: 7/25/2000
From: Cross Lanes WV USA
Status: offline
Riskdoc, why go through all that trouble when the historical schedules are already provided? 

If I want to use a historical setup for any given year, whether with 50 or 60-man draft rosters,   I can import the OOTP schedule with no problem.  

I only say that because I was totally lost on your technical jargon.  Sorry. 

(in reply to risk_doc)
Post #: 5
RE: OOTB6 csv schedule files for import? - 6/28/2006 9:23:47 AM   
DandricSturm


Posts: 492
Joined: 8/7/2005
Status: offline
quote:

ORIGINAL: KG Erwin

Riskdoc, why go through all that trouble when the historical schedules are already provided?

If I want to use a historical setup for any given year, whether with 50 or 60-man draft rosters, I can import the OOTP schedule with no problem.

I only say that because I was totally lost on your technical jargon. Sorry.


Well, I don't like the historical schedules because most of them are not balanced. I try to play only with completely balanced schedules. I have made some of my own but now I use only ones from the OOTP Mods forum.

I have 5 different 144 game schedules for a 16 team association each with different interleague play. I rotate them in a five year cycle.

_____________________________



"The Guns, Thank God, The Guns..." - Rudyard Kipling
http://www.bluemax-ara-assoc.com/

(in reply to KG Erwin)
Post #: 6
RE: OOTB6 csv schedule files for import? - 6/28/2006 6:48:39 PM   
risk_doc

 

Posts: 21
Joined: 5/7/2006
Status: offline
KG Erwin,

I am not playing a historical league, I am using a fictional league with 8 teams in two divisions.  Also, I like to regenerate a new schedule each year.

Sorry about being too technical, just thought it would be good to share with the group.

riskdoc

(in reply to DandricSturm)
Post #: 7
Page:   [1]
All Forums >> [Current Games From Matrix.] >> [Sports] >> PureSim Baseball >> OOTB6 csv schedule files for import? Page: [1]
Jump to:





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts


Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI

2.984