|
||||
| ||||
|
|||||||
| Earlier versions of OOTP: Technical Support Do you have a copy of OOTP Baseball 2006? Are you in need of help and assistance in running the game or do you have errors that you need help in resolving? This is your place! |
![]() |
|
|
Thread Tools |
|
|
#1 |
|
Minors (Single A)
Join Date: Oct 2002
Location: Connecticut
Posts: 61
|
What Lahman tables are used on import?
I've written some code to take old BBPro all_stat reports and convert them into Lahman tables/csv files. I've recreated the following files
master.csv batting.csv pitching.csv fielding.csv FieldingOF.csv Salaries.csv teams.csv teammaster.csv I seem to be able to create a league in OOTP5 using just those tables from the actual Lahman data. However, I'm getting some problems with my jury-rigged data. When I go to create a historical league, it says Creating League. Then it goes to import players and does not actually import any. Then it saves the league and I get an error box: Year not found in database. When I click OK, it goes and generates the coaches and schedules. When it brings me into the league, there is no team info and no players. The jury rigged data has years of 2014 for all the data and that is the year I'm trying to import. Any ideas or help would be wonderful. Thanks. |
|
|
|
|
|
#2 |
|
Minors (Single A)
Join Date: Oct 2002
Location: Connecticut
Posts: 61
|
OK, I fixed one problem. The players are importing now. There is a non-documented row at the beginning of the master table. It looks like it is just an incremental counter. Once I added that the players imported.
Still getting nothing for the teams though. |
|
|
|
|
|
#4 |
|
All Star Starter
Join Date: Feb 2002
Location: CT
Posts: 1,072
|
When you create the Master.CSV file you must make sure that EVERY field is surrounded by " unless its ONLY a number value. I found out that when Excel saves a CSV file it takes out the " on all of the fields.
|
|
|
|
|
|
#5 |
|
Minors (Single A)
Join Date: Oct 2002
Location: Connecticut
Posts: 61
|
Is that for OOTP5 as well? I knew that was the case in version 4, but it seems to be importing the players fine without the quotes in v5.
THere is a problem when it's creating the teams. I get that error above and then the game crashes when it tries to do the schedule. If I go back into the game, the teams are there but they are all labeled (A) or (N). The players are on the correct teams and the abbreviation is fine, but the team name and nickname is missing. Also, the Stadium is listed as the team name. I think I'll go back over the teams.csv and see if maybe I'm missing a column somewhere. That seems to be the most likely culprit. |
|
|
|
![]() |
| Bookmarks |
|
|