Wrye Mash question

Post » Thu May 19, 2011 5:41 am

Not sure if I should post this 'ere or in the CS forum, but eh.

Anyways, Wrye Mash updates saved games when you change someone on an .esp or .esm, right? Why is it that when I choose my save file, nothing appears? No info on which mods it has enabled, or anything really. I get this:

Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1877, in OnItemSelected
self.details.SetFile(saveName)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 2688, in RefreshData
modList.Refresh(popMods) #--Will repop saves too.
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1453, in OnLeftDown
self.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1453, in OnLeftDown
self.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1453, in OnLeftDown
self.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 2688, in RefreshData
modList.Refresh(popMods) #--Will repop saves too.
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 2688, in RefreshData
modList.Refresh(popMods) #--Will repop saves too.
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1721, in OnSave
modList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1317, in Refresh
saveList.Refresh()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1796, in Refresh
saveDetails.SetFile(detail)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 5920, in Execute
self.window.details.SetFile(fileName)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1877, in OnItemSelected
self.details.SetFile(saveName)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1877, in OnItemSelected
self.details.SetFile(saveName)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division
Traceback (most recent call last):
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1877, in OnItemSelected
self.details.SetFile(saveName)
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\masher.py", line 1986, in SetFile
self.picData = http://forums.bethsoft.com/index.php?/topic/1198335-wrye-mash-question/self.saveInfo.getScreenshot()
File "C:\Program Files\Bethesda Softworks\Morrowind\Mopy\mosh.py", line 3316, in getScreenshot
rgbScale = max(1.0,80/rgbSigma)
ZeroDivisionError: float division


Can someone identify what it is?
User avatar
Lory Da Costa
 
Posts: 3463
Joined: Fri Dec 15, 2006 12:30 pm

Post » Thu May 19, 2011 12:22 am

Yes, you posted in the correct forum. This has nothing to do with the CS.

Looks like a problem with Python, not your game or Save.
Was it working fine before? Or is this a new install?

I have discovered that the http://www.gamesas.com/index.php?/topic/1106095-wrye-mash-stand-alone/ is much easier to use, because you never have to worry about Python problems like this.
If you are already using that, then I have no idea except to try re-installing Mash.
User avatar
sw1ss
 
Posts: 3461
Joined: Wed Nov 28, 2007 8:02 pm

Post » Thu May 19, 2011 2:19 am

I have discovered that the http://www.gamesas.com/index.php?/topic/1106095-wrye-mash-stand-alone/ is much easier to use, because you never have to worry about Python problems like this.
If you are already using that, then I have no idea except to try re-installing Mash.

That's Melchor's WMSA and doesn't have the latest improvements included made by Yacoby. The latest WMSA is right http://www.gamesas.com/index.php?/topic/1180562-yacobys-wrye-mash-fork/. :wink_smile:
User avatar
Nims
 
Posts: 3352
Joined: Thu Jun 07, 2007 3:29 pm

Post » Thu May 19, 2011 2:41 am

Anyways, Wrye Mash updates saved games when you change someone on an .esp or .esm, right?

What exactly are you trying to do? Depending on that, you may either ...

- not need Mash at all (if the change only affects things that aren't part of the savegame, and/or if you don't add or delete references or change their order)

- need Mash to update your savegame (Mash can check the old and the new version of the plugin, match references between them, and create an "updater" that can then be used on the savegame)

- need to hack the savegame manually (if you're changing data that's part of the savegame; the savegame will simply overwrite any changes you made in the plugin)
User avatar
jadie kell
 
Posts: 3497
Joined: Sat Jul 29, 2006 3:54 pm

Post » Thu May 19, 2011 12:55 am

Unsure, but this is what I'd try:
change line in mosh.py from
                rgbSigma = math.sqrt(rgbSqAvg - rgbAvg*rgbAvg)
to
                #abot rgbSigma = math.sqrt(rgbSqAvg - rgbAvg*rgbAvg)                rgbSigma = math.sqrt(rgbSqAvg - rgbAvg*rgbAvg)+0.000001

Another thing I changed to avoid screenshot icon overwashing
#begin abot less brightness                    #return max(0,min(255,int(color+128)))                    return max(0,min(255,int(color+32)))#end abot
P.S: pay attention to tabs, they are block delimiters in Python
User avatar
Britta Gronkowski
 
Posts: 3475
Joined: Mon Apr 09, 2007 3:14 pm

Post » Thu May 19, 2011 4:51 am

What exactly are you trying to do? Depending on that, you may either ...

- not need Mash at all (if the change only affects things that aren't part of the savegame, and/or if you don't add or delete references or change their order)

- need Mash to update your savegame (Mash can check the old and the new version of the plugin, match references between them, and create an "updater" that can then be used on the savegame)

- need to hack the savegame manually (if you're changing data that's part of the savegame; the savegame will simply overwrite any changes you made in the plugin)

Well basically, I changed an NPC- a companion- from female to male. In the game however, she is a she. I was wondering of Wrye Mash would update my savestate.
User avatar
Code Affinity
 
Posts: 3325
Joined: Wed Jun 13, 2007 11:11 am

Post » Wed May 18, 2011 9:18 pm

Well basically, I changed an NPC- a companion- from female to male. In the game however, she is a she. I was wondering of Wrye Mash would update my savestate.

I'm not totally sure (not having done Morrowind stuff for more than 2 years), but I don't think Mash will help you in this case. Mash ensures that references don't get mixed up when a mod gets updated (e.g., an NPC doesn't suddenly get assigned the data meant for a plate; such things can happen when a mod update adds or removes references). This prevents doubling / vanishing and or crashes, so it's pretty cool to have that functionality. But AFAIK it doesn't update the actual data in any way. Therefore, the data in the savegame (where the NPC is female) will keep overwriting the data in the mod, even if you create an "updater" with Wrye Mash (actually Mash should refuse to create one since the order of references hasn't changed in the update).

You could try to open the savegame in the Enchanted Editor and check whether it allows to change the gender of an NPC. If it doesn't you may have to hex-edit the respective value in, it may be just a bit somewhere in the NPC's data. The ENchanted Editor can do that, but you'll need to find out which bit of data needs to change. You can do that by loading both the old and the new version of the mod into the ENchanted Editor, and compare their data. There should only be one minor difference - reproduce this difference in the savegame.
User avatar
Richard Dixon
 
Posts: 3461
Joined: Thu Jun 07, 2007 1:29 pm


Return to III - Morrowind