Home | Webstore
Latest News: OOTP 26 Available - FHM 12 Available - OOTP Go! Available

Out of the Park Baseball 26 Buy Now!

  

Go Back   OOTP Developments Forums > Out of the Park Baseball 26 > OOTP Mods > OOTP Mods - Rosters, Photos, and Quick-Starts

Reply
 
Thread Tools
Old 07-31-2006, 04:36 PM   #1
BMW
Hall Of Famer
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 2,030
Pseudo-Lahman database problems: Any suggestions?

I'm having issues trying to create a pseudo-Lahman Db. I'm using the same tables as the ARod23 database:

Master.csv
Teams.csv
TeamsFranchises.csv
Batting.csv
Pitching.csv
Fielding.csv
Fieldingof.csv

Unfortunatly my pseudo-Lahman db doesn't import. Since the error message is non-descript in what the problem is, (It just says something like "Historical Season cannot be imported!") I can't debug it efficiently.

I took care to actually use the identical MSAccess structure that Lahman uses and then export it to CSV.

I've tinkered different formats of the PlayerIDs (even though they should have provided a proper Primary => Foreign key relation), the Stint field that is present in most of the tables, the length of the TeamID and FranID fields (since Lahman seemed to always use all 3 characters allocated for the field length), even though these seem to be trivial issues. I've removed all the February 29th birthdays, parsed commas out of the nameNick and college fields (even though the actual Lahman csv DB seems to have commas in the nameNick field).

None of these seem to have worked. The ARod23 and Lahman csv files do import properly, so it shouldn't be something like a funky install.

Any ideas?
BMW is offline   Reply With Quote
Old 08-01-2006, 12:04 AM   #2
BMW
Hall Of Famer
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 2,030
Unhappy

I need more feedback than "Error: Historical Season cannot be imported!"
BMW is offline   Reply With Quote
Old 08-01-2006, 04:26 AM   #3
blackrussian
All Star Reserve
 
blackrussian's Avatar
 
Join Date: Apr 2002
Posts: 954
while i cant shed too much light for you, ive had the exact same problem when trying to create my own custom lahman db...and i cant for the life of me figure out why it wont import. i spent literally two days combing through every possible detail (referencing the original and mods like arod23/garlon's) and still no success.

the strange part is that i can import individual players but not full seasons. any of the db makers have ideas? i can post my files for someone to look at.
__________________
v'
blackrussian is offline   Reply With Quote
Old 08-01-2006, 10:56 AM   #4
BMW
Hall Of Famer
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 2,030
http://www.cbabaseball.com/cbadb.zip is the location of my files.
BMW is offline   Reply With Quote
Old 08-01-2006, 11:44 AM   #5
Nukester
All Star Starter
 
Nukester's Avatar
 
Join Date: Dec 2001
Location: Newburgh, NY
Posts: 1,923
Ill take a peek too
Nukester is offline   Reply With Quote
Old 08-01-2006, 11:51 AM   #6
andymac
Hall Of Famer
 
andymac's Avatar
 
Join Date: Feb 2002
Location: Effingham, IL
Posts: 5,725
I have had this problem when there is an extra line left at the bottom of your csv file. Make sure you don't have a blank line in any of your files.
__________________
June Madness: Links

FTB: andymac
andymac is offline   Reply With Quote
Old 08-04-2006, 03:03 PM   #7
BMW
Hall Of Famer
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 2,030



I finally discovered the biggest stumbling block when importing a user-created database.

My guess is that OOTP is hard-coded to recognize two leagues, "AL" and "NL". (Perhaps the FL (Federal League 1914-1915, but I didn't test this.) This is how the data imports and you magically see the American League (with DH) and the National League (without DH). If you look at the csv files, there is no place where the full name of the league is stored, and certainly no info about league rules.

So as soon as I converted by league acronyms in the Teams.csv file from "UL" and "FL" to "AL" and "NL", the import started.
BMW is offline   Reply With Quote
Reply

Bookmarks


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

Forum Jump


All times are GMT -4. The time now is 01:50 PM.

 

Major League and Minor League Baseball trademarks and copyrights are used with permission of Major League Baseball. Visit MLB.com and MiLB.com.

Officially Licensed Product – MLB Players, Inc.

Out of the Park Baseball is a registered trademark of Out of the Park Developments GmbH & Co. KG

Google Play is a trademark of Google Inc.

Apple, iPhone, iPod touch and iPad are trademarks of Apple Inc., registered in the U.S. and other countries.

COPYRIGHT © 2023 OUT OF THE PARK DEVELOPMENTS. ALL RIGHTS RESERVED.

 

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright © 2024 Out of the Park Developments