View Single Post
Old 11-03-2016, 08:45 AM   #3
Andreas Raht
Administrator
 
Andreas Raht's Avatar
 
Join Date: Jun 2002
Location: Hollern/Stade/Germany
Posts: 8,992
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

Last edited by Andreas Raht; 11-03-2016 at 08:46 AM.
Andreas Raht is offline   Reply With Quote