[SOLVED] Reshade + SweetFx 2 errors

More
5 years 3 months ago #1 by Shin
Reshade + SweetFx 2 errors was created by Shin
Good day. Long story short. Tried to play The Witcher 3 with some sweet visuals. Download "Reshade + SweetFx 2.0" packet and preset i choose. Got 2 errors during initialization process: undeclared identifier and syntax error. Here's the log:
07/06/2015 13:43:42:819 [07512] | INFO  | Initializing Crosire's ReShade version '0.18.7.869' built on '2015-06-04 17:19:13' loaded from "X:\Program Files\Steam\steamapps\common\The Witcher 3\bin\x64\dxgi.dll" to "X:\Program Files\Steam\steamapps\common\The Witcher 3\bin\x64\witcher3.exe" ...
07/06/2015 13:43:42:875 [07512] | INFO  | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
07/06/2015 13:43:42:875 [07512] | INFO  | > Delayed.
07/06/2015 13:43:42:875 [07512] | INFO  | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
07/06/2015 13:43:42:875 [07512] | INFO  | > Libraries loaded.
07/06/2015 13:43:42:875 [07512] | INFO  | > Found 9 match(es). Installing ...
07/06/2015 13:43:42:999 [07512] | INFO  | > Installed 9 hook(s).
07/06/2015 13:43:42:999 [07512] | INFO  | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
07/06/2015 13:43:43:000 [07512] | INFO  | > Delayed.
07/06/2015 13:43:43:000 [07512] | INFO  | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
07/06/2015 13:43:43:000 [07512] | INFO  | > Delayed.
07/06/2015 13:43:43:000 [07512] | INFO  | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
07/06/2015 13:43:43:000 [07512] | INFO  | > Libraries loaded.
07/06/2015 13:43:43:001 [07512] | INFO  | > Found 2 match(es). Installing ...
07/06/2015 13:43:43:028 [07512] | INFO  | > Installed 2 hook(s).
07/06/2015 13:43:43:028 [07512] | INFO  | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
07/06/2015 13:43:43:028 [07512] | INFO  | > Delayed.
07/06/2015 13:43:43:028 [07512] | INFO  | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
07/06/2015 13:43:43:029 [07512] | INFO  | > Delayed.
07/06/2015 13:43:43:029 [07512] | INFO  | Registering hooks for "C:\Windows\system32\user32.dll" ...
07/06/2015 13:43:43:029 [07512] | INFO  | > Libraries loaded.
07/06/2015 13:43:43:039 [07512] | INFO  | > Found 5 match(es). Installing ...
07/06/2015 13:43:43:110 [07512] | INFO  | > Installed 5 hook(s).
07/06/2015 13:43:43:110 [07512] | INFO  | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
07/06/2015 13:43:43:110 [07512] | INFO  | > Libraries loaded.
07/06/2015 13:43:43:113 [07512] | INFO  | > Found 8 match(es). Installing ...
07/06/2015 13:43:43:223 [07512] | INFO  | > Installed 8 hook(s).
07/06/2015 13:43:43:223 [07512] | INFO  | Initialized.
07/06/2015 13:43:43:244 [07512] | INFO  | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 000000000215F360)' ...
07/06/2015 13:43:43:245 [07512] | INFO  | Installing delayed hooks for "C:\Windows\system32\dxgi.dll" ...
07/06/2015 13:43:43:246 [07512] | INFO  | > Found 2 match(es). Installing ...
07/06/2015 13:43:43:246 [07512] | INFO  | > Installed 2 hook(s).
07/06/2015 13:43:43:252 [07512] | INFO  | Redirecting 'D3D11CreateDevice(00000000021C8C60, 0, 0000000000000000, 0, 0000000000000000, 0, 7, 0000000000000000, 000000000215F350, 0000000000000000)' ...
07/06/2015 13:43:43:252 [07512] | INFO  | > Passing on to 'D3D11CreateDeviceAndSwapChain':
07/06/2015 13:43:43:252 [07512] | INFO  | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000021C8C60, 0, 0000000000000000, 0, 0000000000000000, 0, 7, 0000000000000000, 0000000000000000, 0000000000000000, 000000000215F350, 0000000000000000)' ...
07/06/2015 13:43:43:534 [07512] | INFO  | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 000000000215EDB0)' ...
07/06/2015 13:43:43:539 [07512] | INFO  | Redirecting 'D3D11CreateDevice(00000000021CCD10, 0, 0000000000000000, 0, 0000000000000000, 0, 7, 0000000000000000, 000000000215EF20, 0000000000000000)' ...
07/06/2015 13:43:43:539 [07512] | INFO  | > Passing on to 'D3D11CreateDeviceAndSwapChain':
07/06/2015 13:43:43:539 [07512] | INFO  | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000021CCD10, 0, 0000000000000000, 0, 0000000000000000, 0, 7, 0000000000000000, 0000000000000000, 0000000000000000, 000000000215EF20, 0000000000000000)' ...
07/06/2015 13:43:51:805 [07512] | INFO  | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 000000000215FAC0)' ...
07/06/2015 13:43:51:818 [07512] | INFO  | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 000000000215FAC0)' ...
07/06/2015 13:43:51:840 [07512] | INFO  | Redirecting 'RegisterClassExW(000000000215F980)' ...
07/06/2015 13:43:51:840 [07512] | INFO  | > Adding 'CS_OWNDC' window class style flag to 'W2ViewportClass'.
07/06/2015 13:43:51:879 [07512] | INFO  | Redirecting 'D3D11CreateDevice(0000000000000000, 1, 0000000000000000, 0, 0000000000000000, 0, 7, 0000000002157D90, 0000000002157DB0, 0000000002157D98)' ...
07/06/2015 13:43:51:879 [07512] | INFO  | > Passing on to 'D3D11CreateDeviceAndSwapChain':
07/06/2015 13:43:51:879 [07512] | INFO  | Redirecting 'D3D11CreateDeviceAndSwapChain(0000000000000000, 1, 0000000000000000, 0, 0000000000000000, 0, 7, 0000000000000000, 0000000000000000, 0000000002157D90, 0000000002157DB0, 0000000002157D98)' ...
07/06/2015 13:43:51:879 [07512] | INFO  | Redirecting 'CreateDXGIFactory1({770AAE78-F26F-4DBA-A829-253C83D1B387}, 0000000002156CD0)' ...
07/06/2015 13:43:52:063 [07512] | INFO  | Redirecting 'RegisterRawInputDevices(000007FEF0DDE100, 1, 16)' ...
07/06/2015 13:43:52:064 [07512] | INFO  | Redirecting 'RegisterRawInputDevices(000007FEF0DDE130, 1, 16)' ...
07/06/2015 13:43:52:064 [07512] | WARN  | > Removing 'RIDEV_NOLEGACY' flag from keyboard device targeting window 00000000000A0824.
07/06/2015 13:43:52:064 [07512] | INFO  | Redirecting 'IDXGIFactory::CreateSwapChain(00000000021F2180, 00000000BE82A020, 000000000215F940, 000000000215F928)' ...
07/06/2015 13:43:52:067 [07512] | INFO  | Recreated effect environment on runtime 00000000CB1313B0.
07/06/2015 13:43:52:067 [07512] | INFO  | Redirecting 'IDXGISwapChain::SetFullscreenState(00000000CB171FE0, FALSE, 0000000000000000)' ...
07/06/2015 13:43:52:301 [03048] | INFO  | Loading effect from "X:\Program Files\Steam\steamapps\common\The Witcher 3\bin\x64\ReShade.fx" ...
07/06/2015 13:43:52:304 [07512] | INFO  | Redirecting 'IDXGISwapChain::SetFullscreenState(00000000CB171FE0, FALSE, 0000000000000000)' ...
07/06/2015 13:43:52:304 [07512] | INFO  | Redirecting 'IDXGISwapChain::ResizeBuffers(00000000CB171FE0, 1, 1920, 1080, 28, 0x2)' ...
07/06/2015 13:43:52:306 [07512] | INFO  | Recreated effect environment on runtime 00000000CB1313B0.
07/06/2015 13:43:52:333 [03048] | INFO  | Loading effect from "X:\Program Files\Steam\steamapps\common\The Witcher 3\bin\x64\ReShade.fx" ...
07/06/2015 13:43:52:407 [03048] | ERROR | Failed to compile effect on context 00000000CB1313B0:

X:\Program Files\Steam\steamapps\common\The Witcher 3\bin\x64\Sweet.fx(236, 35): error X3004: undeclared identifier 'ReShade_Start_Enabled'
X:\Program Files\Steam\steamapps\common\The Witcher 3\bin\x64\Sweet.fx(236, 56): error X3000: syntax error: unexpected ';', expected '{'


07/06/2015 13:44:00:152 [07512] | INFO  | Redirecting 'RegisterRawInputDevices(000007FEF0DDE160, 1, 16)' ...
07/06/2015 13:44:00:152 [07512] | INFO  | Redirecting 'RegisterRawInputDevices(000007FEF0DDE170, 1, 16)' ...
07/06/2015 13:44:00:156 [07512] | INFO  | Redirecting 'IDXGISwapChain::SetFullscreenState(00000000CB171FE0, FALSE, 0000000000000000)' ...
07/06/2015 13:44:00:156 [07512] | WARN  | Reference count for 'IDXGISwapChain' object 00000000CB171FE0 is inconsistent: 1 vs 0.
07/06/2015 13:44:00:504 [07512] | WARN  | Reference count for 'IDXGIDevice1' object 00000000BE846EA0 is inconsistent: 648 vs 0.
07/06/2015 13:44:00:504 [07512] | WARN  | Reference count for 'ID3D11Device' object 00000000BE82A020 is inconsistent: 647 vs 0.
07/06/2015 13:44:00:658 [07512] | INFO  | Exiting ...
07/06/2015 13:44:00:658 [07512] | INFO  | Uninstalling 32 hook(s) ...
07/06/2015 13:44:01:064 [07512] | INFO  | Exited.

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

More
5 years 3 months ago #2 by crosire
Replied by crosire on topic Reshade + SweetFx 2 errors
Looks like you are missing some files ... Please redownload and reinstall a clean copy of ReShade + SweetFX 2.0, try that and afterwards try the preset again (may very well be the preset that is invalid).

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

More
5 years 3 months ago #3 by Shin
Replied by Shin on topic Reshade + SweetFx 2 errors
Thx for the answer. I looked closer. For some reason SweetFX folder didn't unpack well. A few files was missing.

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