Project

General

Profile

Bug #3557

Resource priority confusion when using the local data path as installation root

Added by Snaar fal about 1 year ago. Updated about 1 month ago.

Status:
Confirmed
Priority:
Normal
Assignee:
-
Category:
General
Target version:
Start date:
09/21/2016
% Done:

0%

Reproducibility:
Always
Operating system:
Linux
Severity:
Normal

Description

Simple texture replacement in Tribunal/Mournhold isn't working, when using separate data folders, as described in Detailed mod installation instructions outlined here:
https://wiki.openmw.org/index.php?title=Mod_installation

The only way textures can be replaced in Mournhold is by overwriting existing textures in the Data folder, which is the vanilla Morrowind method. This issue might also affect Boodmoon, as well. I have not tested that.

Using separate data folders for texture replacement works fine elsewhere in the game (Balmora, Caldera and so forth).

I have verified the ordering of folders is correct and I'm using openmw-0.40

openmw.cfg (35.1 KB) Snaar fal, 09/22/2016 08:06 PM

History

#1 Updated by scrawl . about 1 year ago

If you post your openmw.cfg we might be able to help.

#2 Updated by Snaar fal about 1 year ago

Jannik Heller wrote:

If you post your openmw.cfg we might be able to help.

Happy to do that. All of the current mods & simple replacers I have installed work fine.

It doesn't seem to matter the order or position in which I place the folder for simple texture replacers for Mournhold, nothing gets replaced, only overwriting the textures in the data folder works.

#3 Updated by Chris Robinson about 1 year ago

I remember there being some issue with one of the cfg files declaring ~/.local/share/openmw/data as a data path which gets applied after the data paths in ~/.config/openmw/openmw.cfg (even if the latter includes the former). I don't remember the details, but when I asked, I was told that was expected behavior (OpenMW-CS writes omwgame/omwaddon files to ~/.local/share/openmw/data, so I guess it wants to make sure the files it creates always take precedence). I had to move the base Morrowind data files to a different directory to keep the base game files from overriding mod files.

#4 Updated by scrawl . about 1 year ago

By design, the ~/.local/share/openmw/data path takes priority over other data paths (and it's added implicitely, even if you don't define it in your user .cfg file).

The workaround for now, is to install the base game to a different location than ~/.local/share/openmw/data (or to a subdirectory).

Perhaps it would be a good idea for OpenMW to treat the ~/.local/share/openmw/data as a normal data path if it's explicitely listed in the user's cfg file.

#5 Updated by Snaar fal about 1 year ago

Noticed in log that it always adds the data folder at the end.
I added it at the beginning but it didn;t make any difference
It added another one at the end.
-------------------------------------------------------------

Loading settings file: /home/snaar/.config/openmw/settings.cfg
Adding BSA archive /home/snaar/.local/share/openmw/data/Morrowind.bsa
Adding BSA archive /home/snaar/.local/share/openmw/data/Tribunal.bsa
Adding BSA archive /home/snaar/.local/share/openmw/data/Bloodmoon.bsa
Adding data directory /home/snaar/.local/share/openmw/data
Adding data directory /home/snaar/.local/share/openmw/mods/VibrantMorrowind4
Adding data directory /home/snaar/.local/share/openmw/mods/AnimChests
Adding data directory /home/snaar/.local/share/openmw/mods/UVCorrectedMeshes
Adding data directory /home/snaar/.local/share/openmw/mods/DwemerTexture
Adding data directory /home/snaar/.local/share/openmw/mods/HQShacksBoats
Adding data directory /home/snaar/.local/share/openmw/mods/fairmagicka
Adding data directory /home/snaar/.local/share/openmw/mods/BBMannequins
Adding data directory /home/snaar/.local/share/openmw/mods/balcony_house
Adding data directory /home/snaar/.local/share/openmw/mods/BalmoraStrongholdBE
Adding data directory /home/snaar/.local/share/openmw/mods/adamantiumarmor
Adding data directory /home/snaar/.local/share/openmw/mods/area_effect_arrows
Adding data directory /home/snaar/.local/share/openmw/mods/masterindex
Adding data directory /home/snaar/.local/share/openmw/mods/MagicalMissions
Adding data directory /home/snaar/.local/share/openmw/mods/ApelFire
Adding data directory /home/snaar/.local/share/openmw/mods/NewMoons1
Adding data directory /home/snaar/.local/share/openmw/mods/LysolGuarSkinBanners
Adding data directory /home/snaar/.local/share/openmw/mods/SoulGems
Adding data directory /home/snaar/.local/share/openmw/mods/Signposts2
Adding data directory /home/snaar/.local/share/openmw/mods/DNCTextures1024
Adding data directory /home/snaar/.local/share/openmw/mods/CliffRacer
Adding data directory /home/snaar/.local/share/openmw/mods/Scrib
Adding data directory /home/snaar/.local/share/openmw/mods/Guar
Adding data directory /home/snaar/.local/share/openmw/mods/Azura
Adding data directory /home/snaar/.local/share/openmw/mods/KhajiitHQ
Adding data directory /home/snaar/.local/share/openmw/mods/DwemerCrossbow
Adding data directory /home/snaar/.local/share/openmw/mods/Akulakhan
Adding data directory /home/snaar/.local/share/openmw/mods/morrowind_septims
Adding data directory /home/snaar/.local/share/openmw/mods/IngredientsMeshReplacer
Adding data directory /home/snaar/.local/share/openmw/mods/FireFern
Adding data directory /home/snaar/.local/share/openmw/mods/HiResRobes
Adding data directory /home/snaar/.local/share/openmw/mods/BeautifulClothes
Adding data directory /home/snaar/.local/share/openmw/mods/AOFPotionsRecolored
Adding data directory /home/snaar/.local/share/openmw/data
----------

#6 Updated by Chris Robinson about 1 year ago

I added it at the beginning but it didn;t make any difference
It added another one at the end.

Yes, as mentioned it's implicitly added to the end of the data path list. Likely for the reason mentioned about OpenMW-CS (and as such, I think it's a good idea to ensure it's added at the end, even if it's listed in openmw.cfg). To fix it, you need to move the base Morrowind files to a different directory -- e.g. rename 'data' to 'Data Files' or something -- and change openmw.cfg accordingly, then it should work.

However, I think the main problem is that IIRC the installation wizard will default to ~/.local/share/openmw/data, so it's going to happen to everyone who uses that without knowing better. So I think either the implicit directory path needs to change, or the default install path the wizard suggests does (with a warning when using the implicit path that it can break mods).

#7 Updated by Snaar fal about 1 year ago

Thank for the info guys. I see now that if there are assets of the same name that I'm wanting replaced in folders like:

/local/share/data/Textures
/local/share/data/Meshes
/local/share/data/Icons

..the assets will not be replaced by the replacement mods. My solution was to create a folder for base assets in my mods folder and move the three folders above into that:

local/share/openmw/mods/Base_Assets

I'm treating them like any other mod, only ensuring I place this folder's path first in openmw.cfg, like so:

data=/home/snaar/.local/share/openmw/mods/Base_Assets
data=/home/snaar/.local/share/openmw/mods/VibrantMorrowind4
data=/home/snaar/.local/share/openmw/mods/AnimChests
data=/home/snaar/.local/share/openmw/mods/UVCorrectedMeshes
data=/home/snaar/.local/share/openmw/mods/DwemerTexture
data=/home/snaar/.local/share/openmw/mods/MournholdTexture

The Mornhold texture replacement now works fine, and as it turns out, there were a couple of more textures that were not being replaced that I hadn't even noticed.

Perhaps the wiki page I referenced in the initial bug report should be updated to clarify, and alert users to this behavior.

Thx

#8 Updated by Marc Zinnschlag 12 months ago

  • Target version changed from openmw-0.41 to openmw-0.42

#9 Updated by scrawl . 9 months ago

  • Subject changed from Texture Replacement Not Working "The OpenMW Way" In Tribunal/Mournhold to Resource priority confusion when using the local data path as installation root

#10 Updated by scrawl . 9 months ago

  • Target version changed from openmw-0.42 to openmw-future

#11 Updated by scrawl . 9 months ago

  • Target version changed from openmw-future to openmw-1.0

#12 Updated by Alexei Dobrohotov 6 months ago

  • Duplicated by Support #3886: Some UI mods don't load unless replacing the original files added

#13 Updated by Alexei Dobrohotov 6 months ago

  • Duplicated by deleted (Support #3886: Some UI mods don't load unless replacing the original files)

#14 Updated by Alexei Dobrohotov about 1 month ago

  • Status changed from New to Confirmed

Also available in: Atom PDF