• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Rhedd

Second Lieutenant
3 Badges
Aug 26, 2009
174
0
  • Arsenal of Democracy
  • Hearts of Iron III
  • 500k Club
I have the Impulse version of the game, and am playing in English (if that matters), and I've found a bug with the filenames of leaders whose names include foreign characters.

I first noticed that in the 1941 scenario, Göring didn't have a portrait.

Looking in db/leaders/german.csv I found that the game was looking for a portrait named "Göring_hermann_ger"(.bmp), but in the gfx/interface/pics folder, the name of the proper portrait was "Göring_hermann_ger.bmp. The "ö" gets replaced by junk!

This is true of every single filename that includes non-English characters. The other filenames near Göring's portrait are...
Göbel_karl_ger.bmp
Göldner_paul_ger.bmp
Götting_friedrich_ger.bmp
Güntzel_ernst_ger.bmp
etc.

There are plenty of others, such as
Böhlke_hellmuth_ger.bmp and Crüwell_ludwig_ger.bmp

I changed Göring's filename to Göring_hermann_ger.bmp and it now works fine, so that is the problem.

Unfortunately, I have no idea what everyone's name should be, so I can't go through and change them all myself!

I didn't think anything had changed with leaders in AoD. Makes me wonder why they were changed from just being numbers, like in HoI2. Must've been a lot of work! :p
 
Last edited:

Lennartos

BL-Logic
11 Badges
May 9, 2005
1.368
5
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III Collection
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • 500k Club
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
I have the Impulse version of the game, and am playing in English (if that matters), and I've found a bug with the filenames of leaders whose names include foreign characters.

I first noticed that in the 1941 scenario, Göring didn't have a portrait.

Looking in db/leaders/german.csv I found that the game was looking for a portrait named "Göring_hermann_ger"(.bmp), but in the gfx/interface/pics folder, the name of the proper portrait was "Göring_hermann_ger.bmp. The "ö" gets replaced by junk!

This is true of every single filename that includes non-English characters. The other filenames near Göring's portrait are...
Göbel_karl_ger.bmp
Göldner_paul_ger.bmp
Götting_friedrich_ger.bmp
Güntzel_ernst_ger.bmp
etc.

There are plenty of others, such as
Böhlke_hellmuth_ger.bmp and Crüwell_ludwig_ger.bmp

I changed Göring's filename to Göring_hermann_ger.bmp and it now works fine, so that is the problem.

Unfortunately, I have no idea what everyone's name should be, so I can't go through and change them all myself!

I didn't think anything had changed with leaders in AoD. Makes me wonder why they were changed from just being numbers, like in HoI2. Must've been a lot of work! :p

i have written a mail to johan about this.
it seems that:
ö = ö
ü = ü/ä
There are around 190 images using these characters for techteams and new images.
I will try to make a hotfix ASAP.
 

Rhedd

Second Lieutenant
3 Badges
Aug 26, 2009
174
0
  • Arsenal of Democracy
  • Hearts of Iron III
  • 500k Club
Thank you!

There are other combinations of junk characters, too, of course. I spotted these in the filenames, too:
Ã¥
ß
ä
é

There are probably more.

Searching /pics for "Ã", I found 212 files. Assuming all of the messed up ones start include Ã, that should be all of them.
 
Last edited:

Lennartos

BL-Logic
11 Badges
May 9, 2005
1.368
5
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III Collection
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • 500k Club
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
im working on it - very tedius work
 

Lennartos

BL-Logic
11 Badges
May 9, 2005
1.368
5
  • Hearts of Iron II: Armageddon
  • Crusader Kings II
  • Europa Universalis III
  • Divine Wind
  • Hearts of Iron III Collection
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Victoria: Revolutions
  • 500k Club
  • Europa Universalis III: Collection
  • Hearts of Iron II: Beta
mhhhh
one moment
 

Cardus

Field Marshal
15 Badges
Feb 11, 2007
4.681
793
  • Hearts of Iron Anthology
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis: Rome
  • Victoria 2
  • Victoria 2: A House Divided
  • 500k Club
  • Europa Universalis III: Collection
  • Hearts of Iron IV Sign-up
i have written a mail to johan about this.
it seems that:
ö = ö
ü = ü/ä
There are around 190 images using these characters for techteams and new images.
I will try to make a hotfix ASAP.

Regarding TTs the picture's name the issue should be already fixed. Please have a look at the current pack.
 

Rhedd

Second Lieutenant
3 Badges
Aug 26, 2009
174
0
  • Arsenal of Democracy
  • Hearts of Iron III
  • 500k Club
Thanks for the speedy fix, Lennartos! I notice, however that your fixed /pics includes 201 files, but my search for files with an "Ã" in them turns up 212, so I think 11 of them might still be broken. I hope you didn'd do this all for nothing, since Cardus said it was already fixed. :p

Cardus, this "current pack" you mentioned, where can I get that, or are you referring to an internal build?
 

Cardus

Field Marshal
15 Badges
Feb 11, 2007
4.681
793
  • Hearts of Iron Anthology
  • Crusader Kings II
  • Darkest Hour
  • Europa Universalis III
  • Europa Universalis III Complete
  • Hearts of Iron III
  • Hearts of Iron III: Their Finest Hour
  • Europa Universalis III Complete
  • Europa Universalis III Complete
  • Europa Universalis: Rome
  • Victoria 2
  • Victoria 2: A House Divided
  • 500k Club
  • Europa Universalis III: Collection
  • Hearts of Iron IV Sign-up
Thanks for the speedy fix, Lennartos! I notice, however that your fixed /pics includes 201 files, but my search for files with an "Ã" in them turns up 212, so I think 11 of them might still be broken. I hope you didn'd do this all for nothing, since Cardus said it was already fixed. :p

Cardus, this "current pack" you mentioned, where can I get that, or are you referring to an internal build?

Please follow my signature for the TTs ver 1.3 BETA. If you spot any issue please report it in the same thread.
 

Czarina Julie

Czarina
9 Badges
Apr 11, 2008
964
675
  • Arsenal of Democracy
  • Hearts of Iron II: Armageddon
  • Hearts of Iron III
  • Darkest Hour
  • 500k Club
  • Stellaris
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
  • Stellaris: Galaxy Edition
Lennartos, Not sure if this help but this is how I handle it in the Archiver. I had to stipulate the encoding.
//load & read the file
string fName = lblSelectedFile.Text;
StreamReader testTxt = new StreamReader(fName,System.Text.Encoding.ASCII);
string allRead = testTxt.ReadToEnd();
testTxt.Close();
StreamWriter SW;