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

Field Marshal
Dec 10, 2001
12.470
5
Hi folks. I am in need of a specific tool for a particular project I am working on for the official release and I vaguely recall that someone was working on something similar but I can't seem to locate it. I am rather horribly pressed for time at the moment so if someone has already created what I need (or something close) then I would greatly appreciate being pointed in the right direction.

What I need is a parser that extracts information from a save game file and reliably reports whether each province has each advance and each improvement and outputs it as a csv. I need only the province ID # and then a yes/no for each advance and for each improvement.

I have attached an example of what output I have in mind (but only one province ID listed and each set to "no") so you can see what I need. The idea is that I need to extract this data for all provinces from a save file.

Does anyone have such a tool already, or could anyone create one for me relatively easily?

Needless to say, I would greatly appreciate any help...
 

Attachments

  • Province data.rar
    1,5 KB · Views: 23
Here!
I have made a quick-mod version of external ledger. Unrar into the CK game directory. If you load a save there, desired file named MrT.txt is created in the same dir.
Note that:
Provinces with no advances/improvements are not listed
The file does not load into my Excel installation. Open it in notepad, and paste.

I have not enough time now to polish those problems, but can make it tonight if desired.
 
Thank you very much! Though not perfect (for my purposes I need *every* province listed) I can accomodate that via treating it as an array and drawing it into a second sheet via vlookup, so there's no need for you to make any changes to it.

Believe me, I greatly appreciate your quick response! :cool:
 
I have sacrificed my midday break to do some test/tweaks and posted an updated tool:
The 'longbow' tech column was bugged (no province had it) because I managed to corrupt a keyword spelling during processing the file. Sorry for inconvenience.

Now it saves a MrT.xls as well, because the CSV loading into Excel still has problems.

EDIT:
Also the table is displayed directly in CKL now.
 
Thanks! That's perfect! :cool: