Opened 3 years ago

Closed 3 years ago

#6053 closed defect (fixed)

Gray out incompatible mods in the mod selector

Reported by: Stan Owned by: Silier
Priority: Should Have Milestone: Alpha 25
Component: UI – Miscellaneous Keywords:
Cc: Silier Patch: Phab:D3687

Description

When you have a lot of mods it becomes quickly impossible to see eaily which are compatible with your version and which aren't.

It would be nice to:
1) Gray out mods that are incompatible like mp games and replays.
2) Being able to filter only compatible mods.

Attachments (1)

factorio_modpage.jpg (600.7 KB ) - added by Langbart 3 years ago.

Download all attachments as: .zip

Change History (5)

comment:1 by Langbart, 3 years ago

related forum threads:

The ability to see a thumbnail would be appreciated by me. Below is a screenshot of the mod page from a game called Factorio.

Last edited 3 years ago by Langbart (previous) (diff)

by Langbart, 3 years ago

Attachment: factorio_modpage.jpg added

comment:2 by Silier, 3 years ago

Owner: set to Silier
Patch: Phab:D3687

comment:3 by Silier, 3 years ago

Component: Core engineUI – Miscellaneous

comment:4 by Silier, 3 years ago

Resolution: fixed
Status: newclosed

In 25095:

Color incompatible mods and add filter

This helps to see compatible mods in the list, which can get a bit long.
For incompatible mods in disabled section use gray colour.
For incompatible mods in enabled section use red colour (what can happen when using arguments to start the game or they can be in config file).
Add option to filter compatible mods, this does not affect enabled section, because if there is incompatible mod, it is error and it needs to be always visible.
Add function recomputeCompatibility and g_ModsCompatibility to avoid recomputing aredependenciesmet when coloring mods, because every column is colored separately.
Disable enable mod button if mod is incompatible.
Remove all dependencies met messages as they are now replaced by this mechanism.

fix getSelectedModUrl in process

Differential revision: D3687
Fixes: #6053
Tested by: @Freagarach
Comments by: @vladislavbelov

Note: See TracTickets for help on using tickets.