Show unmanaged files in game folder #3833
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
Twice, users have requested the ability to list the mod files not installed by CKAN:
The goal is to make it easier to figure out which manually installed mods are present.
Changes
Now a new menu option opens a new Unmanaged Files tab, showing a file/folder tree for the current instance's game folder, excluding known stock game folders (like
KSP_x64_Data
andPDLauncher
) and excluding files installed by CKAN. The default view expands the game's primary mod folder (GameData
for KSP1,BepInEx/plugins
for KSP2) and collapses all others.The new toolbar button icons are ugly and do not match the old ones, but I do not know where those old ones came from (it wasn't documented when they were added), and I don't have the ability to create my own. Think of the toolbar as a functional framework to be filled in with better content if a graphic designer contributes some. They are either from Material Icons (Apache-2.0 license), or "free for commercial use":
Fixes #2045.
Fixes #3757 (duplicate).
@hrobertson and @linuxgurugamer, if you have time, please download the test build from the Checks tab's Artifacts dropdown, try it out, and let us know if it works for you.