Morroblivion

Morroblivion install under Fedora 15 using WINE

Firstly, and most importantly, visit and read the following two pages:

This page is not a replacement for the instructions on these pages, it is to help Linux users get Morroblivion up and running in addition to these instructions. In particular, read (and re-read) the installation instructions contained in the separate download "Morrowind_ob v034 Readme & Installation Instructions" on the second link.

You're going to need to download a lot of mods and supporting files to get this to work, so it's not newbie friendly.

Also it should be noted I am not involved in development of the mod and do not speak for any of the developers, this is just my own version of their install notes.

Once again, read the pages above!


PART 1 - Installing WINE

As root, do:

yum install p7zip unrar wine*.i686 wine*.noarch

This will install the 32-bit version of WINE, even if like me you use a 64-bit machine. It will also install the unrar and p7zip archive tools (you'll need these!). You'll need to install the rpmfusion repository for unrar: http://rpmfusion.org/Configuration

If you're using 64-bit Fedora with the Nvidia driver from rpmfusion, you'll also want to do:

yum install xorg-x11-drv-nvidia-libs.i686

As a side note, if you just want to play Morrowind as Bethesda intended (i.e. without Morroblivion), you'll want the 32-bit gstreamer plugins too (rpmfusion repo recommended for this too):

yum install gstreamer-plugins-good.i686 gstreamer-plugins-bad.i686 gstreamer-plugins-bad-free.i686 gstreamer-plugins-ugly.i686

Otherwise the lack of mp3 playback will crash Morrowind.


PART 2 - Installing Morrowind and Oblivion

It's been a while since I had to do this, so the details here may be a bit sketchy but I've been able to install both from DVD and using Steam with very little difficulty, so I'll keep this brief...

You may well need additional Windows files. I would recommend getting the winetricks script as detailed here: http://wiki.winehq.org/winetricks

Currently, I do something like:

sh winetricks comctl32 corefonts d3dx10 d3dx9_26 d3dx9_28 d3dx9_31 d3dx9_35 d3dx9_36 d3dx9_42 d3dx9 directx9 dotnet20 dotnet30 gecko120 gfw mfc42 mono28 msasn1 physx vcrun2005 vcrun6sp6 vcrun6 xact_jun2010 xact xinput

However you'll probably not need all of the above. See also: http://appdb.winehq.org/objectManager.php?sClass=version&iId=7506

WINE supports both Oblivion and Morrowind well enough that the install process should be pretty much the same as on Windows, so it should be fairly easy. For the sake of this experiment, I'm using the Steam version.

Unofficial Oblivion Patches

Once you have Oblivion working, download and install the Unofficial Oblivion Patch and the Unofficial Shivering Isles Patch - I used the full self extracting installers:

Vvardenfell Imports

Download the files for Vvardenfell Imports from here: http://www.tesnexus.com/downloads/file.php?id=28245

You will need the two files from the mirrors tab:

...and from the files tab:

You will also need a file from: http://www.tesnexus.com/downloads/file.php?id=28246

For the rest of the files you need, you need to consult the page here: http://morroblivion.com/forums/morroblivion/mods/753

The mod is constantly being updated and you need to make sure you have up to date files, so make sure you have carefully read the requirements before going any further. Once you have all the required downloads (plus any of the optional downloads), move onto the next step.


PART 3 - Getting Wrye Bash working in WINE

See also:

Download Wrye Bash Archive version (you'll need to login to download):

Now download the latest stable (and matching) versions of Python, wxPython, pwin32 and comtypes:

I ended up with:

Extract the Wrye Bash archive to the Oblivion folder - nothing funky required here, feel free to use the GUI archive utility (usually File Roller in Fedora 15), e.g.

/home/$USERNAME/.wine/drive_c/Program\ Files/Steam/steamapps/common/oblivion

Then install all of the Windows Python / wxwidgets dependencies in the order listed above, keeping the default install locations.

Open the file:

/home/$USERNAME/.wine/drive_c/Program\ Files/Steam/steamapps/common/oblivion/Mopy/basher.py

Find line 4454 and replace:

gMessageList.gText = wx.lib.iewin.IEHtmlWindow(gBottom, -1, style = wx.NO_FULL_REPAINT_ON_RESIZE)

...with:

#gMessageList.gText = wx.lib.iewin.IEHtmlWindow(gBottom, -1, style = wx.NO_FULL_REPAINT_ON_RESIZE)

...to comment the line out. This will prevent the crash: AttributeError: 'module' object has no attribute 'IWebBrowser2'

To run, do:

cd /home/$USERNAME/.wine/drive_c/Program\ Files/Steam/steamapps/common/oblivion/Mopy
wine /home/$USERNAME/.wine/drive_c/Python27/pythonw.exe bash.py -d

The -d adds debugging - very useful if you are having problems to begin with.


PART 4 - MorroblivionInstaller

.NET4 does not install under WINE, so I found a little workaround:

  1. Make a new folder under ~/.wine/drive_c - for example:
    mkdir /home/$USERNAME/.wine/drive_c/Morroblivion
  2. Copy MorroblivionInstaller.exe to this folder, e.g.
    cp MorroblivionInstaller.exe /home/$USERNAME/.wine/drive_c/Morroblivion
  3. Download winetricks script and install mono by running:
    sh winetricks mono28
  4. In terminal, cd to the new folder, e.g.
    cd /home/rob/.wine/drive_c/Morroblivion
  5. Run the following:
    wine c:\\Program\ Files\\Mono-2.8.2\\bin\\mono.exe MorroblivionInstaller.exe

You can now complete the installer.

The esm file will be present under the main data folder. First create the the folder Morroblivion_v034 under the Oblivion Mods/Bash Install, e.g.

cd /home/$USERNAME/.wine/drive_c/Program\ Files/Steam/steamapps/common/Oblivion\ Mods/Bash\ Installers/
mkdir Morroblivion_v034

Move the Morrowind_ob.esm file into this new folder.


PART 5 - OBSE installation

You should already have downloaded OBSE as per the instructions on the Morroblivion website - install OBSE as per the readme that is included in the archive.

Then, under the main data folder, create a folder called OBSE, then under that folder create a folder called Plugins, e.g.

cd /home/$USERNAME/.wine/drive_c/Program\ File/Steam/steamapps/common/oblivion/Data
mkdir OBSE
mkdir OBSE/Plugins

Extract the contents of the OBSE_Elys_Universal_Silent_Voice_v093.zip file to this folder.


PART 6 - Extracting mod files

At this point, I would highly recommend watching the video entitled "Video 2: Installing the mods using Bash's Installers function" on the Morroblivion installation page, as this gives a good overview of Wrye Bash.

Vvardenfell Imports mod files

Make sure you have p7zip installed. Now, if all of the files to be extracted had "Data" as their top level folder, we could use a feature in 7zip to force them to be case insensitive. This would ensure new files would correctly overwrite the old files, e.g.

7z x -ssc- Vvardenfell_Imports_1.7z

However, the top level folders differ in each of the archives. Take a look at our list of files:

From a terminal window, cd to the folder with the stored archive files. We can then extract them all to their default folders as each has a different top level folder. In this example, I have first created a folder called extracted:

mkdir extracted
7z x Vvardenfell_Imports_1.7z -oextracted
7z x VVardenfell_Imports_2.7z -oextracted
7z x Vvardenfell_Imports_Part_3-28245.7z -oextracted
7z x Vvardenfell_Imports_Addon.7z -oextracted
7z x Vvardenfell_Imports_Patch_1-28245.7z -oextracted
7z x Vvardenfell_Imports_Patch_2-28245.7z -oextracted
7z x Vvardenfell_Imports_Patch_3-28245.7z -oextracted

We then do:

cd extracted
ls

You can see the folders (listed so as to match the order above) are confusingly named:

Vvardenfell Imports 1
VVardenfell Imports 2
Vvardenfell Imports 3
Vvardenfell Imports Addon
Vvardenfell Imports 1.1 Patch 1
Data
Vvardenfell Imports Patch 4

Now, how we get around the fact that Linux is case insensitive (so "Textures" is not the same as "textures")?

Well, you could install the Windows version of 7-zip or Peazip to get around the issues. This method is probably easier, see: http://sites.google.com/site/johnmoonsugar/Home/wine/installing-mods-under-wine

However, if you're up for a challenge then try the following...

Create a new text file in the extracted folder called lowercase.pl - see also: http://stackoverflow.com/questions/2557199/perl-recursively-rename-all-files-and-directories

Open the file in your favourite text editor, paste the following into the file, and save:

#!/usr/bin/perl

use File::Find;

finddepth(\&process_file, $_) for @ARGV;
$input_file_dir = $ARGV[0];

sub process_file {
        $clean_name=lc($_);
        rename($_,$clean_name);
        print "file/dir name: $clean_name\n";
}
find(\&process_file, $input_file_dir);

Now we can run the perl script with:

cd extracted
perl lowercase.pl .

Hopefully now everything is in lower case and we can start moving things.

mkdir vi
cp -ir vvardenfell\ imports\ 1/data vi
cp -ir vvardenfell\ imports\ 2/data vi
cp -ir vvardenfell\ imports\ 3/* vi/data

Now move the contents of the vi/data folder to a new folder called "Vvardenfell_Imports" as we did earlier for Morroblivion_v034.

Continue by doing:

rm -r vi/*
cp -ir vvardenfell\ imports\ 1.1\ patch\ 1/data vi

...then move the contents of the vi/data folder to a new folder under Oblivion Mods/Bash Installers called "Vvardenfell_Imports_Patch_1". After this clean the vi folder and copy the next set of files across:

rm -r vi/*
cp -ir data vi

...then move the contents of the vi/data folder to a new folder under Oblivion Mods/Bash Installers called "Vvardenfell_Imports_Patch_2". After this clean the vi folder and copy the next set of files across:

rm -r vi/*
cp -ir vvardenfell\ imports\ patch\ 4/data vi

...then move the contents of the vi/data folder to a new folder under Oblivion Mods/Bash Installers called "Vvardenfell_Imports_Patch_3". After this clean the vi folder and copy the next set of files across:

rm -r vi/*
cp -ir vvardenfell\ imports\ addon/data vi

...then move the contents of the vi/data folder to a new folder under Oblivion Mods/Bash Installers called "Vvardenfell_Imports_Addon".

Morroblivion mod files

Change directory to where you stored all of your Morroblivion archives, e.g.

cd /home/$USERNAME/Games/Downloaded/Oblivion/Morrobilivion/Morroblivion\ Archives

My folder looked like this:

Make sure you have unrar installed - we can then unrar all files and force them to be all written as lower case, which will ensure that folder names are consistent, etc.

unrar x -cl "Morroblivon Complete Installation Part 1.rar" 
unrar x -cl "Morroblivon Complete Installation Part 2.rar" 
unrar x -cl "Morroblivon Complete Installation Part 3.rar"

Copy the contents of the data folder to a new folder under Oblivion Mods/Bash Installers called "Morrobilivion_Complete_Installation" - note you only need what is under the data folder, not the folder itself.

Now do the same for Additional Support Files 1 and 2, giving each its own folder:

unrar x -cl "Additional Support Files 1.rar"

...then move the data folder contents to a new folder under Oblivion Mods/Bash Installers called "Additional_Support_Files_1".

unrar x -cl "Additional Support Files 2.rar"

...then move the data folder contents to a new folder under Oblivion Mods/Bash Installers called "Additional_Support_Files_2".

unrar x -cl "MorrowOblivion_World Transport v2.rar"

Copy the Morrowoblivion_world transport.esp file to a new folder under Oblivion Mods/Bash Installers called "Morroblivion_World_Transport".

Now you can extract any of the other required / recommended mods in a similar fashion. Mostly you will not have to worry about case sensitivity at this point because you aren't trying to extract several archives to the same folder. In such cases there shouldn't be a problem just using the built in GUI archive tool (e.g. File Roller). Basic rule of thumb: if it's one folder that doesn't need to be merged, don't worry as Wrye Bash will take care of it (running under WINE it will be case insensitive).


PART 7 - Getting everything in order...

When you load Wrye Bash it should show all of the folders created so far under the Bash Installers folder. When you install the mods, you can either install them all in the right order, or adjust the order later.

As a reference, the following order worked for me (bear in mind I'm no expert):

Note that I do have a couple of extra mods, but these aren't relevant / required.


Credit where it's due...

The images used at the top of this page for Morrowind / Oblivion are from: http://blakegedye.deviantart.com/

Give it a visit, some great artwork there.