View Single Post
Old 02-26-2025, 07:57 PM   #235
BaseballMan
Hall Of Famer
 
BaseballMan's Avatar
 
Join Date: Jan 2002
Posts: 6,408
Quote:
Originally Posted by jcato View Post
I had this problem on a project I'm working on. I cleaned up the teamID and franchiseID fields in the teams.csv. After that, the teamIDs didn't match the teamIDs in the era_ballparks.txt file. Making them match fixed it for me.

From what I can tell, OOTP first looks at the era_ballparks.txt for a matching teamID and uses the corresponding park name from that file. If no matching teamID, it uses the park name from the teams.csv file. In my case, the park names were different, so it didn't find the park to import.

Hope that's clear and helpful.
It was helpful. Thanks.

You were on the right track. I think i had some names in the path column that didn't match or i might have changed
the name in the ballpark folder. I'm gonna just try to change the name of the ballpark folder and not the contents.
I also realized that i had inserted a column in the era ballparks csv and had copied the path column to it for easier
editing. Problem was that i forgot to remove it.
Im trying to get everything automated so i don't have to import the parks every season.
Im borrowing some ballparks for ones we don't have and making a note of it.
Also getting rid of the II, III, IV etc for ballparks and just use the actual name.
I'm not sure about Polo Grounds but like we may call Yankee Stadium by the name Yankee Stadium II.
However at the stadium i believe it says Yankee Stadium.
BaseballMan is offline   Reply With Quote