Wolferos / Hearts-of-Iron-IV-The-Great-War

The Great War has been created by Wolferos with the help of the Community.
99 stars 95 forks source link

Bug: No display of leader names #489

Closed Proho16 closed 11 months ago

Proho16 commented 1 year ago

https://steamcommunity.com/sharedfiles/filedetails/?id=3021808751

error.log [01:24:10][pdx_localize.cpp:1084]: Expected colon(:) at line 983 and column 18 in localisation/ww1_characters_l_german.yml

Suche "SPR_niceto_alcalá_zamora" (9 Treffer in 6 Dateien von 8592 gesucht) C:\Users\user\Documents\Paradox Interactive\Hearts of Iron IV\mod\TheGreatWarLokal\common\characters\SPR.txt (3 Treffer) Zeile 597: SPR_niceto_alcalá_zamora = { Zeile 598: name = SPR_niceto_alcalá_zamora Zeile 601: large = GFX_Portrait_SPR_niceto_alcalá_zamora C:\Users\user\Documents\Paradox Interactive\Hearts of Iron IV\mod\TheGreatWarLokal\events\Interwar_NewsEvents.txt (2 Treffer) Zeile 280: recruit_character = SPR_niceto_alcalá_zamora Zeile 303: promote_character = SPR_niceto_alcalá_zamora C:\Users\user\Documents\Paradox Interactive\Hearts of Iron IV\mod\TheGreatWarLokal\interface\ww1_characters.gfx (1 Treffer) Zeile 867: spriteType = { name = "GFX_Portrait_SPR_niceto_alcalá_zamora" texturefile = "gfx/hoi4tgw_portraits/SPR/country_leaders/SPR_niceto_alcala-zamora.dds" } C:\Users\user\Documents\Paradox Interactive\Hearts of Iron IV\mod\TheGreatWarLokal\localisation\ww1_characters_l_english.yml (1 Treffer) Zeile 983: SPR_niceto_alcalá_zamora:0 "Niceto Alcalá-Zamora" C:\Users\user\Documents\Paradox Interactive\Hearts of Iron IV\mod\TheGreatWarLokal\localisation\ww1_characters_l_french.yml (1 Treffer) Zeile 983: SPR_niceto_alcalá_zamora:0 "Niceto Alcalá-Zamora" C:\Users\user\Documents\Paradox Interactive\Hearts of Iron IV\mod\TheGreatWarLokal\localisation\ww1_characters_l_german.yml (1 Treffer) Zeile 983: SPR_niceto_alcalá_zamora:0 "Niceto Alcalá-Zamora"

From this line on, no more characters are read in and thus the names are no longer displayed. Changing line 983 from SPR_niceto_alcalá_zamora to SPR_niceto_alcala_zamora solves the problem. I don't know if the text and gfx files have to be changed as well.

By Proho

Proho16 commented 11 months ago

Erledigt. Done.