Note: I've decided to stop development of this program, and release the source code. You can find it here.
I finally finished it. This is intended for create custom characters so that you can choose the appearance, though you can also use it to modify a character in a saved game.
For the properties code, I've left the prisoner, boils, red dots, and scars as 0, so the game can set those as needed. Properties may be overridden by the game.
Portrait data is loaded from vanilla's portrait.gfx file, or from a single mod.
Version History:
Version 1.1.7
- Added logging. Outputs log on error, and can be forced to output with -log.
- Now attempts to load portrait info from all .gfx files in \interface.
- Can now load mods from My Documents folder.
- Fixed crash when trying to parse a portrait type which already exists.
Version 1.1.6
- Fixed bug in import validation.
- Changed notice text in import dialog to specify 11 digits.
Version 1.1.5
- Updated for CKUtils 1.8.
- Now loads portrait sprites from portrait_sprites.gfx.
- Added selector for the 11th property digit.
- Importing now requires 11 digits for property code.
Version 1.1.4
- Changed UI setup to not be dependent on certain keywords in layer names. As a result of this, female portrait sets will have the Beard pull down filled, but changing it won't do anything.
Version 1.1.3
- Fixed bug in Muslim hair rendering in vanilla files.
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.
Last edited:
- 1