Latest News: OOTP PATCH 9.2.2 released! - OOTP 9 RELEASED! - Title Bout Championship Boxing 2.5 released! - OOTP 2007 receives Editors Choice Award from PC Gamer - Inside the Park Baseball Patch 1.03 released, DEMO now available

Click here to download Out of the Park Baseball 9!

Go Back   OOTP Developments Forums > OUT OF THE PARK BASEBALL 9 > OOTP 9 - Mods > Rosters, Photos, and Quick-Starts
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old 07-31-2006, 04:36 PM   #1 (permalink)
BMW
Minors (Triple A)
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 258
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 (permalink)
BMW
Minors (Triple A)
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 258
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 (permalink)
All Star Reserve
 
blackrussian's Avatar
 
Join Date: Apr 2002
Posts: 834
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 (permalink)
BMW
Minors (Triple A)
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 258
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 (permalink)
All Star Starter
 
Nukester's Avatar
 
Join Date: Dec 2001
Location: Newburgh, NY
Posts: 1,908
Ill take a peek too
__________________
Well, I don't really think that the end can be assessed as of itself as being the end because what does the end feel like? It's like saying when you try to extrapolate the end of the universe, you say, if the universe is indeed infinite, then how - what does that mean? How far is all the way, and then if it stops, what's stopping it, and what's behind what's stopping it? So, what's the end, you know, is my question to you.
Nukester is offline   Reply With Quote
Old 08-01-2006, 11:51 AM   #6 (permalink)
Hall Of Famer
 
andymac's Avatar
 
Join Date: Feb 2002
Location: Effingham, IL
Posts: 5,355
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 online now   Reply With Quote
Old 08-04-2006, 03:03 PM   #7 (permalink)
BMW
Minors (Triple A)
 
BMW's Avatar
 
Join Date: May 2003
Location: New Jersey
Posts: 258



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


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On



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


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Copyright © 2008 Out of the Park Developments