rimpy-custom / RimPy

Mod Manager For Rimworld game
432 stars 49 forks source link

Enhancement: improve support for local mods #21

Open captain828 opened 2 years ago

captain828 commented 2 years ago

I would like support for local mods to be improved, more specifically:

  1. to better detect local mods when sorting as it's kind of broken now if you have local dependencies (they show as missing)
  2. to easily allow creating local copies of steam mods from RimPy (instead of manual or using Mod Manager)

Why do I think this would be a great addition to RimPy?

Whenever there are breaking version changes in RimWorld, local mods become a necessity for anyone not yet wanting to hop on the new version or if they have active playthroughs.

Improving this experience through points (1) and (2) should attract more people to use RimPy when such changes happen, which in turn means more community data for sorting.

IMO implementing this would inherently improve non-Steam mod support as well.

How should these be implemented?

For point (1), this is purely backend work with the end visible result being better detection of local dependencies. That means no more warnings in the active mod list and no more false negatives in the sort window.

For point (2), adding a button to the top right button panel that says "Make local" below "Create pack" could be a good option for visibility. As this isn't a destructive action I don't think a confirmation dialog is needed.

PS: happy to help with development on this if it's deemed useful

rimpy-custom commented 2 years ago
  1. RimPy should detect local mods fine, the issue may be in different packageIds of the mods. Mods may have the same name but different packageIds. Let me know if that is not the cause of the issue.
  2. Local copies has problematic part. You can have only one local mod per each steam mod. So local copies may overwrite existing local mods. Not a big deal, but that prevent you from havinf several versions of the same mod. Might be added later.