Save patches from (not just replacements of) .ESPs like with .ESMs
Right now, OpenMW-CS only seems to have options to:
- Create a small patch from a .ESM
- Duplicate an entire .ESP in a new .omwaddon.
Need to be able to edit stuff in a .ESP and produce nothing but a .omwaddon with the changes, as happens when you patch a .ESM.
This is needed because the license conditions of many mods do not permit distribution of new mods based on them, and a patched version qualifies as such. However, a tiny patch .omwaddon that fixes an ID name or a script typo, includes nothing else from the original mod, and is loaded with instead of as a replacement for the .ESP, is probably "safe". The community treats such patches that way, but most mod archive sites will not accept "here's my version of this mod" uploads that replace the entire .ESP, unless the original mod's licensing is very permissive.
Under current conditions, the only way I can find to create a tiny patch for a .ESP is to create a new, blank .omwaddon, and painstakingly re-create the resources to be modified in it, and this is very error-prone. I should just have a File menu option to either save a replacement .omwaddon with all resources, or a patch .omwaddon with only changed resources, while in "Edit a content file" mode. This sounds simple to implement, a matter of not treating .ESM and .ESP differently unless one chooses the option to save an entire replacement file.
PS: A "Save as ..." option should be added, too. It's annoying to not be able to save to a specific file name and location; I generally do not want my mod patches to be in
~/Library/Application Support/openmw/data/, but in the mod's directory right next to the .ESP file. I can open a separate ticket for that if you want.
(RM-4347 from redmine: created on 2018-03-06 by Dark Locq, , closed on 2018-03-07 by nobody)