[SOLVED] Error compiling sweet.fx

  • siulmagic
  • Topic Author
More
9 years 1 month ago - 9 years 1 month ago #1 by siulmagic Error compiling sweet.fx was created by siulmagic
Hi im having some issues using reshade+sweet effects , on my laptop , this has the retarded nvidia optimus. this is the error im getting:
/03/2015 17:55:12,567 [11028] | INFO  | Redirecting 'D3D11CreateDevice(00000000, 1, 00000000, 1, 02FDFB68, 3, 7, 00000000, 02FDFB74, 00000000)' ...
01/03/2015 17:55:12,567 [11028] | INFO  | > Passing on to 'D3D11CreateDeviceAndSwapChain':
01/03/2015 17:55:12,567 [11028] | INFO  | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000, 1, 00000000, 1, 02FDFB68, 3, 7, 00000000, 00000000, 00000000, 02FDFB74, 00000000)' ...
01/03/2015 17:55:12,568 [11028] | INFO  | Redirecting 'CreateDXGIFactory2(2147483648, {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 02FDD450)' ...
01/03/2015 17:55:12,616 [11028] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 17:55:12,720 [11028] | INFO  | Redirecting 'CreateDXGIFactory1({770AAE78-F26F-4DBA-A829-253C83D1B387}, 02FDF744)' ...
01/03/2015 17:55:12,956 [11028] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 17:55:13,078 [11028] | INFO  | Redirecting 'RegisterClassExA(02FDFAD0)' ...
01/03/2015 17:55:13,079 [11028] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 17:55:13,239 [11028] | INFO  | Redirecting 'IDirect3D9::CreateDevice(001FD320, 0, 1, 0050089C, 82, 02FDFA2C, 05E12BCC)' ...
01/03/2015 17:55:13,275 [11028] | INFO  | Recreated effect environment on runtime 08C3A8A0.
01/03/2015 17:55:18,187 [11028] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 17:55:18,232 [11028] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 17:55:18,264 [11028] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 17:55:18,305 [11028] | INFO  | Redirecting 'IDirect3DDevice9::Reset(08BC3F78, 02FDF7D4)' ...
01/03/2015 17:55:18,310 [11028] | INFO  | Recreated effect environment on runtime 08C3A8A0.
01/03/2015 17:55:18,585 [11028] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 17:55:18,620 [11028] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 17:55:18,654 [11028] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 17:55:18,884 [11028] | INFO  | Loading effect from "D:\Wow Ashra\Sweet.fx" ...
01/03/2015 17:55:18,942 [11028] | ERROR | Failed to compile effect on context 08C3A8A0:



01/03/2015 17:56:47,735 [11028] | INFO  | Exiting ...
01/03/2015 17:56:47,736 [11028] | INFO  | Uninstalling 30 hook(s) ...
01/03/2015 17:56:47,902 [11028] | WARN  | Failed to uninstall hook for '0x69D01570' with status code 10.
01/03/2015 17:56:47,914 [11028] | WARN  | Failed to uninstall hook for '0x69D01610' with status code 10.
01/03/2015 17:56:47,970 [11028] | INFO  | Exited.

i also searched the forums and i found a post, saying i had to make sure my sweetfx-settings.txt was formstted in ansii instead of utf code, so i converted the file to ancii with note++ but for some reason, when i reopen the file its back in utf mode.

any help will be gladly apreciated
Last edit: 9 years 1 month ago by siulmagic.

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

  • crosire
More
9 years 1 month ago - 9 years 1 month ago #2 by crosire Replied by crosire on topic Error compiling sweet.fx
Does this happen with the unmodified downloaded files? Which game? NVIDIA Optimus is no problem, I'm developing on a notebook myself.
Last edit: 9 years 1 month ago by crosire.

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

  • siulmagic
  • Topic Author
More
9 years 1 month ago - 9 years 1 month ago #3 by siulmagic Replied by siulmagic on topic Error compiling sweet.fx
the game is World of warcraft(its a private server so it uses a cusotm exe, it skips the launcher 32bit), i will try with the default sweet-fx.txt file, and see what happens.

edit: with default files i still get the error, this my full error log.
01/03/2015 18:50:35,049 [11540] | INFO  | Initializing Crosire's ReShade version '0.15.0.716' built on '2015-02-27 19:48:01' loaded from "D:\Wow Ashra\d3d9.dll" to "D:\Wow Ashra\ashran.exe" ...
01/03/2015 18:50:35,073 [11540] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d8.dll" ...
01/03/2015 18:50:35,074 [11540] | INFO  | > Delayed.
01/03/2015 18:50:35,074 [11540] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d9.dll" ...
01/03/2015 18:50:35,074 [11540] | INFO  | > Delayed.
01/03/2015 18:50:35,074 [11540] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d10.dll" ...
01/03/2015 18:50:35,074 [11540] | INFO  | > Delayed.
01/03/2015 18:50:35,074 [11540] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d10_1.dll" ...
01/03/2015 18:50:35,074 [11540] | INFO  | > Delayed.
01/03/2015 18:50:35,074 [11540] | INFO  | Registering hooks for "C:\WINDOWS\system32\d3d11.dll" ...
01/03/2015 18:50:35,074 [11540] | INFO  | > Delayed.
01/03/2015 18:50:35,075 [11540] | INFO  | Registering hooks for "C:\WINDOWS\system32\dxgi.dll" ...
01/03/2015 18:50:35,075 [11540] | INFO  | > Delayed.
01/03/2015 18:50:35,075 [11540] | INFO  | Registering hooks for "C:\WINDOWS\system32\opengl32.dll" ...
01/03/2015 18:50:35,075 [11540] | INFO  | > Delayed.
01/03/2015 18:50:35,075 [11540] | INFO  | Registering hooks for "C:\WINDOWS\system32\user32.dll" ...
01/03/2015 18:50:35,075 [11540] | INFO  | > Libraries loaded.
01/03/2015 18:50:35,087 [11540] | INFO  | > Found 4 match(es). Installing ...
01/03/2015 18:50:35,136 [11540] | INFO  | > Installed 4 hook(s).
01/03/2015 18:50:35,136 [11540] | INFO  | Registering hooks for "C:\WINDOWS\system32\ws2_32.dll" ...
01/03/2015 18:50:35,136 [11540] | INFO  | > Libraries loaded.
01/03/2015 18:50:35,138 [11540] | INFO  | > Found 8 match(es). Installing ...
01/03/2015 18:50:35,230 [11540] | INFO  | > Installed 8 hook(s).
01/03/2015 18:50:35,230 [11540] | INFO  | Initialized.
01/03/2015 18:50:35,231 [11540] | INFO  | Installing delayed hooks for "C:\WINDOWS\system32\d3d9.dll" ...
01/03/2015 18:50:35,253 [11540] | INFO  | > Found 9 match(es). Installing ...
01/03/2015 18:50:35,253 [11540] | INFO  | > Installed 9 hook(s).
01/03/2015 18:50:37,813 [11540] | INFO  | Installing delayed hooks for "C:\WINDOWS\system32\d3d11.dll" (Just loaded via 'LoadLibraryA("d3d11.dll")') ...
01/03/2015 18:50:37,814 [11540] | INFO  | > Found 2 match(es). Installing ...
01/03/2015 18:50:37,844 [11540] | INFO  | > Installed 2 hook(s).
01/03/2015 18:50:37,844 [11540] | INFO  | Installing delayed hooks for "C:\WINDOWS\system32\dxgi.dll" (Just loaded via 'LoadLibraryA("d3d11.dll")') ...
01/03/2015 18:50:37,845 [11540] | INFO  | > Found 3 match(es). Installing ...
01/03/2015 18:50:37,889 [11540] | INFO  | > Installed 3 hook(s).
01/03/2015 18:50:37,890 [11540] | INFO  | Redirecting 'D3D11CreateDevice(00000000, 1, 00000000, 1, 02FBFB68, 3, 7, 00000000, 02FBFB74, 00000000)' ...
01/03/2015 18:50:37,890 [11540] | INFO  | > Passing on to 'D3D11CreateDeviceAndSwapChain':
01/03/2015 18:50:37,890 [11540] | INFO  | Redirecting 'D3D11CreateDeviceAndSwapChain(00000000, 1, 00000000, 1, 02FBFB68, 3, 7, 00000000, 00000000, 00000000, 02FBFB74, 00000000)' ...
01/03/2015 18:50:37,891 [11540] | INFO  | Redirecting 'CreateDXGIFactory2(2147483648, {7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 02FBD450)' ...
01/03/2015 18:50:37,932 [11540] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 18:50:37,993 [11540] | INFO  | Redirecting 'CreateDXGIFactory1({770AAE78-F26F-4DBA-A829-253C83D1B387}, 02FBF744)' ...
01/03/2015 18:50:38,163 [11540] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 18:50:38,272 [11540] | INFO  | Redirecting 'RegisterClassExA(02FBFAD0)' ...
01/03/2015 18:50:38,273 [11540] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 18:50:38,410 [11540] | INFO  | Redirecting 'IDirect3D9::CreateDevice(003147A0, 0, 1, 018B06E8, 82, 02FBFA2C, 05DD4544)' ...
01/03/2015 18:50:38,445 [11540] | INFO  | Recreated effect environment on runtime 0039E020.
01/03/2015 18:50:43,047 [11540] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 18:50:43,073 [11540] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 18:50:43,116 [11540] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 18:50:43,160 [11540] | INFO  | Redirecting 'IDirect3DDevice9::Reset(08BA30E8, 02FBF7D4)' ...
01/03/2015 18:50:43,164 [11540] | INFO  | Recreated effect environment on runtime 0039E020.
01/03/2015 18:50:43,281 [11540] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 18:50:43,316 [11540] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 18:50:43,360 [11540] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
01/03/2015 18:50:43,429 [11540] | INFO  | Loading effect from "D:\Wow Ashra\Sweet.fx" ...
01/03/2015 18:50:43,572 [11540] | ERROR | Failed to compile effect on context 0039E020:



01/03/2015 18:52:13,355 [11540] | INFO  | Exiting ...
01/03/2015 18:52:13,355 [11540] | INFO  | Uninstalling 30 hook(s) ...
01/03/2015 18:52:13,525 [11540] | WARN  | Failed to uninstall hook for '0x69D01570' with status code 10.
01/03/2015 18:52:13,536 [11540] | WARN  | Failed to uninstall hook for '0x69D01610' with status code 10.
01/03/2015 18:52:13,589 [11540] | INFO  | Exited.
Last edit: 9 years 1 month ago by siulmagic.

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

  • siulmagic
  • Topic Author
More
9 years 1 month ago - 9 years 1 month ago #4 by siulmagic Replied by siulmagic on topic Error compiling sweet.fx
ok i replaced the whole sweetfx folder and now it succeeds, it seems its the config i was using, that was the problem. il see if i can make it work


edit: so it works now for some odd reason, anyways i was going to ask you, since this laptop uses nvidia optimus,witch gpu is used when using reshade?
Last edit: 9 years 1 month ago by siulmagic.

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

  • kgonepostl
More
9 years 1 month ago - 9 years 1 month ago #5 by kgonepostl Replied by kgonepostl on topic Error compiling sweet.fx

siulmagic wrote: edit: so it works now for some odd reason, anyways i was going to ask you, since this laptop uses nvidia optimus,witch gpu is used when using reshade?


What card is using it depends on which video card you have set as primary in the nvidia control panel. It works with the intel display adapter and the nvidia graphics card. However i would suggest that you set your nvidia graphics card as primary in the nvidia control panel to avoid any future problems that I had
Last edit: 9 years 1 month ago by kgonepostl.

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

  • siulmagic
  • Topic Author
More
9 years 1 month ago #6 by siulmagic Replied by siulmagic on topic Error compiling sweet.fx
i do, i have my nvidia card to be preferred globally. i guess i am using the nvidia one.

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

  • crosire
More
9 years 1 month ago #7 by crosire Replied by crosire on topic Error compiling sweet.fx
ReShade is compatible with Optimus, so yeah, if the game uses the NVIDIA card, it will still use it with ReShade installed. =)

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

We use cookies
We use cookies on our website. Some of them are essential for the operation of the forum. You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.