Skip to content

Multiple paths pointing to the same plugin but with different cases lead to automatically removed config entries

I have multiple data paths which provide the same plugin, minus the extension case: the first one is lowercase the second one is uppercase. The data path for the lowercase one comes first and the content entry is with the uppercase extension:

data="/home/niko/Games/openmw/mods/GuildsFactions/UvirithsLegacy"
data="/home/niko/Games/openmw/mods/Patches/BeautifulCitiesofMorrowindPatchesUvirithLegacyPatch/43 Uvirith Legacy Patch"
content=Uvirith's Legacy_3.53.ESP
niko@talos2 ~/Games/openmw $ ls -al "mods/GuildsFactions/UvirithsLegacy/Uvirith's Legacy_3.53.esp"
-rw-r--r-- 1 niko niko 13492972 Dec 15 20:30 "mods/GuildsFactions/UvirithsLegacy/Uvirith's Legacy_3.53.esp"
niko@talos2 ~/Games/openmw $ ls -al "mods/Patches/BeautifulCitiesofMorrowindPatchesUvirithLegacyPatch/43 Uvirith Legacy Patch/Uvirith's Legacy_3.53.ESP"
-rw-r--r-- 1 niko niko 13494911 Dec 15 19:54 "mods/Patches/BeautifulCitiesofMorrowindPatchesUvirithLegacyPatch/43 Uvirith Legacy Patch/Uvirith's Legacy_3.53.ESP"

At this point starting openmw-launcher removes the content=Uvirith's Legacy_3.53.ESP entry from my config:

niko@talos2 ~/Games/openmw $ git diff configs/openmw.cfg 
diff --git a/configs/openmw.cfg b/configs/openmw.cfg
index 01b13f37e..504822938 100644
--- a/configs/openmw.cfg
+++ b/configs/openmw.cfg
@@ -1121,7 +1121,6 @@ content=DA_Sobitur_Repurposed_1.ESP
 content=DA_Sobitur_TRIngred_Compat.omwaddon
 content=PB_SignpostsRetextured.esp
 content=correctUV Ore Replacer_respawning.esp
-content=Uvirith's Legacy_3.53.ESP
 content=Book Rotate - Tribunal v5.3.esp
 content=Book Rotate - Bloodmoon v5.3.esp
 content=Know Thy Ancestors.ESP

Changing the content= entry to content=Uvirith's Legacy_3.53.esp doesn't lead to the removal, but at this point I'm unsure which one it ends up using.

Removing mods/GuildsFactions/UvirithsLegacy/Uvirith's Legacy_3.53.esp makes using content=Uvirith's Legacy_3.53.ESP work as expected though.

modding-openmw issue: modding-openmw/modding-openmw.com#135 (closed)