Basics of Resolving Conflicts

From STEP Modding Wiki

This is a simple overview of resolving conflicts between mods with TES5Edit. This will cover simple ways of creating a patch for conflicting mods that can be used by users of any level. This is also to instruct user how to patch their mods manually instead of generating a merged patch. The merged patch saves a lot of time, but one drawback is that it can still make mistakes and needs to be checked every time it is created. That in itself can be quite time consuming to check if the mod list is really long. Instead this will use the filter menu built into TES5Edit, so users can learn some basics about conflicts and how to resolve them. Learning more about the filter menu will reduce time patching as mod lists grow and become much more complex.

Contents

Creating a Patch

These examples are going use the Unofficial Skyrim Patch, More Salt Please, and Sounds of Skyrim-Dungeons. Both of the later mods have conflicts with the USKP that will need to resolved and are good examples of different types of conflicts.

This is the load order of just the mods listed and Skyrim.

[00] Skyrim.esm
[01] Update.esm
[02] Unofficial Skyrim Patch.esp (Remember USKP is a false flagged ESM)
[03] Dawnguard.esm
[04] HearthFires.esm
[05] Dragonborn.esm
[06] More Salt Please.esp
[07] SoS - The Dungeons.esp


For USKP and More Salt Please the vendor lists are in conflict. There is a perk that needs to be forwarded from the USKP that is assigned to certain vendors, but the increase in salt that vendors sell needs to be kept as well. Sounds of Skyrim-Dungeons has not been updated in a long time and does not forward many location and weather region keywords from the USKP.

TES5Edit

For this example some very specific instructions will be given that apply directly to the mods being patched, but directions are similar for many types of conflicts.

USKP & More Salt Please

  1. Load the entire mod list in TES5Edit.
    • Loading the entire mod list to patch even two mods will prevent any conflicts if other mods happen to change the same records.
  2. Open up More Salt Please.esp and then open Container.
    • All the records in the plugin are visible. Each one that has a red background is in conflict.
  3. Click the first record, 0006479C, to view the record in the right pane.
    • Each column shows a mod that has the same record.
    • For this record the second column is for USKP and it has red text on top because it is the conflict loser. The third column is More Salt Please and orange because it is the conflict winner.
    • By looking at the Items listed in the record, it is easy to see that the middle column vendor list has an extra Item, PerkMasterTraderGold, which is red. That means it will not get loaded by Skyrim and must be forwarded.
    • All the other records in More Salt Please with red background have this same type of conflict, so a patch between these two mods needs to be created.
  4. Right click any mod in the left pane and select Apply Filter.
  5. From the pop-up menu tick the top right check box, 'by conflict status overall', underneath that tick 'Conflict' and 'Critical Conflict', then on the top middle tick 'by Record Signature', and beneath it tick 'CONT - Container'. Make sure there are no other check boxes ticked and click Okay.
    • Those instructions will make TES5Edit filter the records for conflicts from the CONT record type only and isolate the issues with More Salt Please and USKP. This type filtering is very specific, but gives an idea about how the filter menu can be used for conflict isolation. Learning more about the filter menu will reduce time patching as mod lists grow and become much more complex.
  6. When TES5Edit is done loading open More Salt Please.esp and open Container. All the conflicted records are now listed without the non-conflicted records.
  7. Highlight all the records, right click on one of those records and select Copy as override into....
  8. From the message box select <new file> and click Okay. Name the new plugin, for this example: USKP-MSP-SoS Patch.esp.
    • A message box will pop-up informing that the new plugin will have to have a new master(s). Click Yes.
    • Every plugin requires Skyrim.esm and Update.esm as masters. Sometimes when copying a record from another mod, it will be required as a master.
  9. Now click on the first record again, 0006479C, and there should be 4 columns now, with the new plugin listed in the last column.
    • Since the copying was done from the More Salt Please.esp all the records in the new patch are identical to More Salt Please.esp.
  10. The records from USKP can now be forwarded to the new patch. Drag the Item, PerkMasterTraderGold, straight across to the USKP-MSP-SoS Patch.esp column. Notice that each Item consists of four lines and must be moved from the top line.
    • Notice the entries all turn green, this means that there is no longer a conflict, but there are now 5 Items listed in the last column and the row above the Items is the COCT - Count. This line needs to match the amount of Items listed in that column.
  11. Right click the COCT - Count line in the last column and select Edit. Enter 5 in the test box and click Okay.
    • The records in the second and third column have turned red again, but this is not a problem, since the only line in conflict is the Item count. This is something that can happen often when forwarding Items or Keywords, just make sure that the count is correct after forwarding all the conflicts.
    • As a rule of thumb, combine the Items first, then make the correct count.
  12. Now click on the next record in conflict from the left pane and repeat step 8 and 9, if needed, until all the conflicted records are resolved.
  13. When all the records are complete, right click in the left pane pane and select Remove Filter.
  14. Open up More Salt Please.esp and open Container, every record should be green except for two records, 0006479C and 0009437C. Those two had to have different item counts and should be red because of it. USKP and More Salt Please are now patched.

USKP & Sounds of Skyrim

  1. Open up SoS - The Dungeons.esp->Cell->Block 0->Sub-Block 5 and click the record 000563E2.
    • This record has a red background and the right pane will show three columns and the middle column for the USKP is in conflict.
  2. Look at the 'XCCM - Sky/Weather from Region' line and notice that there is nothing listed for the third column. SoS - The Dungeons.esp is missing a fix from the USKP and the fix needs to be forwarded.
  3. Right click the left pane and select Apply Filter.
  4. From the pop-up menu tick the top right check box, 'by conflict status overall', underneath that tick 'Conflict' and 'Critical Conflict', then from the top middle tick 'by Record Signature', and beneath it tick 'CELL - Cell'. Then along the bottom tick 'Flatten Blocks/Sub-Blocks', 'Flatten Cell Children', and 'Conflict status inherited by parent'. Make sure there are no other check boxes ticked and click Okay.
  5. When TES5Edit is done loading open SoS - The Dungeons.esp and open Cell. All the conflicted records are now listed without the non-conflicted records.
    • Also, noticed that the Blocks and Sub-Blocks levels are gone as well because of the additional check boxes that were ticked this time that were not while patching More Salt Please.
  6. Highlight all the records, right click on one of those records and select Copy as override into....
  7. From the message box select USKP-MSP-SoS Patch.esp and click Okay.
    • A message box will pop-up informing that USKP-MSP-SoS Patch.esp will have to have a new master, SoS - The Dungeons.esp. Click Yes.
  8. Now click on the first record again, 000151F2, and there should be 4 columns now, with the USKP-MSP-SoS Patch.esp listed in the last column.
    • Since the copying was done from the SoS - The Dungeons.esp all the records in USKP-MSP-SoS Patch.esp are identical to SoS - The Dungeons.esp.
  9. The records from USKP can now be forwarded to the USKP-MSP-SoS Patch.esp. Go to the XCCN line and drag WeatherReach straight across to the USKP-MSP-SoS Patch.esp column.
    • Every column should now be green showing that the missing fix from the USKP is now part of the record copied from SoS - The Dungeons.esp to USKP-MSP-SoS Patch.esp. This is an example of forwarding fixes from the Unofficial Patches.
  10. Now click on the next record in conflict from the left pane and repeat step 5 until all the conflicted records are resolved.
    • Ignore any cell with a conflict of the 'XCLW - Water Height' line. The conflict does not matter. Focus on the XCCN and XEZN lines.
  11. When all the records are complete there should only be two records with red background, 0001522A and 00054D0E, because those two had a conflict with 'XCLW - Water Height', which is ignored.
  12. Right click the left pane and select Remove Filter.
    • Now every plugin is listed and the conflicts between these mods have been resolved.
  13. It is a good idea to clean and sort the masters of any plugin that is created or modified with TES5Edit. Right click the USKP-MSP-SoS Patch.esp and select Clean Masters then do it again, but select Sort Masters.
  14. Close TES5Edit and make sure to save the patch.


Applying Conflict Resolution Elsewhere

Conflict resolution can be done for many types of records and this was just two examples how patches can be created. The filter menu can be used for other types of records if there are mods that need to be patched. This process can become much more time consuming and confusing as the mod list grows.

Now that a basic understanding of the filter menu and conflicts has been demonstrated, much more difficult mod lists can be patched using the Advanced Conflict Resolution (coming soon) page.