S.T.A.L.K.E.R. 2: Heart of Chornobyl

S.T.A.L.K.E.R. 2: Heart of Chornobyl

View Stats:
blumaus Nov 22, 2024 @ 6:33am
S.T.A.L.K.E.R. 2 - Ultimate Engine Tweaks
S.T.A.L.K.E.R. 2 - Ultimate Engine Tweaks (from Nexus Mods, please support the original author).

"After many hours of testing, I would like to share my definitive custom "Engine.ini" changes for the game.

https://www.nexusmods.com/stalker2heartofchornobyl/mods/17?tab=description

My goal was to just include as many optimisations as possible (both for CPU/GPU/RAM/SSD) in order to remove most stuttering, improve performance, reduce input latency and improve picture clarity (by removing Film Grain & Chromatic Aberration) all without any visual loss nor introducing glitches or crashes.

You can directly download my Engine.ini to replace or just copy all the lines below inside and at the bottom of your game Engine.ini, which is located in:



%localappdata%\Stalker2\Saved\Config\WinGDK

or for the Steam version here:

%localappdata%\Stalker2\Saved\Config\Windows

(if you can't see any Engine.ini file in it, just put mine there. To Uninstall just delete the Engine.ini and the game will recreate a new default one)



Please pay attention to some comment lines after ";" which may be related to specific configurations (e.g. VRR usage, VRAM amount etc.), so change them accordingly to your hardware.


If you do not have a Engine.ini file, just create a document and paste the following. Or download the .ini from Nexus Mods.

[Core.System]
r.XGEShaderCompile=1
r.XGEShaderCompile.Mode=3
r.IoDispatcher.CacheSize=16384
r.IoDispatcher.AsyncBatchReadSizeKB=16384
+Suppress=Scriptwarning
+Suppress=Error
+Suppress=Scriptlog
+Suppress=Warning

[SystemSettings]
t.MaxFPS=120 ; Only if your max refresh rate is 120hz, otherwise change it accordingly
r.VSync=0 ; Only if you have VRR enabled on your display, otherwise delete it
r.D3D11.UseAllowTearing=1 ; Only if you have VRR enabled on your display, otherwise delete it
r.D3D12.UseAllowTearing=1 ; Only if you have VRR enabled on your display, otherwise delete it
r.Streaming.PoolSize=12288 ; Only for 16GB VRAM. If you have 24GB use 18432, for 12GB use 9216, for 11GB use 8192, for 10GB use 7168, for 8GB use 6144, for 6GB use 5120, for 4GB use 4096
r.OneFrameThreadLag=0 ; This will noticeably reduce input latency, but if you experience drastically lower FPS after using this, delete this line
r.MaxAnisotropy=16
r.Tonemapper.GrainQuantization=0
r.FilmGrain=0
r.NT.Lens.ChromaticAberration.Intensity=0
r.SceneColorFringeQuality=0
niagara.CreateShadersOnLoad=1
r.TemporalAACurrentFrameWeight=0.15
r.TemporalAASamples=8
r.TemporalAASharpness=0.9
r.Tonemapper.Sharpen=0.8
r.RHICmdBypass=0
r.GPUCrashDebugging=0
r.AllowMultiThreadedShaderCreation=1
r.Streaming.HLODStrategy=2
r.Streaming.LimitPoolSizeToVRAM=1
r.Streaming.MipBias=0
r.RenderTargetPoolMin=800
r.GTSyncType=1
r.EarlyZPass=2
r.AllowOcclusionQueries=1
r.GBufferFormats=3
r.AsyncCompute=1
r.UseAsyncShaderPrecompilation=1
r.Streaming.DefragDynamicBounds=1
r.Streaming.UseAllMips=1
r.LumenScene.Lighting.AsyncCompute=1
r.Lumen.DiffuseIndirect.AsyncCompute=1
r.Lumen.Reflections.AsyncCompute=1
r.Streaming.MinMipForSplitRequest=0
r.ThreadedShaderCompilation=1
r.ParallelTranslucency=1
r.Streaming.MaxTempMemoryAllowed=1024
r.Streaming.Boost=1.2
r.TextureStreaming.TexturePoolSizeReduction=0
r.ForceCPUAccessToGPUSkinVerts=1
r.CustomDepth=3
r.IoDispatcher.MaxParallelIoRequests=64
r.XGEShaderCompile=1
r.XGEShaderCompile.Mode=3
r.IoDispatcher.CacheSize=16384
r.IoDispatcher.AsyncBatchReadSizeKB=16384
D3D12.MaximumFrameLatency=3
D3D12.AsyncDeferredDeletion=1
D3D12.AFRUseFramePacing=1
D3D11.MaximumFrameLatency=3
D3D11.AsyncDeferredDeletion=1
D3D11.AFRUseFramePacing=1
FX.AllowAsyncTick=1
FX.BatchAsync=1
FX.BatchAsyncBatchSize=8
FX.EarlyScheduleAsync=1
AllowAsyncRenderThreadUpdates=1
AudioThread.EnableBatchProcessing=1
AudioThread.BatchAsyncBatchSize=128

[ShaderCompiler]
bAllowAsynchronousShaderCompiling=True
bAllowCompilingThroughWorkerThreads=True
NumUnusedShaderCompilingThreads=2
bAsyncShaderCompileWorkerThreads=True
bEnableOptimizedShaderCompilation=True
MaxShaderJobBatchSize=100
MaxShaderJobs=1000

[/script/engine.engine]
bAllowMultiThreadedShaderCompile=True

[DevOptions.Shaders]
bAllowShaderCompilingWorker=True
bOptimizeForLocalShaderBuilds=True
WorkerThreadPriority=0
bUseBackgroundCompiling=True

[TextureStreaming]
r.TextureStreaming=1
r.Streaming.FullyLoadUsedTextures=1
r.Streaming.FullyLoadUsedTextures_Always=1
r.Streaming.DefragDynamicBounds=1
r.Streaming.FramesForFullUpdate=1

[Engine.InputSettings]
RawMouseInputEnabled=1
bEnableMouseSmoothing=False
bViewAccelerationEnabled=False

[Engine.RendererSettings]
r.AsyncCreateLightPrimitiveInteractions=1
r.RDG.AsyncCompute=1
r.AsyncPipelineCompile=1
r.AmbientOcclusion.AsyncComputeBudget=1
r.EnableAsyncComputeVolumetricFog=1
r.Streaming.UseAsyncRequestsForDDC=1

[RenderingThread]
bAllowThreadedRendering=True
bAllowAsyncRenderThreadUpdates=True
r.JobThreadPriority=1
r.RenderThread.Priority=1
r.GameThread.Priority=1

[/script/engine.streamingsettings]
s.AsyncLoadingThreadEnabled=1
s.AsyncLoadingUseFullTimeLimit=1
s.MinBulkDataSizeForAsyncLoading=0
s.PriorityAsyncLoadingExtraTime=0
s.PriorityAsyncLoadingExtraTime=15.0
s.AsyncLoadingTimeLimit=4
s.AsyncLoadingTimeLimit=5.0
s.AsyncLoadingUseTimeLimit=1
s.LevelStreamingActorsUpdateTimeLimit=10.0

[/script/engine.garbagecollectionsettings]
gc.MultithreadedDestructionEnabled=1
gc.MinimalAsyncGarbageCollectionTime=0.3
gc.TimeBetweenPurgingPendingKillObjects=60
gc.MaxObjectsNotConsideredByGC=1

[/script/akaudio.aksettings]
bEnableMultiCoreRendering=True

[CrashReportClient]
bAgreeToCrashUpload=False
bImplicitSend=False

[Core.Log]
LogPluginManager=off
LogOnlineIdentity=off
LogOnlineSession=off
LogMemory=off
LogPakFile=off
LogTemp=off
LogLinker=off
LogOnline=off
LogOnlineGame=off
LogAnalytics=off
LogConfig=off
LogInteractiveProcess=off
LogInput=off
LogOnlineEntitlement=off
LogOnlineEvents=off
LogOnlineFriend=off
LogOnlinePresence=off
LogOnlineTitleFile=off
LogOnlineUser=off
LogRenderer=off
LogNetwork=off
LogPhysics=off
Global=off
+Suppress=Scriptwarning
+Suppress=Error
+Suppress=Scriptlog
+Suppress=Warning
Last edited by blumaus; Nov 22, 2024 @ 6:34am
Date Posted: Nov 22, 2024 @ 6:33am
Posts: 0