Welcome, Guest.
Username: Password: Remember me

TOPIC: [SOLVED] The Vanishing of Ethan Carter - syntax error

The Vanishing of Ethan Carter - syntax error 1 year 1 month ago #1

hello everyone i have been using ReShade + SweetFX 2.0 for quite a time but this is the first time i have encountered an error. the thing is preset is for sweetfx 1.5.1. but i have used many 1.5.1 preset with sweetfx 2.0 but never got any error. i have searched forum about this issue and came to know that the preset might be in UTF-8 encoding is the cause of error. but i tried to change it to ANSI with notepad++ but still got the same error so plz help me figure out what is wrong here.

im getting this error - C:\Program Files (x86)\The Vanishing of Ethan Carter\Binaries\Win64\SweetFX/SweetFX_settings.txt(22, 1): error X3000: syntax error: unexpected 'identifier'

full log -
Warning: Spoiler! [ Click to expand ]
Last Edit: 1 year 1 month ago by ssjgoku4.
The administrator has disabled public write access.

The Vanishing of Ethan Carter - syntax error 1 year 1 month ago #2

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2453
  • Thank you received: 1393
Preset is corrupt, the error message says it all. There is a word in line 22 which is not part of the source code and is not supposed to be there. I'm guessing the creator forgot to put it into a comment.
Cheers, crosire =)
The administrator has disabled public write access.

The Vanishing of Ethan Carter - syntax error 1 year 1 month ago #3

crosire wrote:
Preset is corrupt, the error message says it all. There is a word in line 22 which is not part of the source code and is not supposed to be there. I'm guessing the creator forgot to put it into a comment.

if u can repair this preset i will really appreciate ur help
The administrator has disabled public write access.

The Vanishing of Ethan Carter - syntax error 1 year 1 month ago #4

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2453
  • Thank you received: 1393
Hardly, without knowing which preset you are trying to use.
Cheers, crosire =)
The administrator has disabled public write access.

The Vanishing of Ethan Carter - syntax error 1 year 1 month ago #5

crosire wrote:
Hardly, without knowing which preset you are trying to use.
here is the preset link -

sfx.thelazy.net/games/preset/2164/
The administrator has disabled public write access.

The Vanishing of Ethan Carter - syntax error 1 year 1 month ago #6

  • crosire
  • crosire's Avatar
  • Offline
  • Posts: 2453
  • Thank you received: 1393
A lot is wrong with that preset. Seems like something messed up the line breaks. All the lines that don't start with "#define", "//" or are between "/*" and "*/" are wrong. Meaning, delete line 22, line 31, line 34, line 40, line 45, line 48, line 51, line 62, line 67, line 101, line 110, line 245, line 248, line 263, line 266, line 286 and line 305 (or comment them out with a "//" in front). I hope I didn't miss one, but you should get the idea.
Cheers, crosire =)
The administrator has disabled public write access.
The following user(s) said Thank You: ssjgoku4

The Vanishing of Ethan Carter - syntax error 1 year 1 month ago #7

crosire wrote:
A lot is wrong with that preset. Seems like something messed up the line breaks. All the lines that don't start with "#define", "//" or are between "/*" and "*/" are wrong. Meaning, delete line 22, line 31, line 34, line 40, line 45, line 48, line 51, line 62, line 67, line 101, line 110, line 245, line 248, line 263, line 266, line 286 and line 305 (or comment them out with a "//" in front). I hope I didn't miss one, but you should get the idea.

thanks man that really fixed the problem now the preset is working fine.
The administrator has disabled public write access.