OpenKh icon indicating copy to clipboard operation
OpenKh copied to clipboard

Add support for Github multi game collections

Open cahudson94 opened this issue 7 months ago • 3 comments

Adds definitions to the mod.yml file for the following fields:

  • isCollection: boolean for if the specific mod install is actually a collection (ie contains multiple games worth of info)
  • collectionGames: string list of the games that have mods included
  • asset.game: string to specify which game the script belongs with

This allows for the install and update of collection based mods from Github using the above tags in the mod.yml as well as the update and auto update of said installed mods. Creates a parent folder called collections on the same level as the game specific folders. And cleans up any installation of the mod that happened before it became a collection.

cahudson94 avatar Jun 05 '25 07:06 cahudson94

Good shit.

TopazTK avatar Jun 05 '25 17:06 TopazTK

Can you maybe add some info to the documentation on how to make collections? And an unit test or 2 are always nice, you can add it in the follow up pr #1176 if you want.

Delta-473 avatar Jun 11 '25 21:06 Delta-473

Yeah, I was looking at the docs a bit. I will go ahead and do it on that branch.

cahudson94 avatar Jun 14 '25 06:06 cahudson94