Skip to content

v2.0.0

Compare
Choose a tag to compare
@TCA166 TCA166 released this 24 May 22:46
· 81 commits to main since this release
13a7c3e

Rust rewrite release

I have rewritten the entirety of the original script in Rust, bringing speed, stability and accuracy improvements alongside brand new features!
I will list here all the main changes, but if you aren't interested in that just download the executable version attached to this release that applies to your system and go on your way. The guide on how to use the tool is in the README.

New features

Apart from having ported the entirety of the old feature set, this rewrite brings with it the addition of graphs to the output. Now most pages have their own graphic that aims to help you visualise the game world better, Titles have rendered maps of the de facto extent of each title, characters and faiths display graphs of deaths through time, which allows us to visualise the rise and decline of a culture or faith and the savefile itself has a timeline page with a cool graphic that visualises the lifespans of empires and notable events like holy wars and great conquests. While I might not be able to render portaits I am damn well making sure there are things to look at.

Speed improvements

The old Python script was painfully slow. Now thanks to a better parsing approach and a transition to a faster language the program works surprisingly fast. The old Python script took about 5 mins to go through a file and generate all the html. The Rust version takes about 30 seconds to do the same, but with more characters and graphics in each page. Staggering improvement to say the least. Disabling graphic rendering brings that time down to just 8 seconds on my machine.

Future

I will continue working on this I think. Still plenty of things to improve, fix and implement. I am sure pdx will add new features worth visualising and I still got some ideas for cool graphs.

Version readme

Full Changelog: v2-pre...v2.0.0