Crusader Kings II

Crusader Kings II

410 ratings
CleanSlate
2
2
2
   
Award
Favorite
Favorited
Unfavorite
File Size
Posted
Updated
21.183 MB
5 Dec, 2021 @ 5:25pm
20 Feb, 2023 @ 2:20pm
5 Change Notes ( view )

Subscribe to download
CleanSlate

Description
GOAL
To provide a clean, stable, readable base from which other modders can "jump off" to create their own mods more easily and fix any bugs and oversights that Paradox has missed.


Features
  • Modding Improvements
  • Bugfixes
  • Performance Improvements
  • Better Tooltips
  • Never-before-seen events
  • Inconsistencies Corrected


Current Release
Beta 4 - All base game script rewritten, most content reorganized for easier searching, nearly 600 bugs fixed and numerous smaller improvements.
Manual downloads, old versions and development builds are available through the Paradox forums link at the bottom.


Future Goals
Correct all localisation, in all four languages.
Fixing bugs reported on the official forums.


Modding Improvements
This is CleanSlate's original goal. All script has been updated to use newer script features where applicable, and inefficient and/or hard-to-comprehend script has been optimized, and where necessary, documented. Scripted triggers and effects have been properly put to use, and various new scripted triggers have been added, for modders to make use of. See the master changelog, included in the download, for more information, or visit the forum thread.


Bugfixes
CleanSlate is also a massive community patch, fixing nearly 500 bugs and countless minor issues. For details, see the master changelog, included in the download, or visit the forum thread (link below).


Performance Improvements
Though not a primary goal, we have measured modest performance improvements on top of everything else. Your mileage may vary, of course, and performance increase may depend depending on enabled DLC, start date and your hardware, in particular CPU and RAM.


Better Tooltips
You'll no longer see 'Ruler: Spouse: Opinion of Ruler decreases by 10 for 5 years (Furious)'. Almost (*) all uninformative parts of tooltips have been cut, making it easier to see what happens.

In addition, various requirements to enact laws and take decisions has been made easier to read as well.

The game is now much better informing you about losing traits, when you gain a trait opposite to one your current traits, and should always send a notification if trait changes are a matter of chance, meaning you'll no longer have to check your character page to check if you did indeed get (un)lucky.

* Due to limitations in the game's source code, some tooltips could not be cleaned up entirely.


Never-before-seen events
We have, of course, not added any new events. What you will finally see, for the first time, are various Paradox-developed events, some of which have been part of the game since its very first release, and others, added by various patches and expansions. Among these are siege events, guardian events and birth events.


Inconsistencies
While working our way through all of the game's script files, we have smoothed over several inconsistencies. Not all older content properly accounts for various new features added over the years. Consider content that locks out women, without regard for religion features and game rules, or not properly considering various sexual dispositions characters can have towards each other.


Compatibility
Crusader Kings II version 3.3.5.1 highly recommended.
May work with versions back to 3.2.x.
Ironman compatible, not achievement compatible.

ui_scale: Include the following line in your scale_ui_xxxx.mod file:
dependencies = { "CleanSlate" }

CleanSlate is not and in most cases cannot be compatible with any mods that have not been built off CleanSlate. That is the downside of thoroughly overhauling the game's script.
We recommend anyone interesting in rebasing mods on CleanSlate to compare current mod files to vanilla files, and bring these changes over to CleanSlate's files. Reading CleanSlate's master changelog for additions and removals is highly recommended.
Authors of large mods are advised to wait until CleanSlate is stable, to avoid endless compatibility patching whenever CleanSlate is updated.


Feedback
CleanSlate is not yet finished. Efforts to squash more bugs is ongoing. New bugs may currently be part of CleanSlate. If you come across any, please report them, so that we can make CleanSlate even better.


Background
As I'm sure everyone in the CK2 Modding Community is aware, the vanilla script for the game is... well... it's a mess. There are myriad bugs, hardly any of the scripting itself is human readable, and the localization is scattered over a dozen or so files with no real organization to it. There have clearly been several batches of cooks on this particular broth. To resolve this, the CK2Plus mod team presents our new standalone community resource: CleanSlate.

To be clear, this mod/resource will (eventually) overwrite every. single. vanilla. file. It already overwrites the vast majority. It will not be compatible with any other mod that modifies vanilla files (unless it's specifically built off of CleanSlate) and vanilla saves are not compatible.

As of right now, the mod is in BETA. Save compatibility between versions is not guaranteed. Until we reach the first full release things are just changing too much between each version to guarantee that.


Credits
Developers
schwarherz
SuccinctScrivener
Whizzer
Special thanks
Aerotinge, for his many bug reports
Lajos Teuer, for the Community Patch


More information
Master changelog included in download.
Paradox Forums Post[forum.paradoxplaza.com]

Report a Bug[github.com]
42 Comments
OP Cheater 9 Mar @ 1:29am 
This make my localization unavailable. how to use this with that?
Dawid 6 Dec, 2024 @ 4:38am 
also this mod ruins too many other mods.
Dawid 27 Nov, 2024 @ 6:18pm 
Condition for coronation is "was nor crowned AFTER 30 years of rule" which means my character need to be uncrowned FOR 30 years...
MichaSulfr 26 Nov, 2024 @ 12:48am 
Gonna need more info than that...
Dawid 22 Nov, 2024 @ 6:09pm 
coronation decision is **** by this mod
KimiWaMidara 11 Nov, 2024 @ 8:10am 
hi, just a question, can I make sketchy cheat menu off of this? I somehow managed to c/paste the other buildings that got changed on the full upgrade but not the fort, tradeposts and etc.
Literal Lizard 13 Jul, 2024 @ 9:03am 
Having an issue with this mod where it hides the capital markers under a players realm, not a huge problem but makes it slightly hard to figure out whats going on where within a personal realm. Not using any other mods with this either, ruled out it's just this one causing the issues
DjangoBingBango 21 Apr, 2024 @ 2:34pm 
Any chance this gets updated soon? Been wanting to use this but hesitant as there are a few unfixed cleanslate bugs marked on the github. Also wondering if there are plans to fix some of the oddities in pagan reformation? (Mainly the impossible trait preferences in Ancestor Veneration like pirate or pilgrim, + a bunch of inconsistencies with Enatic clans.)
Saxmo 31 Mar, 2024 @ 7:06am 
Great tool, 10/10, i cant code for shit and this is really helpful
MichaSulfr 18 Feb, 2024 @ 9:54am 
@UnbrokenPL Are you using other mods? I see no reason that CB would be blocked and you're the only person that's reported it (assuming you're the same person that recently posted with no information with no other context and an entitled tone on GitHub)