[SOLVED] SweetFX + MasterEffect, How?

  • paxton676
  • Topic Author
More
9 years 3 months ago #1 by paxton676 SweetFX + MasterEffect , How? was created by paxton676
How do I get them both working together? I like the MasterEffect shaders but it doesn't have SMAA. I want to add SMAA from the Sweetfx.

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

  • robgrab
More
9 years 3 months ago #2 by robgrab Replied by robgrab on topic SweetFX + MasterEffect , How?
I've been wanting to know this as well. Really hate sacrificing SMAA for all the other shaders.

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

  • SunBroDave
More
9 years 3 months ago #3 by SunBroDave Replied by SunBroDave on topic SweetFX + MasterEffect , How?
Haven't tested but most likely you just have to copy 2 things into reshade.fx (the one for mastereffect):
- the boolean toggle for turning the effect shader on/off and the settings for that shader, this is found in sweetfx_settings.txt
- the actual implementation of that shader, this is found in sweet.fx

Should work for any shader you want to add from sweetfx, so long as there are no conflicting shader names (i.e. don't add Vibrance from sweetfx to mastereffect because mastereffect already has a shader named Vibrance).

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

  • paxton676
  • Topic Author
More
9 years 3 months ago - 9 years 3 months ago #4 by paxton676 Replied by paxton676 on topic SweetFX + MasterEffect , How?

SunBroDave wrote: Haven't tested but most likely you just have to copy 2 things into reshade.fx (the one for mastereffect):
- the boolean toggle for turning the effect shader on/off and the settings for that shader, this is found in sweetfx_settings.txt
- the actual implementation of that shader, this is found in sweet.fx

Should work for any shader you want to add from sweetfx, so long as there are no conflicting shader names (i.e. don't add Vibrance from sweetfx to mastereffect because mastereffect already has a shader named Vibrance).



Thank you for the reply. I have a very limited understanding of this stuff. I will need detailed instructions on how to do it. I need to see exactly what to copy and where to paste it. Any chance someone who knows will make the changes(sweet.fx + reshade.fx) for us and upload the file?
Last edit: 9 years 3 months ago by paxton676.

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

  • sutty73
More
9 years 3 months ago - 9 years 3 months ago #5 by sutty73 Replied by sutty73 on topic SweetFX + MasterEffect , How?
As paxton676 said, i would need detailed instructions on how use SweetFX + MasterEffect.
Last edit: 9 years 3 months ago by sutty73. Reason: Mistake

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

  • Iddqd
More
9 years 3 months ago #6 by Iddqd Replied by Iddqd on topic SweetFX + MasterEffect , How?
sutty73, here link: www.dropbox.com/s/9hafd55zptdei3m/ReShade.rar?dl=0
compiled MasterEffect and SweetFx :)
The following user(s) said Thank You: Kurrine

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

  • paxton676
  • Topic Author
More
9 years 3 months ago - 9 years 3 months ago #7 by paxton676 Replied by paxton676 on topic SweetFX + MasterEffect , How?

Iddqd wrote: sutty73, here link: www.dropbox.com/s/9hafd55zptdei3m/ReShade.rar?dl=0
compiled MasterEffect and SweetFx :)

I love you :) Thank you :)



UPDATE: It doesn't work for me. If you toggle smaa from 0 to 1, you get Reshade errors and doesn't work.


C:\Program Files (x86)\Steam\steamapps\common\Wizardry8\SweetFX/Shaders/SMAA.hlsl(700, 12): error X3000: syntax error, unexpected floating point literal, expecting identifier or symbol name
C:\Program Files (x86)\Steam\steamapps\common\Wizardry8\SweetFX/Shaders/SMAA.hlsl(700, 12): error X3025: l-value specifies const object
C:\Program Files (x86)\Steam\steamapps\common\Wizardry8\SweetFX/Shaders/SMAA.hlsl(759, 12): error X3000: syntax error, unexpected floating point literal, expecting identifier or symbol name
C:\Program Files (x86)\Steam\steamapps\common\Wizardry8\SweetFX/Shaders/SMAA.hlsl(759, 12): error X3025: l-value specifies const object
C:\Program Files (x86)\Steam\steamapps\common\Wizardry8\SweetFX/Shaders/SMAA.hlsl(1001, 12): error X3000: syntax error, unexpected floating point literal, expecting identifier or symbol name
C:\Program Files (x86)\Steam\steamapps\common\Wizardry8\SweetFX/Shaders/SMAA.hlsl(1001, 12): error X3025: l-value specifies const object
C:\Program Files (x86)\Steam\steamapps\common\Wizardry8\SweetFX/Shaders/SMAA.hlsl(1005, 5): error X3025: l-value specifies const object
C:\Program Files (x86)\Steam\steamapps\common\Wizardry8\SweetFX/Shaders/SMAA.hlsl(1010, 5): error X3025: l-value specifies const object

compilation failed with 8 errors.
Last edit: 9 years 3 months ago by paxton676.

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

  • SunBroDave
More
9 years 3 months ago #8 by SunBroDave Replied by SunBroDave on topic SweetFX + MasterEffect , How?
Simply paste this SweetFX_settings.txt over the one currently in your SweetFX folder
www.mediafire.com/?qre4y5leelo9wje

and then add the following line to ReShade.fx:
#include "Sweet.fx"
The following user(s) said Thank You: Kurrine

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

  • Kurrine
More
9 years 3 months ago #9 by Kurrine Replied by Kurrine on topic SweetFX + MasterEffect , How?
Okay that did fix the other error, but now I have this happening for whatever reason:
Z:\Games\Firestorm-Releasex64\SweetFX/ReShade_settings.txt(9, 14): error X3003: redefinition of 'depthtoggle'

compilation failed with 1 errors.

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

  • SunBroDave
More
9 years 3 months ago #10 by SunBroDave Replied by SunBroDave on topic SweetFX + MasterEffect , How?
Haven't looked at it since last week but I remember that there was actually one more effect I think that I forgot to take out of sweetfx. Open up sweetfx settings, find whichever effect is included in master effect and then erase it from sweetfx settings

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

  • matsilagi
More
9 years 2 months ago - 9 years 2 months ago #11 by matsilagi Replied by matsilagi on topic SweetFX + MasterEffect , How?
Here's a fix i did.
Removed the depthtoggle and the Vignette since it was conflicting.

Also, Advanced CRT is broken, crosire needs to fix this (Standalone too).

puu.sh/eMuoj/979b459736.txt (SweetFX_Settings.txt)
puu.sh/eKarv/a0ac4e4089.fx (Sweet.fx)

UPDATE: Also removed FXAA.
Last edit: 9 years 2 months ago by matsilagi.
The following user(s) said Thank You: ICO_hr, SAM609

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

  • paxton676
  • Topic Author
More
9 years 2 months ago - 9 years 2 months ago #12 by paxton676 Replied by paxton676 on topic SweetFX + MasterEffect , How?

matsilagi wrote: Here's a fix i did.
Removed the depthtoggle and the Vignette since it was conflicting.

Also, Advanced CRT is broken, crosire needs to fix this (Standalone too).

puu.sh/eKan5/9ca8a14fe6.txt (SweetFX_Settings.txt)
puu.sh/eKarv/a0ac4e4089.fx (Sweet.fx)


Thank you. Can you fix my issue here? reshade.me/forum/shader-troubleshooting/...lack-with-shaders-on

My screen goes black with shaders toggled on , on some OPENGL games. Also, the issue remains with your sweet.fx file. The issue happens even with all effects toggled to 0(off). I can toggle the sweetfx off/on in game and it will be normal(off) black screen(on).

308 reborn works fine. I just want the sweetFX to add SMAA. Any chance you could make a Reborn MasterEffect version with SMAA? Just don't update it in a way that breaks my games like the newer MasterEffect versions and SweetFX. :)
Last edit: 9 years 2 months ago by paxton676.

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

  • SiriusHours
More
9 years 2 months ago #13 by SiriusHours Replied by SiriusHours on topic SweetFX + MasterEffect , How?
This worked fine for me on GTAIV, just cant update to the latest MER. no magic DOF or new stuff.

cheers!

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

  • paxton676
  • Topic Author
More
9 years 2 months ago #14 by paxton676 Replied by paxton676 on topic SweetFX + MasterEffect , How?
For me, the black screen issues with sweetfx and newer mastereffect are fixed with the latest Reshade.

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

  • brussell
More
9 years 2 months ago #15 by brussell Replied by brussell on topic SweetFX + MasterEffect , How?
Basically this method works, but two of the ME effects, bloom and Lensdirt, lead to this error (with only SMAA enabled):
Shader@0x0A70B2C8(454,11): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s16 failed

@Crosire & Co: How do you think about the possibilty to incorporate an extra proxy dll, like this enbdev.com/doc_proxy_en.htm , So we are able to use 3rd party dlls, like SMAA? Is this feasible or reasonable?

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

  • SpinelessJelly
More
9 years 2 months ago #16 by SpinelessJelly Replied by SpinelessJelly on topic SweetFX + MasterEffect , How?

brussell wrote: Basically this method works, but two of the ME effects, bloom and Lensdirt, lead to this error (with only SMAA enabled):

Shader@0x0A70B2C8(454,11): error X4509: maximum sampler register index exceeded, target has 16 slots, manual bind to slot s16 failed


Yes, I get the exact same message when trying to use both SweetFX and ME with Serious Sam 3. That was with Lensdirt on, haven't tried Bloom yet.

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

  • crosire
More
9 years 2 months ago - 9 years 2 months ago #17 by crosire Replied by crosire on topic SweetFX + MasterEffect , How?
ReShade's hooking system is far more complex compared to other wrappers. It's why you can inject ReShade with an external injector tool, but also use it as a wrapper or load it into the game with any other mode (like for Unity3D, where you can always name it "opengl32.dll", even if it actually uses Direct3D). This makes implementing such a chaining way more complicated. Most simple wrappers have such an option though, so you can simply put ReShade to the end of the chain and be done. =)

The maximum sampler error is self explanatory. Direct3D allows 16 samplers, not more. Now if you combine this many effects, where each (especially MasterEffect) use a ton of samplers, that limit is exceeded farily quickly. Nothing can be done about it, other than reducing the amount of effects used (or in case of MasterEffect, rewriting it a bit to use them more efficiently, which is currently done).
Last edit: 9 years 2 months ago by crosire.
The following user(s) said Thank You: brussell

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

  • Ganossa
More
9 years 2 months ago - 8 years 5 months ago #18 by Ganossa Replied by Ganossa on topic SweetFX + MasterEffect , How?
We discussed a framework that will combine distinct effects inherently::
read it up here
Last edit: 8 years 5 months ago by crosire. Reason: Fixed link

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.