Cleaning an Addon/Mod

Questions specific to OpenMW-CS can be asked, and content development related topics can be discussed here
Post Reply
User avatar
MrAnonGuy
Posts: 42
Joined: 26 Aug 2016, 01:21

Cleaning an Addon/Mod

Post by MrAnonGuy »

I keep seeing references to "Cleaning" a mod. What is meant by this and does it need to be done. If so, does OpenMW provide any tools for this function?

Thanks!
Chris
Posts: 1625
Joined: 04 Sep 2011, 08:33

Re: Cleaning an Addon/Mod

Post by Chris »

Cleaning a mod simply means you remove any "dirty" edits (where a mod defines the same record(s) with the same values as its masters/dependencies). You need to be careful though, because while dirty edits are often a mistake, sometimes they're done on purpose; for instance, if a mod relies on certain records having specific values, which also happen to be the default, it may define the record with the same values to ensure it didn't get changed by another mod earlier in the load order. A mod later in the load order may still change it though, like for example a compatibility patch.

AFAIK, OpenMW doesn't provide any tools to automate this. Though perhaps OpenMW-CS can check if a mod you're working on defines a record without changing any values.
User avatar
MrAnonGuy
Posts: 42
Joined: 26 Aug 2016, 01:21

Re: Cleaning an Addon/Mod

Post by MrAnonGuy »

Thank you for the explanation, and the caveats.
Post Reply