Installation Wizard places Morrowind.esm after Tribunal/Bloodmoon if it has a later file creation date
If Morrowind.esm has a later creation date than either Tribunal.esm or Bloodmoon.esm, then the Installation Wizard will try loading those plugins before Morrowind.esm. Upon starting OpenMW, the Bethesda logo plays and then the user gets an error message like this:
ESM Error: File /Users/Will/Library/Application Support/Steam/SteamApps/common/Data Files/Tribunal.esm asks for parent file Morrowind.esm, but it has not been loaded yet. Please check your load order. File: /Users/Will/Library/Application Support/Steam/SteamApps/common/Data Files/Tribunal.esm Record: TES3 Subrecord: DATA Offset: 0x16a
h1. To reproduce
Change the creation date of Morrowind.esm to a later date. On macOS or Linux, that can be accomplished in the Terminal with
Run the Installation Wizard, importing a Morrowind installation that has not been seen before (you might want to delete launcher.cfg in the preferences folder first)
Without configuring anything else, launch OpenMW
Also, launcher.cfg shows that the files are out of order. For me, this is the order that it provides.
[Profiles] currentprofile=2017-06-18T21:33:00 2017-06-18T21:33:00/content=Bloodmoon.esm 2017-06-18T21:33:00/content=Tribunal.esm 2017-06-18T21:33:00/content=Morrowind.esm
When this happens, you can do the following to "fix" the ordering.
Uncheck the boxes next to Tribunal and Bloodmoon (Bloodmoon may be listed first)
Launch the game
Start up OpenMW
Check the boxes next to Tribunal and Bloodmoon (Tribunal will be listed first if it wasn't earlier)
Launch the game
Launcher.cfg now shows the following:
[Profiles] currentprofile=2017-06-18T21:33:00 2017-06-18T21:33:00/content=Morrowind.esm 2017-06-18T21:33:00/content=Tribunal.esm 2017-06-18T21:33:00/content=Bloodmoon.esm
h1. Desired Fix
A first time user running the Installation Wizard should not get into a state where Morrowind.esm is not the first plugin loaded, regardless of the file creation date. Intelligently load the expansions so that new users will not run into this issue.
h1. Additional Notes
This issue was initially reported in "this forum thread":https://forum.openmw.org/viewtopic.php?p=47710#p47710, where Morrowind was downloaded on a Mac via Steam. According to the file dates, Bloodmoon was downloaded first, then Morrowind, then Tribunal.
(RM-3926 from redmine: created on 2017-06-19 by Will Herrmann, , closed on 2018-05-23 by Alexander Naboko)