How to deal with fx script

  • Posts: 4
1 year 7 months ago - 1 year 7 months ago #1 by txke
I compile the lastest version of reshade,but open the reshade,have a lot of error like this.how to deal?

INFO | Compiling3DFX.fx
ERROR | Failed to preprocess .\reshade-shaders\Shaders\3DFX.fx
.\Shaders\ReShade.fxh(4, 2): preprocessor error: ReShade 3.0+ is required to use this header file

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

  • Posts: 4
1 year 7 months ago #2 by txke
INFO | Compiling3DFX.fx

ERROR | Failed to preprocess .\reshade-shaders\Shaders\3DFX.fx

.\Shaders\ReShade.fxh(4, 2): preprocessor error: ReShade 3.0+ is required to use this header file

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

  • Posts: 578
1 year 7 months ago #3 by thalixte
In the file Reshade.fxh, just comment the following lines:

#if !defined(__RESHADE__) || __RESHADE__ < 30000
#error "ReShade 3.0+ is required to use this header file"
#endif
The following user(s) said Thank You: txke

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

  • Posts: 10
1 year 7 months ago #4 by deltaminds
This sort of solved my problem! I hope OP has their problem solved as well!

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