OOTP Developments Forums

OOTP Developments Forums (https://forums.ootpdevelopments.com//index.php)
-   FHM Mods (https://forums.ootpdevelopments.com//forumdisplay.php?f=3874)
-   -   Facegen Renaming Thread (https://forums.ootpdevelopments.com//showthread.php?t=271283)

checkyoursixx 11-01-2016 02:23 PM

Facegen Renaming Thread
 
So we all want it, but who wants to help out the community. I need the following..

Missing Teams:

Need facegens for Anahiem Ducks, New York Rangers and Florida Panthers

Once I get those, I will upload my complete set of facegens I have (27 NHL teams + additional facegens I created for some prospects).

From there, I will need about 5 or 6 people willing to help out. We can take care of editing the names of the fg files in the correct format...

A-C
D-H
I-M
N-S
T-Z

Need 4 other members willing to edit the above letters. Facegens are arranged by first name, so if we can take a group of players each we can have this hashed out in the next week or so. Who's in?

no way 11-01-2016 02:25 PM

I could lend you a hand, don't care which letters :)

Andreas Raht 11-03-2016 07:45 AM

It's obiously not easy to determine the correct names for player picture files or personnel picture files when you want to create face packs for FHM 3. To make modders life a bit easier, we added an "export names" feature to FHM 3, available in the next build. To use it, add these three command line parameters: tracemode printplayers printpersonnel
Open a saved game and FHM will add a line for each player and personnel to the debug trace file like these:

PHP Code:

2016-11-03 13:38:38    PlayerID    LastName    FirstName    FranchiseId    TeamID    TeamName    PictureFileName    DOBYear    DOBMonth    DOBDay
2016
-11-03 13:38:38    0    Adam    Luke    -1    -1        Luke_Adam_18_6_1990.png    1990    6    18
2016
-11-03 13:38:38    1    Vinogradov    Andrei    742    911    Bars    Andrei_Vinogradov_5_7_1995.png    1995    7    5
2016
-11-03 13:38:38    2    Afinogenov    Maxim    736    736    Vityaz    Maxim_Afinogenov_4_9_1979.png    1979    9    4
2016
-11-03 13:38:38    3    Hufsky    Kristian    1564    1564    Southern Ontario    Kristian_Hufsky_16_5_1999.png    1999    5    16
2016
-11-03 13:38:38    4    Allen    Chris    -1    -1        Chris_Allen_8_5_1978.png    1978    5    8
2016
-11-03 13:38:38    5    Almond    Cody    830    830    Genčve-Servette HC    Cody_Almond_24_7_1989.png    1989    7    24
2016
-11-03 13:38:38    6    Alzner    Karl    22    22    Washington    Karl_Alzner_24_9_1988.png    1988    9    24
2016
-11-03 13:38:38    7    Anderson    Craig    28    28    Ottawa    Craig_Anderson_21_5_1981.png    1981    5    21
2016
-11-03 13:38:38    8    Andersson    Jonas    -1    -1        Jonas_Andersson_24_2_1981.png    1981    2    24
2016
-11-03 13:38:38    9    Anisimov    Artem    8    8    Chicago    Artem_Anisimov_24_5_1988.png    1988    5    24
2016
-11-03 13:38:38    10    Gaetz    Scott    2016    2016    Toronto    Scott_Gaetz_5_6_2001.png    2001    6    5
2016
-11-03 13:38:38    11    Armstrong    Riley    -1    -1        Riley_Armstrong_8_11_1984.png    1984    11    8
2016
-11-03 13:38:38    12    Arniel    Jamie    485    485    Dornbirner EC    Jamie_Arniel_16_11_1989.png    1989    11    16
2016
-11-03 13:38:38    13    Artyukhin    Yevgeny    752    752    Sibir    Yevgeny_Artyukhin_4_4_1983.png    1983    4    4
2016
-11-03 13:38:38    14    Hlusiak    Stevon    1569    1569    Ontario    Stevon_Hlusiak_18_4_1999.png    1999    4    18
2016
-11-03 13:38:38    15    Aucoin    Keith    631    631    München    Keith_Aucoin_6_11_1978.png    1978    11    6
2016
-11-03 13:38:38    16    Aulie    Keith    -1    -1        Keith_Aulie_11_6_1989.png    1989    6    11
2016
-11-03 13:38:38    17    Aulin    Jared    836    836    SC Rapperswil-Jona    Jared_Aulin_15_3_1982.png    1982    3    15
2016
-11-03 13:38:38    18    Sinkeldam    Mason    1564    1564    Southern Ontario    Mason_Sinkeldam_4_2_1999.png    1999    2    4
2016
-11-03 13:38:38    19    Bollers    Kyle    124    124    Saginaw    Kyle_Bollers_12_3_1999.png    1999    3    12
2016
-11-03 13:38:38    20    Bacashihua    Jason    776    776    HC'05 Banská Bystrica    Jason_Bacashihua_20_9_1982.png    1982    9    20
2016-11-03 13:38:38    21    Bachman    Richard    18    61    Utica    Richard_Bachman_25_7_1987.png    1987    7    25 

The colums are separated by tab, so you can easily copy/paste the data to Excel for example. You could also use this data to create a DOS batch script to convert "old" picture files to the new naming convention by copying the old file to another folder using the new file name. I exported the names from the current Opening Day file for you:
Players: http://cdnfiles.ootpdevelopments.com...sc/players.zip
Personnel: http://cdnfiles.ootpdevelopments.com.../personnel.zip

Duranium 11-03-2016 10:47 AM

Quote:

Originally Posted by checkyoursixx (Post 4111033)
So we all want it, but who wants to help out the community. I need the following..

Missing Teams:

Need facegens for Anahiem Ducks, New York Rangers and Florida Panthers

Once I get those, I will upload my complete set of facegens I have (27 NHL teams + additional facegens I created for some prospects).

From there, I will need about 5 or 6 people willing to help out. We can take care of editing the names of the fg files in the correct format...

A-C
D-H
I-M
N-S
T-Z

Need 4 other members willing to edit the above letters. Facegens are arranged by first name, so if we can take a group of players each we can have this hashed out in the next week or so. Who's in?

If you like you can send me all fg-files you finished and i´ll rename them pretty quick, especially now with the PHP code Andreas posted below in this thread ;)

checkyoursixx 11-03-2016 12:22 PM

Thanks Andreas, this should help us out immensely.

Spirits 11-03-2016 03:26 PM

That script is brilliant.

Facegen-related question though, do Facegens autoupdate when the player gets transferred to a new team?

Lukas Berger 11-03-2016 03:37 PM

Quote:

Originally Posted by Spirits (Post 4112067)
Facegen-related question though, do Facegens autoupdate when the player gets transferred to a new team?

They're supposed to. If they don't it's a bug.


All times are GMT -4. The time now is 02:11 PM.

Powered by vBulletin® Version 3.8.10
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright © 2020 Out of the Park Developments