Ghostbusters The Video Game Remastered: ReShade doesn't launch

More
1 month 3 weeks ago #1 by splinefx
Greetings. As stated in the title, in my case, ReShade doesn't start in Ghostbusters: The Video Game Remastered (Steam version).

ReShade.log:
16:16:55:505 [11568] | INFO  | Initializing crosire's ReShade version '5.2.2.1533' (64-bit) loaded from "C:\Games\Steam\steamapps\common\Ghostbusters The Video Game Remastered\dxgi.dll" into "C:\Games\Steam\steamapps\common\Ghostbusters The Video Game Remastered\ghost.exe" ...
16:16:55:506 [11568] | INFO  | Registering hooks for "user32.dll" ...
16:16:55:506 [11568] | INFO  | > Libraries loaded.
16:16:55:507 [11568] | INFO  | > Found 14 match(es). Installing ...
16:16:55:524 [11568] | INFO  | Registering hooks for "ws2_32.dll" ...
16:16:55:524 [11568] | INFO  | > Libraries loaded.
16:16:55:524 [11568] | INFO  | > Found 8 match(es). Installing ...
16:16:55:542 [11568] | INFO  | Registering hooks for "C:\WINDOWS\system32\d2d1.dll" ...
16:16:55:543 [11568] | INFO  | > Delayed.
16:16:55:543 [11568] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d9.dll" ...
16:16:55:543 [11568] | INFO  | > Delayed.
16:16:55:543 [11568] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d10.dll" ...
16:16:55:543 [11568] | INFO  | > Delayed.
16:16:55:543 [11568] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d10_1.dll" ...
16:16:55:544 [11568] | INFO  | > Delayed.
16:16:55:544 [11568] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d11.dll" ...
16:16:55:544 [11568] | INFO  | > Libraries loaded.
16:16:55:544 [11568] | INFO  | > Found 3 match(es). Installing ...
16:16:55:571 [11568] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d12.dll" ...
16:16:55:572 [11568] | INFO  | > Delayed.
16:16:55:572 [11568] | INFO  | Registering hooks for "C:\WINDOWS\system32\dxgi.dll" ...
16:16:55:572 [11568] | INFO  | > Delayed until first call to an exported function.
16:16:55:572 [11568] | INFO  | Registering hooks for "vrclient_x64.dll" ...
16:16:55:573 [11568] | INFO  | > Delayed.
16:16:55:573 [11568] | INFO  | Registering hooks for "C:\WINDOWS\system32\dinput.dll" ...
16:16:55:574 [11568] | INFO  | > Delayed.
16:16:55:574 [11568] | INFO  | Initialized.
16:16:55:623 [11568] | INFO  | Redirecting RegisterClassA(lpWndClass = 00000088618FF6A0 { "GHOSTBUSTERS: The Video Game Remastered", style = 0x2b }) ...
16:16:55:647 [11568] | INFO  | Redirecting RegisterClassExW(lpWndClassEx = 00000088618FE9F0 { "SteamWinsockInitFakeClass_1", style = 0 }) ...
16:16:55:883 [11568] | INFO  | Redirecting CreateDXGIFactory1(riid = {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, ppFactory = 00007FF75D46D460) ...
16:16:55:884 [11568] | INFO  | Installing export hooks for "C:\WINDOWS\system32\dxgi.dll" ...
16:16:55:885 [11568] | INFO  | > Found 5 match(es). Installing ...
16:16:55:890 [11568] | INFO  | Redirecting D3D11CreateDevice(pAdapter = 0000018F804DEC40, DriverType = 0, Software = 0000000000000000, Flags = 0, pFeatureLevels = 00000088618FDF88, FeatureLevels = 1, SDKVersion = 7, ppDevice = 00000088618FDF98, pFeatureLevel = 0000000000000000, ppImmediateContext = 00000088618FDF90) ...
16:16:55:890 [11568] | INFO  | > Passing on to D3D11CreateDeviceAndSwapChain:
16:16:55:890 [11568] | INFO  | Redirecting D3D11CreateDeviceAndSwapChain(pAdapter = 0000018F804DEC40, DriverType = 0, Software = 0000000000000000, Flags = 0, pFeatureLevels = 00000088618FDF88, FeatureLevels = 1, SDKVersion = 7, pSwapChainDesc = 0000000000000000, ppSwapChain = 0000000000000000, ppDevice = 00000088618FDF98, pFeatureLevel = 0000000000000000, ppImmediateContext = 00000088618FDF90) ...
16:16:55:982 [11568] | INFO  | Using feature level 0xb100.
16:16:55:990 [11568] | INFO  | Redirecting D3D11CreateDevice(pAdapter = 0000018F804DEC40, DriverType = 0, Software = 0000000000000000, Flags = 0x820, pFeatureLevels = 00000088618FE040, FeatureLevels = 2, SDKVersion = 7, ppDevice = 00000088618FDFD0, pFeatureLevel = 0000000000000000, ppImmediateContext = 00000088618FDFE0) ...
16:16:55:990 [11568] | INFO  | > Passing on to D3D11CreateDeviceAndSwapChain:
16:16:55:990 [11568] | INFO  | Redirecting D3D11CreateDeviceAndSwapChain(pAdapter = 0000018F804DEC40, DriverType = 0, Software = 0000000000000000, Flags = 0x820, pFeatureLevels = 00000088618FE040, FeatureLevels = 2, SDKVersion = 7, pSwapChainDesc = 0000000000000000, ppSwapChain = 0000000000000000, ppDevice = 00000088618FDFD0, pFeatureLevel = 0000000000000000, ppImmediateContext = 00000088618FDFE0) ...
16:16:56:054 [11568] | INFO  | Using feature level 0xb100.
16:16:56:055 [11568] | INFO  | Redirecting IDXGIFactory::CreateSwapChain(this = 0000018F804F6200, pDevice = 0000018FB44D58C8, pDesc = 00000088618FDFF0, ppSwapChain = 00007FF75D46CC80) ...
16:16:56:055 [11568] | INFO  | > Dumping swap chain description:
16:16:56:055 [11568] | INFO  |   +-----------------------------------------+-----------------------------------------+
16:16:56:055 [11568] | INFO  |   | Parameter                               | Value                                   |
16:16:56:055 [11568] | INFO  |   +-----------------------------------------+-----------------------------------------+
16:16:56:055 [11568] | INFO  |   | Width                                   | 3840                                    |
16:16:56:056 [11568] | INFO  |   | Height                                  | 2160                                    |
16:16:56:056 [11568] | INFO  |   | RefreshRate                             | 0                   0                   |
16:16:56:056 [11568] | INFO  |   | Format                                  | DXGI_FORMAT_R8G8B8A8_UNORM              |
16:16:56:056 [11568] | INFO  |   | ScanlineOrdering                        | 0                                       |
16:16:56:056 [11568] | INFO  |   | Scaling                                 | 0                                       |
16:16:56:056 [11568] | INFO  |   | SampleCount                             | 1                                       |
16:16:56:056 [11568] | INFO  |   | SampleQuality                           | 0                                       |
16:16:56:056 [11568] | INFO  |   | BufferUsage                             | 0x30                                    |
16:16:56:056 [11568] | INFO  |   | BufferCount                             | 2                                       |
16:16:56:056 [11568] | INFO  |   | OutputWindow                            | 00000000000714C8                        |
16:16:56:057 [11568] | INFO  |   | Windowed                                | TRUE                                    |
16:16:56:057 [11568] | INFO  |   | SwapEffect                              | 0                                       |
16:16:56:057 [11568] | INFO  |   | Flags                                   | 0x2                                     |
16:16:56:057 [11568] | INFO  |   +-----------------------------------------+-----------------------------------------+
16:16:56:059 [11568] | WARN  | Skipping swap chain because it was created without a hooked Direct3D device.
16:17:11:715 [11568] | INFO  | Redirecting CreateDXGIFactory1(riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 00000088618FDA78) ...
16:17:11:720 [11568] | INFO  | Redirecting CreateDXGIFactory1(riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 00000088618FDA78) ...
16:17:15:246 [11568] | INFO  | Redirecting CreateDXGIFactory1(riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 00000088618FDA18) ...
16:17:20:709 [11568] | INFO  | Redirecting CreateDXGIFactory1(riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 00000088618FDAF8) ...
16:17:30:322 [11568] | INFO  | Redirecting CreateDXGIFactory1(riid = {1BC6EA02-EF36-464F-BF0C-21CA39E5168A}, ppFactory = 00000088618FD9F8) ...
16:17:36:899 [11568] | WARN  | Reference count for ID3D11Device0 object 0000018F800C5648 (0000018FB44D58C8) is inconsistent (793).
16:17:36:902 [11568] | INFO  | Exiting ...
16:17:36:902 [11568] | INFO  | Uninstalling 34 hook(s) ...
16:17:37:933 [11568] | INFO  | Finished exiting.

If I undestrand correctly, the line
16:16:56:059 [11568] | WARN  | Skipping swap chain because it was created without a hooked Direct3D device.
indicates that the ReShade .dll didn't start properly. On the game launch nothing happens, there's no ReShade UI.

Tried 5.1 and 5.2.2 (the latest atm) versions installed with DirectX 10/11/12 (the game uses DirectX 11 as stated in PCGamingWiki).

Windows 10 Home ver. 21H2 (OS Build 19044.1766), RTX 3080 (516.40 NVIDIA Game Ready Driver), i7 8700K, 32GB RAM.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #2 by crosire
Try renaming dxgi.dll to d3d11.dll. Possible the game created the D3D11 device it ends up using before loading DXGI.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #3 by splinefx

Try renaming dxgi.dll to d3d11.dll. Possible the game created the D3D11 device it ends up using before loading DXGI.
 

Thank you for your answer. Unfortunately it didn't work. I've rolled back to the 4.9.1 version, and it works fine (with the default dxgi.dll that it created). I think I'm gonna stick with it, but I'm ready to do some tests with the higher version, if necessary (just tell me what to do).

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #4 by crosire
Fixed by github.com/crosire/reshade/commit/6c55e4...66f29a15ff508d279ccb.
A previous performance improvement for Unity Engine games had broken things in this game.

Please Log in or Create an account to join the conversation.

More
1 month 3 weeks ago #5 by splinefx
Thank you!

Please Log in or Create an account to join the conversation.