Maradonna90 / NewGAN-Manager

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

[BUG] Some African players are not getting mapped #108

Closed TiagoSousa26 closed 9 months ago

TiagoSousa26 commented 2 years ago

Describe the bug The FM generated the regen I generated the rtf file, ran the NewGAN and some African players are not getting their faces mapped but the other got. Their names are on the rtf file. See screenshots to see some examples even from other clubs.

To Reproduce Steps to reproduce the behavior:

  1. Load the rtf file
  2. Choose preserve without duplicates
  3. Disable cache and reload the skin
  4. Turn cache on

Expected behavior It should be mapping all the regen faces.

Screenshots imagem imagem

Desktop (please complete the following information):

Attachments I changed the extension to .txt because it doesn't let to put .rtf files. 2025-regen-copy.txt

TiagoSousa26 commented 2 years ago

I also found some Portuguese players that are black that are not having their faces replaced like Samuel Fonte and Rodrigo Nogueira. So it seems to be something related to their ethnicity and not with being from Africa. After digging on the newgan.log it confirms but I don't know why it's skipping their face. imagem Maybe it used all the faces available for African people? Like I said I have duplicates turned off.

Maradonna90 commented 2 years ago

thats exactly the case. Try rerun it with "Allow duplicates"

/e: Ideally export the rtf with the game language on English. Some 3-letter abbreviation for countries differ because of the in-game language.

TiagoSousa26 commented 2 years ago

Ok, thanks. I will try first with the game being in the English language because the "Allow duplicates" isn't solving the problem.

TiagoSousa26 commented 2 years ago

I tried but neither having the game in English nor having duplicates on solving the problem.

2022-01-11 19:21:09,592 | NewGAN Mapper: 51529/65072: ['2002395710', 'GNB', 'POR', '3'], African, SpanMed
2022-01-11 19:21:09,592 | NewGAN Mapper: Ethnicity African has no faces left for mapping. Skipping player 2002395710
Maradonna90 commented 2 years ago

can you give me your RTF in english?

TiagoSousa26 commented 2 years ago

Here it is. I changed the extension to be able to upload here. 2025-3-regen.txt