• 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.

unmerged(223294)

Banned
1 Badges
Aug 26, 2010
48
0
  • Pillars of Eternity
Hello.

I have an issue with provinces.csv, insofar as it seems only certain province and city names will register when I change them. Others just stay the same - in fact certain provinces have entirely different names to the original names in the file, which I can't understand.

Is this a known bug, and if so, can/will it be fixed?

Thank you.
 
Just to make sure we're on the same page here, the names in provinces.csv are keyed to the names in Db\Map\provinces.txt. For example, province 49:
Code:
province = {
	id = 49
	name = "PROV_Seminole"
is displayed as
Code:
PROV_Seminole;Seminole;x
Which ones are not showing up when you change them?
 
Hello.

Through a custom mod (I do not edit any standard game files) I have noticed several bugs.

"Ulan Ude" (603) is displayed as "Verkhne-Udinsk," even though I can find no trace of it as either a province or city name.

"Volgograd" (458) is displayed as "Tsaritsyn," which is the name of that province's city. It is displayed correctly in provinces.csv, so I can't understand the issue.

These are just two examples. I have encountered other obscure name-related errors in other provinces.

Also, certain seemingly random provinces have issues when changing the city name. For example, whilst Straßburg displays correctly, Preßburg will not; I have to use Presburg as the capital of the "Presburg" (326) province.

As far as I am concerned these issues appear to be quite random, and I am unaware as to what the pattern could be. I think it would be worth looking into this and trying to fix it, as I assume there must be some sort of fix (hardcoded, perhaps) and I simply do not understand how province names can appear as tooltips on the map when they are nowhere to be found in provinces.csv

Thank you.
 
:rofl: I think that's the first time I've been offered a bribe on these forums. (Not as much of a bribe as you might think, but it's the thought that counts.)

I still don't have enough information to solve this. Can you post your mod somewhere for me to have a look?
 
If you PM me your e-mail address I will send you any files you think you require.

Does this not happen for you in any mods either? This is the same in vanilla also.

(My images won't show at all for some reason. I tried two different sites)
 
My PM box is perpetually full, so I'll just give it to you here: michael (over near) crystalempiregames.com
 
Last edited:
All right. The issue is addendum.csv, which is always loaded last next-to-last. Some province names were tweaked in 1.1 and/or 1.2, so they appear both in provinces.csv and in addendum.csv. Those are the ones you are having trouble with.

The solution is to make a copy of addendum.csv in your mod and add those province names there.

EDIT: I just remembered that misc.csv is actually loaded after addendum.csv, so a better solution would be to put all your modified text into it instead. It's not used by vanilla and is guaranteed to be loaded last, so it's particularly suited for mods.
 
Last edited:
Hello.

I have added your province and city name changes to my copy of provinces.csv (I think keeping them all together in one file is easier and tidier; I'm not sure why you didn't just do that?) and deleted them from my new copy of addendum.csv.

I loaded the game and checked a few of the changes and it all looks fine. Thank you for your help.

Also, you speak of the load order for files; what is the order, and how do you know? Where is it specified?
 
The only thing we guarantee to mods is that misc.csv is loaded last. Addendum.csv is the only localization file that is modified in patches, except for typo fixes that do not require a revised translation; therefore, if you use it in your mod, you could have to redo your changes after a future patch.

(Quite a few mods use addendum.csv, so you're not alone. I still don't recommend it.)
 
Last edited: