Hearts of Iron IV

Hearts of Iron IV

View Stats:
Space Punk Jun 12, 2016 @ 6:55am
Change country name manually?
Anyone know which file contains country names? I switched my nation to fascist but would like to change it to something else.
< >
Showing 1-15 of 27 comments
Mansen Jun 12, 2016 @ 6:56am 
localization\countries_l_english.yml

I strongly suggest you make a backup though.
Space Punk Jun 12, 2016 @ 7:00am 
Originally posted by Mansen:
localization\countries_l_english.yml

I strongly suggest you make a backup though.

Thank you. I made backups of my saves + the file.
profile Dec 8, 2016 @ 10:37pm 
This doesn't work for me, help?
Surimi Dec 9, 2016 @ 12:41am 
Get a decent text editing program like notepad++, it handles the formating of localization files much better so you're less likely to screw something up.

Also, I would highly recommend making a mod so you don't risk screwing up your checksum or having your files overwritten later. There's a tutorial on how to do this on the wiki.

Also bear in mind that the new patch on Thursday will almost certainly contain major changes to the country localization files due to cosmetic tags being added, so you'll need to update your modded files then.
Last edited by Surimi; Dec 9, 2016 @ 1:46am
Mansen Dec 9, 2016 @ 2:29am 
Originally posted by kiss me im autistic:
This doesn't work for me, help?

Can't help someone who just writes "It doesn't work"... What have you done? What isn't working specifically? What ARE you seeing?
profile Dec 9, 2016 @ 7:25am 
Originally posted by Mansen:
Originally posted by kiss me im autistic:
This doesn't work for me, help?

Can't help someone who just writes "It doesn't work"... What have you done? What isn't working specifically? What ARE you seeing?
Well alright. Could have just said the last part.
But it doesnt work as in, I type in the alternate country names in the respective places, and it doesn't show up, it just displays the vanilla names.
profile Dec 9, 2016 @ 7:25am 
Originally posted by Deep Hurting:
Get a decent text editing program like notepad++, it handles the formating of localization files much better so you're less likely to screw something up.

Also, I would highly recommend making a mod so you don't risk screwing up your checksum or having your files overwritten later. There's a tutorial on how to do this on the wiki.

Also bear in mind that the new patch on Thursday will almost certainly contain major changes to the country localization files due to cosmetic tags being added, so you'll need to update your modded files then.
Done most of that.
Surimi Dec 9, 2016 @ 10:26am 
Okay.. troubleshoot the following.

* Check the file structure of your mod perfectly matches the file structure of the game. It should be yourmod/localisation/countries_l_english.yml. Remember, it's European English so "localisation" not "localization".

* Check the mod file itself has a unique name specified and the correct path. It should read path="mod/yourmod". Obviously, yourmod here is the file name of your mod folder.

* Make sure you're actually enabling the mod via the startup console before starting the game.

* If none of the above works, start again with a new copy of the file. As mentioned, the formating of localisation files is quite easily upset.
lukas Dec 9, 2016 @ 10:59am 
Originally posted by Deep Hurting:
Remember, it's European English so "localisation" not "localization".
Which is very weird by the way since PDS actually uses AE, instead of BE. Somehow this mistake slipped through unnoticed.
profile Dec 9, 2016 @ 10:26pm 
Originally posted by Deep Hurting:
Okay.. troubleshoot the following.

* Check the file structure of your mod perfectly matches the file structure of the game. It should be yourmod/localisation/countries_l_english.yml. Remember, it's European English so "localisation" not "localization".

* Check the mod file itself has a unique name specified and the correct path. It should read path="mod/yourmod". Obviously, yourmod here is the file name of your mod folder.

* Make sure you're actually enabling the mod via the startup console before starting the game.

* If none of the above works, start again with a new copy of the file. As mentioned, the formating of localisation files is quite easily upset.
Tried all of that, Isn't working at all. Country names dont show up. It's most likely a problem with the countries file.
Surimi Dec 9, 2016 @ 11:40pm 
Originally posted by kiss me im autistic:
Tried all of that, Isn't working at all. Country names dont show up. It's most likely a problem with the countries file.

If the file wasn't working, you'd be getting other problems with the localisation data (countires having names like "FRA_democratic" instead of "France"). I would strongly suspect it's a problem with your mod.

Try editting the file in the hearts of iron directory directly (you can delete it later and then verify integrity of cache to restore your checksum) and see if that either works or produces localisation errors. If it works, the problem is with your mod. If it produces errors, then you're doing something wrong with the file.
Last edited by Surimi; Dec 9, 2016 @ 11:43pm
profile Dec 9, 2016 @ 11:58pm 
Originally posted by Deep Hurting:
Originally posted by kiss me im autistic:
Tried all of that, Isn't working at all. Country names dont show up. It's most likely a problem with the countries file.

If the file wasn't working, you'd be getting other problems with the localisation data (countires having names like "FRA_democratic" instead of "France"). I would strongly suspect it's a problem with your mod.

Try editting the file in the hearts of iron directory directly (you can delete it later and then verify integrity of cache to restore your checksum) and see if that either works or produces localisation errors. If it works, the problem is with your mod. If it produces errors, then you're doing something wrong with the file.
By errors do you mean the country names not showing up? Because I've tried editing the base files, and no change is made.
Surimi Dec 10, 2016 @ 1:29am 
Originally posted by kiss me im autistic:
By errors do you mean the country names not showing up? Because I've tried editing the base files, and no change is made.

Then you're somehow editting the wrong files, or the wrong entry within the files.

The game can't be drawing localisation data from anywhere but the localisation files, so if country names are showing up then the files are intact. You could try deleting the file altogether. If it's the correct file, you will end up with this.

http://images.akamai.steamusercontent.com/ugc/109607089012176558/457B3428A77DB0F9FC0ED15205519F75E12E551F/

If you do get that, you're doing something wrong within the file itself.
profile Dec 10, 2016 @ 2:00am 
Originally posted by Deep Hurting:
Originally posted by kiss me im autistic:
By errors do you mean the country names not showing up? Because I've tried editing the base files, and no change is made.

Then you're somehow editting the wrong files, or the wrong entry within the files.

The game can't be drawing localisation data from anywhere but the localisation files, so if country names are showing up then the files are intact. You could try deleting the file altogether. If it's the correct file, you will end up with this.

http://images.akamai.steamusercontent.com/ugc/109607089012176558/457B3428A77DB0F9FC0ED15205519F75E12E551F/

If you do get that, you're doing something wrong within the file itself.
Well let me give you an example of my problem. lets say i go into the localization folder, and make Germany's Fascist name, Krautland, I open up the game, and germany's name is not changed, It's just the vanilla name.
profile Dec 10, 2016 @ 2:24am 
Also, I've deleted the localisation files for country names entirely, the names are still showing up, it's not ger_fascist
< >
Showing 1-15 of 27 comments
Per page: 1530 50

Date Posted: Jun 12, 2016 @ 6:55am
Posts: 27