[SOLVED] The Vanishing of Ethan Carter - syntax error
- ssjgoku4
- Topic Author
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 -
01/11/2015 15:49:21:537 [09060] | INFO | Initializing Crosire's ReShade version '0.19.2.905' built on '2015-07-04 14:33:40' loaded from "C:\Program Files (x86)\The Vanishing of Ethan Carter\Binaries\Win64\d3d9.dll" to "C:\Program Files (x86)\The Vanishing of Ethan Carter\Binaries\Win64\AstronautsGame-Win64-Shipping.exe" ...
01/11/2015 15:49:21:568 [09060] | INFO | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
01/11/2015 15:49:21:568 [09060] | INFO | > Delayed.
01/11/2015 15:49:21:568 [09060] | INFO | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
01/11/2015 15:49:21:568 [09060] | INFO | > Delayed.
01/11/2015 15:49:21:568 [09060] | INFO | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
01/11/2015 15:49:21:568 [09060] | INFO | > Delayed.
01/11/2015 15:49:21:568 [09060] | INFO | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
01/11/2015 15:49:21:568 [09060] | INFO | > Delayed.
01/11/2015 15:49:21:568 [09060] | INFO | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
01/11/2015 15:49:21:568 [09060] | INFO | > Delayed.
01/11/2015 15:49:21:568 [09060] | INFO | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
01/11/2015 15:49:21:568 [09060] | INFO | > Delayed.
01/11/2015 15:49:21:568 [09060] | INFO | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
01/11/2015 15:49:21:568 [09060] | INFO | > Delayed.
01/11/2015 15:49:21:568 [09060] | INFO | Registering hooks for "C:\Windows\system32\user32.dll" ...
01/11/2015 15:49:21:568 [09060] | INFO | > Libraries loaded.
01/11/2015 15:49:21:584 [09060] | INFO | > Found 5 match(es). Installing ...
01/11/2015 15:49:21:615 [09060] | INFO | > Installed 5 hook(s).
01/11/2015 15:49:21:615 [09060] | INFO | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
01/11/2015 15:49:21:615 [09060] | INFO | > Libraries loaded.
01/11/2015 15:49:21:615 [09060] | INFO | > Found 8 match(es). Installing ...
01/11/2015 15:49:21:678 [09060] | INFO | > Installed 8 hook(s).
01/11/2015 15:49:21:678 [09060] | INFO | Initialized.
01/11/2015 15:49:22:171 [09060] | INFO | Installing delayed hooks for "C:\Windows\system32\d3d9.dll" ...
01/11/2015 15:49:22:171 [09060] | INFO | > Found 9 match(es). Installing ...
01/11/2015 15:49:22:171 [09060] | INFO | > Installed 9 hook(s).
01/11/2015 15:49:22:177 [09060] | INFO | Installing delayed hooks for "C:\Windows\system32\dxgi.dll" (Just loaded via 'LoadLibraryA("dxgi.dll")') ...
01/11/2015 15:49:22:177 [09060] | INFO | > Found 7 match(es). Installing ...
01/11/2015 15:49:22:208 [09060] | ERROR | Failed to install hook for '0x00007FFDD438F1C0' with status code 3.
01/11/2015 15:49:22:215 [09060] | ERROR | Failed to install hook for '0x00007FFDD438F1C0' with status code 3.
01/11/2015 15:49:22:215 [09060] | INFO | > Installed 5 hook(s).
01/11/2015 15:49:22:215 [09060] | INFO | Redirecting 'CreateDXGIFactory({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0000000000B4F3F8)' ...
01/11/2015 15:49:22:218 [09060] | INFO | Installing delayed hooks for "C:\Windows\system32\d3d11.dll" (Just loaded via 'LoadLibraryA("d3d11.dll")') ...
01/11/2015 15:49:22:218 [09060] | INFO | > Found 2 match(es). Installing ...
01/11/2015 15:49:22:233 [09060] | INFO | > Installed 2 hook(s).
01/11/2015 15:49:22:233 [09060] | INFO | Redirecting 'D3D11CreateDevice(0000000000BE2A60, 0, 0000000000000000, 0x1, 0000000000B4F0D0, 1, 7, 0000000000B4F0E0, 0000000000B4F3E8, 0000000000B4F0D8)' ...
01/11/2015 15:49:22:233 [09060] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
01/11/2015 15:49:22:233 [09060] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(0000000000BE2A60, 0, 0000000000000000, 0x1, 0000000000B4F0D0, 1, 7, 0000000000000000, 0000000000000000, 0000000000B4F0E0, 0000000000B4F3E8, 0000000000B4F0D8)' ...
01/11/2015 15:49:22:839 [09060] | WARN | Reference count for 'IDXGIDevice' object 00000000080BE3B0 is inconsistent: 2 vs 0.
01/11/2015 15:49:22:839 [09060] | WARN | Reference count for 'ID3D11Device' object 00000000080B80B0 is inconsistent: 1 vs 0.
01/11/2015 15:49:22:849 [09060] | INFO | Redirecting 'D3D11CreateDevice(0000000000B957A0, 0, 0000000000000000, 0x1, 0000000000B4F0D0, 1, 7, 0000000000B4F0E0, 0000000000B4F3E8, 0000000000B4F0D8)' ...
01/11/2015 15:49:22:850 [09060] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
01/11/2015 15:49:22:850 [09060] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(0000000000B957A0, 0, 0000000000000000, 0x1, 0000000000B4F0D0, 1, 7, 0000000000000000, 0000000000000000, 0000000000B4F0E0, 0000000000B4F3E8, 0000000000B4F0D8)' ...
01/11/2015 15:49:22:854 [09060] | WARN | Reference count for 'IDXGIDevice' object 0000000000BCD500 is inconsistent: 2 vs 0.
01/11/2015 15:49:22:854 [09060] | WARN | Reference count for 'ID3D11Device' object 0000000000BDEF80 is inconsistent: 1 vs 0.
01/11/2015 15:49:22:857 [09060] | INFO | Redirecting 'D3D11CreateDevice(0000000000B957A0, 0, 0000000000000000, 0x1, 0000000000B4F0D0, 1, 7, 0000000000B4F0E0, 0000000000B4F3E8, 0000000000B4F0D8)' ...
01/11/2015 15:49:22:857 [09060] | INFO | > Passing on to 'D3D11CreateDeviceAndSwapChain':
01/11/2015 15:49:22:857 [09060] | INFO | Redirecting 'D3D11CreateDeviceAndSwapChain(0000000000B957A0, 0, 0000000000000000, 0x1, 0000000000B4F0D0, 1, 7, 0000000000000000, 0000000000000000, 0000000000B4F0E0, 0000000000B4F3E8, 0000000000B4F0D8)' ...
01/11/2015 15:49:22:858 [09060] | WARN | Reference count for 'IDXGIDevice' object 000000000808B1F0 is inconsistent: 2 vs 0.
01/11/2015 15:49:22:858 [09060] | WARN | Reference count for 'ID3D11Device' object 0000000000BDEF20 is inconsistent: 1 vs 0.
01/11/2015 15:49:22:861 [09060] | INFO | Redirecting 'Direct3DCreate9(32)' ...
01/11/2015 15:49:22:896 [09060] | INFO | Redirecting 'RegisterClassExW(0000000000B4F3A0)' ...
01/11/2015 15:49:22:911 [09716] | INFO | Redirecting 'RegisterClassW(000000000D5BFC80)' ...
01/11/2015 15:49:22:911 [09716] | INFO | > Adding 'CS_OWNDC' window class style flag to 'SplashScreenClass'.
01/11/2015 15:49:24:220 [09060] | INFO | Redirecting 'IDirect3D9::CreateDevice(00000000080AA160, 0, 1, 00000000041A0326, 0x142, 0000000000B4CC40, 00007FF67F7F0074)' ...
01/11/2015 15:49:24:331 [09060] | INFO | Recreated effect environment on runtime 000000000F74B6A0.
01/11/2015 15:49:25:605 [09060] | INFO | Redirecting 'RegisterRawInputDevices(00007FFDCBF11A30, 1, 16)' ...
01/11/2015 15:49:26:339 [00684] | INFO | Loading effect from "C:\Program Files (x86)\The Vanishing of Ethan Carter\Binaries\Win64\ReShade.fx" ...
01/11/2015 15:49:26:374 [00684] | ERROR | Failed to compile effect on context 000000000F74B6A0:
C:\Program Files (x86)\The Vanishing of Ethan Carter\Binaries\Win64\SweetFX/SweetFX_settings.txt(22, 1): error X3000: syntax error: unexpected 'identifier'
01/11/2015 15:49:33:682 [09060] | INFO | Redirecting 'RegisterRawInputDevices(00007FFDCBF11A10, 1, 16)' ...
01/11/2015 15:49:35:263 [09060] | INFO | Redirecting 'RegisterRawInputDevices(00007FFDCBF11A30, 1, 16)' ...
01/11/2015 15:49:35:287 [09060] | INFO | Redirecting 'IDirect3DDevice9::Reset(000000000F748260, 0000000000B4F350)' ...
01/11/2015 15:49:35:801 [09060] | INFO | Recreated effect environment on runtime 000000000F74B6A0.
01/11/2015 15:49:36:454 [08624] | INFO | Loading effect from "C:\Program Files (x86)\The Vanishing of Ethan Carter\Binaries\Win64\ReShade.fx" ...
01/11/2015 15:49:36:501 [08624] | ERROR | Failed to compile effect on context 000000000F74B6A0:
C:\Program Files (x86)\The Vanishing of Ethan Carter\Binaries\Win64\SweetFX/SweetFX_settings.txt(22, 1): error X3000: syntax error: unexpected 'identifier'
01/11/2015 15:49:36:966 [09060] | INFO | Redirecting 'RegisterRawInputDevices(00007FFDCBF11A10, 1, 16)' ...
01/11/2015 15:49:38:738 [09060] | WARN | Reference count for 'IDirect3DDevice9' object 000000000F748260 is inconsistent: 185 vs 0.
01/11/2015 15:49:38:898 [09060] | INFO | Exiting ...
01/11/2015 15:49:38:898 [09060] | INFO | Uninstalling 38 hook(s) ...
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.
- ssjgoku4
- Topic Author
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
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.
- ssjgoku4
- Topic Author
here is the preset link -crosire wrote: Hardly, without knowing which preset you are trying to use.
sfx.thelazy.net/games/preset/2164/
Please Log in or Create an account to join the conversation.
- crosire
Please Log in or Create an account to join the conversation.
- ssjgoku4
- Topic Author
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.
Please Log in or Create an account to join the conversation.