ck3_history_extractor_lib 0.2.0

The ck3_history_extractor toolkit
Documentation

ck3_history_extractor_lib

Crates.io Version docs.rs License

The core toolkit of ck3_history_extractor. If you want to make your own tool that uses ck3 save files, this library is for you.

Functionality

  • Extraction of all core game entities like Titles, Characters, Dynasties, and more.
  • Ironman support
  • Localization resolving
  • Serde serialization (optional)
  • minijinja based entity visualisation (optional)

Library features

  • permissive: Supresses localization errors
  • serde: Enables serde serialization
  • display: Enables visualisation

Permissive

For debugging purposes, the localization errors will be raised, unless the permissive feature is enabled. This is probably not what you want in a production environment.

Display

The visualisation consists of facilitating the rendering of HTML pages for each save file entity. Each entity that can be visualised in such a way, will also try to render necessary static assets, so for example, a title will try to render its map. Since this is all a rather narrow feature scope, most users will not need this feature.