This plugin is obsolete - if you use SSE Engine Fixes https://www.nexusmods.com/skyrimspecialedition/mods/17230, and set its CleanSKSECosaves option to true, the orphaned co-saves will be removed automatically when the saves they go with are removed.
If you think you've found a bug, please report it here: https://github.com/AnyOldName3/modorganizer-orphaned_script_extender_save_deleter/issues
Despite turning them on, I don't get emails telling me when people have commented here, so I probably won't notice for a year or two unless you use GitHub.
Since MO2 v2.5 seems to have broken the plugin again, here is my unofficial update, based on Kailithnir's update for MO2 v2.4. Note that it's not thoroughly tested, so use at your own risk.
I've started running into the same issue now that I've updated to MO2 v2.4. I was able to (slightly hackily) resolve the issue by supplying hard-coded file extensions. Change lines 57 and 58 in OprhanedScriptExtenderSaveDeleter.py to the following:
On main mod's pages (both, MO2 and Wrye Bash, srsly...) comments are locked. So, I wonna try to ask about it here:
Why after creating Wrye Bash.esp module in Mod Organizer - he (Wrye Bash) inclusive unsupported plugins?
For example: 1) I running MO2 2) I running Wrye Bash from MO2 3) In running Wrye Bash I click on "Make a patch..." 4) After he complete the making - I click "OK" 5) After this step - my Wrye Bash.esp have red color and mods inside, which I didnt play (for example, I didnt have Vigilant and CACO, but he inclusive them as requaried plugins for his working)
Omg.. wtf? Why he inclusive non-installed plugins?! And how I can create normal Wrye Bash.esp with my load order in alter way? Did somebody know?
Still working on the most recent version of everything. - download this - put the OprhanedScriptExtenderSaveDeleter.py file on ModOrganizer2\plugins folder - open OprhanedScriptExtenderSaveDeleter.py using a text editor and change the lines with "gameSaveExtension =" and "skseSaveExtension =" to be like this
- save - close your mod manager - reopen your mod manager - click on the 4 pieces of jigsaw puzzle icon - click on Oprhaned Script Extender Save Deleter
I tested this plugin, but unfortunately it does not work with Mod Organizer 2.4.4 (as confirmed in the other comments). It requires a small edit to get it working again.
However, the popular mod "SSE Engine Fixes" has a configuration file option CleanSKSECosaves = false By default it is disabled (false), but if you enable the option, "SSE Engine Fixes" deletes SKSE cosaves that have no matching save, and can replace this Python plugin. It deletes the SKSE cosaves automatically at startup, whereas this plugin requires manual execution.
Have been using this effectively for some time. Last week it no longer appeared in the tools dropdown. No change were made that I am aware of to cause this. Have reinstalled with no affect. Suggestions? [reported on github]
Just (kind of) leaned what orphaned scripts are, downloaded this, it removed well over 2000 orphaned scripts! My game still boots up, so I am going to say this is a win! GG
65 comments
Despite turning them on, I don't get emails telling me when people have commented here, so I probably won't notice for a year or two unless you use GitHub.
ETA: I just now filed a defect report with this plugin's github project.
gameSaveExtension = "ess"
skseSaveExtension = "skse"
Why after creating Wrye Bash.esp module in Mod Organizer - he (Wrye Bash) inclusive unsupported plugins?
For example:
1) I running MO2
2) I running Wrye Bash from MO2
3) In running Wrye Bash I click on "Make a patch..."
4) After he complete the making - I click "OK"
5) After this step - my Wrye Bash.esp have red color and mods inside, which I didnt play (for example, I didnt have Vigilant and CACO, but he inclusive them as requaried plugins for his working)
Omg.. wtf? Why he inclusive non-installed plugins?! And how I can create normal Wrye Bash.esp with my load order in alter way? Did somebody know?
- download this
- put the OprhanedScriptExtenderSaveDeleter.py file on ModOrganizer2\plugins folder
- open OprhanedScriptExtenderSaveDeleter.py using a text editor and change the lines with "gameSaveExtension =" and "skseSaveExtension =" to be like this
gameSaveExtension = "ess"
skseSaveExtension = "skse"
- save
- close your mod manager
- reopen your mod manager
- click on the 4 pieces of jigsaw puzzle icon
- click on Oprhaned Script Extender Save Deleter
However, the popular mod "SSE Engine Fixes" has a configuration file option
CleanSKSECosaves = false
By default it is disabled (false), but if you enable the option, "SSE Engine Fixes" deletes SKSE cosaves that have no matching save, and can replace this Python plugin. It deletes the SKSE cosaves automatically at startup, whereas this plugin requires manual execution.
Otherwise, you need this plugin.
My game still boots up, so I am going to say this is a win! GG