Welcome, Guest.
Username: Password: Remember me

TOPIC: [SOLVED] WolfNewOrder Works with Reshade2.0 but not 3.0

WolfNewOrder Works with Reshade2.0 but not 3.0 3 months 1 week ago #1

the game Wolfenstein: The New Order seems to crash to desktop right away after attempting to start it. No error no nothing just back to Desktop

This also happens with The Old Blood.

here is the log
27/08/2016 22:29:42:481 [18364] | INFO  | Initializing crosire's ReShade version '3.0.0.83' (64-bit) built on '2016-08-27 16:31:41' loaded from 'D:\SteamLibrary\steamapps\common\Wolfenstein.The.New.Order\OPENGL32.dll' to 'D:\SteamLibrary\steamapps\common\Wolfenstein.The.New.Order\WolfNewOrder_x64.exe' ...
27/08/2016 22:29:42:559 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d8.dll' ...
27/08/2016 22:29:42:560 [18364] | INFO  | > Delayed.
27/08/2016 22:29:42:560 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d9.dll' ...
27/08/2016 22:29:42:560 [18364] | INFO  | > Delayed.
27/08/2016 22:29:42:561 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d10.dll' ...
27/08/2016 22:29:42:562 [18364] | INFO  | > Delayed.
27/08/2016 22:29:42:562 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d10_1.dll' ...
27/08/2016 22:29:42:563 [18364] | INFO  | > Delayed.
27/08/2016 22:29:42:563 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d11.dll' ...
27/08/2016 22:29:42:563 [18364] | INFO  | > Delayed.
27/08/2016 22:29:42:563 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d12.dll' ...
27/08/2016 22:29:42:564 [18364] | INFO  | > Delayed.
27/08/2016 22:29:42:564 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\dxgi.dll' ...
27/08/2016 22:29:42:565 [18364] | INFO  | > Delayed.
27/08/2016 22:29:42:565 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\opengl32.dll' ...
27/08/2016 22:29:42:565 [18364] | INFO  | > Delayed.
27/08/2016 22:29:42:565 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\user32.dll' ...
27/08/2016 22:29:42:566 [18364] | INFO  | > Libraries loaded.
27/08/2016 22:29:42:567 [18364] | INFO  | > Found 11 match(es). Installing ...
27/08/2016 22:29:42:777 [18364] | INFO  | > Installed 11 hook(s).
27/08/2016 22:29:42:778 [18364] | INFO  | Registering hooks for 'C:\WINDOWS\system32\ws2_32.dll' ...
27/08/2016 22:29:42:778 [18364] | INFO  | > Libraries loaded.
27/08/2016 22:29:42:779 [18364] | INFO  | > Found 8 match(es). Installing ...
27/08/2016 22:29:42:925 [18364] | INFO  | > Installed 8 hook(s).
27/08/2016 22:29:42:925 [18364] | INFO  | Initialized.
27/08/2016 22:29:43:308 [15668] | INFO  | Redirecting 'RegisterClassA(0000000006BDB450)' ...
27/08/2016 22:29:43:310 [15668] | INFO  | Installing delayed hooks for 'C:\WINDOWS\system32\opengl32.dll' ...
27/08/2016 22:29:43:310 [15668] | INFO  | > Found 360 match(es). Installing ...
27/08/2016 22:29:43:310 [15668] | INFO  | > Installed 360 hook(s).
27/08/2016 22:29:43:705 [15668] | INFO  | Redirecting 'RegisterClassA(0000000006BD4010)' ...
27/08/2016 22:29:43:705 [15668] | INFO  | Redirecting 'RegisterClassA(0000000006BD4010)' ...
27/08/2016 22:29:43:705 [15668] | INFO  | Redirecting 'RegisterClassA(0000000006BD4010)' ...
27/08/2016 22:29:43:706 [15668] | INFO  | Redirecting 'wglChoosePixelFormat(FFFFFFFFF4012A1C, 00007FF6C18BA018)' ...
27/08/2016 22:29:43:801 [15668] | INFO  | Redirecting 'wglSetPixelFormat(FFFFFFFFF4012A1C, 10, 00007FF6C18BA018)' ...
27/08/2016 22:29:43:801 [15668] | INFO  | Redirecting 'wglCreateContext(FFFFFFFFF4012A1C)' ...
27/08/2016 22:29:43:802 [15668] | INFO  | Redirecting 'wglMakeCurrent(FFFFFFFFF4012A1C, 0000000000010000)' ...
27/08/2016 22:29:44:274 [15668] | INFO  | Starting input capture for window 0000000000400E5A ...
27/08/2016 22:29:44:274 [15668] | INFO  | > Switched to new runtime 000000000C300850.
27/08/2016 22:29:44:351 [15668] | INFO  | Redirecting 'wglMakeCurrent(0000000000000000, 0000000000000000)' ...
27/08/2016 22:29:44:351 [15668] | INFO  | > Cleaning up runtime 000000000C300850 ...
27/08/2016 22:29:44:351 [15668] | INFO  | Redirecting 'wglDeleteContext(0000000000010000)' ...
27/08/2016 22:29:44:353 [15668] | INFO  | Redirecting 'wglChoosePixelFormatARB(FFFFFFFFDA011EFD, 0000000006BD40B0, 0000000000000000, 1, 00007FF6C26EFBF0, 0000000006BD40A0)' ...
27/08/2016 22:29:44:374 [15668] | INFO  | Redirecting 'wglSetPixelFormat(FFFFFFFFC3012525, 12, 00007FF6C26EFBF4)' ...
27/08/2016 22:29:44:375 [15668] | INFO  | Redirecting 'wglCreateContextAttribsARB(FFFFFFFFC3012525, 0000000000000000, 0000000006BCFF50)' ...
27/08/2016 22:29:44:375 [15668] | WARN  | > Replacing requested version with 4.3 ...
27/08/2016 22:29:44:375 [15668] | INFO  | Redirecting 'wglMakeCurrent(FFFFFFFFC3012525, 0000000000020000)' ...
27/08/2016 22:29:44:380 [15668] | INFO  | Starting input capture for window 0000000000410E5A ...
27/08/2016 22:29:44:380 [15668] | INFO  | > Switched to new runtime 000000000C390F10.
27/08/2016 22:29:44:380 [15668] | INFO  | Redirecting 'wglMakeCurrent(0000000000000000, 0000000000000000)' ...
27/08/2016 22:29:44:380 [15668] | INFO  | > Cleaning up runtime 000000000C390F10 ...
27/08/2016 22:29:44:381 [15668] | INFO  | Redirecting 'wglSetPixelFormat(0000000076012A1C, 12, 00007FF6C26EFBF4)' ...
27/08/2016 22:29:44:381 [15668] | INFO  | Redirecting 'wglCreateContextAttribsARB(0000000076012A1C, 0000000000020000, 0000000006BCFF00)' ...
27/08/2016 22:29:44:381 [15668] | WARN  | > Replacing requested version with 4.3 ...
27/08/2016 22:29:44:382 [15668] | INFO  | Redirecting 'wglMakeCurrent(0000000076012A1C, 0000000000010001)' ...
27/08/2016 22:29:44:384 [15668] | INFO  | > Using shared OpenGL context 0000000000020000.
27/08/2016 22:29:44:386 [15668] | INFO  | Starting input capture for window 00000000003605C0 ...
27/08/2016 22:29:44:386 [15668] | INFO  | > Switched to new runtime 000000000C3F30C0.
27/08/2016 22:29:44:387 [15668] | INFO  | Redirecting 'wglMakeCurrent(0000000000000000, 0000000000000000)' ...
27/08/2016 22:29:44:387 [15668] | INFO  | > Cleaning up runtime 000000000C3F30C0 ...
27/08/2016 22:29:44:387 [15668] | INFO  | Redirecting 'wglMakeCurrent(FFFFFFFFC3012525, 0000000000020000)' ...
27/08/2016 22:29:44:389 [15668] | INFO  | Starting input capture for window 0000000000410E5A ...
27/08/2016 22:29:44:389 [15668] | INFO  | > Switched to new runtime 000000000C3F30C0.
27/08/2016 22:29:44:770 [01456] | INFO  | Redirecting 'wglSetPixelFormat(000000001F012241, 12, 00007FF6C26EFBF4)' ...
27/08/2016 22:29:44:772 [01456] | INFO  | Redirecting 'wglCreateContextAttribsARB(000000001F012241, 0000000000010001, 000000001219FC60)' ...
27/08/2016 22:29:44:772 [01456] | WARN  | > Replacing requested version with 4.3 ...
27/08/2016 22:29:44:772 [01456] | INFO  | Redirecting 'wglMakeCurrent(000000001F012241, 0000000000010002)' ...
27/08/2016 22:29:44:789 [01456] | INFO  | > Using shared OpenGL context 0000000000020000.
27/08/2016 22:29:44:791 [01456] | INFO  | Starting input capture for window 00000000001F0A90 ...
27/08/2016 22:29:44:791 [01456] | INFO  | > Switched to new runtime 0000000011434030.
27/08/2016 22:29:44:791 [01456] | INFO  | Redirecting 'wglMakeCurrent(0000000000000000, 0000000000000000)' ...
27/08/2016 22:29:44:791 [01456] | INFO  | > Cleaning up runtime 0000000011434030 ...
27/08/2016 22:29:44:792 [01456] | INFO  | Redirecting 'wglSetPixelFormat(0000000017011C62, 12, 00007FF6C26EFBF4)' ...
27/08/2016 22:29:44:792 [01456] | INFO  | Redirecting 'wglMakeCurrent(0000000017011C62, 0000000000010002)' ...
27/08/2016 22:29:44:793 [01456] | INFO  | > Using shared OpenGL context 0000000000020000.
27/08/2016 22:29:44:796 [01456] | INFO  | Starting input capture for window 00000000001A0CA6 ...
27/08/2016 22:29:44:796 [01456] | INFO  | > Switched to new runtime 00000000114BEE40.
27/08/2016 22:29:44:804 [15668] | INFO  | Redirecting 'wglMakeCurrent(0000000017011C62, 0000000000020000)' ...
27/08/2016 22:29:44:804 [15668] | INFO  | > Cleaning up runtime 000000000C3F30C0 ...
27/08/2016 22:29:44:970 [15668] | INFO  | > Switched to existing runtime 00000000114BEE40.
27/08/2016 22:29:45:348 [15668] | INFO  | Redirecting 'RegisterRawInputDevices(00007FFE658D1A40, 1, 16)' ...
27/08/2016 22:29:45:348 [15668] | INFO  | Redirecting 'RegisterRawInputDevices(00007FFE658D1A10, 1, 16)' ...
27/08/2016 22:29:45:349 [15668] | INFO  | Redirecting 'RegisterRawInputDevices(00007FFE658D1A70, 1, 16)' ...
27/08/2016 22:29:45:541 [01456] | INFO  | Resizing runtime 00000000114BEE40 on device context 0000000017011C62 to 3840x2160 ...
My PayPal Me Link If you like to donate paypal.me/BlueSkyDefender

Also my steam page steamcommunity.com/id/BlueSkyDefender
Last Edit: 3 months 1 week ago by BlueSkyKnight.
The administrator has disabled public write access.

WolfNewOrder Works with Reshade2.0 but not 3.0 3 months 1 week ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2453
  • Thank you received: 1393
Found the culprint. The in-game overlay is not initialized properly in multi-thread envrionments. I'm surprised this didn't blow up earlier. Anyway, fixed in the next update.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: BlueSkyKnight

WolfNewOrder Works with Reshade2.0 but not 3.0 3 months 1 week ago #3

  • JBeckman
  • JBeckman's Avatar
  • Offline
  • Posts: 163
  • Thank you received: 36
crosire wrote:
Found the culprint. The in-game overlay is not initialized properly in multi-thread envrionments. I'm surprised this didn't blow up earlier. Anyway, fixed in the next update.

Good, although not that I'm a tech expert or anything but does this mean that multi-threading usage in games is that bad that this wasn't discovered until now. :D
(I've tried a lot of games and 3.0 has worked with every one of them so yeah. :D )

(Fallout 4, Deus Ex Mankind Divided, Mirror's Edge Catalyst, Obduction, Kingdom Come Deliverance, ArmA 3, Call of Duty: Black Ops 3, Dark Souls 3, Total War Warhammer, Just Cause 3, Mad Max, Batman Arkham Knight, Hitman 2016, Rise of the Tomb Raider, Ghost of a Tale, Street Fighter V, Dying Light and so on to avoid making a giant list heh.)

EDIT: Aha so it's related to OpenGL only.
(Of which IDTech5 originally uses 3.x something with Rage whereas Wolfenstein and it's stand-alone expansion might have upgraded to something a bit newer and then there's IDTech6 in DOOM using 4.x depending on GPU vendor driver support and now also Vulkan, wonder if this bug fix might end up fixing the compatibility issue with ReShade and DOOM under OpenGL? Probably something else with that particular game unfortunately.)
Last Edit: 3 months 1 week ago by JBeckman.
The administrator has disabled public write access.

WolfNewOrder Works with Reshade2.0 but not 3.0 3 months 1 week ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2453
  • Thank you received: 1393
It only occurred when a game creates multiple rendering contexts simultaneously. In a multi-threaded OpenGL game you have to do that, since each OpenGL context is bound to a single thread. This is not the case with Direct3D 11, which has support for multi-threading built-in. And since there are not that many triple A titles using modern OpenGL out there it was not much of an issue so far.

Even though Wolfenstein no longer crashes now, something else is still broken unfortunately, as the in-game overlay is not rendered correctly. Will have to do some more debugging there later.
Cheers, crosire =)
The administrator has disabled public write access.

WolfNewOrder Works with Reshade2.0 but not 3.0 1 month 4 weeks ago #5

  • MaxG3D
  • MaxG3D's Avatar
  • Offline
  • Posts: 27
  • Thank you received: 2
I tried The New Order with the latest 3.1 version, and everything works perfectly, except for depth buffer effects :(

Is there any way to visualize the depth buffer so that at least I can check if the depth buffer is aviable to ReShade?
The administrator has disabled public write access.

WolfNewOrder Works with Reshade2.0 but not 3.0 1 month 4 weeks ago #6

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2453
  • Thank you received: 1393
Create a new fx file with the following content in the reshade-shaders\Shaders folder and enable the technique in-game:
#include "ReShade.fxh"

float3 Main(float4 vpos : SV_Position, float2 texcoord : TexCoord) : SV_Target
{
    return ReShade::GetLinearizedDepth(texcoord).xxx;
}

technique DisplayDepth
{
    pass
    {
        VertexShader = PostProcessVS;
        PixelShader = Main;
    }
}
Cheers, crosire =)
Last Edit: 3 weeks 6 days ago by crosire. Reason: Fixed shader code
The administrator has disabled public write access.
The following user(s) said Thank You: MaxG3D, Pondural

WolfNewOrder Works with Reshade2.0 but not 3.0 1 month 4 weeks ago #7

  • MaxG3D
  • MaxG3D's Avatar
  • Offline
  • Posts: 27
  • Thank you received: 2
Wolfenstein.The.New.Order\reshade-shaders\Shaders\VisualizeDepth.fx(13, 1): error X3011: pass state value must be a literal expression
The administrator has disabled public write access.

WolfNewOrder Works with Reshade2.0 but not 3.0 1 month 4 weeks ago #8

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2453
  • Thank you received: 1393
My "smart"phone auto-corrected the "PixelShader" there to "Pixelshader". Sorry. Has to be the former of course.
Cheers, crosire =)
The administrator has disabled public write access.