Black Soul Gems OpenMW east too much script resources [Untested Solution]

Learn about OpenMW mod compatibility, check for problematic mods, discuss issues, and give us feedback about your experience with modded OpenMW.
User avatar
Husaco
Posts: 25
Joined: 07 Aug 2011, 11:54
Location: Australia

Re: Black Soul Gems OpenMW east too much script resources [Untested Solution]

Post by Husaco » 15 Sep 2019, 10:35

Jemolk wrote:
15 Sep 2019, 04:16
Not the only problem. Yes, it's pretty nuts in terms of script load. However, if you look at the second picture... *shudder* Having the script load at 47.87 is very different from having it at 6.5, you know? 6.5 is still excessive, I'd agree, but what I meant was that I wasn't getting anywhere near that 47.87 madness found in picture #2.
But the script load per those numbers is measuring how many milliseconds it took the thread in that frame, which is equally dependent on how fast your computer is. A horrendous 50ms on a potato might only work out to be 3 on a top-of-the-line rig, but that doesn't make it any less dire.

zelazko
Posts: 25
Joined: 07 Aug 2019, 18:01

Re: Black Soul Gems OpenMW east too much script resources [Untested Solution]

Post by zelazko » 16 Sep 2019, 17:12

Jemolk wrote:
15 Sep 2019, 04:16
Husaco wrote:
08 Sep 2019, 10:07
Jemolk wrote:
08 Sep 2019, 03:39
I just tested the black soulgem mod both with and without an altered script, and found...pretty much nothing. I explicitly avoided using your solution, saving and exiting multiple times before activating the altar for the first time with my test character, and got no excess script lag in either case. Both tests had results like your first picture -- substantially more script processing than without the mod, but not nearly enough to cause lag. Running the latest nightly from the PPA on Linux Mint 19.2.
The substantially more script processing is the issue, not whether or not that's enough to cause lag on your computer in particular. I took a glance at the mod and it seems to add a unique script for every single character in the game, or near enough to it, which, needless to say, is horrendously inefficient and indicates that the mod probably ought to be completely rethought.
Not the only problem. Yes, it's pretty nuts in terms of script load. However, if you look at the second picture... *shudder* Having the script load at 47.87 is very different from having it at 6.5, you know? 6.5 is still excessive, I'd agree, but what I meant was that I wasn't getting anywhere near that 47.87 madness found in picture #2.
That 47.87 madness could have been also exacerbated by Vurtu's Ground Cover mod. At least FPS not sure about script load. I removed it.
The script lag is still noticeable withou vurtu ground cover mod if you do not install my way the Black Soul gem mod.
Just hope it works because that solution may not work for everyone it works for me but this is equivalent of saying my windows 10 updates don't slow my PC.
Husaco wrote:
15 Sep 2019, 10:35
Jemolk wrote:
15 Sep 2019, 04:16
Not the only problem. Yes, it's pretty nuts in terms of script load. However, if you look at the second picture... *shudder* Having the script load at 47.87 is very different from having it at 6.5, you know? 6.5 is still excessive, I'd agree, but what I meant was that I wasn't getting anywhere near that 47.87 madness found in picture #2.
But the script load per those numbers is measuring how many milliseconds it took the thread in that frame, which is equally dependent on how fast your computer is. A horrendous 50ms on a potato might only work out to be 3 on a top-of-the-line rig, but that doesn't make it any less dire.
My hardware: Intel Core i9-7940X @ 3.10 GHz

User avatar
Jemolk
Posts: 191
Joined: 20 Mar 2017, 02:12
Location: Sadrith Mora

Re: Black Soul Gems OpenMW east too much script resources [Untested Solution]

Post by Jemolk » 19 Sep 2019, 23:15

Husaco wrote:
15 Sep 2019, 10:35
Jemolk wrote:
15 Sep 2019, 04:16
Not the only problem. Yes, it's pretty nuts in terms of script load. However, if you look at the second picture... *shudder* Having the script load at 47.87 is very different from having it at 6.5, you know? 6.5 is still excessive, I'd agree, but what I meant was that I wasn't getting anywhere near that 47.87 madness found in picture #2.
But the script load per those numbers is measuring how many milliseconds it took the thread in that frame, which is equally dependent on how fast your computer is. A horrendous 50ms on a potato might only work out to be 3 on a top-of-the-line rig, but that doesn't make it any less dire.
Okay, fair. The real point I was going for was that the fix didn't seem to change anything at all, and that it's just an absurdly script-heavy mod. Having just checked something, though -- I was getting a script load of ~6.2 ms in Gnaar Mok with my quite light testing content list and Black Soul Gems. Meanwhile, my main content list that I do the testing for primarily got ~1.5 ms in same, and that one has over 300 mods, many of which involve significant global scripting. So I think it's safe to say that the mod in question just seriously overdoes it with the scripting for normal gameplay. Cool proof-of-concept, though.

Post Reply