• 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(35761)

Private
Oct 30, 2004
17
0
www.frankwayne.com
A program that I'm writing which parses CK text files found some problems in a modified "db\dynasties.txt" file. Paradox-supplied files and save files seem to consistantly separate brackets from other text in the file, so that you would never see:

province = { 130 131 132}

but rather:

province = { 130 131 132 }

My program was reading the "132}" as a single token, rather than as a number and close-bracket. I don't know if CK is smarter, but it might be a good idea to make sure that modifications are correctly typed.

I found the problems in the 23 October (?) beta and I don't how many files have this issue. I will check some more of them when I get a chance. A quick count (with "Match Whole Word Only") of open- and close-brackets in UltraEdit (or an equivalent program) will let you know if your opens and closes match.
 
Upvote 0
Grosshaus said:
I don't know, but I doubt the spaces matter

I also noticed this morning that parentheses are being used instead of brackets in some places. For example:

dynasty = {
id = ( type = 12 id = 101680 }
name = "Tegaingl"
province = { 018 019 020 }
}
dynasty = {
id = ( type = 12 id = 101681 }
name = "Topor"
province = { 529 428 429 432 }
}
dynasty = {
id = ( type = 12 id = 101682 }
name = "Dukljanina"
province = { }
}
dynasty = {
id = ( type = 12 id = 101683 }
name = "Kometopoulos"
province = { }
}