File Cleaning

Info: Some mods, and even Bethesda's own official DLCs, contain deleted references. Aka. "Dirty Edits". The DLCs actually contain more dirty edits than all the mods combined. These "dirty edits" are not causing any problem if Skyrim is run ONLY with the DLCs, and no mods. However, when mods are loaded, the dirty edits from the DLCs become problematic, and can cause crashes. A "dirty edit", is when a mod or DLC, contains data that deletes an object in the world space. If only that one specific mod or DLC is loaded, this won't cause any problems. But if another mod has a reference to that specific object that was deleted, the game will most likely crash. TES5Edit can "undelete" these objects, and disable them instead, which makes references from other mods valid, and keeps the object from appearing in the game at the same time. TES5Edit can also clean a lot of other minor issues, but those are not really important for stability. If you have a lot of mods, you might be able to decrease loading time by removing some double data, but it's a lot of work for a minor improvement. SBP only focus on cleaning the "dirty edits", but if you want to further optimize, check out this cleaning guide: (LINK)

If you haven't done so already, download and install TES5Edit (LINK)
Unpack and copy the files to any directory, then make a shortcut to "TES5Edit.exe".

 


Update & DLC Cleaning


The official Skyrim update and the DLCs need to be cleaned individually before any other mod can be cleaned.

Clean the Update

1 - Start TES5Edit.exe
*Upon startup, TES5Edit will show a list of everything in the load-order, including Skyrim.esm (The base game-data).
2 - Check only "Skyrim.esm" and "Update.esm", and click "OK"
*TES5Edit will start loading the selected data, and check all references, which will take some time.
When the message bar shows: "Background Loader: finished", the process is done.
3 - Now select all files, and right-click one of them. Select "Apply Filter for Cleaning" from the menu.
*TES5Edit will start counting all records. This will take some time as well. When done, TES5Edit shows a complete tree of all references.
4 - Mark the "Update.esm", and DON'T MARK ANY OTHER FILES! Then right-click, and select "Undelete and Disable References".
*When done processing, TES5Edit will show a message about how many records that were changed.
5 - Close the program. (This will save the changes to the "Update.esm" file)

Clean the Dragonborn DLC, using almost the same method as with the Update.

1 - Start TES5Edit again
2 - Check "Skyrim.esm", "Update.esm" and "Dragonborn.esm", and click "OK"
3 - Select all files, and right-click one of them. Select "Apply Filter for Cleaning" from the menu.
*TES5Edit will start counting all records again.
4 - Mark the "Dragonborn.esm", and DON'T MARK ANY OTHER FILES! Then right-click, and select "Undelete and Disable References".
*When done processing, TES5Edit will show the message about how many records that were changed.
5 - Close the program. (Saving the changes to "Dragonborn.esm")

Clean the HearthFires DLC, using the same method as with the Dragonborn DLC.

1 - Start TES5Edit again
2 - Check "Skyrim.esm", "Update.esm" and "HearthFires.esm", and click "OK"
3 - Select all files, and right-click one of them. Select "Apply Filter for Cleaning" from the menu.
*TES5Edit will start counting all records again.
4 - Mark the "HearthFires.esm", and DON'T MARK ANY OTHER FILES! Then right-click, and select "Undelete and Disable References".
*When done processing, TES5Edit will show the message about how many records that were changed.
5 - Close the program. (Saving the changes to "HearthFires.esm")

Clean the Dawnguard DLC, using the same method as with the HearthFires & Dragonborn DLC.

1 - Start TES5Edit again
2 - Check "Skyrim.esm", "Update.esm" and "Dawnguard.esm", and click "OK"
3 - Select all files, and right-click one of them. Select "Apply Filter for Cleaning" from the menu.
*TES5Edit will start counting all records again.
4 - Mark the "Dawnguard.esm", and DON'T MARK ANY OTHER FILES! Then right-click, and select "Undelete and Disable References".
*When done processing, TES5Edit will show the message about how many records that were changed.
5 - Close the program. (Saving the changes to "Dawnguard.esm")

Reference images: (Dragonborn used as example)

                     Cleaning of Dragonborn                                       Cleaning of HearthFires                                         Cleaning of Dawnguard




 

Video Tutorial



 


- END OF LINE -



Skyrim is ready for launch!
*
If the game crashes don't worry. This happens sometimes at the very first launch because of inconsistency with game-cache.
Just start Skyrim again and everything will work just fine.

 


Check out the Galley for art & screenshots