hextun Posted Sunday at 02:01 AM Posted Sunday at 02:01 AM SLTriggers Redux is *extremely* Papyrus intense, so anything you can do to improve scripting performance will have a *dramatic* impact on SLTScript performance. To that end, I strongly recommend the following to maximize the performance of your SLTScripts. - Install Papyrus Tweaks NG - In SKSE/Plugins/PapyrusTweaks.ini (a reference copy of which is available in the Files tab on Nexusmods) make the following changes: - iMaxOpsPerFrame = 2000 - bSpeedUpNativeCalls = true - bIgnoreMemoryLimit = true For reference, I use several modlists for testing, including Skyrim Modding Essentials (SME), available on Wabbajack. This is a somewhat bare list meant as a springboard for creating your own modlist. While it includes Papyrus Tweaks NG, it only includes the unmodified reference copy of PapyrusTweaks.ini. I install SLTriggers Redux with the "Test Scripts" enabled. To run them, open your console in game and: - prid player - slt run zz_sltr_regression_test This will begin a set of SLTScripts which will send output to your sl-triggers.log file. I keep Notepad++ running, use "View | Always On Top", and "View | Monitoring (tail -f)" on sl-triggers.log so that I can see the output in real time and watch for failures, as well as knowing when the scripts have completed. Using the baseline reference copy of PapyrusTweaks.ini on SME, the full suite of regression test scripts takes roughly 140 seconds to run. Using just those 3 changes to PapyrusTweaks.ini, the execution time drops to just over 14 seconds. Not a 10% reduction in execution time but a whopping 90% reduction. I totally agree that SLTScripts are slow compared to actual compiled Papyrus, but you can get a lot of performance by making these changes.
Recommended Posts