Guide:ENBSeries: Difference between revisions
From Step Mods | Change The Game
TechAngel85 (talk | contribs) |
TechAngel85 (talk | contribs) |
||
Line 337: | Line 337: | ||
:# Under the <code style="font-size:1.05em;">[GLOBAL]</code> section set <code style="font-size:1.05em;">UsePatchSpeedhackWithoutGraphics</code> to ''true'' and set <code style="font-size:1.05em;">UseDefferedRendering</code> to ''false''. | :# Under the <code style="font-size:1.05em;">[GLOBAL]</code> section set <code style="font-size:1.05em;">UsePatchSpeedhackWithoutGraphics</code> to ''true'' and set <code style="font-size:1.05em;">UseDefferedRendering</code> to ''false''. | ||
:# Now under the <code style="font-size:1.05em;">[PERFORMANCE]</code> section, ensure that <code style="font-size:1.05em;">SpeedHack</code> is set to ''true''. | :# Now under the <code style="font-size:1.05em;">[PERFORMANCE]</code> section, ensure that <code style="font-size:1.05em;">SpeedHack</code> is set to ''true''. | ||
:# Next, under the <code style="font-size:1.05em;">[MEMORY]</code> section, set the required values. | :# Next, under the <code style="font-size:1.05em;">[MEMORY]</code> section, set the required values using the information below in the Memory section of this page. | ||
:# | :# Once the memory parameters are set, go to the <code style="font-size:1.05em;">[ENGINE]</code> section of the file. | ||
:#* Set ForceAnisotropicFiltering to ''false''<sup>1</sup> and set EnableVSync to ''true''. | |||
:# Finally, save and close the file. ENBoost is now set up and will run when you launch Skyrim. | |||
<br> | |||
<sup>1</sup>NOTE: Using the graphics drivers AF provides a slight frame-rate gain over using ENB with no difference in quality.<br> | |||
<sup>2</sup>NOTE: This eliminates screen tearing at high FPS by enabling vsync.<br><br> | |||
=== Memory === | |||
{{Notice Small|ENB now has memory management features added that can significantly reduce CTDs caused by hitting Skyrim's memory limit. These features are referred to as, ENBoost. Please take extra care to set the parameters in this section correctly!}} | |||
The <code style="font-size:1.05em;">[MEMORY]</code> section parameters will need to be changed depending on the hardware within individual systems. ENBoost features depend heavily on these values to work correctly. Setting them incorrectly could result in users experiencing additional issues in-game. When running Skyrim with ENB enabled it is highly recommended to close any unnecessary programs running in the background to free up system for ENBoost use.<br><br> | |||
This parameter changes some memory allocation code to put some cache data at the beginning of Skyrim's memory space. The can greatly reduce memory fragmentation and make better use of the available memory. It is highly recommended to enable this parameter for all 64-bit systems; however, it can generally be left enabled even for 32-bit systems as some users have reported it working well for them on these systems. If using a 32-bit system and having issues such as CTDs, disable it. For this parameter to work, <code style="font-size:1.05em;">ReduceSystemMemoryUsage</code> must be set to ''true'' and <code style="font-size:1.05em;">EnableUnsafeMemoryHacks</code> must be set to ''false'' below. | |||
<pre style="margin:0 0 25px 25px; width:500px;">ExpandSystemMemoryX64=(false, true)</pre> | |||
This parameter will enable the ENBoost features to dramatically reduce CTDs and other issues caused from reaching Skyrim's memory limit. It does this by launching the ''enbhost.exe'' process to handle dynamic memory allocations. It is highly recommended to enable and keep this feature enabled! For this feature to work properly, users must have enough system RAM to handle Windows, Skyrim, and enbhost.exe plus any programs running in the background. ENBoost is able to start multiple instances of the ''enbhost.exe'' process, each able to use up to 4GB of system RAM; up to a maximum of 128GB. This limit of how much system RAM is used is based off the value set in <code style="font-size:1.05em;">VideoMemorySizeMb</code> below. | |||
<pre style="margin:0 0 25px 25px; width:500px;">ReduceSystemMemoryUsage=(false, true)</pre> | |||
This was mainly implemented as a fix for AMD video card users; however, it can also be helpful to other users as well. The parameter forces the ENBSeries driver libraries to manage video memory resources for cached textures and will ignore more errors than the default video drivers would. When enabled the can cause lower than optimal performance and/or long pauses. If experiencing CTDs even while ENBoost features are enabled, users can also try enabling this parameter to help resolve some issues caused by video drivers; otherwise, it is best to leave it disabled. | |||
<pre style="margin:0 0 25px 25px; width:500px;">DisableDriverMemoryManager=(false, true)</pre> | |||
When enabled this parameter can give faster cell load times as geometry/textures are not loaded into video memory until they are visible. This may cause stuttering since more data must be dynamically loaded into memory during gameplay as the player looks and moves around the environment. Enabling this parameter could potentially help load a save game which fails to load otherwise. If this works, users are encouraged to go to a small interior, such as Breezehome or an inn, save the game, and then disable this again and try to load the save. Running Skyrim with this enabled is not recommended. If experiencing extended cell load times, before enabling this feature, it is recommended to first try using the "''free VRAM''" key (needs to be set later in this file) to clean video memory before entering a new location or fast traveling. | |||
<pre style="margin:0 0 25px 25px; width:500px;">DisablePreloadToVRAM=(false, true)</pre> | |||
Enabling this parameter is generally not safe. This is a workaround for users experiencing large amount of stuttering, typically on systems with large amount of VRAM (4GB+). When enabled, it does not use memory reallocation, compression, or ''enbhost.exe'' and will only work when <code style="font-size:1.05em;">ReduceSystemMemoryUsage</code> is also enabled. A known bug is that ''Alt+tab'' will not work in fullscreen when this is enabled. | |||
<pre style="margin:0 0 25px 25px; width:500px;">EnableUnsafeMemoryHacks=(false, true)</pre> | |||
This parameter sets a buffer size for swapping geometry and textures between VRAM and system memory. The buffer will be set in VRAM; however, it will also be duplicated in the system memory used by ''TESV.exe'' as well. This means that increasing this parameter's value will result in equal increases in both VRAM and system RAM usage. The values here are measured in megabytes. For video cards with 1GB or more VRAM, start with 128 as a baseline. If stuttering persists, increase the value in increments of 128 ( 256, 384, 512, etc ) until the stuttering has ceased or is as minimal as possible with the lost value as possible. The maximum value that can be used is 1024, but be aware that whatever value is used is how much VRAM will be reserved for the swap space. This is the reason the lowest value possible without experiencing issues is recommended. Because of this parameter being system dependent, users will need to test different values to find the one which works best for their specific setup. | |||
<pre style="margin:0 0 25px 25px; width:500px;">ReservedMemorySizeMb=(128, 256, 384, 512, 640, 768, 896, 1024)</pre> | |||
This sets the total memory that will be used for the ENBoost dynamic memory allocation. Users with 32-bit systems should set this parameter's value equal to the available VRAM; this is the most stable value. Users with 64-bit systems and at least 8GBs of system RAM, can use the formula: ''(VRAM + System RAM) - 2048''. Users on a 64-bit system who have less than 8GB system RAM should simply set the value equal to the available VRAM. If <code style="font-size:1.05em;">AutodetectVideoMemorySize</code> is enabled below, this parameter is ignored. | |||
<pre style="margin:0 0 25px 25px; width:500px;">VideoMemorySizeMb=(512,1024,...6144)</pre> | |||
This parameter will enable more compression in system RAM by having more textures moved into VRAM. When enabled, this can reduce stutter, but at the cost of more VRAM usage. It is generally only recommended to be enabled on systems with more than 2GB VRAM. Any system that is already nearing its VRAM limit should leave this parameter disabled or it could cause more harm than good. | |||
<pre style="margin:0 0 25px 25px; width:500px;">EnableCompression=(false, true)</pre> | |||
If enabled, this feature will attempt to detect a system's shared video memory and automatically set the <code style="font-size:1.05em;">VideoMemorySizeMb</code> parameter for a user. Any value placed in the <code style="font-size:1.05em;">VideoMemorySizeMb</code> above will simply be ignored. This feature works for some users and for other users it'll give the wrong values which are usually too high. Users can try this feature; however, disabling it and setting the <code style="font-size:1.05em;">VideoMemorySizeMb</code> parameter manually to fine tune the ENBoost settings is currently the recommended method. | |||
<pre style="margin:0 0 25px 25px; width:500px;">AutodetectVideoMemorySize=(false, true)</pre> | |||
'''Memory Section Example:''' | |||
<pre style="margin:0 0 25px 25px; width:500px;"> | |||
[MEMORY] | |||
ExpandSystemMemoryX64=true | |||
ReduceSystemMemoryUsage=true | |||
DisableDriverMemoryManager=false | |||
DisablePreloadToVRAM=false | |||
EnableUnsafeMemoryHacks=false | |||
ReservedMemorySizeMb=512 | |||
VideoMemorySizeMb=10240 | |||
EnableCompression=true | |||
AutodetectVideoMemorySize=false | |||
</pre><br> | |||
= Basic Preset Installation = | = Basic Preset Installation = |
Revision as of 19:09, October 5, 2014
A comprehensive guide for properly installing and editing ENBs for n00bs and gurus alike -- by the S.T.E.P. Team