This plugin can be used to install BAIN archives containing a wizard script (wizard.txt
).
Go to the releases page and download the latest release for your MO2 version.
Mod Organizer 2 does not currently manage INI Tweaks, so the Wizard installer is partially functional regarding them.
- The installer will create proper INI Tweaks when requested, but these will not be applied to the game INI files automatically. If INI Tweaks are present, a pop-up should appear at the end of the installation.
- INI Tweaks for OBSE script are directly applied to the OBSE scripts.
Below are the steps to setup a development environment.
- Clone this repository into the Mod Organizer 2 plugins folder.
# (Optional) you can change the name of the folder:
git clone https://github.com/Holt59/modorganizer-installer_wizard installer_wizard
- Requirements: You need a Python 3.8 installation. The list of requirements is in
requirements.txt
:
# Those are only the development requirements.
pip install -r requirements
- "Build" the installer:
# This will install the 3rd party libraries in src/lib (required for the installer) and convert the .ui files into .py files.
make.ps1
- Create a root
__init__.py
- MO2 will not find and load the plugin unless there is a__init__.py
file in the root of the folder, so you need to create one:
from .src import createPlugin
Once you are satisfied with your changes, you can open a pull-request. Before doing so, you should check that your code is properly formatted and clean:
# The -vv option is mandatory, otherwise tox will crash...
tox -vv -e py38-lint
The interpreter used by the installer is from the
bain-wizard-interpreter
package.
For issues related to interpreter (i.e. the script is wrongly parsed), open issues on the interpreter repository.
MIT License
Copyright (c) 2020 Mikaël Capelle
See LICENSE for more information.
Note: The release archives contains external libraries that are under their own LICENSE.