loot icon indicating copy to clipboard operation
loot copied to clipboard

Increase plugin limit for Morrowind

Open DarkGreyCat opened this issue 4 years ago • 3 comments

Hi, Loot seems to have a plugin limit of 255 which is fine for the other games but MWSE and OpenMW support plugin counts of 1000+.

DarkGreyCat avatar Jul 18 '21 18:07 DarkGreyCat

Can you provide a source that describes how this works? E.g. what are the maximums supported by MWSE and OpenMW, how to tell when MWSE or OpenMW is in use, what does a Morrowind.ini with more than 255 active plugins look like?

Ortham avatar Jul 18 '21 18:07 Ortham

Morrowind Script Extender

Nexus ReadTheDocs Reddit

Note that MWSE is not and cannot be compatible with OpenMW.

Mod limit raised from 256 to 1024

OpenMW

openmw.org GitHub GitLab

Misc

Replaced the content file limit of 255 (2^8-1) with a content file limit of 2147483646 (2^31-2) and a per content file limit on the number of dependencies of 255.

pStyl3 avatar Jul 18 '21 18:07 pStyl3

Does anyone know what Morrowind does if you have more than 256 GameFile entries in your Morrowind.ini and you're not using MWSE or OpenMW?

It would be easy enough to check for the presence of MWSE.dll and raise the limit to 1024 if it's present, but just because it's installed doesn't mean the game will be run with it loaded. If running normal Morrowind with 1024 GameFile entries causes problems, then just checking for MWSE.dll probably isn't enough, and LOOT would probably have to expose a toggle to raise the limit.

I don't think I want to go down the route of explicitly supporting OpenMW, because it extends the plugin system, can store its plugins in several places, and lists the load order in a different file and format to Morrowind. Explicitly supporting all that would introduce significant complexity, when it looks like OpenMW users can just keep their config in sync with their Morrowind.ini, and OpenMW can presumably handle more than 256 GameFile entries in there.

Ortham avatar Jul 18 '21 19:07 Ortham