Portrait Builder
By Measter

If, when the program is started, it doesn't find the "gamedir", it will ask you for the
location of your Crusader Kings II directory. If you do not provide it, the program will
not work.

Version 1.1.2
 - Added digit to DNA code output to prevent game crash(again).
 - Fixed bug when importing DNA codes when using a female portrait set.
 - DNA and Property codes are now no longer randomized when changing portrait sets.

Version 1.1.1
 - Fixed bug causing crash due to lack of beard on females.

Version 1.1
 - Rewrote the program to use CK2s portrait.gfx file instead of .portset files.

Version 1.0.3
 - Added randomization button.

Version 1.0.2
 - Fixed bug causing the first tile to have the wrong index.

Version 1.0.1
 - Changed the DNA output to match the length of that in the game's character definition.