Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Option to exclude certain mods from the installation #1

Open
0xVR opened this issue Aug 18, 2020 · 2 comments
Open
Assignees
Labels
enhancement New feature or request

Comments

@0xVR
Copy link

0xVR commented Aug 18, 2020

No description provided.

@retrixe retrixe self-assigned this Aug 18, 2020
@retrixe retrixe added the enhancement New feature or request label Aug 18, 2020
@retrixe
Copy link
Owner

retrixe commented Aug 20, 2020

Hmm, this will need some changes in how I was thinking of being able to update mods in place as well. Currently I was thinking of creating a modversion.txt in the mods folder that says the version of the mod pack installed, and an oldmods.txt file in the zip that would contain the list of mods that are now old. Unzip the mods on top, then move the mods listed in oldmods.txt to mods/oldmods. But this will break if people selectively install mods. I think we will need a mods.json instead of oldmods.txt to infer what mods the person has installed and only update those.

In the zip, or perhaps in the main mod folder, a mods.json like this:

{
  "mods": {
    "mod name": "new.jar"
  },
  "oldmods": {
    "old.jar": "mod name"
  }
}

Instead of overwriting all mods like what the idea was before, read all mods, see if any are old, then update them to new mod.

As for this feature in general, it's more low priority but will be plumbing the support for this to add it in future.

@retrixe
Copy link
Owner

retrixe commented Aug 20, 2020

Support for this has been plumbed, now I only need to actually implement this in the GUI.

@retrixe retrixe pinned this issue Sep 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants