ModuleManager icon indicating copy to clipboard operation
ModuleManager copied to clipboard

Killing KSP invalidates the cache

Open Schnobs opened this issue 10 years ago • 1 comments

If I exit KSP properly, "Leave to main menu -> back -> quit -> yes really", I get to reload the configs from cache.

If I just kill it (close window, CTRL-C, or similar), ModuleManager will reprocess everything from scratch on the next startup.

Until just now, I've hardly ever bothered with leaving KSP. The unexpected reload of 14k modules from cache was quite a surprise :)

Schnobs avatar Oct 07 '15 21:10 Schnobs

The above is only technically right... some mods store their config in a way that it may upset MM:

GameData/TriggerTech/KerbalAlarmClock/settings.cfg GameData/000_FilterExtensions/Settings.cfg GameData/FerramAerospaceResearch/CustomFARAeroData.cfg GameData/FerramAerospaceResearch/CustomFARAeroStress.cfg GameData/FerramAerospaceResearch/CustomFARGUIColors.cfg GameData/RCSBuildAid/settings.cfg

The above is the output of find GameData/ -cmin -40 -print | grep cfg | grep -v PluginData ~2hrs after starting the game, and 24hrs after last updating my mods.

Schnobs avatar Dec 18 '15 20:12 Schnobs