[relz] Mlox, A Tool For anolyzing And Sorting Your Load Orde

Post » Sat May 28, 2011 8:55 am

http://code.google.com/p/mlox/downloads/list
(Windows exe version is standalone, the Python version requires http://planetelderscrolls.gamespy.com/View.php?view=OblivionUtilities.Detail&id=52560&id=44
(Note that if you have wxPython for Wrye Mash, it might not be the version mlox needs)
(Please download both the mlox application and mlox-data distribution archives from the download page)
(read all about mlox on the http://code.google.com/p/mlox/wiki/Mlox)

http://www.gamesas.com/index.php?/topic/997293-relz-mlox-a-tool-for-anolyzing-and-sorting-your-load-order/

mlox is a tool for anolyzing and sorting your plugin load order.

It runs on a simple little rule-based engine with a small set of rules that specify the order, conflict and pre-requisite relationships between your plugins.

mlox tidbit: did you know that the "Morrowind Patch Project" (MPP) obsoletes at least 74 older plugins for various bugfixes? mlox knows, and it can tell you if you've loaded an obsolete plugin.

Features

* runs on Windows or Linux smile.gif
* optimally reorders your load order to avoid known problems, where "optimally" is relative to the quality and coverage of the rule-base. (Currently the rule-base still needs some work, of course, but it continues to improve, thanks to the help of others).
* warns about missing pre-requisites
* warns about plugin conflicts
* prints notes for things you might want to know about a mod, but were too lazy to read the Readme, or even find the info in some post somewhere in the Internets smile.gif
* user customizable via a rules file. Just create an mlox_user.txt in your mlox directory, and start adding your own rules.
* can also check someone else's load list from a file: "mlox.py -wf Morrowind.ini" (or just paste the list of plugins into the Active plugins pane of the GUI. mlox understands the format of the [Game Files] section of Morrowind.ini, as well as the output of Wrye Mash and Reorder Mods++)

Here are links to the current documentation (they're just text files):
http://code.google.com/p/mlox/source/browse/trunk/mlox/mlox_readme.txt - introduction, installation and usage
http://code.google.com/p/mlox/source/browse/trunk/mlox/mlox_rules_guide.txt - how to write rules for the rule-base, if you want to customize
http://code.google.com/p/mlox/source/browse/trunk/mlox/mlox_guts.txt - technical details, for the curious

If mlox appeals to you and if you can help contribute to the rule-base, please send your contributions to me, and I'll post a new rule-base as soon as I can.
User avatar
kristy dunn
 
Posts: 3410
Joined: Thu Mar 01, 2007 2:08 am

Post » Sat May 28, 2011 4:20 pm

There seems to be some issues with plugin names with the "?" character in. Running http://www.gamesas.com/index.php?/topic/1083665-interior-lag-companion-lagctd-issue/page__view__findpost__p__15789533 plugin list through mlox. I received this error:
Spoiler
An error occurred:հ?հ?譠DŽ錠DŽ瓰ƹ鍠DŽ솈DŽ쇐DŽꮀǃ덀DŽ수DŽ鐠ǃ疘ƹ诀DŽꯨǃDŽ灘ƹDŽ뎐DŽ瘈ƹ鐠?訰ƿ돠DŽ鎠DŽ쉠DŽ䧠ƹ鏠DŽ슨DŽ皰DŽDŽ싰DŽ쌸DŽ谠DŽ貀DŽDŽ鐠DŽ걐ǃ鑠DŽ钠ǃ賠DŽDŽ钠DŽ赀DŽ趠DŽ踀DŽ쎀DŽ蹠DŽ铠DŽ虸ƿ锠DŽ쏈DŽ겸ǃ됰DŽ쐐DŽ锠ǃ軀DŽƼ輠DŽ眠DŽDŽƼDŽ뒀DŽ裠ǂ鐠?쑘DŽ镠DŽ쒠DŽ膨ǂ薘ǂ쓨DŽ輀ǃ辀DŽ閠DŽ듐DŽ䦀ƹ瞐DŽ DŽ闠DŽꏠDŽ씰DŽ䔰ƹ앸DŽ애Ƽ砀DŽ?DŽ엀DŽ뻈ǂ硰DŽ?DŽ예DŽ럈ǂ磠DŽDŽ왐DŽ딠DŽ閠ǃ阠DŽ욘DŽDŽ䲀ƹ侰ƹ땰DŽ괠ǃ띘ǂDŽ陠DŽ궈ǃ隠DŽ雠DŽ霠DŽ祐DŽDŽ靠DŽ웠DŽ귰ǃ듰ǂDŽ秀DŽDŽ稰DŽ땠ǂDŽ떘ǂ阠ǃDŽDŽ窠DŽ렸ǂDŽ뗀DŽ传ƹDŽ笐DŽ鞠DŽDŽ帰ƹ율DŽDŽ韠DŽꑘDŽ또DŽ읰DŽ简DŽDŽ봈ǂDŽ鐠?頠DŽ뙠DŽDŽ뚰DŽ뜀DŽ띐DŽ랠DŽ鐠?잸DŽ顠DŽ篰DŽ뵀ǂ佐ƹ벘ǂ저DŽ颠DŽ嫀ƹ飠DŽ䚰ƹ餠DŽDŽ一ƹ區ƹ덨ƶꓐDŽDŽ侀ƹ Dž런DŽꕈDŽ뻈ƶ囨ƺ饠DŽ
:o
That's a straight copy and paste from the forum post. Pasting into Notepad and then into mlox gives a stdout/stderror:
Spoiler
Error in sys.excepthook:Traceback (most recent call last):  File "I:\Bethesda Softworks\Morrowind\mlox\mlox.py", line 1371, in     sys.excepthook = lambda typ, val, tb: self.error_handler(typ, val, tb)  File "I:\Bethesda Softworks\Morrowind\mlox\mlox.py", line 1494, in error_handler    err_txt.SetValue(version_info() + "\n" + "".join(traceback.format_exception(type, value, tb)))  File "D:\Runtimes\Python26\lib\site-packages\wx-2.8-msw-ansi\wx\_controls.py", line 1754, in SetValue    return _controls_.TextCtrl_SetValue(*args, **kwargs)wx._core.PyAssertionError: C++ assertion "ucf.GotUpdate() || ( !HasSelection() && value.empty() )" failed at ..\..\src\msw\textctrl.cpp(979) in wxTextCtrl::StreamIn(): EM_STREAMIN didn't send EN_UPDATE?Original exception was:Traceback (most recent call last):  File "I:\Bethesda Softworks\Morrowind\mlox\mlox.py", line 1641, in menu_paste_handler    out.write(data.GetText().encode("utf-8"))UnicodeDecodeError: 'ascii' codec can't decode byte 0xa3 in position 232: ordinal not in range(128)
The plugin is http://planetelderscrolls.gamespy.com/View.php?view=Mods.Detail&id=7346.

Removing "GameFile8=?exa's Dwemer Alchemy V2 (EN).esm" from the plugin list means mlox processes the mod list fine.

I understand you're a bit tied up with things at the mo and might not have a chance to look at it in a while.
User avatar
Tessa Mullins
 
Posts: 3354
Joined: Mon Oct 22, 2007 5:17 am

Post » Sat May 28, 2011 11:36 am

There seems to be some issues with plugin names with the "?" character in.


Yes, non-ascii characters still cause problems in some parts of mlox. It's on my todo list. Not sure when I'll be able to get to it. Apologies.
User avatar
Britta Gronkowski
 
Posts: 3475
Joined: Mon Apr 09, 2007 3:14 pm

Post » Sat May 28, 2011 8:48 am

A couple of things about the rule-base...

First thing: It seems the MGE internal MWSE info is incorrect. My teleport mod has been tried with MGE 3.8 and it doesn't work, but rev-118 does. I'm not aware of any other versions having been tried though. See the thread http://www.fliggerty.com/phpBB3/viewtopic.php?f=50&t=2717&p=49472#p49472 (Fliggerty's).

One thing I'm pretty sure of is that the MWSE 0.9.4 functions weren't add all in one go - according to the docs the MGE internal version supported everything except strings, so string support must have been added in one of the more recent releases.

---

About the specific rules for my teleport mod (seems my readme is still missing some important info - sorry!)...

These rules are *not* needed, in fact the order doesn't matter here:
;; Dragon32- Changes made to two scripts (AA_LokkTeleportDetection and AA_LokkTeleportDetectionsmall) in Lokken, so load patch after Lokken
[Order]
BT_Whitewolf_2_0.esp
mel_teleportPlugin_1_2_Patches.esp

;; Dragon32- Changes made to a script (11AA_TeleportDetection) in Laura Craft, load patch after Laura Craft
[Order]
Tribun_Laura_3_0.esp
mel_teleportPlugin_1_2_Patches.esp


Also - in case anyone notices this too and gets bothered by it - load order doesn't matter regarding my Comes-By-Road companion either.

Yes the scripts are "changed" - but they're present in the patch only so that I can stop them if they run, so the content (original or dummy) isn't important.


Just to be clear - the following one *is* correct, the order *does* matter with TU:
;; Dragon32- Changes made to two scripts (A11SmileyTele and A11Tele) in The Underground, load patch after The Underground
[Order]
THE_UNDERGROUND_2.esp
mel_teleportPlugin_1_2_Patches.esp


I missed that in the readme - again, sorry about that!
User avatar
Chris BEvan
 
Posts: 3359
Joined: Mon Jul 02, 2007 4:40 pm

Post » Sat May 28, 2011 8:56 am

I just wanted to comment: this mod is six on wheels. Thank you so much!
User avatar
Brittany Abner
 
Posts: 3401
Joined: Wed Oct 24, 2007 10:48 pm

Post » Sat May 28, 2011 10:53 am

Feature request: a button to click in the mlox user interface to update to the current mlox_base.txt.
User avatar
maya papps
 
Posts: 3468
Joined: Mon Aug 07, 2006 3:44 pm

Post » Sat May 28, 2011 3:04 pm

I'd also like to comment on this mod. I'm not an expert on using mods and understanding why they need to be in certain orders, but this always does the trick for me. Great job.


Edit: I also think a button to update the text file would be a great idea.
User avatar
Shirley BEltran
 
Posts: 3450
Joined: Wed Jul 26, 2006 4:14 pm

Post » Sat May 28, 2011 10:51 am

Feature request: a button to click in the mlox user interface to update to the current mlox_base.txt.


It's a good idea, and it has been suggested in the past. I'll see what I can do, but I can't give a deadline yet (since I'm always wrong when I do :) ).
User avatar
xxLindsAffec
 
Posts: 3604
Joined: Sun Jan 14, 2007 10:39 pm

Post » Sat May 28, 2011 11:45 am

For some reason, my anti-virus program (Avast!) is declaring this to be harmful mal-ware and refuses to let me use the program. ?____?'
User avatar
Genocidal Cry
 
Posts: 3357
Joined: Fri Jun 22, 2007 10:02 pm

Post » Sat May 28, 2011 9:01 am

For some reason, my anti-virus program (Avast!) is declaring this to be harmful mal-ware and refuses to let me use the program. ?____?'


That's kind of weird. But not being a Windows user, I'm not sure what to do about it. Does it give any more detail or describe what it has found?

I'm assuming you're just having trouble with the standalone windows executable version, so you might be able to run the python script version if you get the proper prerequisites installed (Python and wxPython).
User avatar
Jerry Cox
 
Posts: 3409
Joined: Wed Oct 10, 2007 1:21 pm

Post » Sat May 28, 2011 7:54 am

That's kind of weird. But not being a Windows user, I'm not sure what to do about it. Does it give any more detail or describe what it has found?

I'm assuming you're just having trouble with the standalone windows executable version, so you might be able to run the python script version if you get the proper prerequisites installed (Python and wxPython).


The malware name it gives me is Win32:Rootkit-gen [Rtk], a Rootkit malware. It is the standalone that is giving me this problem; it also prevents me from downloading the zip file as well. The python version didn't give me any errors, but my computer just doesn't want to run that version for some reason, despite Wrye Mash working just fine on it.
User avatar
sam westover
 
Posts: 3420
Joined: Sun Jun 10, 2007 2:00 pm

Post » Sat May 28, 2011 7:46 pm

The python version didn't give me any errors, but my computer just doesn't want to run that version for some reason, despite Wrye Mash working just fine on it.


The Python version of mlox requires a slightly more recent version of wxPython than what Mash requires. This often seems to be the source of problems for most people trying to get it running.
User avatar
Trevor Bostwick
 
Posts: 3393
Joined: Tue Sep 25, 2007 10:51 am

Post » Sat May 28, 2011 7:45 am

For some reason, my anti-virus program (Avast!) is declaring this to be harmful mal-ware and refuses to let me use the program. ?____?'

Okey dokey, well, I looked into it a little and found a nice place called http://virusscan.jotti.org/ which runs 20 different virus scanners on uploaded files. The http://virusscan.jotti.org/en/scanresult/6f24f3ed313e6149b7da478d8dcdd0786d8ed316 only shows 2 positive results out of all the scans. I'm thinking it's a false positive. Does that sound like a reasonable conclusion?
User avatar
celebrity
 
Posts: 3522
Joined: Mon Jul 02, 2007 12:53 pm

Post » Sat May 28, 2011 9:04 am

i have used your mlox and find it rather interesting though for my mod load i found a few errors well not errors but some mods not covered. i forgot to bring my list of mods with me but i will next time i'm online if you like and point out some of the changes i had to make to correct errors that weren't covered by it so you could further develop it. i must say it helps a bunch when running 100+ mods it's working it's way to being a must have if it hasn't already! also i use the windows standalone
User avatar
Scott Clemmons
 
Posts: 3333
Joined: Sun Sep 16, 2007 5:35 pm

Post » Sat May 28, 2011 3:02 pm

i have used your mlox and find it rather interesting though for my mod load i found a few errors well not errors but some mods not covered. i forgot to bring my list of mods with me but i will next time i'm online if you like and point out some of the changes i had to make to correct errors that weren't covered by it so you could further develop it. i must say it helps a bunch when running 100+ mods it's working it's way to being a must have if it hasn't already! also i use the windows standalone

Sure, it would be great if you could help contribute to the mlox database. We've tried to cover most of the more popular mods, but it takes work to teach mlox about all the mods out there, so any help is appreciated.
User avatar
Dalia
 
Posts: 3488
Joined: Mon Oct 23, 2006 12:29 pm

Post » Sat May 28, 2011 3:15 pm

Taken from Morrowind Crafting 2.1 readme:

Mining

Method: Activate ore rock or crystal

Various ore rocks around Vvardenfell can be mined for ingredients using a simple miner's pick.


Taken from Resources Enhanced:

To collect raw ebony / glass / diamond / adamantium you have to actually mine them using a miner's pick and hitting the rocks. This is activated by default but a "simple" mode exists too (see console commands below)


So it seems that these mods conflict as both of them attach a script to ore rocks (the simple mode Resources Enhanced talks about is simply activating the rocks, so the scripts are still there). There was nothing about this in mlox so I thought I should let you know.
User avatar
Rachel Eloise Getoutofmyface
 
Posts: 3445
Joined: Mon Oct 09, 2006 5:20 pm

Post » Sat May 28, 2011 8:24 pm

Forgive me if this has been asked before, but I am having trouble getting mlox to recognize my morrowind.ini installed plugins. When I initially setup mlox, it pulled my correct installed plugins (only had about 10 plugins install at this point). I then followed a web-based install and installed around 40 more plugins. When I run mlox, it still has the initial list. I checked my Morrowind.ini and it has the other plugins listed in it.

I installed both the manual and the exe version of mlox and the problem persisted. Mlox is currently installed in a mlox folder located in the Morrowind directory. Any help as to what this issue might by would be appreciated.

Thanks,
YuMMz
User avatar
Lori Joe
 
Posts: 3539
Joined: Tue Jun 20, 2006 6:10 am

Post » Sat May 28, 2011 7:53 pm

Forgive me if this has been asked before, but I am having trouble getting mlox to recognize my morrowind.ini installed plugins. When I initially setup mlox, it pulled my correct installed plugins (only had about 10 plugins install at this point). I then followed a web-based install and installed around 40 more plugins. When I run mlox, it still has the initial list. I checked my Morrowind.ini and it has the other plugins listed in it.

I installed both the manual and the exe version of mlox and the problem persisted. Mlox is currently installed in a mlox folder located in the Morrowind directory. Any help as to what this issue might by would be appreciated.

Thanks,
YuMMz

If mlox found your original set of plugins, I wonder why it wouldn't find any subsequently installed plugins. It sounds like mlox is installed correctly.

Are you by any chance running Windows 7? I wonder if the compatibility stuff is confusing things.

You might search your filesystem to see if there is more than one "Data Files" directory or more than one Morrowind.ini.
User avatar
Sara Johanna Scenariste
 
Posts: 3381
Joined: Tue Mar 13, 2007 8:24 pm

Post » Sat May 28, 2011 5:43 am

If mlox found your original set of plugins, I wonder why it wouldn't find any subsequently installed plugins. It sounds like mlox is installed correctly.

Are you by any chance running Windows 7? I wonder if the compatibility stuff is confusing things.

You might search your filesystem to see if there is more than one "Data Files" directory or more than one Morrowind.ini.


It was Windows 7. I disable the User Account Control and when I ran mlox, it updated. UAC must have been denying access to the ini file.

Thanks for your quick reply.
User avatar
Jeff Turner
 
Posts: 3458
Joined: Tue Sep 04, 2007 5:35 pm

Post » Sat May 28, 2011 6:38 pm

Hi!

I'm using the Knights of Tamriel mod, and mlox warns me that

| !! "The Kynarian Knights" has a script error in the 'adddivine' script, which is attached to the 'kynarian_priestess' NPC.
| !! To fix this you need to edit the script. Change the line that reads 'kynarian_priestess->AddTopic, "divine items"' to 'AddTopic, "divine items"'


However, the line already reads

kynarian_priestess->AddTopic, "divine items"


Is there something wrong or did I miss the necessary change?
User avatar
Claire Mclaughlin
 
Posts: 3361
Joined: Mon Jul 31, 2006 6:55 am

Post » Sat May 28, 2011 2:47 pm

I'm using the Knights of Tamriel mod, and mlox warns me that
[...]
However, the line already reads
[...]
Is there something wrong or did I miss the necessary change?

I believe the "already reads" part looks unchanged, and still need to be changed like the advice says. Or was that a typo?
User avatar
Scarlet Devil
 
Posts: 3410
Joined: Wed Aug 16, 2006 6:31 pm

Post » Sat May 28, 2011 8:41 am

But the problem is that I couldn't understand what should I change :(

Should I add " ' " (as in george's) to the beginning and the end of " AddTopic, "divine items" "? So that the line exactly reads

kynarian_priestess->'AddTopic, "divine items"'


I thought those 's were meant only to be quotation marks.
User avatar
Sophie Morrell
 
Posts: 3364
Joined: Sat Aug 12, 2006 11:13 am

Post » Sat May 28, 2011 7:34 am

But the problem is that I couldn't understand what should I change :(

Should I add " ' " (as in george's) to the beginning and the end of " AddTopic, "divine items" "? So that the line exactly reads



I thought those 's were meant only to be quotation marks.

The single quotes are not part of the text, they are there to delimit the before and after text. I would change:
kynarian_priestess->AddTopic, "divine items"
to
AddTopic, "divine items"
.
User avatar
Chenae Butler
 
Posts: 3485
Joined: Sat Feb 17, 2007 3:54 pm

Post » Sat May 28, 2011 9:37 am

The single quotes are not part of the text, they are there to delimit the before and after text. I would change:
kynarian_priestess->AddTopic, "divine items"

to
AddTopic, "divine items"
That's something I added in and john.moonsugar's got it right. Maybe that text should be re-jigged to make it clearer...
User avatar
Christie Mitchell
 
Posts: 3389
Joined: Mon Nov 27, 2006 10:44 pm

Post » Sat May 28, 2011 2:20 pm

OK, thank you guys. I will edit the line it as you describe.
User avatar
stacy hamilton
 
Posts: 3354
Joined: Fri Aug 25, 2006 10:03 am

Next

Return to III - Morrowind