Saturday, December 21, 2019

Resident Evil 2






3D Vision fix for Resident Evil 2. Many thanks to everyone that helped with testing, fixing and counseling (Helifax, DarkStarSword, Schwing, Kaimasta, etc).


Update (2019-12-21): fixed volumetric lighting. Flashlight cone lighting is at full depth to avoid some problems. Some glass now has realistic depth for reflections.

Incredibly small update (2019-03-30): changed one regex to catch a shader that appears if you use "UseOptimizeShader=Disable", which you don't need to.

Small update (2019-03-29): regexes changed in a way to avoid possible conflicts. If shadows were perfect for you, you may not need this.

VERY IMPORTANT UPDATE (2019-03-27): it's important to redownload the fix. With the 3Dmigoto 1.3.16 version, this update fixes stability issues, convergence issues, lets you use "UseVendorExtention=Enable" and also let me fix all particles in the game.


Fixed
- Shadows.
- Lighting.
- Particles (rain, sparks, smoke, etc).
- Specular reflections.
- Screen space reflections.
- The only mirror in the game.
- Skybox.
- Dynamic HUD with three settings.
- Blood and similar effects.
- Lighting clipping.
- Volumetric lighting.
- Automatic low convergence for cutscenes.


Known issues
- Interlaced mode works, but it doesn't look as good as in 2D (you can notice the lower resolution even when not moving, unlike in 2D).


Installation
- Download this file and extract its contents in the "RESIDENT EVIL 2  BIOHAZARD RE2" folder, where "re2.exe" is.
IMPORTANT: in the game folder, open "re2_config.ini" and set "TargetPlatform=DirectX11", or just choose DirectX 11 ingame.
- Launch the game and let it overwrite the profile.
IMPORTANT: don't enable motion blur or TAA. Those settings are broken in 3D.


Notes
- For screen space reflections to be perfect, your internal resolution can't be lower than 60% of your output resolution. That means that you shouldn't use a render scale of 50% nor a bit higher scale combined with interlacing.


Hotkeys
F1: convergence presets.
F2: HUD depth presets, when dynamic HUD is disabled.
F3: HUD toggle. Not disabled by default.
F4: image sharpening toggle. Disabled by default.
F5: vignette toggle. Disabled by default.
. (period): dynamic HUD presets. By default all HUD takes the calculated depth of the center of the screen. Press once so each vertex has its own depth. Press twice to make the HUD static. Press three times to go back to default.
F11: something about Nvidia Surround. Ask Helifax on the forums.


If you liked the fix and want to contribute for more future fixes, you can donate to this PayPal account: masterotakusuko@gmail.com

34 comments:

  1. Not working for me, its like it doesn't even detect that the fix is installed. Looks the same with or without, not even the hotkeys work.

    Im on win7 and 418.91.
    Maybe CM Unleashed did something to the profile or that wouldn't affect at all?

    ReplyDelete
    Replies
    1. Is the game running in DirectX11 for sure?

      I heard Windows 7 has problems with the current 3Dmigoto build that I'm using.

      I suggest using Windows 10 or finding a 3Dmigoto version that works (I think someone mentioned it in the forums). But the screen space reflections fix won't work correctly.

      Delete
    2. It's very unlikely to be a problem with 3Dmigoto and Win7, that's a much simpler runtime environment, and it's super unlikely to be broken. Please don't suggest this sort of thing, unless you know for sure, because it breaks people's confidence in the tool. If you know for sure, file a bug report on github. BTW, brilliant work on this game fix, spectacular results.

      Profile changes would not break hotkeys from working. Could break the 3D fix, but not super likely.

      Most likely answer is that the user installed it in the wrong folder. No hotkeys means that nothing loaded. To tell for sure, set calls=1 to enable logging, and look for d3d11_log.txt. If it's already supported by 3DFM, use that to avoid errors.

      Delete
    3. The same happens to me. The re2_3dmigoto message appears in green at bottom right, but it seems nothing works. No hotkeys and lights rendered just in one eye. I'm not complaining about hard work of this community. I've used many of your 3d fixes. I'm just posting to argue that maybe it could be related to pi***ed versions of the game? Mine is like that (for now), and maybe this is too for the user above.
      Of course I'm not asking that this shoukld work with pir**ed copies of the game, just clarifying that maybe this is the reason why the fix doesn't work for us.

      Delete
    4. That message in lower right is not 3Dmigoto, that is the NVidia driver putting that up. Ours are always centered or on left side now.

      That and no hotkeys suggests that it did not install properly at all, wrong directory maybe. Could be something with the pirated version blocking loading of d3d11.dll. Even if you get a pirated version working, it's unlikely to look correct, because the version will be different, and the shaders different.

      Delete
    5. Just tested this on Win7, Driver 417.35, evil update installed, i7-6700K, GTX 980, and it was working perfectly. Image is fully fixed and 3D Vision Ready. Hotkeys all work. Performance is good.

      This is latest version that includes 3Dmigoto 1.3.16.

      Delete
    6. I can do some further test in my rig. For me the 1.3.x don't work in this game (but work in DMC5)....i use win7, driver 419.35...i will check if i have the evil update installed (don't remember), and using the steam version of the game. Also i have a RTX 2080, i don't know if this change something....i can DDU my driver just in case.

      Delete
    7. i just DDU using the last DDU (18.0.0.9)....re-install the 419.35 driver and now 3Dmigoto 1.3.16 works in RE2....LOL
      When i upgrade from my GTX980 to my RTX2080 i use an old version of DDU.....maybe some residual stuff...i don't know....but now is working.

      Delete
    8. Yeah, the issue was due to a cracked game version, I solved it by finding update 2 and denuvoless .exe file which fixed the 3d vision for me. Fix looks great btw, thank you guys for your efforts.

      Delete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Thanks and donated.

    ReplyDelete
  4. Thank you very much as usual. btw I think this fix can also work for Devil may cry 5 as they use the same graphics engine

    ReplyDelete
  5. I can't use Xinput Plus with this...

    ReplyDelete
  6. Man...I didn't played the game yet....but thanks a lot for the fix, AND update Mr otaku!!!

    ReplyDelete
  7. I can't get this to work, this was linked from PCMod Wiki. I extracted the files to the re2 directory, booted it up and it made a beeping noise, changed the setting to dx11 in game then restarted, loaded up a save and pressed all the hotkeys and nothing happened.

    Running on windows 10, steam version, used a hex editor to remove vignette and a patcher to remove sharpening (which did not work). Will try veryfying the game files to get defaults back and see if that fixes it but as of right now it doesn't work :(

    ReplyDelete
    Replies
    1. Update: So I verified the files and it turns out one of those fixes DID mess it up cuz as soon as I loaded it up and when it I could use the hotkeys immediately. So as a not to anyone that comes her and is already using a fix like Jackfuste or RE2_release_diable_shaprening remove them/verify the files and then install this. everything should work then.

      Delete
    2. Good to know, thanks for the update.

      Delete
  8. Is this likely to work with RE3 on release or will it require an update? RE3 is looking to be identical engine and graphical wise, and unless it happens to include an option for sharpening this time, I would love to use this mod day one.

    ReplyDelete
    Replies
    1. Unlikely, but not impossible. Depends upon whether the engine is exactly the same or they tweak it. Typically the engine is tweaked and thus the shader hash codes change and break the fix. But if the game is on the same engine, it's usually a relatively small task to rehunt the shaders in question and update the hash codes. Of course, someone needs to actually spend the time to do that, it's just not as hard as making the original fix.

      Delete
  9. Seems that the SSR fix is not working anymore with the latest version of the game.

    ReplyDelete
    Replies
    1. It's working for me (I've tested it right now), and none of the updates broke that. Can you show me your full ingame settings so I can try them?

      Delete
    2. Here:

      https://pastebin.com/u6V0uePT


      Also, now that RE3R is out and tested it out, it's very similar to RE2R, so perhaps most of these fixes will work for that too after some tweaks?

      Delete
    3. I'll test your settings today.
      About RE3, I'm downloading the demo and I'm going to fix it this weekend (it has broken geometry that requires different fixes per game). I also preordered RE3 some time ago, so I'll start fixing the game right after it's released.

      Delete
    4. Gotcha, I did try the demo too and it had the same issues as RE2R had. SSR is still broken, and there is the need to remove the Vignette and fix the zombie animation framerate at distance. Also, it could be that it's possible to fix those certain gore downgrades to restore the same gore system that RE2R had. Hopefully you can make those work over the time, propaby not possible for the release immediately.

      Delete
    5. I narrowed it down:
      - Don't use TAA. It's broken in 3D.
      - Use HDAO or HBAO+ for ambient occlusion. Because SSAO or your setting (Set Areas Only) causes broken shadows.

      Delete
    6. Didn't work, it's still broken. I'll try to verify the files and reinstall the mod.

      Delete
    7. That didn't work either, damn.

      Delete
  10. Hi, great work with the fix! I was wondering how I can keep the sharpening enabled so that I don't have to enable it by using the toggle key each time I start the game, thank you.!

    ReplyDelete
    Replies
    1. You can, edit the d3dx.ini file, and find the settings for the F4 sharpening key. You can change the default.

      Delete