RimPy icon indicating copy to clipboard operation
RimPy copied to clipboard

Updating existing mod folders with steamcmd does not delete outdated files

Open Xetaxheb opened this issue 2 years ago • 1 comments

As here: https://github.com/lilwhitemouse/RimWorld-LWM.DeepStorage/issues/144#issuecomment-1704355643

TL;DR if you use the downloader to update a mod or the processes that in turn use the downloader and therefore steamcmd, outdated files (like a removed LoadOrder.xml) do not get purged.

Whether this is a steamcmd issue or a rimpy issue I can almost guarantee you things won't be changed on steamcmd's end because breaking compatibility, so it might be worth to purge a modfolder and redownload fully in any instance where the folder exists ?

Short of extended tracking/comparing to outdated workshop downloads, this is probably the best solution at the risk of deleting customized files inside of it (say, tweaked or created xml files) by the end user. (I'm not aware of any mods that save data in the modfolder themselves? could be ig? though they shouldn't be)

Could maybe make a yes/no for whether to purge existing files (recommended yes).

Xetaxheb avatar Sep 05 '23 20:09 Xetaxheb

I created this https://github.com/dougbenham/SteamCmdWrapper maybe it will be of use to you.

dougbenham avatar Dec 10 '23 01:12 dougbenham