Mutagen-Modding / Mutagen.Bethesda.Analyzers

A project to diagnose and analyze the health of a mod or a load order
GNU General Public License v3.0
14 stars 4 forks source link

SKSE required but not installed #39

Open Noggog opened 3 years ago

Noggog commented 3 years ago

If analyzing a load order, we can maybe also look for an SKSE installation. If we also find a reliable way of finding SKSE plugins, can perhaps warn the user

erri120 commented 2 years ago

If we also find a reliable way of finding SKSE plugins, can perhaps warn the user

Plugins go into the SKSE/Plugins folder and are DLLs. For other games the folder name is F4SE (F04), OBSE (TES4) or NVSE (F:NV). Severity should be error or ctd since some mods use dll loaders that don't launch if SKSE (or other) is not installed.

mrudat commented 2 years ago

The other kind of dependency is a little harder to check; the original purpose of the script extender(s) was to extend papyrus scripting with extra functions that just don't exist in vanilla.

You'd need a papyrus decompiler to actually check, though you could probably get close enough by looking at data/scripts/source/**/*.psc to see if any references are made to script extender functions... but not every mod ships the script source, and it's not guaranteed to be up-to-date.