Logo: Idrinth's Random Thoughts Idrinth's Random Thoughts

Mod File Overwriting To Patch

0 views

I recently was fed up with waiting for the Mod Configuration Tool to include my fixes, so I thought I'd just go ahead and build a patch for what I added and fixed.

The technical part of the patch was easy, a few new functions I already had in merge requests on github just carried over, replacing existing code. What was not easy was getting it to overwrite properly.

The first thing I tried was declaring MCT a dependency of my mod, something that should have been sufficient in my initial understanding. Weirdly enough it still behaved as if nothing was changed.

Second I tried adjusting the load order. As you can imagine the effect was tiny, as in non existant, because out of some reason the MCT files were still preferred over their patched counterpart.

What finally did it was a single flag in the dependency declaration, that forces a load. I have no idea why that flag specifically made the load order completely unnecessary, but I'm accepting the result: My mod finally overwrites the patched mod's code.

So if you ever need to overwrite files, do the following:

I hope this helps someone, have fun modding! Mod is on the Workshop by the way.

Related Posts

  1. Idrinth Thalui in Skyrim v1.1 — Modding, 2026-04-04