SKSE Cleans Invalid Scripts from Old Mods?

12 posts in this topic

Posted · Report post

I picked this up on the Nexus, on on the comments page for the clean save mod:

Quoted from EtemSoru 3:57, 21 Feb 2013
--------------------------------------------
Use this with the new SKSE beta 1_06_09, install, go to skyrim>data>SKSE and create "SKSE.ini" and type:
[General]
ClearInvalidRegistrations=1
Save and close.
It will now clean invalid scripts from mods you don't use anymore from
your save game. It will take a while and only works as you play, but
over time your save will drop.

Anyone know if this actually works, and how safe it is to use?

Share this post


Link to post
Share on other sites

Posted (edited) · Report post

My, my, that looks familiar. :whistle:
Completely safe and yes it does work. At least, no one has reported anything amiss. Thank the SKSE team for their brilliance.

Edited by Etem

Share this post


Link to post
Share on other sites

Posted · Report post

Yes, it works. I tested it on a deliberately damaged save that I removed SoS Civilizations from. Took a couple of hours, but the result was perfect. No leftover bloat.

Share this post


Link to post
Share on other sites

Posted · Report post

Oh, my, that is wonderful!  I assume this means I can now remove some mods I've been wanting to get rid of, but hadn't because of the related script issues?

Share this post


Link to post
Share on other sites

Posted · Report post

Possibly, but only if the damage they'd leave behind is in the form of leftover update calls that aren't handled.

Share this post


Link to post
Share on other sites

Posted · Report post

Darn ... so how does one tell?

Share this post


Link to post
Share on other sites

Posted · Report post

That's what I was afraid of. If it's going to bloat, how fast will it happen? Will it be many hours or just a few saves (I save frequently)? I've been working hard to avoid bloat, so haven't actually seen it happen.

Share this post


Link to post
Share on other sites

Posted · Report post

Generally bloat from broken update registrations will build up quickly. The most infamous case being the SoS Civilizations module, which if removed improperly will bloat a save into the hundreds of megabytes within a few minutes. It does depend on how long the interval was set for though, so if a script has one but it only gets called once every 20 minutes or something, it will build up more slowly.

With the ini file setup, this shouldn't be a problem because as soon as there are invalid ones to remove, SKSE will begin purging them as you play. So they probably won't have a chance to build up.

Share this post


Link to post
Share on other sites

Posted · Report post

Thank you, Arthmoor, I appreciate the info. Clearly, that's an ini setting I'll be making as soon as I finish updating everything.

Share this post


Link to post
Share on other sites

Posted · Report post

You might have to create an ini file - SKSE doesn't come with one. Just create a new textfile with the category that the SKSE whatsnew.txt file lists in the directory that it also lists.

Share this post


Link to post
Share on other sites

Posted · Report post

Thanks, I'll do that.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now