0 of 0

File information

Last updated

Original upload

Created by

Apocrypher00

Uploaded by

Apocrypher00

Virus scan

Safe to use

About this mod

An extension for Vortex that adds support for Morrowind mods packaged in BAIN format.

Requirements
Permissions and credits
* Part of the May Modathon Month *

Recently I decided to start playing modded Morrowind, and coming from Skyrim, I assumed that Vortex would be the right tool for the job.
Vortex of course supports Morrowind, but it wasn't working as well as I hoped.
As far as I can tell, many Morrowind mods are packaged using the BAIN format.
This format uses sub-folders to denote optional components that are meant to be merged when installing the mod.

Example Mod Archive:
  • 00 Core\
  • Main.esm
  • scripts\
  • textures\
  • 01 Optional Component\
  • Option.esp
  • textures\
  • 02 Another Option\
  • Option.esp
  • textures\
  • 03 Patch for Mod X\
  • patch.esp
  • package.txt

To install the mod manually, you would install the contents of "00 Core" into your data folder, then install the contents of each optional folder on top of that.
Vortex appears to recognize BAIN format, but instead of letting you choose the way a FOMOD installer would, it simply installs the contents of the "00" folder, then installs all other files as-is.

Example Data Folder:
  • 01 Optional Component\
  • Option.esp
  • textures\
  • 02 Another Option\
  • Option.esp
  • textures\
  • 03 Patch for Mod X\
  • patch.esp
  • scripts\
  • textures\
  • Main.esm
  • package.txt

This works for simple BAIN installers, but if you want to actually use one of the optional components, or the options are required but the user must choose, then manual changes are still required.

Instead of the default behaviour, whenever a BAIN formatted mod is detected, my extension takes over.
The user is presented with checkboxes for each numbered folder, then it installs the contents of each checked folder in order.
It ignores content in the root folder and any unselected folders.
For example, if we choose 00, 01, and 03, this would be the result:

Example Data Folder:
  • scripts\
  • textures\
  • Main.esm
  • Option.esp
As you can see, this skips the step of having to pre-process the folders you want manually yourself.
Just install directly from Vortex and choose the options you want.
Select 'Cancel' to cancel the installation.
If no folders are selected, the installation will also be cancelled.
To change your selection after installing, either re-install, or uninstall and install again.

Note that if 01 and 02 were selected, the plugin from 01 would be installed, then the plugin from 02 would be installed.
Files in a higher numbered folder take precedence.

Also note that files in the root are ignored. (Let me know if it should be optional to include them instead)

* I have heard that there are more complicated BAIN mods with lettered options instead of numbers or other naming schemes.
This extension doesn't currently support that since the examples I used only have numbered subfolders and I didn't learn about other possiblities until development was finished.
Therefore, anything other than the numbered folders you select WILL BE IGNORED. *

* Please check the contents of the mod you are installing BEFORE installing them through my extension *

If people want me to support other types of BAIN mods, please let me know and give me examples. I may consider updating the extension.
This extension is currently restricted to Morrowind, but if other games use BAIN and the functionality is the same, I can add those games.
Also please report any issues with the functionality as I've described it above.