[Modding] Mod Downloads not Removing Old Files

IotaSphere shared this bug 22 hours ago
Submitted

When SE downloads a mod from Steam, it keeps all files originally in that mod's directory.

For certain cases, like backups to modified SBC's this is OK, however, when making alterations to

a mod's scripts, like file deletion or renaming, those changes are not propagated properly to users of the mod.

When renaming a file, the new file will be downloaded, however the old file won't be deleted, leading to compilation errors from duplicate classes and type-names.

When deleting a file, SE just keeps the old file around, leading to potentially unwanted and generally unnecessary code being compiled and loaded. It also causes name collision errors if a name from the deleted file is used elsewhere.

If possible, can SE automatically delete the mod directory and perform a fresh install if a mod has been updated since last download? Or at the very least, can it perform a full deletion of the scripting directory prior to download - which would avoid name collisions from files the mod author renamed or deleted?

Leave a Comment
 
Attach a file
Access denied