Nexus-Mods / Nexus-Mod-Manager

GNU General Public License v2.0
973 stars 165 forks source link

"Mod loading error" issue with any OMOD archive #1272

Open KirinFuji opened 1 year ago

KirinFuji commented 1 year ago

Describe the bug It seems NMM has support for OMOD archives through the OMod.dll and they seem to install right and even works with conflict detection and other features. However after I install one and restart NMM I get the error "Error loading the following mods" and I get a list. After looking to see what's wrong with these files I realized they are all and my only OMOD mods. After restarting the mods disappear from the NMM Mods tab list and NMM seems to lose track of it. However if I delete the mods manually from NMM Mods folder I get the error saying the mod cant be found and a yes or no to delete its files, indicating that it is still tracking it.

image

Environment

Checking the trace log shows for example Another mod being "Registered." but not Alchemy Advanced"

        Found: X:\SteamLibrary\steamapps\common\Oblivion\NMM\Mods\AdvancedMagicAndMarksmanLeveling v2.1-39322-2-1.7z
            Registered.
        Found: X:\SteamLibrary\steamapps\common\Oblivion\NMM\Mods\Alchemy Advanced.rar

Also says that it is missing under the "Initializing Install Log..." Section:

    Found Alchemy Advanced.rar...Missing

Its also there in my InstallLog.xml

    <mod path="Alchemy Advanced.rar" key="g1kcvenq">
      <version machineVersion="1.3">1.3</version>
      <name>Alchemy Advanced</name>
      <installDate>3/14/2023 4:10:33 AM</installDate>
    </mod>

To Reproduce Not exactly sure everything seemed fine until one day I loaded up NMM and started getting the Mod Loading Error. Looked into it a little bit and realized they were all OMOD archives.

Additional information The only affected mods seem to be OMOD mods. I can install other stuff just fine and NMM will remember after a restart.

Attached a trace, config, and install log.

TraceLog20230314042855.txt user.config.txt InstallLog.xml.txt

KirinFuji commented 1 year ago

Apparently I don't even have to install an OMOD simply adding an OMOD archive and then restarting NMM produces the error saying it failed to load them. Does NMM not support OMOD archives?