names.dbf tutorial

Discussion about NBA Live 2004.

names.dbf tutorial

Postby ilpez on Fri Jun 25, 2004 7:18 pm

DELETED: Original players all have this field set to FALSE
ID: database unique identifier
ISFIRST: Determines if text in the NAMES field is a name or a surname
-1 : TRUE
0 : FALSE
ISLAST: Determines if text in the NAMES field is a name or a surname
-1 : TRUE
0 : FALSE
ISFIRST and ISLAST can both be TRUE, for those names that can also be surnames.
ISWHITE, ISEURO, ISBLACK, ISAFRICA: Used to match player type to strings in the NAMES field.
0, 1, 2 and 3 should(?) be frequency ratio for ISWHITE, ISEURO, ISBLACK and ISAFRICA
NAMES: a list of names/surnames the game will use when generating new rookies. Max 14 characters.

Example:

DELETED ID ISFIRST ISLAST ISWHITE ISEURO ISBLACK ISAFRICA NAME
0 60 -1 0 0 0 2 1 Jerome

0 205 -1 0 1 1 2 1 Vincent

0 609 0 -1 1 0 1 1 Bailey

0 1078 0 -1 1 1 3 2 Johnson

With these 4 names, the game could calculate four players like Jerome Johnson, Jerome Bailey, Vincent Johnson and Vincent Bailey.

I edited a personal version of this file, using italian names and surnames. I added italian players, then european and american players currently playing in europe.

I still don't understand if 0, 1, 2 and 3 in the ISWHITE, ISEURO, ISBLACK and ISAFRICA fields are frequencies (and in which order of
frequency or importance they are) , or if they refers to other dbf files, like birthtown. I suppose they could indicate the frequency with which a name will be used (a name with a value of 3 in one of those fields will be used more frequently then a name with a value of 1).

Please, mail me or answer me for any comments or else about this, I'd like to know more about this file :wink: .
ilpez
 
Posts: 45
Joined: Sun Nov 30, 2003 9:05 am
Location: italy - treviso

Postby ilpez on Fri Jun 25, 2004 7:19 pm

ooops, I wanted to post it in the dbf guides thread... sorry :D
ilpez
 
Posts: 45
Joined: Sun Nov 30, 2003 9:05 am
Location: italy - treviso

FINAL =)

Postby ilpez on Mon Jul 05, 2004 8:20 pm

DELETED: Original players all have FALSE for this field

ID: ID number in the database.

ISFIRST: Determine if the text in the NAMES field is a name or a surname
-1 : TRUE
0 : FALSE

ISLAST: Determine if the text in the NAMES field is a name or a surname
-1 : TRUE
0 : FALSE

ISFIRST and ISLAST can also be all TRUE, for those names that can also be surnames.

ISWHITE : 0, 1, 2 and 3 refers to ZONE field in the birthstate.dbf file.

ISEURO : 0, 1, 2 and 3 refers to ZONE field in the birthstate.dbf file.

ISBLACK : 0, 1, 2 and 3 refers to ZONE field in the birthstate.dbf file.

ISAFRICA : 0, 1, 2 and 3 refers to ZONE field in the birthstate.dbf file.

NAMES: Type in a list of names and surnames that the game will calculate when will generates new rookies after the

play-offs. Max 14 characters.
ilpez
 
Posts: 45
Joined: Sun Nov 30, 2003 9:05 am
Location: italy - treviso

Postby Ruff Ryder on Mon Jul 05, 2004 11:55 pm

Nice work. (Y)
Image

'Retired'

"You can’t drive a knife into a man’s back nine inches, pull it out six inches, and call it progress."-Malcolm X
User avatar
Ruff Ryder
 
Posts: 5996
Joined: Wed Jun 25, 2003 7:17 am
Location: VA RLY

Postby ilpez on Sat Jul 10, 2004 12:38 am

umpf, it crashes! :P not always, i edited a version that didn't crash... but obviously I trashed it :D.

Some tips for editing correctly a dbf file?
ilpez
 
Posts: 45
Joined: Sun Nov 30, 2003 9:05 am
Location: italy - treviso

Postby Andrew on Sat Jul 10, 2004 1:11 pm

I recommend using DB Commander or another DBF Editor rather than MS Excel. Even though the recent versions of Excel are better at handling the DBFs, it's still very easy to corrupt the files when using Excel.
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 115082
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia

Postby ilpez on Sat Jul 10, 2004 7:08 pm

I use access for editing and cdbf for checking errors..
ilpez
 
Posts: 45
Joined: Sun Nov 30, 2003 9:05 am
Location: italy - treviso

Postby Andrew on Sun Jul 11, 2004 3:02 pm

I recommend using a DBF editor rather than Access, too. :wink:
User avatar
Andrew
Retro Basketball Gamer
Administrator
 
Posts: 115082
Joined: Thu Aug 22, 2002 8:51 pm
Location: Australia


Return to NBA Live 2004

Who is online

Users browsing this forum: No registered users and 3 guests