MWSE

From Morrowind Modding Wiki
Jump to: navigation, search


Morrowind Script Extender (2007)
MWSE program icon
Author cdcooley, MWSE Dev Team
Version 0.9.4a
Download MW Modding History
Website SourceForge page

The add-on MWSE (or Morrowind Script Extender) extends Morrowind's scripting language by adding 98 new functions. This allows modders to create mods that would otherwise have been very difficult, if not impossible, with the functions found in the standard scripting language. To create scripts that use the new functions, you will need to compile them using MWEdit.
The latest version by the MWSE team is 0.9.4a, was released on SourceForge in 2007, and remained the most recent version until, 7 years later, Merzasphor began updating it.

Past MWSE developers include:
Charles Cooley <cdcooley>
FreshFish
Timeslip
AnthonyG
Tim Peters <timmypcpeters [on] gmail>
Grant McDorman <grmcdorman [on] sourceforge>
Cody Erekson <Fliggerty>

Updates by Merzasphor

Morrowind Script Extender (2015)
MWSE program icon
Author Merzasphor
Version 0.9.5-alpha.YYYYMMDD
Download GitHub releases
Website GitHub page

Starting from November 2014, official forum member Merzasphor has been releasing new updates for MWSE. These new updates are based on the old 0.9.4a release and contain bugfixes and dozens of brand new functions. Currently, the new MWSE functions by Merzasphor number at 56, excluding deprecated functions, and the existing MWSE functions updated by Merzasphor number at 12.
The update, which is composed of an updated MWSE.DLL file, can either be used with the included standalone 0.9.4a MWSE executable or loaded as MGE XE's internal MWSE (since version 0.10.0 beta 9). It can also be loaded as the internal MWSE of earlier versions of MGE XE, or regular MGE's, but that will cause all MGE XE or MGE-specific scripting functions to be overwritten and unavailable.

Merzasphor's new functions add a lot of power and flexibility to MWSE (enabling interaction with many more parts of the game through a script, adding support for boolean operations and arrays, and more), allowing to do many things with MWSE that were previously impossible. The updates also go towards superseding the Morrowind Enhanced script extender (meaning no modding feat would have to require the two extenders).
As of 03 September, 2015, development is still ongoing and the current release is MWSE 0.9.5-alpha.20150902, and it's fully compatible with MGE XE version 0.10.0 beta 9 or later.

See the forum threads on the official (Bethedsa) forums for more details:
First thread
Second thread

Functions

The new functions added by MWSE 0.9.4a, as well as the later updates, are in the following categories:

The 14 new functions added by MGE XE are found here:

Installation

MWSE 0.9.4a and above can be used either on its own with MWSE's Launcher program, or as part of MGE or MGE XE, if you use one of them.

Standalone:

If you're not using MGE XE or MGE:
Extract or copy MWSE Launcher.exe and MWSE.dll to your Morrowind directory, or just to any directory. To play with MWSE active, run "MWSE Launcher.exe" before running Morrowind. You may use MWSE's "Launch Morrowind" button, or start Morrowind in any other way.
The aforementioned button may not work if MWSE wasn't placed in the Morrowind directory and the relevant entry in the Windows registry doesn't point to a valid Morrowind installation, but MWSE will still function correctly.

As part of MGE or MGE XE:

MGE and MGE XE come with inbuilt MWSE 0.9.4a, so to use that version of MWSE with them, you only need to make sure the inbuilt MWSE is turned on in MGE/MGE XE's options. If you wish to use a newer version of MWSE as their inbuilt MWSE, then read on.

If you're using MGE XE 0.10.0 beta 9 or later:
Copy or extract MWSE.dll to your Morrowind directory. Play Morrowind normally.

If you're using MGE or an earlier version of MGE XE:
Copy MWSE.dll to your Morrowind directory. Run MGEXEgui.exe (or MGEgui.exe) and check "Disable internal MWSE" on the "In-Game" tab. Play Morrowind normally. Note that MGE XE (or MGE) specific functions will no longer be available.

See also

MWE
MGE XE
MWEdit
Scripting with MWSE