Squad + ReShade only works in windowed fullscreen
- megazz
-
Topic Author
Less
More
7 years 3 months ago #1
by megazz
Squad + ReShade only works in windowed fullscreen was created by megazz
So I've been trying to use ReShade in Squad and the problem it that it only works in windowed mode. If ReShade is installed and the game is set to fullscreen the game will crash at start with no error message, it will simply close. I tried renaming the dxdi.dll to d3d11.dll and it didn't solve the problem.
Squad is a game that runs on UE4, but I can't tell if this is an issue with all UE4 games or just Squad since this is the only UE4 game I own.
The game can look really awesome with ReShade, but when limited to windowed mode means I cannot record the gameplay with ShadowPlay or use the nVIDIA DSR to downsample the game and take 4K screenshots for example.
Here's the log file:
Squad is a game that runs on UE4, but I can't tell if this is an issue with all UE4 games or just Squad since this is the only UE4 game I own.
The game can look really awesome with ReShade, but when limited to windowed mode means I cannot record the gameplay with ShadowPlay or use the nVIDIA DSR to downsample the game and take 4K screenshots for example.
Here's the log file:
Warning: Spoiler!
18/02/2016 22:15:10:957 [09268] | INFO | Initializing crosire's ReShade version '1.1.0.963' built on '2015-11-07 11:58:17' loaded from "C:\Program Files (x86)\Steam\steamapps\common\Squad\Squad\Binaries\Win64\d3d11.dll" to "C:\Program Files (x86)\Steam\steamapps\common\Squad\Squad\Binaries\Win64\squad.exe" ...
18/02/2016 22:15:10:989 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d8.dll" ...
18/02/2016 22:15:10:989 [09268] | INFO | > Delayed.
18/02/2016 22:15:10:989 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d9.dll" ...
18/02/2016 22:15:10:989 [09268] | INFO | > Libraries loaded.
18/02/2016 22:15:10:989 [09268] | INFO | > Found 9 match(es). Installing ...
18/02/2016 22:15:11:059 [09268] | INFO | > Installed 9 hook(s).
18/02/2016 22:15:11:061 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d10.dll" ...
18/02/2016 22:15:11:061 [09268] | INFO | > Delayed.
18/02/2016 22:15:11:061 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d10_1.dll" ...
18/02/2016 22:15:11:061 [09268] | INFO | > Delayed.
18/02/2016 22:15:11:061 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d11.dll" ...
18/02/2016 22:15:11:061 [09268] | INFO | > Delayed.
18/02/2016 22:15:11:061 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d12.dll" ...
18/02/2016 22:15:11:061 [09268] | INFO | > Delayed.
18/02/2016 22:15:11:061 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\dxgi.dll" ...
18/02/2016 22:15:11:061 [09268] | INFO | > Libraries loaded.
18/02/2016 22:15:11:061 [09268] | INFO | > Found 7 match(es). Installing ...
18/02/2016 22:15:11:116 [09268] | INFO | > Installed 7 hook(s).
18/02/2016 22:15:11:116 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\opengl32.dll" ...
18/02/2016 22:15:11:116 [09268] | INFO | > Libraries loaded.
18/02/2016 22:15:11:117 [09268] | INFO | > Found 360 match(es). Installing ...
18/02/2016 22:15:13:936 [09268] | INFO | > Installed 360 hook(s).
18/02/2016 22:15:13:936 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\user32.dll" ...
18/02/2016 22:15:13:936 [09268] | INFO | > Libraries loaded.
18/02/2016 22:15:13:942 [09268] | INFO | > Found 5 match(es). Installing ...
18/02/2016 22:15:13:981 [09268] | INFO | > Installed 5 hook(s).
18/02/2016 22:15:13:981 [09268] | INFO | Registering hooks for "C:\WINDOWS\system32\ws2_32.dll" ...
18/02/2016 22:15:13:981 [09268] | INFO | > Libraries loaded.
18/02/2016 22:15:13:983 [09268] | INFO | > Found 8 match(es). Installing ...
18/02/2016 22:15:14:045 [09268] | INFO | > Installed 8 hook(s).
18/02/2016 22:15:14:045 [09268] | INFO | Initialized.
18/02/2016 22:15:14:233 [09268] | INFO | Installing delayed hooks for "C:\WINDOWS\system32\d3d11.dll" ...
18/02/2016 22:15:14:233 [09268] | INFO | > Found 2 match(es). Installing ...
18/02/2016 22:15:14:233 [09268] | INFO | > Installed 2 hook(s).
18/02/2016 22:15:14:302 [09984] | INFO | Redirecting 'RegisterClassW(00000058E613FA90)' ...
18/02/2016 22:15:14:302 [09984] | INFO | > Adding 'CS_OWNDC' window class style flag to 'SplashScreenClass'.
18/02/2016 22:15:14:302 [09268] | INFO | Redirecting 'RegisterClassW(00000058E68CF450)' ...
18/02/2016 22:15:14:302 [09268] | INFO | > Adding 'CS_OWNDC' window class style flag to 'UnrealWindow'.
18/02/2016 22:15:14:351 [09268] | INFO | Redirecting 'CreateDXGIFactory1({770AAE78-F26F-4DBA-A829-253C83D1B387}, 00000058E68CF280)' ...
18/02/2016 22:15:14:352 [09268] | INFO | Redirecting 'D3D11CreateDevice(000001FD1F5A8260, 0, 0000000000000000, 0x1, 00000058E68CF208, 2, 7, 00000058E68CF1B8, 00000058E68CF250, 00000058E68CF1C0)' ...
18/02/2016 22:15:14:352 [09268] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
18/02/2016 22:15:14:352 [09268] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(000001FD1F5A8260, 0, 0000000000000000, 0x1, 00000058E68CF208, 2, 7, 0000000000000000, 0000000000000000, 00000058E68CF1B8, 00000058E68CF250, 00000058E68CF1C0)' ...
18/02/2016 22:15:14:362 [09268] | WARN | Reference count for 'IDXGIDevice' object 000001FD1F67DDA0 is inconsistent: 2, but expected 1.
18/02/2016 22:15:14:362 [09268] | WARN | Reference count for 'ID3D11Device' object 000001FD1F4601B0 is inconsistent: 1, but expected 0.
18/02/2016 22:15:14:367 [09268] | INFO | Redirecting 'D3D11CreateDevice(000001FD1F5A8260, 0, 0000000000000000, 0x1, 00000058E68CF208, 2, 7, 00000058E68CF1B8, 00000058E68CF250, 00000058E68CF1C0)' ...
18/02/2016 22:15:14:367 [09268] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
18/02/2016 22:15:14:367 [09268] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(000001FD1F5A8260, 0, 0000000000000000, 0x1, 00000058E68CF208, 2, 7, 0000000000000000, 0000000000000000, 00000058E68CF1B8, 00000058E68CF250, 00000058E68CF1C0)' ...
18/02/2016 22:15:14:368 [09268] | WARN | Reference count for 'IDXGIDevice' object 000001FD1F5AAD20 is inconsistent: 2, but expected 1.
18/02/2016 22:15:14:368 [09268] | WARN | Reference count for 'ID3D11Device' object 000001FD1F3EECB0 is inconsistent: 1, but expected 0.
18/02/2016 22:15:14:370 [09268] | INFO | Redirecting 'CreateDXGIFactory1({770AAE78-F26F-4DBA-A829-253C83D1B387}, 00000058E68CF448)' ...
18/02/2016 22:15:14:371 [09268] | INFO | Redirecting 'D3D11CreateDevice(000001FD1F5A8260, 0, 0000000000000000, 0, 000001FD1E7824FC, 1, 7, 000001FD1E780070, 00000058E68CF3B0, 000001FD1E780068)' ...
18/02/2016 22:15:14:371 [09268] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
18/02/2016 22:15:14:371 [09268] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(000001FD1F5A8260, 0, 0000000000000000, 0, 000001FD1E7824FC, 1, 7, 0000000000000000, 0000000000000000, 000001FD1E780070, 00000058E68CF3B0, 000001FD1E780068)' ...
18/02/2016 22:15:24:329 [09268] | INFO | Redirecting 'IDXGIFactory::CreateSwapChain(000001FD1F66A740, 000001FD1F624E20, 00000058E68CE310, 000001FD33B83DE0)' ...
18/02/2016 22:15:24:330 [09268] | INFO | Recreated runtime environment on runtime 000001FD2811E850.
18/02/2016 22:15:24:428 [09360] | INFO | Loading effect from "C:\Program Files (x86)\Steam\steamapps\common\Squad\Squad\Binaries\Win64\ReShade.fx" ...
18/02/2016 22:15:24:911 [09360] | INFO | > Successfully compiled effect.
The following user(s) said Thank You: Tidias, bopper2010
Please Log in or Create an account to join the conversation.
- bopper2010
-
Less
More
7 years 3 months ago #2
by bopper2010
Replied by bopper2010 on topic Squad + ReShade only works in windowed fullscreen
Yeah I can also confirm that Reshade causes a crash in Squad with Fullscreen mode enabled, I just tested it out myself and got the same results as Megazz did. I tried moving the binaries to different locations, forcing OpenGL as the renderer for UE4 engine and tried various other tricks as workarounds but no success. The crashes may have something to do with the Anti Cheat tool built into Squad, or maybe it just crashes if there are multiple DX libraries loaded or it could be a UE4 issue maybe some bug with Reshade somewhere.
I did experience a similar issue with The Vanishing Of Ethan Carter Redux which was ported over to UE4 a while back, changing the resolution settings after launching the game would result in a crash , especially trying to go from fullscreen to windowed mode. I tried various things with that game including different drivers and some UE4 tweaks and still could never get to the bottom of it, I assumed it was an early UE4 issue that might get patched or down to that specific game but now with Squad showing similar issues I suspect UE4 and not Reshade. I also noticed at least of my system that if I set Squad.exe as Admin it would not even load past the small initial splash screen, once Admin was unticked it ran fine, this is the only game I own which has issues with Admin privileges. I tried some older versions of Reshade and still had no success with those either.
Megazz if you want to record gameplay you can still use Nvidia Shadowplay Desktop Capture, this will still capture the game once you have it enabled in Geforce Experience software, its not as good as fullscreen but I never have issues capturing OpenGL games or Borderless games like Emulator windows etc from PCSX2/Dolphin. As for the 4K screenshots I suggest using the in game resolution slider and kick it up to 200% Scaling, this should be equivalent to 4K as far as I am aware, I used the Windows Snipping tool to capture my screenshots with the Reshade Effects enabled and then disabled, my Print Screen (Screenshot Key) was only capturing a blank white image and I have Steam Overlay disabled for testing. Its not ideal but it might be a useful workaround for the time being.
Let me know if you have any breakthroughs with Fullscreen
I did experience a similar issue with The Vanishing Of Ethan Carter Redux which was ported over to UE4 a while back, changing the resolution settings after launching the game would result in a crash , especially trying to go from fullscreen to windowed mode. I tried various things with that game including different drivers and some UE4 tweaks and still could never get to the bottom of it, I assumed it was an early UE4 issue that might get patched or down to that specific game but now with Squad showing similar issues I suspect UE4 and not Reshade. I also noticed at least of my system that if I set Squad.exe as Admin it would not even load past the small initial splash screen, once Admin was unticked it ran fine, this is the only game I own which has issues with Admin privileges. I tried some older versions of Reshade and still had no success with those either.
Megazz if you want to record gameplay you can still use Nvidia Shadowplay Desktop Capture, this will still capture the game once you have it enabled in Geforce Experience software, its not as good as fullscreen but I never have issues capturing OpenGL games or Borderless games like Emulator windows etc from PCSX2/Dolphin. As for the 4K screenshots I suggest using the in game resolution slider and kick it up to 200% Scaling, this should be equivalent to 4K as far as I am aware, I used the Windows Snipping tool to capture my screenshots with the Reshade Effects enabled and then disabled, my Print Screen (Screenshot Key) was only capturing a blank white image and I have Steam Overlay disabled for testing. Its not ideal but it might be a useful workaround for the time being.
Let me know if you have any breakthroughs with Fullscreen

The following user(s) said Thank You: megazz
Please Log in or Create an account to join the conversation.
- crosire
-
Less
More
7 years 3 months ago #3
by crosire
Replied by crosire on topic Squad + ReShade only works in windowed fullscreen
This is a known issue with UE4 and happens because ReShade claims a reference to the backbuffer (which it needs in order to send it to the shaders). UE4 then complains about there being too many references to it and shuts down.
The following user(s) said Thank You: megazz
Please Log in or Create an account to join the conversation.
- megazz
-
Topic Author
Less
More
7 years 3 months ago - 7 years 3 months ago #4
by megazz
Replied by megazz on topic Squad + ReShade only works in windowed fullscreen
crosire wrote: This is a known issue with UE4 and happens because ReShade claims a reference to the backbuffer (which it needs in order to send it to the shaders). UE4 then complains about there being too many references to it and shuts down.
Hey thanks for the response. So there's nothing you can do on your end to fix this? Why does it work in windowed mode then?
Well, if that's the case then I hope this is fixed once UE 4.11 is out.

Last edit: 7 years 3 months ago by megazz.
Please Log in or Create an account to join the conversation.