# * If they don't match what was there when the last FNIS output was created, uses IPluginDiagnose interface to display a warning # * This may already be handled by MO's built-in (but disabled) FNIS checker plugin import os import pathlib import sys from PyQt5.QtCore import QCoreApplication, qCritical, QFileInfo from PyQt5.QtGui import QIcon from PyQt5.QtWidgets import QFileDialog, QFileSystemModel, QMessageBox if "mobase" not in sys.modules: import mock_mobase as mobase class FNISMissingException(Exception): """Thrown if GenerateFNISforUsers.exe path can't be found""" pass class FNISInactiveException(Exception): """Thrown if GenerateFNISforUsers.exe is installed to an inactive mod""" pass class UnknownOutputPreferenceException(Exception): """Thrown if the user hasn't specified whether to output to a separate mod""" pass class FNISTool(mobase.IPluginTool): def _init_(self): super(FNISTool, self)._init_() self._organizer = None self._parentWidget = None def init(self, organizer): self._organizer = organizer if sys.version_info < (3, 0): qCritical(self._tr("FNISTool plugin requires a Python 3 interpreter, but is running on a Python 2 interpreter.")) QMessageBox.critical(self._parentWidget, self. # Future behaviour: # * As in Vortex's FNIS integration, keeps track of mod files which affect FNIS. You can do this by double-clicking the Overwrite mod and use drag
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |