Jump to content

Photo

[GUIDE] Manual Cleaning Skyrim Master Files


  • Please log in to reply
43 replies to this topic

#1
alt3rn1ty

alt3rn1ty

    Mere Morsel

  • Supporter
  • PipPipPipPipPip
  • 3,472 posts


Cleaning the Official Master ESMs


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 ?

Spoiler


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"


4947-0-1487853683.png


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


4947-1-1487853683.png


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"


4947-2-1487853683.png


Wait until Filtering is finished then ..

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


4947-3-1487853683.png


Wait until it finishes then ..

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


4947-4-1487853683.png


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

Update.esm

Dawnguard.esm

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

Hearthfire.esm

Dragonborn.esm


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


4947-0-1487895490.png


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


4947-1-1487895490.png


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


4947-2-1487895489.png


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.

Edited by alt3rn1ty, 04 October 2018 - 10:41 PM.


#2
alt3rn1ty

alt3rn1ty

    Mere Morsel

  • Supporter
  • PipPipPipPipPip
  • 3,472 posts

Sticky topic requested - Along with amending the title typo



#3
alt3rn1ty

alt3rn1ty

    Mere Morsel

  • Supporter
  • PipPipPipPipPip
  • 3,472 posts

Edited the OP for a bit more clarification, and now that TES5Edit 3.1 has been released ( which does one of the manual cleaning stages during automatic cleaning ) .. Amended the manual cleaning section to remove the WI Courier edit no longer needed.



#4
alt3rn1ty

alt3rn1ty

    Mere Morsel

  • Supporter
  • PipPipPipPipPip
  • 3,472 posts

A bit more editing of the wording for clarification.



#5
Shurah

Shurah

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 2,130 posts

What's the interest to do a tutorial to remove testing cells? Some of these cells are used by quests to remove NPCs from the world, so in the best case these edits will be useless.



#6
alt3rn1ty

alt3rn1ty

    Mere Morsel

  • Supporter
  • PipPipPipPipPip
  • 3,472 posts

Arthmoor made the entries on the Creation Kit wiki :

http://www.creationk...Manual_Cleaning


and answered a similar question in the AFK Mods topic :
 
http://afkmods.iguan...es/#entry153868
 

Curious question, because I've never read this before so obviously have never done it. Are the "Testing Cells" doing any harm if they aren't cleaned out?

No, they do no harm, but with the new Bash tag detection script they can cause a mod to get tag recommendations that don't fit.



As far as I know there have been no reports of any negative impact in removing them

http://afkmods.iguan...m-master-files/

http://www.theassimi...m-master-files/

http://tesalliance.o...m-master-files/

 

And since version 3.1 of TES5Edit, one of those Wild Edit Testing cells is being automatically cleaned without any manual cleaning ( CELL 00039F67: Wild edit. Remove this record. It's a testing cell ) - As noted in the OP. I dont think Zilav has had to change anything in TES5Edit with regard to that so far ( the latest W.I.P of TES5Edit still automatically cleans it, which has been updated quite a lot since 3.1 hit the streets ).

 

 

If you do not wish to do the manual cleaning Dawnguard part of the guide .. That is entirely up to you.

I would at least recommend the first one though :

CELL 00016BCF: Remove XEZN subrecord referring to RiftenRatwayZone [ECZN:0009FBB9]. Otherwise it blocks the official fix in Update.esm

( Dawnguard.esm load order loads later than Update.esm )


Edited by alt3rn1ty, 10 May 2015 - 03:52 PM.


#7
Shurah

Shurah

    Faithful poster

  • Supporter
  • PipPipPipPip
  • 2,130 posts

Thank you to have taken the time to do a detailed reply.



#8
alt3rn1ty

alt3rn1ty

    Mere Morsel

  • Supporter
  • PipPipPipPipPip
  • 3,472 posts

Amended the OP - As noted by Elgar if using the latest W.I.P of TES5Edit, it will clean 68 ITMs from Dragonborn.esm ( previous versions cleaned 64 )



#9
alt3rn1ty

alt3rn1ty

    Mere Morsel

  • Supporter
  • PipPipPipPipPip
  • 3,472 posts
Updated the OP - To reflect Release of TES5Edit 3.1.2 on Nexus
 
Also there was a discrepancy of how many records were processed after the last edit noting 68 ITMs instead of 64 on Dragonborn.esm, the processed records of UDRs now reads 214318 processed records instead of 214322 ( minus the 4 additional records removed prior to doing UDRs )


#10
alt3rn1ty

alt3rn1ty

    Mere Morsel

  • Supporter
  • PipPipPipPipPip
  • 3,472 posts

Uploaded new image for CRC checks at the end of the guide






Page loaded in: 0.807 seconds