Multiple installs

Support for running, installing or compiling OpenMW

Before you submit a bug report for the first time, please read: Bug reporting guidelines
Post Reply
Mordigant
Posts: 9
Joined: 12 May 2021, 18:17

Multiple installs

Post by Mordigant »

I was wondering if there is a way to do multiple completely separate installs. By that I mean one instance of OpenMW that only points to my main game, a different copy that does not share any of the settings that points to my less-modded game data install that I use for testing mods that I work on, and a third copy that points to the total conversion mod I downloaded a few days ago. My main concern is keeping the TC separate as it includes new splash screens, interface colors, and other thematic aesthetic differences that I do not want in my main game, but when I tried just switching the data folder in my OpenMW back to my regular game it kept the interface changes even though the regular game was otherwise restored. I tried installing two copies in separate folders but it turns out they both read the same configuration file in My Documents and load the same mod list. Please help!
User avatar
Atahualpa
Posts: 1176
Joined: 09 Feb 2016, 20:03

Re: Multiple installs

Post by Atahualpa »

OpenMW relies on a local directory (the exact location depends on your OS). What many people do is having differently named local OpenMW folders and "activating" only one of them by renaming it "OpenMW". On Windows, it could look something like this:

Code: Select all

~USER\Documents\My Games\
  |-- OpenMW\             <-- currently active, e.g., regular 0.46.0
  |-- OpenMW_Development\
  |-- OpenMW_Nightly\
  |-- OpenMW_Testing\
It's not the most elegant solution, but it works like a charm. You only need to remember to change your directory when playing with another installation.

In theory, we could change this and allow users to put their local directory whereever they want, but we've discussed this in the past and decided not to do this for practical and technical reasons.
ezze
Posts: 513
Joined: 21 Nov 2013, 13:20

Re: Multiple installs

Post by ezze »

OpenMW follows the xdg variables, so just set $XDG_DATA_HOME and $XDG_CONFIG_HOME to different places for each installation, you can wrap the executable in a little script to set the variables up and start openmw.
Chris
Posts: 1625
Joined: 04 Sep 2011, 08:33

Re: Multiple installs

Post by Chris »

ezze wrote: 13 May 2021, 17:43 OpenMW follows the xdg variables, so just set $XDG_DATA_HOME and $XDG_CONFIG_HOME to different places for each installation, you can wrap the executable in a little script to set the variables up and start openmw.
On Linux at least. Does it try to read those variables on Windows too? IIRC, Windows has some AppData environment variables, though I don't know which OpenMW uses.
Mordigant
Posts: 9
Joined: 12 May 2021, 18:17

Re: Multiple installs

Post by Mordigant »

Thanks, got it working. Turns out I just needed different versions of the openmw.cfg file, each pointing to a different install directory. I have three versions of that file which I drag and drop into the folder when I want to switch environment. I tested switching between the environments and it works cleanly. If I discover and decide to download more TCs in the future I will continue to use this method.
Post Reply