Welcome, Guest.
Username: Password: Remember me

TOPIC: Compatibility: WildStar

Compatibility: WildStar 8 months 2 weeks ago #1

ReShade 3.x hasn't been working with WildStar (ncSoft's MMORPG) for some time.

It causes the client to crash with a completely unhelpful error. Renaming dxgi.dll to dxgi.disabled resolves the crash but of course, disables reShade. It needs to use ReShade x64 as it is a 64 bit client.

WildStar itself handles the exception but it's basically the "instruction at 0x0 referenced memory at 0x0. The memory could not be written." (There are a lot of 0s after each x).

The more useful info is probably from dxgi's log:
2018-02-07T19:01:31:209 [03844] | INFO  | Initialized.
2018-02-07T19:01:31:213 [03844] | INFO  | Installing delayed hooks for 'C:\WINDOWS\system32\d3d11.dll' (Just loaded via 'LoadLibraryW("C:\WINDOWS\system32\d3d11.dll")') ...
2018-02-07T19:01:31:213 [03844] | INFO  | > Dumping matches in export table:
2018-02-07T19:01:31:213 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:213 [03844] | INFO  |   | Address            | Ordinal | Name                                               |
2018-02-07T19:01:31:213 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:213 [03844] | INFO  |   | 0x00007FFE223A31A0 | 22      | D3D11CreateDevice                                  |
2018-02-07T19:01:31:213 [03844] | INFO  |   | 0x00007FFE223A3030 | 23      | D3D11CreateDeviceAndSwapChain                      |
2018-02-07T19:01:31:213 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:213 [03844] | INFO  | > Found 2 match(es). Installing ...
2018-02-07T19:01:31:213 [03844] | INFO  | Installing hook for 'D3D11CreateDevice' at 0x00007FFE223A31A0 with 0x00007FFDD2AD2D20 using method 1 ...
2018-02-07T19:01:31:213 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:213 [03844] | INFO  | Installing hook for 'D3D11CreateDeviceAndSwapChain' at 0x00007FFE223A3030 with 0x00007FFDD2AD3000 using method 1 ...
2018-02-07T19:01:31:213 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:232 [03844] | INFO  | Redirecting 'D3D11CreateDevice(000001A0653067F0, 0, 0000000000000000, 0x80, 00007FF7BADBFF20, 2, 7, 00000078204FF688, 00000078204FF6B0, 00000078204FF6A0)' ...
2018-02-07T19:01:31:232 [03844] | INFO  | > Passing on to 'D3D11CreateDeviceAndSwapChain':
2018-02-07T19:01:31:232 [03844] | INFO  | Redirecting 'D3D11CreateDeviceAndSwapChain(000001A0653067F0, 0, 0000000000000000, 0x80, 00007FF7BADBFF20, 2, 7, 0000000000000000, 0000000000000000, 00000078204FF688, 00000078204FF6B0, 00000078204FF6A0)' ...
2018-02-07T19:01:31:250 [03844] | INFO  | > Using feature level 0xb100.
2018-02-07T19:01:31:250 [03844] | INFO  | Returning 'IDXGIDevice1' object 000001A0652905B0
2018-02-07T19:01:31:250 [03844] | INFO  | Returning 'ID3D11Device' object 0000019F62F167C0
2018-02-07T19:01:31:250 [03844] | INFO  | Returning 'ID3D11DeviceContext' object 0000019F62FE4A30
2018-02-07T19:01:31:250 [03844] | INFO  | Upgraded 'ID3D11Device' object 0000019F62F167C0 to 'ID3D11Device1'.
2018-02-07T19:01:31:250 [03844] | INFO  | Upgraded 'ID3D11DeviceContext' object 0000019F62FE4A30 to 'ID3D11DeviceContext1'.
2018-02-07T19:01:31:330 [03844] | INFO  | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00000078204FEB90)' ...
2018-02-07T19:01:31:330 [03844] | INFO  | > Passing on to 'CreateDXGIFactory1':
2018-02-07T19:01:31:330 [03844] | INFO  | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00000078204FEB90)' ...
2018-02-07T19:01:31:330 [03844] | ERROR | Unable to resolve hook for '0x00007FFDD2B14F70'!
Last Edit: 8 months 2 weeks ago by LeeThompson.
The administrator has disabled public write access.

Compatibility: WildStar 8 months 2 weeks ago #2

The log is only partial. Looks like hook installation for dxgi.dll hasn't happened.
Cheers, crosire =)
The administrator has disabled public write access.

Compatibility: WildStar 8 months 2 weeks ago #3

Sorry, here's the complete log:
2018-02-07T19:01:31:101 [03844] | INFO  | Initializing crosire's ReShade version '3.1.1.243' (64-bit) built on '2018-01-13 10:40:57' loaded from 'C:\Games\WildStar\Client64\dxgi.dll' to 'C:\Games\WildStar\Client64\WildStar64.exe' ...
2018-02-07T19:01:31:102 [03844] | INFO  | Installing hook for 'LoadLibraryA' at 0x00007FFE2A9C13F0 with 0x00007FFDD2AF4A60 using method 1 ...
2018-02-07T19:01:31:102 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:120 [03844] | INFO  | Installing hook for 'LoadLibraryExA' at 0x00007FFE2A9C0A90 with 0x00007FFDD2AF4C60 using method 1 ...
2018-02-07T19:01:31:120 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:136 [03844] | INFO  | Installing hook for 'LoadLibraryW' at 0x00007FFE2A9C0B00 with 0x00007FFDD2AF4D20 using method 1 ...
2018-02-07T19:01:31:136 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:153 [03844] | INFO  | Installing hook for 'LoadLibraryExW' at 0x00007FFE2A9BC0F0 with 0x00007FFDD2AF4F20 using method 1 ...
2018-02-07T19:01:31:153 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:171 [03844] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d9.dll' ...
2018-02-07T19:01:31:171 [03844] | INFO  | > Delayed.
2018-02-07T19:01:31:171 [03844] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d10.dll' ...
2018-02-07T19:01:31:171 [03844] | INFO  | > Delayed.
2018-02-07T19:01:31:172 [03844] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d10_1.dll' ...
2018-02-07T19:01:31:172 [03844] | INFO  | > Delayed.
2018-02-07T19:01:31:172 [03844] | INFO  | Registering hooks for 'C:\WINDOWS\system32\d3d11.dll' ...
2018-02-07T19:01:31:172 [03844] | INFO  | > Delayed.
2018-02-07T19:01:31:172 [03844] | INFO  | Registering hooks for 'C:\WINDOWS\system32\dxgi.dll' ...
2018-02-07T19:01:31:173 [03844] | INFO  | > Delayed until first call to an exported function.
2018-02-07T19:01:31:173 [03844] | INFO  | Registering hooks for 'C:\WINDOWS\system32\opengl32.dll' ...
2018-02-07T19:01:31:173 [03844] | INFO  | > Delayed.
2018-02-07T19:01:31:173 [03844] | INFO  | Registering hooks for 'C:\WINDOWS\system32\user32.dll' ...
2018-02-07T19:01:31:173 [03844] | INFO  | > Libraries loaded.
2018-02-07T19:01:31:173 [03844] | INFO  | > Dumping matches in export table:
2018-02-07T19:01:31:173 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:173 [03844] | INFO  |   | Address            | Ordinal | Name                                               |
2018-02-07T19:01:31:173 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:173 [03844] | INFO  |   | 0x00007FFE2A577AA0 | 1826    | GetCursorPos                                       |
2018-02-07T19:01:31:173 [03844] | INFO  |   | 0x00007FFE2A5706E0 | 1891    | GetMessageA                                        |
2018-02-07T19:01:31:173 [03844] | INFO  |   | 0x00007FFE2A573F50 | 1895    | GetMessageW                                        |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A570040 | 2186    | PeekMessageA                                       |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A570170 | 2187    | PeekMessageW                                       |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A5789C0 | 2190    | PostMessageA                                       |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A552A40 | 2191    | PostMessageW                                       |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A56A2C0 | 2234    | RegisterClassA                                     |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A5CD400 | 2235    | RegisterClassExA                                   |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A56D170 | 2236    | RegisterClassExW                                   |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A56D1A0 | 2237    | RegisterClassW                                     |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A5820F0 | 2253    | RegisterRawInputDevices                            |
2018-02-07T19:01:31:174 [03844] | INFO  |   | 0x00007FFE2A57AF80 | 2308    | SetCursorPos                                       |
2018-02-07T19:01:31:174 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:174 [03844] | INFO  | > Found 13 match(es). Installing ...
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'GetCursorPos' at 0x00007FFE2A577AA0 with 0x00007FFDD2AFC170 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'GetMessageA' at 0x00007FFE2A5706E0 with 0x00007FFDD2AFB4D0 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'GetMessageW' at 0x00007FFE2A573F50 with 0x00007FFDD2AFB5A0 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'PeekMessageA' at 0x00007FFE2A570040 with 0x00007FFDD2AFB670 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'PeekMessageW' at 0x00007FFE2A570170 with 0x00007FFDD2AFB750 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'PostMessageA' at 0x00007FFE2A5789C0 with 0x00007FFDD2AFBF50 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'PostMessageW' at 0x00007FFE2A552A40 with 0x00007FFDD2AFC010 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'RegisterClassA' at 0x00007FFE2A56A2C0 with 0x00007FFDD2B40F30 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'RegisterClassExA' at 0x00007FFE2A5CD400 with 0x00007FFDD2B41270 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'RegisterClassExW' at 0x00007FFE2A56D170 with 0x00007FFDD2B41400 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'RegisterClassW' at 0x00007FFE2A56D1A0 with 0x00007FFDD2B410D0 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'RegisterRawInputDevices' at 0x00007FFE2A5820F0 with 0x00007FFDD2AFB830 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:174 [03844] | INFO  | Installing hook for 'SetCursorPos' at 0x00007FFE2A57AF80 with 0x00007FFDD2AFC0D0 using method 1 ...
2018-02-07T19:01:31:174 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:191 [03844] | INFO  | Registering hooks for 'C:\WINDOWS\system32\ws2_32.dll' ...
2018-02-07T19:01:31:191 [03844] | INFO  | > Libraries loaded.
2018-02-07T19:01:31:191 [03844] | INFO  | > Dumping matches in export table:
2018-02-07T19:01:31:191 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:191 [03844] | INFO  |   | Address            | Ordinal | Name                                               |
2018-02-07T19:01:31:191 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:191 [03844] | INFO  |   | 0x00007FFE2A92AD90 | 91      | WSARecv                                            |
2018-02-07T19:01:31:191 [03844] | INFO  |   | 0x00007FFE2A936780 | 93      | WSARecvFrom                                        |
2018-02-07T19:01:31:191 [03844] | INFO  |   | 0x00007FFE2A92A8A0 | 96      | WSASend                                            |
2018-02-07T19:01:31:191 [03844] | INFO  |   | 0x00007FFE2A936D80 | 99      | WSASendTo                                          |
2018-02-07T19:01:31:191 [03844] | INFO  |   | 0x00007FFE2A929EC0 | 16      | recv                                               |
2018-02-07T19:01:31:191 [03844] | INFO  |   | 0x00007FFE2A929CC0 | 17      | recvfrom                                           |
2018-02-07T19:01:31:191 [03844] | INFO  |   | 0x00007FFE2A92BA40 | 19      | send                                               |
2018-02-07T19:01:31:191 [03844] | INFO  |   | 0x00007FFE2A92F0B0 | 20      | sendto                                             |
2018-02-07T19:01:31:191 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:191 [03844] | INFO  | > Found 8 match(es). Installing ...
2018-02-07T19:01:31:192 [03844] | INFO  | Installing hook for 'WSARecv' at 0x00007FFE2A92AD90 with 0x00007FFDD2B41740 using method 1 ...
2018-02-07T19:01:31:192 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:192 [03844] | INFO  | Installing hook for 'WSARecvFrom' at 0x00007FFE2A936780 with 0x00007FFDD2B418D0 using method 1 ...
2018-02-07T19:01:31:192 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:192 [03844] | INFO  | Installing hook for 'WSASend' at 0x00007FFE2A92A8A0 with 0x00007FFDD2B415A0 using method 1 ...
2018-02-07T19:01:31:192 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:192 [03844] | INFO  | Installing hook for 'WSASendTo' at 0x00007FFE2A936D80 with 0x00007FFDD2B41670 using method 1 ...
2018-02-07T19:01:31:192 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:192 [03844] | INFO  | Installing hook for 'recv' at 0x00007FFE2A929EC0 with 0x00007FFDD2B41B50 using method 1 ...
2018-02-07T19:01:31:192 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:192 [03844] | INFO  | Installing hook for 'recvfrom' at 0x00007FFE2A929CC0 with 0x00007FFDD2B41C00 using method 1 ...
2018-02-07T19:01:31:192 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:192 [03844] | INFO  | Installing hook for 'send' at 0x00007FFE2A92BA40 with 0x00007FFDD2B419D0 using method 1 ...
2018-02-07T19:01:31:192 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:192 [03844] | INFO  | Installing hook for 'sendto' at 0x00007FFE2A92F0B0 with 0x00007FFDD2B41A80 using method 1 ...
2018-02-07T19:01:31:192 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:209 [03844] | INFO  | Initialized.
2018-02-07T19:01:31:213 [03844] | INFO  | Installing delayed hooks for 'C:\WINDOWS\system32\d3d11.dll' (Just loaded via 'LoadLibraryW("C:\WINDOWS\system32\d3d11.dll")') ...
2018-02-07T19:01:31:213 [03844] | INFO  | > Dumping matches in export table:
2018-02-07T19:01:31:213 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:213 [03844] | INFO  |   | Address            | Ordinal | Name                                               |
2018-02-07T19:01:31:213 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:213 [03844] | INFO  |   | 0x00007FFE223A31A0 | 22      | D3D11CreateDevice                                  |
2018-02-07T19:01:31:213 [03844] | INFO  |   | 0x00007FFE223A3030 | 23      | D3D11CreateDeviceAndSwapChain                      |
2018-02-07T19:01:31:213 [03844] | INFO  |   +--------------------+---------+----------------------------------------------------+
2018-02-07T19:01:31:213 [03844] | INFO  | > Found 2 match(es). Installing ...
2018-02-07T19:01:31:213 [03844] | INFO  | Installing hook for 'D3D11CreateDevice' at 0x00007FFE223A31A0 with 0x00007FFDD2AD2D20 using method 1 ...
2018-02-07T19:01:31:213 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:213 [03844] | INFO  | Installing hook for 'D3D11CreateDeviceAndSwapChain' at 0x00007FFE223A3030 with 0x00007FFDD2AD3000 using method 1 ...
2018-02-07T19:01:31:213 [03844] | INFO  | > Succeeded.
2018-02-07T19:01:31:232 [03844] | INFO  | Redirecting 'D3D11CreateDevice(000001A0653067F0, 0, 0000000000000000, 0x80, 00007FF7BADBFF20, 2, 7, 00000078204FF688, 00000078204FF6B0, 00000078204FF6A0)' ...
2018-02-07T19:01:31:232 [03844] | INFO  | > Passing on to 'D3D11CreateDeviceAndSwapChain':
2018-02-07T19:01:31:232 [03844] | INFO  | Redirecting 'D3D11CreateDeviceAndSwapChain(000001A0653067F0, 0, 0000000000000000, 0x80, 00007FF7BADBFF20, 2, 7, 0000000000000000, 0000000000000000, 00000078204FF688, 00000078204FF6B0, 00000078204FF6A0)' ...
2018-02-07T19:01:31:250 [03844] | INFO  | > Using feature level 0xb100.
2018-02-07T19:01:31:250 [03844] | INFO  | Returning 'IDXGIDevice1' object 000001A0652905B0
2018-02-07T19:01:31:250 [03844] | INFO  | Returning 'ID3D11Device' object 0000019F62F167C0
2018-02-07T19:01:31:250 [03844] | INFO  | Returning 'ID3D11DeviceContext' object 0000019F62FE4A30
2018-02-07T19:01:31:250 [03844] | INFO  | Upgraded 'ID3D11Device' object 0000019F62F167C0 to 'ID3D11Device1'.
2018-02-07T19:01:31:250 [03844] | INFO  | Upgraded 'ID3D11DeviceContext' object 0000019F62FE4A30 to 'ID3D11DeviceContext1'.
2018-02-07T19:01:31:330 [03844] | INFO  | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00000078204FEB90)' ...
2018-02-07T19:01:31:330 [03844] | INFO  | > Passing on to 'CreateDXGIFactory1':
2018-02-07T19:01:31:330 [03844] | INFO  | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 00000078204FEB90)' ...
2018-02-07T19:01:31:330 [03844] | ERROR | Unable to resolve hook for '0x00007FFDD2B14F70'!
The administrator has disabled public write access.

Compatibility: WildStar 8 months 2 weeks ago #4

LeeThompson wrote:
2018-02-07T19:01:31:213 [03844] | INFO  | Installing delayed hooks for 'C:\WINDOWS\system32\d3d11.dll' (Just loaded via 'LoadLibraryW("C:\WINDOWS\system32\d3d11.dll")') ...
Oh well, looks like the game is loading the DX modules from the system directory directly (you aren't suposed to do that game ...). That bypasses ReShade's delayed hook installation unfortunately, so the hooks are never installed and when ReShade then attempts to access them, it fails and calls an invalid function pointer which crashes the game. I'm surprised ReShade even got loaded into the game. Anyway, guess I need to make the delayed hook installation more robust for this case.
Cheers, crosire =)
Last Edit: 8 months 2 weeks ago by crosire.
The administrator has disabled public write access.
The following user(s) said Thank You: Pondural, Qsimil

Compatibility: WildStar 8 months 1 week ago #5

And shouldn't it be loading the 64-bit versions in SysWOW64?

Just as a test I put a copy of d3d11.dll in the same folder and it still loaded it from system32 anyway.
Last Edit: 8 months 1 week ago by LeeThompson.
The administrator has disabled public write access.

Compatibility: WildStar 8 months 1 week ago #6

C:\Windows\system32\*.dll is automatically remapped to C:\Windows\SYSWOW64\*.dll for 32-bit applications by Windows without you seeing it.
Cheers, crosire =)
The administrator has disabled public write access.