davethepak Posted May 30, 2018 Share Posted May 30, 2018 So I am putting some finishing touches on a mod I have been working on for a while, and want to add an "Un-install" feature. I could not find ANYTHING about to to approach such a task. My mod is fairly simple;A couple of quests to hold scripts and aliases A mcm script for options.Two perksThree spellsThree magic effectsabout four total scripts. So, how do I write an uninstall to help for people who want to remove it? My guess is;An option that;* removes all perks, spells and other added effects to the player.* stops the quests What else do I do? All of my scripts already use register for single update, so I am hoping once their associated sources (quests or magic effects) are gone they are too. Any advice out there? Link to comment Share on other sites More sharing options...
cdcooley Posted June 1, 2018 Share Posted June 1, 2018 There's no such thing as a safe way to uninstall a mod for Skyrim (without starting a new game or reverting to a save made before that mod was first used) except in very rare cases (like texture replacers). Your guess about what to do does minimize the damage, but any saves made with that mod active will be forever tied to it. If nothing else the MCM script will still be registered with SkyUI and even the savegame script cleaners won't be able to undo the MCM damage caused by uninstalling the mod. My advice is to give people a way to shut down the effects of the mod but don't suggest that they can use that as a safe way to uninstall the mod. If they don't like the mod and have toggled its features off in the MCM page then there's really no reason for them to uninstall it. Link to comment Share on other sites More sharing options...
PeterMartyr Posted June 2, 2018 Share Posted June 2, 2018 I once wrote a clean up function(Stop Quests, etc.). It left more orphan scripts than simple removing it. When I tested the save with Save Cleaner, there is no save way to remove a mod, except roll-back to a save with no history of said mod. Even a clean up functions gets saved to the game save. To override previous records!!! Common sense really. Link to comment Share on other sites More sharing options...
davethepak Posted June 2, 2018 Author Share Posted June 2, 2018 Thanks for the replies. I will just do something simple like unregister the scripts, and remove all the perks and magic effects - and let the players know there is only so much that can be done. At least my mod is really lightweight and I only ever use registerforsingleupdate. thanks for the comments - if anyone else has anything to add, would love to hear it. Link to comment Share on other sites More sharing options...
Recommended Posts