Jump to content


[GUIDE] Manual Cleaning Skyrim and Skyrim Special Edition Master files

skyrim skyrim se master plugins esm cleaning xedit

  • Please log in to reply
10 replies to this topic


    Mere Morsel

  • Account closed
  • PipPipPipPipPip
  • 3,566 posts

Cleaning the Official Master ESMs

NOTE : This guide is now out of date - I dont have any Bethesda games installed anymore, and xEdit has changed greatly since I last had it installed.
Anyone wishes to re-do this guide on a new page bringing it up to date .. Crack on :D



This guide assumes using TES5Edit on Skyrim Nexus,
Or SSEEdit on Skyrim SE Nexus

Due to this guide being dual purpose ( For Skyrim and Skyrim SE ) for the rest of this guide I will refer to both tools as xEdit.
Screenshots of tools used may be one or the other, or older versions, which does not matter, the images are only to illustrate the method / options used.

Why Clean the Master Files ?


Before moving on to the Manual cleaning, something everyone should do prior to Manual Cleaning :

Automatic cleaning of Bethesda's ESMs with xEdit

With the games Original esm's installed ( You can use Steam to Verify Integrity of Game Cache of Skyrims files to ensure you have good error free copies of the original master files ), and in accordance with the following wiki article http://www.creationk...ty_Plugins_List :

Load up xEdit.

1. Right click the plugin selection screen and select "none"


2. Tick the relevant esm to edit, and click okay ( If you have not cleaned any of your Master files yet, the first one to tick will be Skyrims "Update.esm" ), then click Okay


After each of the following actions, wait for a message in the message window that the previous operation has finished / Done :

3. Right click the plugin after you get the "Background Loader : Finished" message,and choose "Apply Filter for Cleaning"


Wait until Filtering is finished then ..

4. Right click the plugin and choose Remove Identical to Master Records


Wait until it finishes then ..

5. Right click the plugin and choose Undelete and Disable references


Wait until it finishes then ..

6. Close xEdit, and it should check with you that you wish to save the plugin ( this only happens if you have made any changes to the plugin to save, if it just closes .. Then you have not cleaned anything )

Rinse and repeat the Automatic cleaning ( steps 1 - 6 above ) for each of the master files.

Working from first to load, to last, not including Skyrim.esm or any unofficial patches
( No point doing Skyrim.esm, and the unofficial patches are already done and should not be cleaned )

So clean in this order



Dawnguard.esm ( Yes it needs to be done twice )



Dawnguard.esm needs to be cleaned twice ( as of xEdit 3.1 onwards - After doing the automatic cleaning routine once on Dawnguard.esm, and saving it, load it up again in xEdit and you will be able to clean a further 6 ITMs )





Dawnguard.esm needs manual cleaning aswell as automatic cleaning

After the automated cleaning is done, you can also now manually clean a few more Wild edits xEdit will not have touched ...

Recently Arthmoor has brought to the attention of the community additional information regarding manual cleaning of Dawnguard.esm, which everyone needs to do for their own setup same as automatic cleaning ( because nobody can legally upload official master files anywhere, everyone needs to do their own )

First load up xEdit

When the plugin selection comes up, right click and select None
Then put a tick in the box just for Dawnguard.esm, click Okay
After its finished loading, right click Dawnguard.esm and choose "Filter for Cleaning"

1. For "CELL 00016BCF: Remove XEZN subrecord referring to RiftenRatwayZone [ECZN:0009FBB9]. Otherwise it blocks the official fix in Update.esm." .... Expand the records as in the following screenshot, and right click the indicated sub-record, and choose Remove


2. For "CELL 0001FA4C: Wild edit. Remove this record. It's a testing cell." .... Expand the records as in the following screenshot, and right click the indicated record, and choose Remove


3. For "CELL 0006C3B6: Wild edit. Remove this record. It's a testing cell." .... Expand the records as in the following screenshot, and right click the indicated record, and choose Remove


NOTE : This guide used to include cleaning instructions for "CELL 00039F67: Wild edit. Remove this record. It's a testing cell" ( The WICourier edit ) - But since the new version of TES5Edit 3.1+ now cleans that as part of the automated cleaning ( which you should have done prior to manual cleaning ), you no longer need to clean it manually afterwards.



Now that the Master files are cleaned, you could put them in a zip, and get your mod manager to install them - Maybe at a future date you want to do a refresh of steam cache and it redownloads the masters which are not the same as the originals anymore (because you cleaned them), so then you would need to reclean them again. But beware, Bethesda have started redoing some masters due to Creation Club mods compatability, so make sure any redownloaded masters are not newer than your previously cleaned ones, because in that case you will need to reclean and rezip them again anyway.
You can go through the rest of your Load Order using Automatic cleaning of ITMs and UDRs on all your mods plugins. The sequence of cleaning mods plugins should be after you have your Load Order correct, masters are cleaned, then clean them with the last to load being the last to clean. Mod authors should have done them already, so most will probably not need cleaning. Also look out for any mod specific cleaning instructions in the mods description.
Prime example = The Unofficial Patches will not need any cleaning, they are already done, and any remaining ITMs in those plugins should be left alone because they do have a purpose .. ( its a very rare occasion when this is true ).


The xEdit Work In Progress Development topic is at the following link https://afkmods.igua...-wipz-tes5edit/
Development project is at GitHub https://github.com/TES5Edit/TES5Edit
And newer versions of xEdit (3.2.7 +) have a link to Discord top right of xEdit window.


    Mere Morsel

  • Account closed
  • PipPipPipPipPip
  • 3,566 posts

Request this topic is made sticky


@ Forum staff - Thank you



    Hell is Empty

  • Premium Member
  • 2,468 posts

Thanks for sharing this, I wasn't aware that Dawnguard needed to be cleaned more than once.




  • Premium Member
  • 12 posts

Thank you so much


    Mere Morsel

  • Account closed
  • PipPipPipPipPip
  • 3,566 posts

Yep :)


    Mere Morsel

  • Account closed
  • PipPipPipPipPip
  • 3,566 posts

If anyone is wondering when an update will come to this guide .. When the next official version of xEdit comes out of beta on Nexus

.. But note I can only now support updating the info for Skyrim Special Edition : I no longer have Skyrim LE

Currently I am using the latest development version on afk mods (at the bottom of the first post is a "Download" link).

There are a couple of differences to the results, but I will not be updating the OP until the official release because if I do, then there will be a train of questions why people still using the older but public release are getting different results .. So I need to wait until it goes live .. However I realise like yourselves that the dev version is more than likely the better version to support SSE since the Creation Club update to SSE has already gone live


With that in mind here are my results, which I have carefully checked using the dev version of 3.2.1 - But only for Skyrim Special Edition (as explained above).


[Removing "Identical to Master" records done]  Processed Records: 17403, Removed Records: 234, Elapsed Time: 00:00
[Undeleting and Disabling References done]  Processed Records: 17169, Undeleted Records: 91, Elapsed Time: 00:00


1st clean :
[Removing "Identical to Master" records done]  Processed Records: 98676, Removed Records: 621, Elapsed Time: 00:00
[Undeleting and Disabling References done]  Processed Records: 98055, Undeleted Records: 82, Elapsed Time: 00:02
<Warning: Plugin contains 57 deleted NavMeshes which can not be undeleted>
2nd clean
[Removing "Identical to Master" records done]  Processed Records: 98054, Removed Records: 6, Elapsed Time: 00:00
[Undeleting and Disabling References done]  Processed Records: 98048, Undeleted Records: 0, Elapsed Time: 00:02
<Warning: Plugin contains 57 deleted NavMeshes which can not be undeleted>
3rd clean


[Removing "Identical to Master" records done]  Processed Records: 17830, Removed Records: 178, Elapsed Time: 00:00
[Undeleting and Disabling References done]  Processed Records: 17652, Undeleted Records: 11, Elapsed Time: 00:00
<Warning: Plugin contains 5 deleted NavMeshes which can not be undeleted>


[Removing "Identical to Master" records done]  Processed Records: 214498, Removed Records: 69, Elapsed Time: 00:00
[Undeleting and Disabling References done]  Processed Records: 214429, Undeleted Records: 8, Elapsed Time: 00:02
<Warning: Plugin contains 1 deleted NavMeshes which can not be undeleted>

The highlighted results are the changes from previous results




  • Members
  • PipPip
  • 89 posts

but dawnguard.esm for skyrim SE  can be cleaned more than twice into 98038 records which is 10 less then 98308 and I have manually removed the three records.



  • Account closed
  • PipPip
  • 123 posts

Very usefull best thanks


greets Neutro :laugh:


    Mere Morsel

  • Account closed
  • PipPipPipPipPip
  • 3,566 posts
First post updated : Recently Skyrim SE has been updated a few times, and additionally xEdit has now gone public with a release on Nexus of version 3.2.1, which has refined its record editing.
Skyrim LE results are unaffected when using the new xEdit, so no need to reclean for oldrim
Skyrim SE benefits quite a bit from recleaning, and the results / CRCs/ MD5 checksums are all now up to date in the OP for using xEdit v3.2.1


    Mere Morsel

  • Account closed
  • PipPipPipPipPip
  • 3,566 posts
I have now simplified this topics first post so it does not need updating every time xEdit has an overhaul, or Bethesda pump out new masters to accommodate even more Creation Club mods compatibility, and make even more dirty edits to the original masters ..
I have dropped listing results and CRCs, and just describe the method. If I were to change results to the development version of xEdit, then people using just the official will be complaining the results are wrong, and if I direct people to use development version instead .. how long before it goes official? and I have to redirect people again?. People still get it wrong sometimes even when they think they have the same version of xEdit (official or beta), and my list of pre-checked results to help .. And then there is the odd pirate with wacky results .. So its probably best left to the capability of the user to follow instructions to the letter, at least if they dont catch everything they will be cleaning out the majority of ITMs and UDRs, and this game is old enough now to have a mature enough community who are mostly well versed in such things. I think this topic and the duplicates elsewhere have done the job.
Will update other guide pages on other sites aswell.
Main reason for the change though is I am not very active with Bethesda modding anymore, and have no interest apart from a veeeery long awaited long term playthrough which I have a set bunch of mods for which is not going to change at all now. I have broken my previous barrier of level 45 in game (previously whenever I got there for one reason or another I would end up restarting a new game), and I am discovering things in game still which I have never seen before because I have not followed all potential quests (the amount of times I have walked past Pinewatch and never realised there was more to that place than meets the eye) .. Its a quest of completing everything I haven't done before :) .. But thats only when I am not playing No Mans Sky, which kind of takes up most of my spare time now. X4 is out in November too, no doubt that will be another huge time sink for me.

Also tagged with one or more of these keywords: skyrim, skyrim se, master, plugins, esm, cleaning, xedit

IPB skins by Skinbox
Page loaded in: 1.104 seconds