Welcome, Guest.
Username: Password: Remember me

TOPIC: [SOLVED] Unreal Tournament (2015)

Unreal Tournament (2015) 1 year 8 months ago #1

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2446
  • Thank you received: 1388
Just some info on the crash issue with the new Unreal Tournament:

Unreal Engine 4.7 does a very unfortunate check, it checks if the D3D11 object reference counts match the expected values. Problem is that those are slightly modified due to the presence of ReShade, which itself holds a reference to them.
For anybody interested: The problematic check can be found in file "Engine\Source\Runtime\Windows\D3D11RHI\Private\D3D11Viewport.cpp,197" of the Unreal Engine source code. Removing it and recompiling the engine, then starting Unreal Tournament with that modified engine version fixes things.
Now that obviously isn't the way to go, I can't expect players to modify and recompile their game from source code, which is why I'm now trying to figure out the best way to make the engine believe the objects weren't altered, but without losing reference counting security and thus risking memory leaks and crashes.
Cheers, crosire =)
Last Edit: 1 year 8 months ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: aufkrawall, Aelius Maximus

Unreal Tournament (2015) 1 year 8 months ago #2

Im still taking this as great news, this game will look fantastic with Reshade once it can be properly implemented
The administrator has disabled public write access.

Unreal Tournament (2015) 1 year 8 months ago #3

Just out of curiosity, how do i access the Unreal Engine source code? I'm willing to try this out just to see how great this game looks with ReShade.
The administrator has disabled public write access.

Unreal Tournament (2015) 1 year 8 months ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2446
  • Thank you received: 1388
Aelius Maximus wrote:
Just out of curiosity, how do i access the Unreal Engine source code?
Be warned, this requires a little knowledge on how to use Visual Studio =)
  1. Follow these steps.
  2. Browse to the UnrealTournament source code (which includes the engine too).
  3. Set up your build environment by following the instructions in the Readme.md file.
  4. Modify D3D11Viewport.cpp (it's probably simpler to just remove lines 193 to 200 there).
  5. Rebuild and enjoy!

Note that this is no longer needed once ReShade 0.16.0 is out, which now supports Unreal Engine 4.7.
Cheers, crosire =)
Last Edit: 1 year 8 months ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: Aelius Maximus

Unreal Tournament (2015) 1 year 3 months ago #5

I'm getting an error (ingame bugreport) when executing UT2015. I placed the reshade files in UnrealTournamentDev\Engine\Binaries\Win64".
Any idea's?
The administrator has disabled public write access.

Unreal Tournament (2015) 1 year 2 months ago #6

  • adi518
  • adi518's Avatar
  • Offline
  • Posts: 8
  • Thank you received: 1
It's not working with the latest build of UT. :dry:
Last Edit: 1 year 2 months ago by adi518.
The administrator has disabled public write access.

Unreal Tournament (2015) 1 year 1 month ago #7

Crosire, does the whole "Delete lines and then recompile" thing work with depth buffer issue too?

I was so happy today to find out that MasterEffect actually works with UT, unfortunately w/out DoF shader since - you know, "No depth buffer access." :(
(*quoted from the Reshade compatibility list)
The administrator has disabled public write access.