Latest News: Updated Patch #4, version 10.4.31 available! - OOTP 10 RELEASED! - Title Bout Championship Boxing 2.5 released! - Inside the Park Baseball Patch 1.03 released, DEMO now available

Click here to download Out of the Park Baseball 10!

Go Back   OOTP Developments Forums

> Out of the Park Baseball 8/2007 > OOTP 8/2007: General Discussions


OOTP 8/2007: General Discussions Talk about our upcoming version of the game...

Reply
 
LinkBack Thread Tools Display Modes
Old 01-04-2008, 10:47 PM   #1 (permalink)
All Star Reserve
 
cbbl's Avatar
 
Join Date: Apr 2003
Location: Massachusetts
Posts: 798
Has anybody successfully reimported the names database?

@#$%!

I experienced this issue before but no one had any solution - Please help me fix this name issue

That issue was in 2007. I'm now using 08.

Everything working just fine.

I've played out 6 years. It's now time to update my names files (names.txt, first_names.txt, and ethnicities.txt) to reflect the era I'm entering.

I didn't really change much in the two names files, and only modified ethnicities.txt very slightly.

I reimported using the reimport function under game setup.

I run the draft -- TONS of names that aren't in the .txt files and most of them the same freakin' last name. What gives? Why can you not re-import the names database??? (And if you can, what are are the exact requirements (what can you do/what can you not do)?

Can someone please help me?

Thanks
cbbl is offline   Reply With Quote
Old 01-05-2008, 12:09 AM   #2 (permalink)
Hall Of Famer
 
The Wolf's Avatar
 
Join Date: Jun 2006
Location: Baying at the moon
Posts: 3,708
The names and ethnicity import function is broken. In fact, the entire names system is broken. Those bad names you get come from a names.dat file, and not your own set of name files.

Why the game won't use your own name files is beyond me. It's one of the things that desperately needs to be fixed in OOTP 9.
__________________
__________________

Quote:
Originally Posted by Markus Heinsohn View Post
Really? This game sucks.
The Wolf is offline   Reply With Quote
Old 01-05-2008, 04:47 AM   #3 (permalink)
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 5,161
Blog Entries: 2
Thanked 63x in 40 posts
I'm also of the opinion it's one of the dat files that claims to have an ID field but the actual ID is something to do with its position in the file. I was doing some fiddling with my program and changed my internal structure for names from a Generic.Dictionary to a Generic.SortedDictionary to try something, forgot to change it back, saved the names.dat file.

It was exactly the same size as before, but when I ran the game all the names had changed...
__________________
Upcoming
OOTP X Utilities
Tony M is offline   Reply With Quote
Old 01-05-2008, 05:16 AM   #4 (permalink)
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 5,161
Blog Entries: 2
Thanked 63x in 40 posts
Quote:
Originally Posted by redsoxford View Post
I'm also of the opinion it's one of the dat files that claims to have an ID field but the actual ID is something to do with its position in the file. I was doing some fiddling with my program and changed my internal structure for names from a Generic.Dictionary to a Generic.SortedDictionary to try something, forgot to change it back, saved the names.dat file.

It was exactly the same size as before, but when I ran the game all the names had changed...
For example, using Cubbys 08 set, this is the starting line-up for the Red Sox after I saved names.dat back without changing any of the data (just the order changed)

Josh Tristram
Curt Snoopy
Adrain Mongia
Julian Kishen
Tim Jesu

interesting that Beckett, Schilling, Tavarez and Wakefield all kept their first names but Dice-K became an Adrain...

Looking at the picture below you can see the names are in the same order in this small area, and after Pontifes in both cases you can see a3 ac 00 00 which is the ID of Pontifes (or at least it is if the ID numbers go up consecutively in the file).

Quite why you'd have a field that is unique per record and if cross compared to players or coaches gives the correct name (if saved in order) but actually isn't used because the real value it uses is the sequence number.

Either way, it's not right. If you have a unique identifier against a record then it should be used. If it's not being used (as is clearly demonstrated by my experiment) then what's the point in wasting 4 bytes per name on it?

Hopefully a lot of these database anomalies will be sorted out in OOTP9 - the name one is just as bad as the teams.dat issue where team_id is position in file, not the field called team_id...
Attached Images
 
__________________
Upcoming
OOTP X Utilities
Tony M is offline   Reply With Quote
Old 01-05-2008, 11:14 AM   #5 (permalink)
Hall Of Famer
 
The Wolf's Avatar
 
Join Date: Jun 2006
Location: Baying at the moon
Posts: 3,708
Markus, if you're reading this, in OOTP 9 we want our own name files to be used for our leagues, even the imported ones, not some names.dat file that we have no control over.

Alternatively, give us a names.dat compiler.
__________________
__________________

Quote:
Originally Posted by Markus Heinsohn View Post
Really? This game sucks.
The Wolf is offline   Reply With Quote
Old 01-05-2008, 05:00 PM   #6 (permalink)
All Star Reserve
 
cbbl's Avatar
 
Join Date: Apr 2003
Location: Massachusetts
Posts: 798
OK, well this is good, but it leaves me a bit puzzled. I have three distinct questions.

1. Before I attempted to re-import the names.txt file, it was working fine (meaning it was drawing names from the files I had modified when I created the universe). So, it wasn't that I only got names from some internal file -- they were coming from where I wanted them. But not now (issue only when reimport happened).

2. If the re-import doesn't work (or you can't), then what is the button there for?

3. Is there any way to fix the issue with my current league (or am I limited to restoring my last backup)?


And, while I'm at it ...

Even if the program for some strange reason was using its own names file rather than mine, why would it name 30 of the 130 newly created players Fedchenko, 34 of the 130 newly created players MacCaig, and 27 of 130 newly created players Alexandravisla??

So, where do I go from here?

Continued thanks...
cbbl is offline   Reply With Quote
Old 01-08-2008, 09:52 AM   #7 (permalink)
Global Moderator
 
Tony M's Avatar
 
Join Date: Feb 2006
Location: Here
Posts: 5,161
Blog Entries: 2
Thanked 63x in 40 posts
It would be nice if someone came on here and said whether this will be fixed in version 9

I'm quite happy to look into a way of re-importing the names files such that existing players keep their names and any new ones are based on the new files, but it will have to fit around work and upcoming baby.
__________________
Upcoming
OOTP X Utilities

Last edited by Tony M; 01-08-2008 at 09:54 AM.
Tony M is offline   Reply With Quote
Old 09-22-2009, 03:22 AM   #8 (permalink)
All Star Reserve
 
Muzamba's Avatar
 
Join Date: Apr 2002
Location: St. Louis, MO
Posts: 595
Thanked 119x in 35 posts
Quote:
Originally Posted by cbbl View Post
And, while I'm at it ...

Even if the program for some strange reason was using its own names file rather than mine, why would it name 30 of the 130 newly created players Fedchenko, 34 of the 130 newly created players MacCaig, and 27 of 130 newly created players Alexandravisla??
I know this was posted over a year and a half ago, but I stumbled onto this thread while doing a search for the names in question. You see, I'm re-doing my names files and realized that when I sort the entire names.txt file by nationality, the names you listed above don't have a nationality associated with them. So while I don't have an exact answer for you, I'm assuming this has something to do with it. If you're still having this problem, try sorting all surnames by nationality, then either delete the names without a nation ID or give them one. I bet this keeps it from happening again.
__________________
Inching my way towards respectability
Muzamba is offline   Reply With Quote
Reply

Bookmarks

Thread Tools
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

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



All times are GMT -4. The time now is 06:49 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.3.0
Copyright © 2009 Out of the Park Developments