In "Enable/Disable Mods" list, correctly display mod paths which both start with a directory operator and point at a compressed file
InscrutableCat opened this issue · 3 comments
I like to share some mods between Thief Gold and Thief 2 - specifically, Enhancement Pack 2 and NecroAge. Both of these are single ".crf" files placed in a shared mods folder in the Thief Gold folder.
Both of these also frequently need disabling for certain fan missions.
The entries for these mods in cam_mod.ini -> mod_path are as follows (using ep2.crf as an example):
- For Thief Gold:
.\mods_shared\ep2\Thief1+.\mods_shared\ep2 - For Thief 2:
..\Thief Gold\mods_shared\ep2
However, AngelLoader doesn't display these paths in the mods list, and this seems to be because the paths fulfil both of the following:
- The path starts with a directory operator for either the current (.) or parent (..) folder.
- The path ends with a compressed file (either .crf or .zip), or a plain folder located inside such a compressed file.
Paths which don't satisfy both of these criteria do appear in the list, e.g. paths pointing at plain folders not located within a compressed file.
The desired mod overrides can still be added by typing the entries manually into the "Disabled mods" textbox - for these two mods, the following works:
- ep2+NecroAge+Thief1
Should be fixed, try this version: https://drive.google.com/file/d/19A2EzauszmHbmXq4f-VcyAcXgVhKfLoR/view?usp=share_link
Yes, it's fixed now. You, sir, are a gentleman and a scholar. 👍
Thank you!
No problem. New version up. :)