Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Increase plugin limit for Morrowind #1558

Open
DarkGreyCat opened this issue Jul 18, 2021 · 3 comments
Open

Increase plugin limit for Morrowind #1558

DarkGreyCat opened this issue Jul 18, 2021 · 3 comments

Comments

@DarkGreyCat
Copy link

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+.

@Ortham
Copy link
Member

Ortham commented Jul 18, 2021

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?

@pStyl3
Copy link
Member

pStyl3 commented Jul 18, 2021

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.

@Ortham
Copy link
Member

Ortham commented Jul 18, 2021

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.

@sibir-ine sibir-ine changed the title Tes3 plugin limit of 255 Increase plugin limit for Morrowind Feb 3, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

4 participants