Skip to content

Showing which wads a mod affects. #103

@Dioarya

Description

@Dioarya

Problem / Motivation

Right now I have a couple tens of mods I wish to turn on/turn off every now and then depending on which character i want to use, I enabled a bunch of new ones at once and now it has to patch over 200+ wads for all the mods, I know only a few mods actually affect that many. I would like to get rid of the mods that modify too many wads. But no way to easily do that as of the latest release.

Proposed Solution

During patching, a mod's overrides on the game need to be bucketed into specific wads the override is valid on, may it be characters, maps, items, etc. After it figures which wads to modify and build for the mod; it should also be able to cache and display the affected wads as a number on the mod card, and upon hovering or some other method of getting the details, it should also show which specific wads are affected, not just the count.

This could be cached after the first time patching a specific mod. Of course, we need to be weary of a mod hash changing after changes outside of the LTK-Manager, then invalidate those as soon as possible.

Alternatives Considered

  1. Patch each mod by themselves to figure out the count, and which wads affected. Then keep track of them somewhere else (cumbersome)
  2. Figure out the wads modified through unpacking the mod yourself, which could be inaccurate. (also cumbersome)

Additional Context

This could also prevent some mods sneakily modifying other unrelated, miscellaneous wads in a malicious way for the user.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No fields configured for Feature.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions