The Evil Within

The Evil Within

View Stats:
Seibzehn Aug 28, 2022 @ 4:16am
2022 solution for playing TEW with G-Sync
Disclaimer: use all tools and setting at your own risk!
Making a backup of your system is recommended.

First at all:

All thanks & credits goes to Paragon with his post i wont be able to do this
(cant sign into this forum because non of my e-mails adresses were accepted).

scource:
https://www.resetera.com/threads/the-evil-within-on-pc-gamepass-windows-store-is-a-new-port-includes-first-person-view-fov-options-new-icons-all-dlc-more.396439/page-7#post-61146238

My part was to find out the optimal setting for my setup (ROG Swift 360Hz PG259QNR)
for playing with G-Sync @60FPS the target was to find the most fluid camera movement when you turn the cam around your char !

Why only 60 FPS user SixelAlexiS metioned here:
https://www.resetera.com/threads/the-evil-within-on-pc-gamepass-windows-store-is-a-new-port-includes-first-person-view-fov-options-new-icons-all-dlc-more.396439/page-8#post-61179493

-Enemy attacks that drain health (i.e. strangling attacks) do so significantly faster at higher frame rates.
-Enemy attack speed appears to be much higher at higher frame rates.

The game runs with my pc easy min 144 FPS up to 260 FPS.

BUT as i said the target is 60 FPS (max. fluid as possible)

EDIT: i used this setup at games default fov settings with this fov its shows more/stronger
the difference.


1 a) create the folder:
==================

create:
C:\Users\USERNAME\AppData\Local\TangoGameworks\The Evil Within_ng\

the last two folders are missing and you must add them manually.

When the game is running it adds two files:
FileCache000.bin (1 GB cache file)
FileCacheHeader.bin (128KB file)

This should be done for everybodys system. Remember these files still exist when you uninstall the game you have to remove the manually.

1 b) adding in steam PROPERTIES (rightclick on game name) these LAUNCH OPTIONS:
===================================================================

+com_skipIntroVideo 1 +com_allowconsole 1 +vt_maxaniso 4 +R_swapinterval 0


2. download and install "Special K" tool:
===============================

https://discourse.differentk.fyi/t/download-special-k/1461

unpack this archive to:
C:\Users\USERNAME\Documents\My Mods\SpecialK\

3. for running "Special K" the following is needed both installed:

https://docs.microsoft.com/en-us/cpp/windows/latest-supported-vc-redist?view=msvc-170

download & install both:

vc_redist.x32.exe
vc_redist.x64.exe

3. create folder and SpecialK.ini
=========================

C:\Users\USERNAME\Documents\My Mods\SpecialK\Profiles\The Evil Within\SpecialK.ini

(you must create: Profiles\The Evil Within folders)

create a .txt file and rename it to SpecialK.ini


In this file you copy & paste this (from the user Paragon) (without START & END PART):

===START===

[Compatibility.General]
DisableBloatWare_NVIDIA=false
RehookLoadLibrary=false

[SpecialK.System]
ShowEULA=false
Silent=false
LogLevel=0
IgnoreRTSSHookDelay=false
UseCrashHandler=true
GameOutput=true
EnableCEGUI=false
SafeInitCEGUI=true
TraceLoadLibrary=true
StrictCompliant=false
Version=0.11.0.50

[ImGui.Render]
DisableAlpha=false
AntialiasLines=true
AntialiasContours=true

[API.Hook]
LastKnown=64
d3d9=true
d3d9ex=true
d3d11=true
OpenGL=true
d3d12=true
Vulkan=true

[NVIDIA.API]
DisableHDR=false
Disable=false

[NVIDIA.Bugs]
AnselSleepsWithFishes=true

[Input.Keyboard]
CatchAltF4=false
DisabledToGame=false

[Input.Mouse]
DisabledToGame=false

[Input.Cursor]
Manage=false
KeyboardActivates=true
Timeout=1.5
ForceCaptureInUI=true
UseHardwareCursor=true
BlockInvisibleCursorInput=false
NoWarpUI=true
NoWarpVisibleGameCursor=true
FixSynapticsTouchpadScroll=false
AntiwarpDeadzonePercent=2.5
UseRelativeInput=true

[Input.Gamepad]
DisabledToGame=false
DisablePS4HID=false
AllowHapticUI=true
DisableRumble=false

[Input.XInput]
Rehook=false
PlaceholderMask=0
UISlot=0
SlotReassignment=0,1,2,3

[Input.Steam]
UISlot=0

[Threads.Analyze]
MemoryAllocation=false
FileActivity=false

[Window.System]
Borderless=false
Center=false
RenderInBackground=false
MuteInBackground=false
XOffset=0.0%
YOffset=0.0%
ConfineCursor=false
UnconfineCursor=false
PersistentDragPos=false
Fullscreen=false
FixMouseCoords=false
AlwaysOnTop=0
DisableScreensaver=false
DontHookWndProc=false
OverrideRes=0x0

[Display.Output]
ForceFullscreen=false
ForceWindowed=false

[Render.FrameRate]
TargetFPS=60.0
BackgroundFPS=0.0
SleeplessRenderThread=false
SleeplessWindowThread=false
EnableMMCSS=true
MaxBusyWaitPercent=0.825
WaitForVBLANK=false
PreRenderLimit=0
BackBufferCount=2
PresentationInterval=1
RescanRatio=-1/1
RefreshRate=-1.0
LimitEnforcementPolicy=4

[FrameRate.Control]
OverrideCPUCoreCount=-1

[Render.DXGI]
MaxDeltaTime=0
UseFlipDiscard=true
DisableFlipModel=false
AllowTearingInDWM=true
DropLateFrames=true
MaxRes=0x0
MinRes=0x0
SwapChainWait=0
Scaling=DontCare
ScanlineOrder=DontCare
ExceptionMode=DontCare
EnableDebugLayer=false
SafeFullscreenMode=false
Use64BitDepthStencil=false
IsolateD3D11DeferredContexts=false
SkipSwapChainPresentTest=false
OverrideMSAA=-1

[Textures.D3D11]
Cache=false
PreciseHash=false
Inject=true
InjectionKeepsFormat=false
GenerateMipmaps=false

[Textures.Cache]
MaxEntries=65536
MinEntries=512
MaxEvict=1024
MinEvict=64
MaxSizeInMiB=2048
MinSizeInMiB=384
IgnoreNonMipmapped=false
AllowStaging=false
AllowUnsafeRefCounting=false
ManageResidency=false

[Render.D3D9]
ForceD3D9Ex=false
EnableTextureMods=false

[Textures.General]
ResourceRoot=SK_Res
DumpOnFirstLoad=false

[DPI.Scaling]
Disable=false
PerMonitorAware=false
MonitorAwareOnAllThreads=false

[Steam.Achievements]
SoundFile=

[Steam.System]
AppID=268050
AutoInitDelay=0
AutoPumpCallbacks=true
BlockUserStatsCallback=false
FilterExternalDataFromCallbacks=false
PreLoadSteamClient=false
PreLoadSteamOverlay=false
ForceLoadSteamAPI=false
AutoInjectSteamAPI=true
NotifyCorner=DontCare
ReuseOverlayPause=true
SteamPipeDLL=steam_api64.dll
CallbackThrottle=-1

[Steam.Social]
OnlineStatus=-1

[Steam.Log]
Silent=false

[Steam.DRMWorks]
SpoofBLoggedOn=false

[Steam.Screenshots]
EnableSmartCapture=true

[AMD.ADL]
Disable=false

[SpecialK.HDR]
scRGBLuminance_[0]=3.125
scRGBGamma_[0]=1.1879
InputColorSpace_[0]=4
OutputColorSpace_[0]=0
scRGBLuminance_[1]=3.125
scRGBGamma_[1]=0.8418
InputColorSpace_[1]=4
OutputColorSpace_[1]=0
scRGBLuminance_[2]=1.0
scRGBGamma_[2]=1.0
InputColorSpace_[2]=1
OutputColorSpace_[2]=4
scRGBLuminance_[3]=9.375
scRGBGamma_[3]=2.18
InputColorSpace_[3]=0
OutputColorSpace_[3]=0
Use10BitSwapChain=false
Use16BitSwapChain=false
Promote8BitRTsTo16=false
Promote10BitRTsTo16=true
Promote11BitRTsTo16=true
AllowFullLuminance=false
Preset=0

[HDR.Presets]
Activate0=Shift+F1
Activate1=Shift+F2
Activate2=Shift+F3
Activate3=Shift+F4

[D3D11.Hooks]
D3D11CreateDevice=c:/windows/system32/d3d11.dll?4fcb0
c:\windows\system32\d3d11.dll=Direct3D 11 Runtime 10.0.19041.746 (WinBuild.160101.0800)
D3D11CreateDeviceAndSwapChain=c:/windows/system32/d3d11.dll?4fe20
EnableGlobalCache=true
EnableLocalCache=false

[DXGI.Hooks]
IDXGIFactory_CreateSwapChain=c:/windows/system32/dxgi.dll?5efd0
c:\windows\system32\dxgi.dll=DirectX Graphics Infrastructure 10.0.19041.746 (WinBuild.160101.0800)
IDXGIFactory2_CreateSwapChainForHwnd=c:/windows/system32/dxgi.dll?5f8b0
IDXGISwapChain_Present=c:/windows/system32/dxgi.dll?4f80
IDXGISwapChain1_Present1=c:/windows/system32/dxgi.dll?69700
IDXGIFactory2_CreateSwapChainForCoreWindow=c:/windows/system32/dxgi.dll?5f6e0
EnableGlobalCache=true
EnableLocalCache=false

[Render.OSD]
ShowInVideoCapture=true
HDRLuminance=4.0625

===END===

4. Enable V-Sync in nvidia drivers for the "evilwithin.exe" only.
================================================

5. running special k tool
===================

running on 64-bit systems:
C:\Users\USERNAME\Documents\My Mods\SpecialK\SKIF.exe

6. starting the game from this launcher
===============================

7. launch special k ingame
=====================

pressing STRG/CTRL + (left) SHIFT + BACK at the same time
(BACK = Button to delete letters from right to left)

now special k overlay appears ingame and on top you can read:
"G-SYNC STATUS = SUPPORTED + ACTIVE"

= perfect! But thats not all...

8. TOP menu "DISPLAY" > change V-SYNC to "NO OVERRIDE"
================================================

https://steamcommunity.com/sharedfiles/filedetails/?id=2855257851

9. ENABLE Framerate Limiter
=======================

https://steamcommunity.com/sharedfiles/filedetails/?id=2855258095

check box "FRAMERATE LIMIT"

press and hold STRG/CRTL and left click (mouse) the box and enter "60" FPS.

10. ENABLE "Low Latency Mode"
==========================

in "Framerate Limiter" menu > click ADVANCED Button

and check box "LOW LATENCY MODE"

This will reduce:

"Driver" from 16,31 ms to 2,33 ms
"OS Render Queue" from 16,00 ms to 6,58 ms
"GPU Renderer": from 15,69 ms to 6,25 ms
"Total Frame Time": from 16,65 ms to 7,19 ms
"Input Age": from 14,67 ms to 5,3 ms

11. NVIDIA Reflex Mode setting to "LOW LATENCY + BOOST"
===============================================

This lowers again:

"OS Render Queue": 5,47 ms
"GPU Renderer": 5,09 ms
"Total Frame Time": 6,13 ms
"Input Age": 4,24 ms

(Maybe you can test LOW LATENCY only vs. LOW LATENCY + BOOST
which one works the best for you. For me the BOOST Option works best.

RESULT:
======

This gave me the best most fluid looking camera movement with only 60 FPS on a G-Sync display!
Its not as fluid like running the game at 260 FPS (of course) BUT without breaking the game. The devs support max 60 fps in game and every fps more CAN break the game or make it more difficult.

The boost in fluid camera movement is great with these settings try to disable the options in special k and you will see immediately - 100% sure.

Please try your own settings like setting 59,9/60,8/62,8 FPS maybe this works better than my 60 FPS..all is possible !


BTW:
Your are still able to use flawless widescreen for FoV fixes.

Maybe some infos from Da Big Boo's guide (on steam) can help too to get out the most of the game.
Last edited by Seibzehn; May 18, 2024 @ 3:48pm
< >
Showing 1-8 of 8 comments
Seibzehn Aug 28, 2022 @ 6:33am 
Optional you can try (Part of Da Big Boo's guide):

Steam PROPERTIES (rightclick on game name) these LAUNCH OPTIONS:

+com_skipIntroVideo 1 +vt_maxaniso 4 +r_swapinterval 0 +mem_phyMemBlockSizeM 2048 +fc_maxCacheMemoryMB 2048 +vt_pageImageSizeUnique 16384 +vt_pageImageSizeUniqueDiffuseOnly2 16384 +vt_pageImageSizeUniqueDiffuseOnly 16384 +vt_pageImageSizeVmtr 16384

There is no space to add more options.
Last edited by Seibzehn; Aug 28, 2022 @ 6:34am
Seibzehn Sep 3, 2022 @ 6:15am 
It's essential to "enable" v-sync in the nvidia driver for this game!
(otherwise it looks not fluid with g-sync).

I tested "v-sync" fast and it looks good too..
Last edited by Seibzehn; Sep 3, 2022 @ 6:33am
Seibzehn May 18, 2024 @ 5:42am 
Little update:

The epicgames store version of the game create its own folder:

C:\Users\USERNAME\AppData\Local\TangoGameworks\The Evil Within_ng (Epic)\

FileCache000.bin
FileCacheHeader.bin

So I would say its am MUST on steam to create this folder too.

BTW: the epic version is something between the steam and windows version

because wtih link you bethesda account you will get:

- first person mode + FOV option
- Infinite ammo mode
- Icons for lantern/sneaking in first person view
Last edited by Seibzehn; May 18, 2024 @ 6:32am
Seibzehn May 18, 2024 @ 9:16am 
Epicgames Version works good too:

1. Add startparamaters:

+com_allowconsole 1 +vt_maxaniso 4

2. Edit file:

C:\Users\USERNAME\Saved Games\TangoGameworks\The Evil Within (Epic)\base\the evil withinConfig.cfg

Enter this value (limiting the game to 30/60 FPS (ingame) uses a bad v-sync option)
r_swapInterval "0"

In nvidia driver add for evilwithin.exe:

enable v-sync: "fast"
Low latency mode "ulta"

Now you can fix 60 FPS in the nvidia driver or via rivatuner.
Framerate = 60
Scaline Sync = 60
Last edited by Seibzehn; May 30, 2024 @ 11:04am
Seibzehn Jun 6, 2024 @ 6:17am 
Or maybe playing on Garuda Linux looks pretty good.
Dont know if its running stable for hours, should be tested.
Seibzehn Jun 9, 2024 @ 2:53am 
No only Windows Store and Epic Version.

But FPV did not work very well..
but there is a FoV Slider for the first person view
(which does not work sadly for third person.)
Last edited by Seibzehn; Jun 9, 2024 @ 3:03am
Seibzehn Jun 9, 2024 @ 6:38am 
There is no FoV slider in Steam version.

But you can use the Tool Flawless Widescreen this works perfectly.

Flawless Widescreen does not work wit MS Store & Epic Version.
Last edited by Seibzehn; Jun 9, 2024 @ 6:39am
Tommy Wiseau✔ Jul 1, 2024 @ 8:19am 
Seems to much work for what it is when you can simply use Lossless Scaling and play at 240fps without stutter issues. The game doesn't feel faster and as far as I can tell, you don't take more damage. You might, but I don't notice it and even I you would, the game as been out for so long I don't mind the game being "a little bit harder."

Anyway my point is, run the game in windowed mode make it borderless with Lossless scaling. Turn on frame generation from the app and that's it. You might need flawless widescreen for the fov adjustement but man you wrote a ♥♥♥♥♥♥♥ bible for something that can be played perfectly (if you have a decent rig) and can be fix in 3 like clicks lol.

I appreciate the hard work tho but there's no need for that.
Last edited by Tommy Wiseau✔; Jul 1, 2024 @ 8:26am
< >
Showing 1-8 of 8 comments
Per page: 1530 50