Saturday, November 12, 2022

The Evil Within 2 (DX11)




3D Vision fix for The Evil Within 2. Remade from scratch to fix remaining problems from the original fix by DHR (https://helixmod.blogspot.com/2017/11/the-evil-within-2-dx11.html).


Update (2022-11-12): updated geo-11 fix with build v0.6.78. Configured autoconvergence. HUD tweaks.

Update (2022-08-07): added geo-11 fix. Also added some small corrections and a fix for one eye particles that has better performance (it should be stable). Fixed motion blur and SSAO at all settings.

Update (2022-01-11): fixed temporal anti-aliasing (TAA) and some forms of motion blur when TAA is enabled. Now TAA isn't disabled in the shader by default, because it isn't broken anymore.

This fix also corrects a problem in the main post processing shader that was badly scaling the image of the game, which caused blurriness to the whole image.

By default, these effects are forcibly disabled: vignette, lens flares, sharpening (which appears if TAA is enabled).


Fixed
- Shadows.
- Lighting.
- Clipping caused by fixing lighting.
- Decals.
- Volumetric lighting.
- Screen space reflections.
- Radial blur.
- Distortion effects (except a small one).
- One eye particles and sparks.
- Realistic specular reflections.
- Stereoized 2D geometry elements (rain, some smoke, particles, a specific reflection...).
- Temporal anti-aliasing.
- Motion blur.
- Added dynamic crosshair and HUD.


Known issues
- The mouse cursor, as well as some menu images, aren't at the same depth as the rest of the HUD, to not break some image projector images in a specific part of the game.
- As a result of fixing lighting clipping, there's a darkened vertical stripe at the left frustum of the screen.


Installation
- First of all, don't use Windows 7. This fix makes launching it very easy compared to old methods by forcing flip model, something that was created for Windows 8 onwards. I tested this on Windows 10 and checked with other people that Windows 7 doesn't trigger 3D Vision. If you want to try the old method of launching the game on Windows 7, you're on your own.
- geo-11 (with build v0.6.78): download this file and extract its contents in the "The Evil Within 2" folder, where "TEW2.exe" is. Remember to edit "d3dxdm.ini" to change your "direct_mode" to the output you need. It's sbs by default. For 3D Vision monitors, "direct_mode = nvidia_dx11" works but "direct_mode = nvidia_dx9" doesn't at this moment.
- Download this file and extract its contents in the "The Evil Within 2" folder, where "TEW2.exe" is.
- Run the game and let it overwrite the profile the first time.
- In the ingame options, choose preferably borderless (fullscreen is almost the same but it changes your desktop resolution while the game is running) and choose the same resolution as you use in the desktop (not necessary for fullscreen, only for borderless). For geo-11, fullscreen is better.
Important: if you want to see screen space reflections in the game, TAA (temporal anti-aliasing) needs to be enabled in the options. This also makes the film grain slider work instead of doing nothing (which forced 100% grain at all times). The TAA+FXAA setting is also valid, if you like FXAA.


Hotkeys (numbers aren't from the numpad)
F1: convergence presets (0, 25, 35, 50, 75, 100). 50 by default, recommended for gameplay. I recommend 25 for cutscenes and 35 or 50 for first person mode. With shift+F1, you can cycle backwards.
F2 (only for the old 3D Vision fix): HUD depth presets (0%, 20%, 40%, 60%, 80%, 100%). 0% depth by default, but overriden by dynamic HUD, which is enabled by default.
F3: dynamic HUD toggle. Enabled by default. It puts the entire HUD to the depth of what is at the center of the screen. If it's annoying for cutscene subtitles, just press this hotkey to use static HUD.
F4: color filter toggle. Not disabled by default, because I recommend the original state of the game. This disables the color filter of the game, restoring the colors and contrast to unmodified values (more colorful). Compared to the first game, the filter isn't strong at all, so there's little reason to use this hotkey.
F5: TAA toggle. Disabled by default (when the ingame option is selected).
F6: sharpening strength multipliers (x0, x1, x2, x3, x4). x0 by default, which is what I prefer.
0: vignette toggle. Disabled by default. I recommend leaving it disabled. In this game, vignette makes the borders dark but the center brighter.
9: main lens flares presets. By default they are disabled (they aren't as annoying as in the first game). With one press, they try to be at fully dynamic depth (using the dynamic crosshair code). With a second press, they are at the depth of what is at the center of the screen (more incorrect in general). With a third press, they are always at 100% depth (also incorrect in many situations). With a fourth press, they are disabled again. I recommend just leaving them disabled.


Recommendations
- Enable TAA, as said in the installation instructions. The effect is still disabled until you reenable it with F5, but this will allow screen space reflections anyway. This way the image will be sharp but you will still get screen space reflections.
- Don't force anisotropic filtering in the drivers. It will make textures shimmer.
- Alt+tabbing is safe, but I don't recommend doing it during loading times (3D Vision).
- Check pcgamingwiki to know how to skip the intro videos.


If you liked the fix and want to contribute for more future fixes, you can donate to this PayPal account: masterotakusuko@gmail.com
Or you can join my Patreon: https://www.patreon.com/masterotaku

5 comments:

  1. Thank you very much. I have yet to play the second game, so this fix comes in quite handy now :)

    ReplyDelete
  2. Hi masterotaku,
    I am drowning in work at the moment, but I highly appreciate all your efforts and hope I can enjoy your S3D fixes, soon. Thank you!

    ReplyDelete
  3. Hi Master Otaku, Gave you donation. Hope you got it and checked your paypal. Thanks for all your fixes!

    ReplyDelete
    Replies
    1. Thank you!

      About if I got the donation or not, I can't be sure if I don't know who you are and the date when you made the donation. If it was that same October 26th, I think I didn't get anything.

      Delete
  4. geo-11 fix works great in Bigscreen VR.

    ReplyDelete