Maradonna90 / NewGAN-Manager

A tool to generate and manage xml configs for the Newgen Facepack.
GNU General Public License v3.0
171 stars 34 forks source link

[BUG] Not generating faces for certain nationalities #156

Closed B1gum closed 1 year ago

B1gum commented 1 year ago

Describe the bug When trying to add faces for the newgens, some nationalities are excluded, for instance it doesn't generate faces for Danish and Swedish newgens, whilst the Icelandic ones get correct faces. See this imgur: https://imgur.com/gallery/WUdykFU, where a Danish player, who shows up in the .rtf file does not get a new face. This happens for all Danish and Swedish players.

To Reproduce Steps to reproduce the behavior:

  1. Create .rtf file as you would normally, including all players (that means Danish and Swedish players are included9
  2. Go to newgan and hit either create, preserve or replace
  3. Reload skin
  4. See error

Expected behavior I would expect that Danish and Swedish players get new faces to, but that doesn't seem to happen.

Screenshots https://imgur.com/gallery/WUdykFU

Desktop (please complete the following information):

Attachments Add your newgan.log and RTF-File

RTF-file.pdf config.pdf

There is no .log file in the folder, so i cannot add that.

Ayal1 commented 1 year ago

The issue you're facing is because your Football Manager's game/data language setting in preferences isn't set to English so the 3 letter codes on the view that's exported doesn't match what the program expects. If you temporarily set your game's language to English, do all the process of getting the .RTF file with the view and see that instead of DAN you have DEN for Denmark then it should work. The reason it worked (or sort of worked for some newgens) is that the Danish 3 letter country codes happens to have the same country codes for some countries, so it could trick you into thinking something else is wrong.

B1gum commented 1 year ago

Thank you so much