UIMask error

  • Tojkar
  • Topic Author
More
9 years 10 months ago #1 by Tojkar UIMask error was created by Tojkar
If I enable Uimask, it causes following error and stops compiling shaders:
E:\xxx\ReShade/Shaders/Ganossa/UIMask.fx(51, 35): error X3011: value must be a literal expression

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

  • crosire
More
9 years 10 months ago #2 by crosire Replied by crosire on topic UIMask error
Make sure you use ReShade 2.0.3. Check the first line in the log file to verify.

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

  • Tojkar
  • Topic Author
More
9 years 10 months ago - 9 years 10 months ago #3 by Tojkar Replied by Tojkar on topic UIMask error
It says "2.0.3.1120". I've tried it with a few games with same results. It is not game or renderer specific.

EDIT: Currently I'm stuck on i3 CPU's integral GPU. It has slight problems with some games so could that be the reason?
Last edit: 9 years 10 months ago by Tojkar.

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

  • Nekres
More
9 years 10 months ago - 9 years 10 months ago #4 by Nekres Replied by Nekres on topic UIMask error
I have the exact same issue! I have freshly installed the ReShade 2.0.3f1!
Initializing crosire's ReShade version '2.0.3.1120'
Please help!

Here the entire log:
15/04/2016 15:40:56:753 [08996] | INFO  | Initializing crosire's ReShade version '2.0.3.1121' built on '2016-04-03 19:21:12' loaded from "C:\Program Files (x86)\Guild Wars 2\bin64\d3d9.dll" to "C:\Program Files (x86)\Guild Wars 2\Gw2-64.exe" ...
15/04/2016 15:40:56:791 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d8.dll" ...
15/04/2016 15:40:56:791 [08996] | INFO  | > Delayed.
15/04/2016 15:40:56:791 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d9.dll" ...
15/04/2016 15:40:56:791 [08996] | INFO  | > Delayed.
15/04/2016 15:40:56:791 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d10.dll" ...
15/04/2016 15:40:56:791 [08996] | INFO  | > Delayed.
15/04/2016 15:40:56:791 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d10_1.dll" ...
15/04/2016 15:40:56:791 [08996] | INFO  | > Delayed.
15/04/2016 15:40:56:791 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d11.dll" ...
15/04/2016 15:40:56:791 [08996] | INFO  | > Delayed.
15/04/2016 15:40:56:791 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d12.dll" ...
15/04/2016 15:40:56:792 [08996] | INFO  | > Delayed.
15/04/2016 15:40:56:792 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\dxgi.dll" ...
15/04/2016 15:40:56:792 [08996] | INFO  | > Delayed.
15/04/2016 15:40:56:792 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\opengl32.dll" ...
15/04/2016 15:40:56:792 [08996] | INFO  | > Delayed.
15/04/2016 15:40:56:792 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\user32.dll" ...
15/04/2016 15:40:56:792 [08996] | INFO  | > Libraries loaded.
15/04/2016 15:40:56:792 [08996] | INFO  | > Found 5 match(es). Installing ...
15/04/2016 15:40:56:840 [08996] | INFO  | > Installed 5 hook(s).
15/04/2016 15:40:56:840 [08996] | INFO  | Registering hooks for "C:\WINDOWS\system32\ws2_32.dll" ...
15/04/2016 15:40:56:841 [08996] | INFO  | > Libraries loaded.
15/04/2016 15:40:56:841 [08996] | INFO  | > Found 8 match(es). Installing ...
15/04/2016 15:40:56:916 [08996] | INFO  | > Installed 8 hook(s).
15/04/2016 15:40:56:916 [08996] | INFO  | Initialized.
15/04/2016 15:40:58:636 [08996] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
15/04/2016 15:40:58:640 [08996] | INFO  | Installing delayed hooks for "C:\WINDOWS\system32\d3d9.dll" ...
15/04/2016 15:40:58:640 [08996] | INFO  | > Found 9 match(es). Installing ...
15/04/2016 15:40:58:640 [08996] | INFO  | > Installed 9 hook(s).
15/04/2016 15:40:58:699 [08996] | INFO  | Installing delayed hooks for "C:\WINDOWS\system32\dxgi.dll" (Just loaded via 'LoadLibraryW("C:\WINDOWS\system32\nvapi64.dll")') ...
15/04/2016 15:40:58:699 [08996] | INFO  | > Found 7 match(es). Installing ...
15/04/2016 15:40:58:763 [08996] | INFO  | > Installed 7 hook(s).
15/04/2016 15:42:50:753 [08996] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
15/04/2016 15:42:50:805 [08996] | INFO  | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 000000D1F8ADEB88)' ...
15/04/2016 15:42:50:811 [08996] | INFO  | Redirecting 'RegisterClassW(000000D1F8ADF080)' ...
15/04/2016 15:42:50:811 [08996] | INFO  | > Adding 'CS_OWNDC' window class style flag to 'ArenaNet_Dx_Window_Class'.
15/04/2016 15:42:50:813 [08996] | INFO  | Redirecting 'RegisterRawInputDevices(000000D1F8ADF000, 1, 16)' ...
15/04/2016 15:42:50:815 [08996] | INFO  | Redirecting 'IDirect3D9::CreateDevice(000000D180AB2720, 0, 1, 00000000000B053A, 0x56, 000000D1F8ADF120, 000000D180544B58)' ...
15/04/2016 15:42:51:246 [08996] | INFO  | Starting input capture for window 00000000000B053A ...
15/04/2016 15:42:51:248 [08996] | INFO  | Recreated runtime environment on runtime 000000D180A05560.
15/04/2016 15:42:51:430 [08996] | INFO  | Redirecting 'IDirect3DDevice9::Reset(000000D181515290, 000000D1F8ADF170)' ...
15/04/2016 15:42:51:430 [08996] | INFO  | Destroyed runtime environment on runtime 000000D180A05560.
15/04/2016 15:42:51:435 [08996] | INFO  | Recreated runtime environment on runtime 000000D180A05560.
15/04/2016 15:42:53:735 [08996] | INFO  | Redirecting 'IDirect3DDevice9::Reset(000000D181515290, 000000D1F8ADF190)' ...
15/04/2016 15:42:53:735 [08996] | INFO  | Destroyed runtime environment on runtime 000000D180A05560.
15/04/2016 15:42:53:906 [08996] | INFO  | Recreated runtime environment on runtime 000000D180A05560.
15/04/2016 15:42:53:907 [08996] | INFO  | Redirecting 'IDirect3DDevice9::Reset(000000D181515290, 000000D1F8ADF270)' ...
15/04/2016 15:42:53:907 [08996] | INFO  | Destroyed runtime environment on runtime 000000D180A05560.
15/04/2016 15:42:53:914 [08996] | INFO  | Recreated runtime environment on runtime 000000D180A05560.
15/04/2016 15:42:58:886 [08996] | INFO  | Redirecting 'RegisterClassExW(000000D1F8AD6930)' ...
15/04/2016 15:42:58:886 [08996] | INFO  | > Adding 'CS_OWNDC' window class style flag to 'HwndWrapper[DefaultDomain;;90573bdd-e963-4848-81f5-f5ce8be3796f]'.
15/04/2016 15:43:00:328 [08996] | INFO  | Redirecting 'IDirect3DDevice9::Reset(000000D181515290, 000000D1F8ADF100)' ...
15/04/2016 15:43:00:328 [08996] | INFO  | Destroyed runtime environment on runtime 000000D180A05560.
15/04/2016 15:43:00:335 [08996] | INFO  | Recreated runtime environment on runtime 000000D180A05560.
15/04/2016 15:43:00:399 [10872] | INFO  | Loading effect from "C:\Program Files (x86)\Guild Wars 2\bin64\ReShade.fx" ...
15/04/2016 15:43:00:908 [10872] | ERROR | Failed to compile effect on context 000000D180A05560:

C:\Program Files (x86)\Guild Wars 2\bin64\ReShade/Shaders/Ganossa/UIMask.fx(51, 35): error X3011: value must be a literal expression
Last edit: 9 years 10 months ago by Nekres.

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

  • Nekres
More
9 years 10 months ago #5 by Nekres Replied by Nekres on topic UIMask error
help please ?

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

  • Tojkar
  • Topic Author
More
9 years 10 months ago #6 by Tojkar Replied by Tojkar on topic UIMask error
So.. Is there any progress? And is there anything I could do to help debugging this?

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

  • Tojkar
  • Topic Author
More
9 years 10 months ago #7 by Tojkar Replied by Tojkar on topic UIMask error
reshade.me/forum/troubleshooting/1911-so...or-reshade-2-0#13864

Are these bug reports related? At least the error message is the same. Only difference is that I've got it only with UIMask.

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

  • Iddqd
More
9 years 10 months ago #8 by Iddqd Replied by Iddqd on topic UIMask error
Try:
1. Open *\ReShade\Shaders\Ganossa\UIMask.fx
2. Find
const static int uiTolHigh = pow(2,UIMask_Tolerance);
const static int uiTolLow = pow(2,int(max(0f,UIMask_Tolerance-(2*UIMask_Tolerance)/5)));
3. Replace to
const static int uiTolHigh = pow(2.0,UIMask_Tolerance);
const static int uiTolLow = pow(2.0,int(max(0f,UIMask_Tolerance-(2*UIMask_Tolerance)/5)));
The following user(s) said Thank You: SpinelessJelly, Kumbandit, VoidsShadow, Tojkar

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

  • Tojkar
  • Topic Author
More
9 years 10 months ago #9 by Tojkar Replied by Tojkar on topic UIMask error
Thanks! That works!

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

  • VoidsShadow
More
9 years 7 months ago - 9 years 7 months ago #10 by VoidsShadow Replied by VoidsShadow on topic UIMask error
Can we mark this thread as [SOLVED] and maybe push an update with this issue patched?
Last edit: 9 years 7 months ago by VoidsShadow.

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