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

Second Lieutenant
Jun 22, 2004
131
2
CK Family Tree maker - Latest version 1.25

This program allows you to create a Gedcom file from a Crusader Kings save file. This Gedcom file can then be imported into a number of genealogy (family tree) programs, such as the free GenoPro, which can be found at http://www.genopro.com.

This version has the following features:
· Exports First name, Dynasty name, date of birth, date of death, and optionally the ID and generation of each character descended from the chosen character.
· Exports all spouses of all descendents, and adds marriages correctly. Allows for inbreeding.
· Places children with correct parents, even in multiple marriages and works with children with only one parent.
· Allows a set number of generations to be exported, so that you can export only the children, grandchildren, great-grandchildren etc. of a chosen character.

Instructions for use:

When you run the program for the first time it will ask you to specify your CK path. For example the default English path is
C:\Program Files\Paradox Entertainment\Crusader Kings
Make sure there is no "\" at the end and that you only use "\" and not "/". Once the program is running, you should go to tools->options and set your options how you want them. Once this is done, in the main program simply enter the full path of the savefile you want to convert, or use the browse button to find it. Next enter the ID of the character you'd like to have at the top of the tree. The easiest way to find the ID is to use Horragoth's external ledger:
http://forum.paradoxplaza.com/forum/showthread.php?t=140921
which lists each characters ID along with all their details to make it easy to find.
You can also find the ID by opening your savefile in notepad, finding the character entry you want, and looking at the second line of the character entry. It should look something like the following:

character = {
id = { type = 10 id = 140 }

The ID is the second number, in this case 140.
Next, enter the number of generations you want exported, or leave it blank to export all generations.
Click the Create File button and the program should start working. A running commentary should tell you what stage the program is at, with a progress bar.
The file is saved in the same location as the savefile, with the same name but with a .ged extension.

Frequently Asked Questions:

Q. Where can I send bug reports/comments/suggestions?
A. You should post any of the above in this programs discussion thread in the paradox forums (the one you are currently viewing)

Q. The program fails to start. I am running an older version of Windows.
A. This program was made using Visual Basic 6 and has only been tested in Windows XP. I'm pretty certain this program would have trouble running in anything less than Windows 98SE.

Q. The program fails to start. I get a missing DLL or other file error
A. The install file should install all necessary files for the program to run. As far as I know the required files are:

VB6STKIT.DLL
COMCAT.DLL
STDOLE2.TLB
ASYCFILT.DLL
OLEPRO32.DLL
OLEAUT32.DLL
MSVBVM60.DLL

RICHED32.DLL
RICHTX32.OCX
comdlg32.ocx
mscomctl.ocx

If you get an error saying you are missing a file you should first download the VB Run-Time files direct from Microsoft at
http://www.microsoft.com/downloads/...f9-b5c5-48f4-8edd-cdf2d29a79d5&displaylang=en
These files are required to run any program created in Visual Basic. If this doesn't help, try re-installing the application.

Q. I get an error message when trying to run the application.
A. First go to Tools->Options and click Select CK Location and make sure this is your correct CK directory, not your save location but simply your Crusader Kings Directory. (make sure to click OK and not cancel :) ). If this doesn't help, try restarting the program.

Q. Why does the program ask for my CK directory? Is it changing any information in there?
A. The program needs to read your dynasties.txt file in order to find the second name of the characters. This file is loaded as read only and so cannot be altered in the process.

Q. Is there any chance the program may change my savefile and cause it to no longer load?
A. As with the dynasties.txt file, the savefile is loaded as read only and cannot be changed by the program.


Q. What is the Setup.ini file that is created in the program directory?
A. This file is used to save the options you choose, such as your game path and what to include in the notes section, so you don't have to enter this information every time you run the program. It is best just to leave it alone. There will be no problem if you delete the file however, and if you think the file may be causing some kind of error this might be a good idea. The program will simply act as though you have just installed it and ask for the CK directory etc. As with a fresh install you should make sure to go to tools->options and set your options before creating a file.

Q. The program asks me for my CK directory every time I run it, not just the first time.
A. There is probably a problem with your setup.ini file. Go to the programs install directory (default C:\Program Files\Crusader Kings Family Tree Maker) and delete the setup.ini file. Now run the program as normal. It will definitely ask for your CK directory this time, however should not any time after.


Heres an example screenshot of a family tree taken from Rolo de Normandie, showing only male descendents right down to William the Conquerers grandchildren.

You can now download from the upload forum here: http://forum.paradoxplaza.com/forum/showthread.php?t=156894
 
Last edited:
new version

Added surname/dynasty name support. To do this the program needs to read your dynasty.txt file so you have to specify your game directory. The first time you run the program it should prompt you to point to your game directory. The path will be saved in setup.ini in the same folder as the family tree maker. You can change this from the Tools->Options menu. Also added a progress bar which at the moment shows the progress of a number of the processes going on and not the total progress. Its meant more to show you that the program hasn’t crashed and is actually still working.

Unfortunately my algorithm for finding the dynasty name and writing it is very inefficient so it takes a good few seconds to completely make the file. The added progress bar should show that its not crashed, however be ready to wait up to a minute or so if you have a large file or have specified a character with a lot of descendants (hopefully I will be able to optimise my code in the future).

If anyone else has used it yet let me know what you think. Especially of any problems, bugs or suggestions.

Next thing I will do is try to sort out the birthdates and deathdates properly.
 
New version, Dathdates and fixed birthdates

Added deathdates and fixed birthdates (I hope :) ). The birthdates that were not showing before should do now. Also added some instructions on how to use GenoPro and set up the date so you get your characters proper age.

Program almost up to first full release (v 1.00), I would like to get the families clearer; multiple marriages aren’t distinguished leading to “Ménage a trois”, and children having 3 or more parents :), before v1.00. After that there should be just optimising and adding more options.

Titles are definitely possible. What would be the best way to represent them? In the name like “William de Normandie, King of England”? or maybe just in the notes section. There could be options to set it how you like anyway.

Oh, and updated the screenshot.

Also can I ask Havard whether this kind of program would be allowed in the upload forum since it is neither a scenario nor mod?
 
Last edited:
Im having trouble installing, the Zip file seems to be corrupted, whilst the EXE crashed when I tried to use it (I imagine im lacking some components that are in the Zip)
 
Major Sharpe said:
Im having trouble installing, the Zip file seems to be corrupted, whilst the EXE crashed when I tried to use it (I imagine im lacking some components that are in the Zip)

Yeah, like i said my host seems to be not very good, I tried downloading it myself a few times and most of the time the zip didnt completely download (even tho it says it is done), leading to, as you say, a corrupted zip. Try using a download manager or just try downloading again. The zip is about 1895kb i think. I will see if this is allowed on the upload forum, which would be much easier.
 
Subterranean said:
If anyone else has used it yet let me know what you think. Especially of any problems, bugs or suggestions.

I have ran two tests. The first time I (optimistically) tried to do the entire Hauteville descendancy for 200+ years by selecting Robert Guiscard's dad Tancred as proband. After much (well, a few seconds at least) waiting I got a message that an error had occured. The GEDCOM was abt. 3.5MB and ended in the middle of the character definitions.

Second try I went a few generations down, and used Robert de Hauteville, King of Venice ?-1160. This export went fine. When trying to import into my genealogy software I run into problems though: The GEDCOM is missing the header! I added this, and is worked:
Code:
0 HEAD
1 SOUR Crusader Kings
2 VERS 1.03b
2 CORP Paradox Entertainment
1 DEST 
1 DATE 16 JUL 2004
1 FILE Savegame Venice 1280
1 GEDC
2 VERS 5.01
1 CHAR ASCII
I'd suggest adding something like that at the beginning at least...

One thing I notice after importing is that there are some persons that are represented more then once in the GEDCOM. An example from my GEDCOM:
Code:
0 @IND413293@ INDI
1 NAME Katherine/de Gael/
1 SEX F
1 BIRT
2 DATE 11 12 1194
1 DEAT
2 DATE 24 1 1195
This record starts in both line 740 and 880. The ID is identic. Examining further I find that she is listed twice in one family:
Code:
0 @FAM39@ FAM      
1 HUSB @IND367309@ 
1 WIFE @IND364080@ 
1 CHIL @IND413293@
1 CHIL @IND415120@ 
1 CHIL @IND417289@ 
1 CHIL @IND420254@ 
1 CHIL @IND421710@ 
1 CHIL @IND425841@ 
1 CHIL @IND428771@ 
1 CHIL @IND435702@ 
1 CHIL @IND441055@ 
1 CHIL @IND451815@ 
1 CHIL @IND454319@ 
1 CHIL @IND457787@ 
1 CHIL @IND460245@ 
1 CHIL @IND477141@ 
1 CHIL @IND481437@ 
1 CHIL @IND413293@ 
1 CHIL @IND415120@ 
1 CHIL @IND417289@ 
1 CHIL @IND420254@ 
1 CHIL @IND421710@ 
1 CHIL @IND425841@ 
1 CHIL @IND428771@ 
1 CHIL @IND435702@ 
1 CHIL @IND441055@ 
1 CHIL @IND451815@ 
1 CHIL @IND454319@ 
1 CHIL @IND457787@ 
1 CHIL @IND460245@ 
1 CHIL @IND477141@ 
1 CHIL @IND481437@
In fact - All the children are listed twice... Not only that, but the exact same family with the same parents and duplicate kids are also listed as @FAM41@, but with the parents switched (mom is dad and vice versa)... :confused:

That said, it's looking really promising though :)

gedtest.jpg
 
yes, very fun tool. i tried the lineage of my aragon king and boy...it was DAMN huge. it was also damn confusing.

question. on the genepro program, what date should i put in the "specify date" area? should i put the save file date or the date when the person died? im asking since im tracing atleast 3 generations of my sanchez family...theyre all dead though...
 
I've been trying this program since very early on. So far, it seems to do reasonably well, though I find it runs into problems where CK has problems anyway.

I did the Commenus tree in 1066, and it kept linking the de Toulouse family to the tree. This happened in the other Family Tree Maker out right now, the java based one, so I assume it is something with CK or such.

Alternatively, if you try Henry Plantagenet, father of Edward I, in the third scenario, you come up with a beautiful family tree, for the most part. As the maker of the program pointed out, there are often problems with double marriages and such.

So, it's trial and error. I also ran the Rurikovich family (one branch) for the second scenario and that worked even better than the forementioned pair.
 
Whenever i do any ids, it stops with an error. It once worked on a 1342 game with a female count with 3 relatives but that is it. I have no idea what is happening. I have tried loads of IDs in the save game file, but it still does not work.

EDIT: It seems to be working properly now.
 
Last edited:
I think it has problems with some of the larger files, none of my 14th century files loaded at all (they crashed before they reached the end), but no problems in the first 100 years and beautiful family trees (even the multiple marrages are fine by me). There does appear to be a problem with more than abput 6 generations, family member on top of family member is very confusing, plus there is also a wierd tendancy for some decendants to shoot off a very long distance from the other family members.

One thing I thought it might well be is that including all decendents, and not just males, the tree gets very big very quickly. Maybe an option to include only male decent would be an idea (though dont lose the possibilty of showing female decent).

THanks so much for this programs
 
I do have a problem with the marriges though: sometimes someone will not be married and a relative will instead have two wives or the person who should be married disappears.
 
Some updates from my testing.

The de Borgona family in scenario 3 is...a mess. There are all kinds of problems, where random people are included as spouses, people are listed with three or four marriages, and so on.

The Capets and von Wittlesbachs come out very nicely.

The de Coimbras suffer from much the same problems as the de Borgonas, for obvious reasons, but not nearly as bad.
 
The de Boronga's are a mess in the game so it's not really that suprising. I can't remember who the de Coimbras are.

For me it's working nicely, apart from a few bugs. Thank you Subterranean!
 
If you have a person married to more than one spouse, the children seem to always end up as children of ALL of the potential parents, giving them multiple fathers/mothers.