AO x3000 error

More
6 years 8 months ago #1 by Arjac
AO x3000 error was created by Arjac
SSAO.h (621,52)

syntax error: unexpected ";", expected "{"

tried looking at the file in notepadd++ and converting to ANSI, but frankly I don't know what the hell I'm doing

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

More
6 years 8 months ago #2 by crosire
Replied by crosire on topic AO x3000 error
Probably a semicolon that made its way into one of your AO settings in the McFX config file, where it shouldn't be.

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

More
6 years 8 months ago - 6 years 8 months ago #3 by Arjac
Replied by Arjac on topic AO x3000 error
well, according to notepad, the .cfg file for McFX doesn't even have any semicolons in it.
I assumed the 621 and 52 referenced lines in the .H file, but
52. }
621. technique AO_Tech <bool enabled = RFX_Start_Enabled; int toggle = AO_ToggleKey;>

I tried removing both semicolons there, no effect

edit: ok, realized the version in the game directory wasn't in ANSI, did that, now I'm getting a different error :pinch:
well, still syntax error, just asking for a comma where Sampler2d is
edit2: and adding in the comma makes it say I need to replace Sampler2d with "identifier"
edit3: and for kicks I tried applying AO to a different game, same effect
Last edit: 6 years 8 months ago by Arjac.

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

More
6 years 8 months ago #4 by Arjac
Replied by Arjac on topic AO x3000 error
just checked with a friend who knows coding, he says that the syntax appears to check out

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

More
6 years 8 months ago #5 by Arjac
Replied by Arjac on topic AO x3000 error
And after I turned AO off and used Sin City filter as a test
and I got the same error, but for color correction instead

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

More
6 years 8 months ago #6 by crosire
Replied by crosire on topic AO x3000 error
Create a backup, remove everything and download a fresh copy of all files.

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

More
6 years 8 months ago - 6 years 8 months ago #7 by Arjac
Replied by Arjac on topic AO x3000 error
Don't know why, but that did it, thanks crosire!
Now I just need to become competant with... well all the shaders besides SweetFX :P
edit: so do I mark this as fixed or does a mod do that?
Last edit: 6 years 8 months ago by Arjac.

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

More
6 years 8 months ago #8 by crosire
Replied by crosire on topic AO x3000 error
Glad to hear =).

edit: so do I mark this as fixed or does a mod do that?

The latter.

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

More
6 years 8 months ago - 6 years 8 months ago #9 by Arjac
Replied by Arjac on topic AO x3000 error
and then I changed the setting to HBAO and it's borked again
well at least that narrows down the problem
edit: except no, I turned it back and it's still not working
Last edit: 6 years 8 months ago by Arjac.

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

More
6 years 8 months ago #10 by Arjac
Replied by Arjac on topic AO x3000 error
Ok, I reinstalled ReShade and applied everything including HBAO, it works.
I try to change to toggle key, it stops working.
THEREFORE, I cannot change a profile once it is installed.

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

More
6 years 8 months ago - 6 years 8 months ago #11 by Arjac
Replied by Arjac on topic AO x3000 error
and uninstalling/reinstalling just the profile doesn't help

seriously, what the fuck

edit: so yeah, unsolved
Last edit: 6 years 8 months ago by Arjac.

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

More
6 years 8 months ago #12 by crosire
Replied by crosire on topic AO x3000 error
Likely a bug with the mediator tool messing up the config files then. But I cannot help with those, I'm not maintaining that tool, just ReShade itself. =/

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