Configuring ENB for Fallout New Vegas

General modding guides and authoring tutorials.
Post Reply
User avatar
FiftyTifty
Posts: 382
Joined: Tue Apr 09, 2013 7:36 pm

Configuring ENB for Fallout New Vegas

Post by FiftyTifty » Fri Dec 15, 2017 5:44 pm

I'll keep this as no-bullshit-y as possible.


In your driver program, ensure that your New Vegas profile has [b]Anisotropic Filtering[/b] and [b]Anti-Aliasing Mode[/b] set to [b]Use Application Settings[/b].


[img]https://i.imgur.com/ytzJgBY.png[/img]


You can find enblocal.ini presets below. I've set them to use my card's 2048 MB of VRAM; if you have more than that, set it higher. In order to get the minimum VRAM required, load up your game and play for a wee while, and look at the amount of memory used under the ENB overlay's profiler section. Vanilla Skyrim used over 1GB of VRAM, but it should be less with vanilla New Vegas.


It's also required that you have New Vegas running in windowed mode, if you don't want to crash upon alt-tabbing with [b]EnableUnsafeMemoryHacks=true[/b]. And that setting is a game changer, as it greatly reduces stuttering if not completely eliminating it, when models and textures are being loaded (e.g, travelling across cells, transitioing from interior <-> exterior). So have New Vegas in windowed mode, and everyone's happy. Also, when a game is in windowed mode (Windows 7 and newer), the game gets triple buffering. This means you can have VSync enabled without the framerate juddering between 15 <-> 30 <-> 60fps.


I also recommend disabling the Steam Overlay for Fallout New Vegas. It causes issues when the interface pops up (e.g, recieving a message from another player) where many objects become fully transparent, and has caused issues for some users when [b]ExpandSystemMemoryX64=true[/b].


 


Explanation of settings:


If you want to use ENB's graphics modifications alongside the ENBoost part, set [b]UseENBoostWithoutGraphics=false[/b].


[b]EnableUnsafeMemoryHacks=true[/b] Brings two major benefits. And these are brought about as the game's models and textures are no longer mirrored into RAM (as is standard with Direct3D 9). Stuttering is exceptionally reduced, as is memory usage in the FalloutNV.exe process.


If you have texture mods installed, with the amount of memory being used exceeding your GPU's VRAM, Set [b]EnableUnsafeMemoryHacks=false[/b], [b]ReduceSystemMemoryUsage=true[/b], [b]AutodetectVideoMemorySize=true[/b]. We lose the benefit of reduced stuttering brought by EnableUnsafeMemoryHacks, but gain the benefit of the game no longer crashing or corrupting when the VRAM is not able to hold all of the game's models, textures, shaders, render targets, and frame buffers. This is done by ENB launching multiple ENBHost.exe processes, that are then filled with the game's models and textures.


If you have a card with a large amount of memory (e.g, 8GB), it's pretty much impossible for you to reach the limits of your VRAM, so you can just keep [b]EnableUnsafeMemoryHacks=true[/b] and have the best of both worlds.


 


Example enblocal.ini files:


ENB for best performance (no texture replacers, 2GB VRAM): https://pastebin.com/vhpRAFS0


ENB for game with texture mods & small GPU VRAM (size of all loaded resources > GPU VRAM size, ): https://pastebin.com/ix9G7wfg



Mystical Panda
Posts: 750
Joined: Wed Mar 30, 2016 2:02 pm

Awesome! Thanks! I'm wanting

Post by Mystical Panda » Fri Dec 15, 2017 6:59 pm

Awesome! Thanks! I'm wanting to do some test runs here in a bit with just EnableUnsafeMemoryHacks=true, without using the ReduceSystemMemoryUsage=true and see if that helps increase frame rates a bit- since there should be less paging data in and out of the card (should all be resident) from the various host processes.



User avatar
FiftyTifty
Posts: 382
Joined: Tue Apr 09, 2013 7:36 pm

Mystical Panda wrote:

Post by FiftyTifty » Fri Dec 15, 2017 7:01 pm

[quote=Mystical Panda]


 


Awesome! Thanks! I'm wanting to do some test runs here in a bit with just EnableUnsafeMemoryHacks=true, without using the ReduceSystemMemoryUsage=true and see if that helps increase frame rates a bit- since there should be less paging data in and out of the card (should all be resident) from the various host processes.


[/quote]


 


When EnableUnsafeMemoryHacks is enabled, ENB will automtically disable ReduceSystemMemoryUsage.



Mystical Panda
Posts: 750
Joined: Wed Mar 30, 2016 2:02 pm

MajinCry wrote:

Post by Mystical Panda » Fri Dec 15, 2017 7:13 pm

[quote=MajinCry]


 


Mystical Panda wrote:



 


Awesome! Thanks! I'm wanting to do some test runs here in a bit with just EnableUnsafeMemoryHacks=true, without using the ReduceSystemMemoryUsage=true and see if that helps increase frame rates a bit- since there should be less paging data in and out of the card (should all be resident) from the various host processes.


 



 


When EnableUnsafeMemoryHacks is enabled, ENB will automtically disable ReduceSystemMemoryUsage.


[/quote]


I was thinking that also; I noticed in the 3.2.2 release he has that disabled by default. Thanks for clarifying that. I have so much going on here programming wise, I tossed some of those settings in hap-hazard fashion (overlapping functions) without really giving it much thought- trying to eliminate every possible game 'fail' (crash) as quickly as possible, so I can isolate where the biggest problems lay modding wise without adding too many more unknowns into the mix (new windows updates and plugins versions are bad enough at times- retesting for a base line). 


I can say without reservation, trying to programatically organize all this is daunting at best, but it's getting there.



User avatar
RoyBatty
Posts: 6488
Joined: Sun Apr 27, 2014 10:26 am
Location: Vault 108

Thanks MajinCry, I'll link

Post by RoyBatty » Fri Dec 15, 2017 11:09 pm

Thanks MajinCry, I'll link this post in the performance guide.


Image

Post Reply