How to global edit DBF files

Discussion about NBA Live 2003.

How to global edit DBF files

Postby Nbalive4ever on Wed Nov 13, 2002 11:49 am

Ok guys here you go

1st step http://www.legendsoft.com/downloads/DBF ... werPRO.exe

get this program then install it


then open it up and load the players.dbf file


then go to the top where it says file....table...tools....help

and click table the update multiple records.


next step go to EXAMPLE"number 52 FGPBASE and click the check box
then the expression box will open and say FGPBASE all you do is this

write either + number or - number there

in the result field you will see the final result of the plus or minus for that record.

then since you have the box checked you can continue and update as many fields as you like or just do that one.


when you have selected all the fileds you like click BEGIN UPDATE and it will update the records.


Tips

1) Be carefull in certain fileds not to minus to much cause if the previous number was 10 and you tried to minus 15 gloabal it will lock up. A field that does this is 3ptpct

2) once you click begin update and it updates all the fileds make sure to uncheck that box before editing more cause it will continue to minus or add the previous expression

GL


Matt
Nbalive4ever
 
Posts: 8
Joined: Tue Nov 12, 2002 7:05 am

Postby Bredrin on Wed Nov 13, 2002 12:11 pm

great post man :D
User avatar
Bredrin
 
Posts: 563
Joined: Tue Nov 12, 2002 9:39 am
Location: NYC

Postby fvdmc on Wed Nov 13, 2002 12:36 pm

:lol: CHEERS!!!
User avatar
fvdmc
 
Posts: 224
Joined: Tue Nov 12, 2002 3:10 am

Postby cocobee on Wed Nov 13, 2002 4:11 pm

Great post! Thanks man. Will you be adding a tutorial about other things we can do with this--I'm not really too familiar with dbf files and whatnot.


Thanks again
Image
User avatar
cocobee
America's Team
 
Posts: 3000
Joined: Mon Sep 23, 2002 3:46 pm
Location: in the coochie...

Postby CountryBumpkin on Wed Nov 13, 2002 8:50 pm

Excellent Post!...Now if I can only get the darned game! Should be in today at EB...
CountryBumpkin
 
Posts: 4
Joined: Wed Nov 13, 2002 8:47 pm
Location: Tampa, FL

global dbfs

Postby DoubleA on Wed Nov 13, 2002 11:03 pm

this is a good post......

but i did all that and got lost bad
could u either save the file, or maybe even send me an email, coz i tell ya,, after getting beat by the warriors as the mavs on all-star, due to 17 steals to 1, i feel cheated of a decent game, gotta turn thoes damn steals down!!

anyway, would u be able to help me out man??

thanks
DoubleA
 
Posts: 151
Joined: Wed Nov 13, 2002 12:42 pm
Location: Melbourne

Postby Alanb on Thu Nov 14, 2002 6:33 am

All this is fine with DB Commander, but if you have Access and Excel editing the dbf file is much easier.

As someone has posted before, all you need to do is load the dbf in Access, copy a column to Excel, do the calculations, and paste it back to Access.

Then copy the newly edited dbf file to all the places it needs to be copied. Besides copying the file to the /database, etc., directory in the main-game directory, you also have to look where else the file is located.

A simple search on the file will tell you where else the file appears. With XP, I think there are four instances of the same file in your /application data directory (or something to that effect).

I did quite a lot of editing and once you get used to it, it takes very little time.

Alanb
Alanb
 
Posts: 7
Joined: Tue Nov 12, 2002 8:07 am

About Excel...

Postby froggyboy on Thu Nov 14, 2002 3:44 pm

Sorry I am really new to Excel(Never used it before due to no need), now just starting to learn. Can any expert please direct me how to Add OR Subtract a number from ALL the numbers in a column? I once selected the whole column, I stucked...this might be REALLY easy if I get to understand that, because as I go through the help file it only teach me more complecated things but no mention of this. Sorry to ask stupid question~but I really want to learn it and edit Player.dbf on my own~

On the other hand, if I subtract a number that is too big that some of the original numbers in the column will go Below zero, would there be any method that you can set the Minimum so it will at least go down as only 1?
froggyboy
 
Posts: 12
Joined: Wed Nov 13, 2002 9:26 pm

Postby DoubleA on Thu Nov 14, 2002 3:49 pm

i can help

ok

in a cell on the spreadsheet, right the number u want to subtract/divide/ watever
now, copy in from access, the row u want to edit
copy that first cell (with the number u want)
it will be come highlighted
now select the whole column, by clicking on the letter
then select "paste special" then a box will appear
on the bottom half of this box, it will say "subtract, addition"
click watever u want to do
and thats it
DoubleA
 
Posts: 151
Joined: Wed Nov 13, 2002 12:42 pm
Location: Melbourne

Postby squidy37 on Thu Nov 14, 2002 3:53 pm

what if the number become negative? would that make the game freeze or something? or will it count as 0.
squidy37
 
Posts: 39
Joined: Wed Nov 13, 2002 2:06 pm

Postby Adan10 on Thu Nov 14, 2002 6:03 pm

Is anyone else who is trying to use the DBF viewer from the link experiencing errors when trying to edit globally?
I've followed the instructions but when I get to the Update Multiple Records screen and I try to update I get:
Error while updating record #1
Any assistance would be appreciated!
Adan10
 
Posts: 2
Joined: Thu Nov 14, 2002 6:01 pm

Postby daHiVE on Thu Nov 14, 2002 9:19 pm

squidy37 wrote:what if the number become negative? would that make the game freeze or something? or will it count as 0.


you can decrease the numbers by a certain amount of %-points, that way the numbers won´t get negative.
daHiVE
 
Posts: 22
Joined: Mon Nov 11, 2002 10:21 pm

Postby Bredrin on Thu Nov 14, 2002 10:33 pm

yea I'm havin problems
User avatar
Bredrin
 
Posts: 563
Joined: Tue Nov 12, 2002 9:39 am
Location: NYC

Using Excel

Postby p_rushing on Fri Nov 15, 2002 2:30 am

Copy the column you are editing from access into excel.

Select all the values in column A, If you are using Office XP there will be an exlamation point there, click it and select convert to numbers. If not, you should be able to right click and format the cells as numbers.

Then decide how many points you want to subtract from each rating.(I will use 5 in the example)

Then click on the B1 cell.

Then click the function button or hit =.

Type IF(cell>#,true do this 'cell-#, not true do this 'cell')

Using 5 it would be IF(A1>5,A1-5,A1)

Then press enter and it will be changed.

Press ctrl-c to copy cell B1 and then select the rest of the cells in column B that have numbers in column A.

Press ctrl-v and the formula will be pasted and all values adjusted without values going negative.

Then just paste column B back into access.
p_rushing
 
Posts: 16
Joined: Fri Nov 15, 2002 2:21 am

Postby squidy37 on Fri Nov 15, 2002 10:02 am

ah.. %points. That's cool~! It's more proportional that way =p
squidy37
 
Posts: 39
Joined: Wed Nov 13, 2002 2:06 pm


Return to NBA Live 2003

Who is online

Users browsing this forum: No registered users and 6 guests