Thanks, Ruff. That definitely got me on the right track. Since this was my first time doing this, there were some details I still didn't have... but I was able to figure it out. For the benefit of other newbies, here are my steps to adding a cyberface for a created player (not an existing one):
Note: this assumes you already have a cyberface (.fsh files) ready.
1. In EA Graphics Editor, open (install location)\sgsm\players\plyrface.viv.
2. Click Tools > Import Wizard > Add files to external tar > Add > select your .fsh files > Next > Finished.
3. Create player in the game. Save. Exit game.
4. In Windows Explorer, copy C:\My Documents\NBA Live 2005\database\workingdb\players.dbf and rename it players.dbf.bak so you have a backup in case you hose things up.
5. In DB Commander Pro, open C:\My Documents\NBA Live 2005\database\workingdb\players.dbf.
6. Scroll to the bottom of the table. You should see your created player with many blank fields.
7. Click the "SQL Statements" button and enter the following:
UPDATE players.dbf SET DELETED='False', ISCREATED='False', FACEPATCH='False', ISGENERATE='False', ISHISTORIC='False', PLAYERPKG='(name of your .fsh files without the .fsh extension)' WHERE NAME='(last name of your created player)'
Then hit the Run button. You should see a message that 1 row was updated successfully.
8. If you want to add yourself to a team roster, you can do it here by updating the TEAM field. Do a find for a player on the team you'd like to join and find the value in that player's TEAM field. '50' is Free Agents (if you left your created player here). Use UPDATE statements to swap someone out of the team and into Free Agents and to swap you out of Free Agents and onto the team.
9. Make note of the PLAYERID for your created player.
10. In Windows Explorer, open C:\My Documents\NBA Live 2005\database\workingdb\appearance.dbf and rename it appearance.dbf.bak in case you screw up.
11. In DB Commander Pro, open C:\My Documents\NBA Live 2005\database\workingdb\appearance.dbf.
12. Look for your created player's PLAYERID in the APPEARID column. IIRC, your created player will be here too. If so, you can run this SQL statement:
UPDATE appearance.dbf SET DELETED='False', FACEID='-1', ID7='(name of your .fsh files without the .fsh extension)' WHERE APPEARID='(your created player's PLAYERID, which was noted in Step 9).
If your created player is
not in the appearance.dbf (meaning his PLAYERID is not in the APPEARID column), then run this SQL statement instead:
INSERT INTO appearance.dbf (DELETED, FACEID, ID7) VALUES ('False', '-1', '(name of your .fsh files without the .fsh extension)' WHERE APPEARID='(your created player's PLAYERID, which was noted in Step 9)'
13. If you want to update the HEIGHT, WEIGHT, etc, you can do use the same code and just change the fields and values accordingly. The values in HEIGHT are in inches.
14. I don't know if this step is necessary but I did it anyway to ensure the roster changes I made are permanent: copy the players.dbf and appearance.dbf files (you should see the modified timestamp appropriately updated) from C:\My Documents\NBA Live 2005\database\workingdb\ to C:\My Documents\NBA Live 2005\database\origdb and to (install location)\database\origdb.
15. Start up the game and you should see your created player with your selected cyberface and the roster changes (if you made any).
16. You will notice the player portrait for your created player is missing. That's what Kevin's tutorial is for.
I'm sure there are other (and easier) ways to do this, but nothing for 2005 was documented. Hope this helps someone.
Last edited by
colickyboy on Fri Apr 22, 2005 4:13 am, edited 2 times in total.