Tips: Portable Install

Performance Navmeshtool Merging Objects Cleaning Plugins INI Importer Custom Shaders Custom Groundcover Register BSAs File Renames Atlased Meshes

Portable installations allow one to easily run one or more of our mod lists out of separate folders using a single installation of OpenMW itself. Below we will demonstrate running two mod lists out of portable installation directories but it's entirely possible to install and run every mod list on our site in this way.

Table Of Contents

Install Mod Lists

First, install one or more mod lists using umo (as described in our Automatic Installation Guide):

# Install all mods for Just Good Morrowind
umo cache sync just-good-morrowind
umo install just-good-morrowind

# Install all mods for Total Overhaul
umo cache sync total-overhaul
umo install total-overhaul

Configurate Mod Lists

Next, use MOMW Configurator to generate the appropriate configurations for each list into a portable directory:

# Generate configs for Just Good Morrowind
momw-configurator config just-good-morrowind --portable-dir C:\games\MOMWLists\just-good-morrowind --run-navmeshtool --run-validator

# Generate configs for Total Overhaul
momw-configurator config total-overhaul --portable-dir C:\games\MOMWLists\total-overhaul --run-navmeshtool --run-validator

Run Mod Lists With MOMW Configurator

Now you're all set to run OpenMW out of the portable directory you just set up:

# Run Just Good Morrowind
momw-configurator run just-good-morrowind C:\games\MOMWLists\just-good-morrowind

# Run Total Overhaul
momw-configurator run total-overhaul C:\games\MOMWLists\total-overhaul

Run Mod Lists In Testing Mode

You may also run OpenMW in testing mod by adding the --test argument as seen below:

# Run Just Good Morrowind in testing mode
momw-configurator run just-good-morrowind C:\games\MOMWLists\just-good-morrowind --test

# Run Total Overhaul in testing mode
momw-configurator run total-overhaul C:\games\MOMWLists\total-overhaul --test

You can also pass the --script argument, which requires a path to a MWScript file (for example Test Script Lite), that will be executed during testing mode. Also available is the --cell argument which requires a cell name value, this will spawn you into the given cell. Please note that cell names with spaces in them need to be quoted e.g., "Balmora, Guild of Mages"

Run momw-configurator run --help for a detailed explanation of all arguments.

Portable Installation Usage Instructions

Below is the information that used to be on this page before the above guide was written. It's kept here in case it might be useful for people seeking to know how the feature works at the engine-level.

OpenMW 0.48 added the ability for a "portable install"; that is: one where all the cfg files and related things that normally live amid your user documents instead live in a separate folder of your choosing.

This can be handy for playing with total conversion mods such as Arktwend or Starwind, where you may want to keep these files separated from your normal files for playing Morrowind.

To use this feature, create a launcher for OpenMW with a couple of specific arguments as follows:

# Linux/macOS
openmw --replace=config --config ~/games/StarwindCfg --user-data ~/games/StarwindCfg

# Windows
openmw.exe --replace=config --config C:\games\StarwindCfg --user-data C:\games\StarwindCfg

In order for the game to launch, you need valid openmw.cfg and settings.cfg files in the folder you specify. You could copy those from the normal location and then edit them as needed.

This specific example is for Starwind, but you can name the destination folder anything you want.

Alternatively, you may just want all of OpenMW's extra files, including saves and screenshots, to be in a separate folder of your own choosing. You can choose any directory you would like, but for this example we will create a config folder inside the root directory of your OpenMW installation and tell OpenMW to use that directory instead.

In the global openmw.cfg file, that is the one which is in the root directory of your OpenMW installation, do the following:

  1. Replace "?userdata?data" with "config\data".
  2. Replace "?userdata?" with "config".
  3. Replace "?userconfig?" with "config".
  4. Copy the contents inside the default configuration folder into the config folder.

Since we are using a path that's in OpenMW's root directory we can take a shortcut and just give OpenMW the folder name itself, but for more complex paths you can instead give OpenMW an exact folder path, such as "D:\OpenMW 0.49\config".

Performance Navmeshtool Merging Objects Cleaning Plugins INI Importer Custom Shaders Custom Groundcover Register BSAs File Renames Atlased Meshes