This is an addon for IWR. You must have that mod for this to work. This reduces CPU resources by optimizing scripts. It is modular, so you have choices.
llumination Within Revived 0.92 - Optimised
Now 10x more CPU friendly!
NOTE: This is an *add on* for IWR 0.92, you need the original for this to work.
:: WHAT IT IS ::
This is a re-write of the scripting code for Illumination Within Revived.
The original mod is a must-have for a lot of people, but can be quite taxing on the CPU. This version greatly reduces the CPU load while at the same time maintaining the original functionality of the mod.
See the example screenshots below for a before (original IWR) and after (IWR-Optimised) effect of the mod.
Thanks to Forum_software_sucks for permission to release this, and the original IW authors Slap and Modman.
NOTE: Original IWR-0.92 required (see download link below).
:: WHAT IT DOES ::
It's a relatively simple change, but if you're interested:
In determing wether a window should be illuminated or not, each window mesh in IWR runs a series of checks for timeframe and weather. This equates to roughly 10 conditional check statements that get executed by the engine every frame. On its own, this isn't much at all, however when applied to all windows in an area it quickly adds up and bogs the CPU down.
For e.g -- if using all of IWR-Shutters, IWR-Windows, and IWR-Lights this produces roughly 30 checks per frame, per window. Using the IC Marketplace as an example -- which has some 200 windows in it -- this means engine is processing 6000 checks each frame. Lets say your average FPS is 30, that's 90,000 extra conditional checks per second going on, in addition to everything else the engine is handling.
Moves the timeframe checks from the window meshes to the player (in a script that runs just four times a minute), and instead toggles window activity by checking a set of global variables. Each window now has one conditional check for each of Shutters, Windows and Lights.
Again using the IC Marketplace example, this means the optimised version runs 3 checks per window (if you're using all three mods), which equates to 600 checks per frame, compared to 6000, for the 200 windows in the Marketplace. Again using 30 FPS as an example, this translates to roughly 9000 conditional checks per second compared to 90,000 in the original.
:: NEW IN 1.1 ::
Randomised timed transitioning is now available as an optional extra. Windows will randomly activate and deactivate within a defined period in the schedule, giving a more atmospheric and life like effect to the cities.
Shops, Homes and Inns each have their own schedules and transitioning (to on and to off) periods. Cathedrals don't use transitions (it'd look odd having different windows of a Cathedral turn on at different times!). And after midnight, only inns remain lit until early morning.
There are now three versions:
- Lights, Windows and shutters all turn on at the same time when their schedule starts. Shops, Inns, Houses and Cathedral have different schedules.
- Lights, Windows and Shutters gradually phase in and out in during a transitional period in the schedules for Shops, Inns, Houses and Cathedrals.
- Mixture of Transitional + Slim and merging Lights, Windows and Shutters making it possible to use a single control script for all three. Almost as low CPU usage as IWR-Slim!
The new Transitional version needs to be a little bit more complex than Slim, but keeps the code branches as short as possible and still uses far less CPU than the original IWR. The SuperMega version goes one step further and, because the mods are merged, uses a single control script per window to manage all three each of Lights, Windows and Shutters. This version is almost as efficient as Slim!
:: CAVEAT ::
The original IWR was designed to be modular to give people choice and the option to use only some components and reduce the system load (Lights especially can be taxing on the GPU).
As a result you may notice that Lights, Windows, and Shutters aren't necessarily synchronised when they turn on and off (each mod operates indepdently). IWR-Optimised is the same, as it's simply a re-write of the scripting code to reduce CPU load.
The merged version has the potential to synchronise the three components, but I haven't really looked into it.
:: INSTALL ::
1) If you're not already using it, grab Illumination Within Revivied.
2) Download IWR-Optimised and use your choice of included .esps in place of the original mod.
:: CHANGELOG ::
- Added randomised transitions
- Added merged optimised version
- Made lights slowly flicker
- Made lights a tad brighter
- Fixed IC Marketplace 'Shops' using 'Inn' windows
- Fixed Wawnett inn lighting