#3431 VFS resource name clashes

Feedback on past, current, and future development.
Post Reply
Hallfaer
Posts: 9
Joined: 15 May 2014, 17:10

#3431 VFS resource name clashes

Post by Hallfaer » 21 Apr 2018, 18:44

Concerning: https://bugs.openmw.org/issues/3431

I made a bug report/feature request (it's causing me bugs, but still it's a new feature) for on the tracker, but it was rejected rather harshly: "Not even considering that this is really a feature request, this should be discussed on the forums"

So I'm going to put this out here.

Situation 1:
I'm loading two different games in the OpenMW engine:
- Data Files from both A and B will be considered.
- If a resource name clash happens, which file is loaded is determined by the internal logic of the OpenMW VFS, even though one of the files is guaranteed to be wrong.

Situation 2:
- I'm loading different datasets of Morrowind (mods with conflicting files / evaluating texture replacements)
- Same problem

Solution:
- Allow the user to specify which data folders should be loaded into the VFS for which game configuration.

User avatar
akortunov
Posts: 302
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation
Github profile: https://github.com/akortunov

Re: #3431 VFS resource name clashes

Post by akortunov » 21 Apr 2018, 19:20

Situation 1 is really a feature request about per-game configs for OpenMW engine, what makes sense.
Hallfaer wrote:
21 Apr 2018, 18:44
- If a resource name clash happens, which file is loaded is determined by the internal logic of the OpenMW VFS, even though one of the files is guaranteed to be wrong.
IIRC, VFS will just load folders listed in openmw.cfg according to order of "data=" entries in the config and take the file from later data folder if there is a conflict.
Situation 2 is not really a bug since an engine does not know which file "is guaranteed to be wrong".

User avatar
AnyOldName3
Posts: 946
Joined: 26 Nov 2015, 03:25

Re: #3431 VFS resource name clashes

Post by AnyOldName3 » 21 Apr 2018, 22:46

There's no easy way to enable and disable data directories temporarily, and there's disagreement on whether or not there even should be. One solution is to manually comment out the data directories which are inappropriate for the thing you're doing, but this isn't ideal. There are other less official solutions, though.

If you look around these forums, lots of people have started writing rudimentary mod managers for OpenMW. I don't actually know if any of them are any good, but managing data directories for multiple profiles seems like the kind of thing that many of them would support.

Personally, the solution I use is to manage my stuff in Mod Organizer (as I'm a Windows user, so I can do that) and then use this plugin that I wrote to transfer my data directory selection and plugin selection to OpenMW. This also has the advantage that tools like MLOX can be started via Mod Organizer and see all your plugins even though they're in different directories.
AnyOldName3, Master of Shadows

Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests