Error x3000, x3004 DotA 2
- keegz
- Topic Author
Less
More
When i launch dota, it says loading effect and then these two errors in the upper left corner:
E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\Sweet.fx(236, 35): error X3004: undeclared identifier 'ReShade_Start_Enabled'
E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\Sweet.fx(236, 56): error X3000: syntax error: unexpected ';', expected '{'
I really have no idea whats causing this but heres what the d3d9.log says when i open it:
08/02/2016 19:44:24:741 [00668] | INFO | Initializing crosire's ReShade version '1.1.0.963' built on '2015-11-07 11:58:17' loaded from "E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\d3d9.dll" to "E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" ...
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d8.dll" ...
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d9.dll" ...
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d10.dll" ...
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d10_1.dll" ...
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d11.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d12.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\dxgi.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\opengl32.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\user32.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Libraries loaded.
08/02/2016 19:44:24:817 [00668] | INFO | > Found 5 match(es). Installing ...
08/02/2016 19:44:24:899 [00668] | INFO | > Installed 5 hook(s).
08/02/2016 19:44:24:899 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\ws2_32.dll" ...
08/02/2016 19:44:24:899 [00668] | INFO | > Libraries loaded.
08/02/2016 19:44:24:901 [00668] | INFO | > Found 8 match(es). Installing ...
08/02/2016 19:44:25:033 [00668] | INFO | > Installed 8 hook(s).
08/02/2016 19:44:25:033 [00668] | INFO | Initialized.
08/02/2016 19:44:25:093 [00668] | INFO | Redirecting 'Direct3DCreate9Ex(32, 0000005452FFD938)' ...
08/02/2016 19:44:25:097 [00668] | INFO | Installing delayed hooks for "C:\WINDOWS\system32\d3d9.dll" ...
08/02/2016 19:44:25:097 [00668] | INFO | > Found 9 match(es). Installing ...
08/02/2016 19:44:25:097 [00668] | INFO | > Installed 9 hook(s).
08/02/2016 19:44:25:121 [00668] | INFO | Installing delayed hooks for "C:\WINDOWS\system32\dxgi.dll" (Just loaded via 'LoadLibraryW("C:\WINDOWS\system32\nvapi64.dll")') ...
08/02/2016 19:44:25:122 [00668] | INFO | > Found 7 match(es). Installing ...
08/02/2016 19:44:25:246 [00668] | INFO | > Installed 7 hook(s).
08/02/2016 19:44:25:256 [00668] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0000005452FFD140)' ...
08/02/2016 19:44:25:291 [00668] | INFO | Redirecting 'IDirect3D9::CreateDevice(000000546B011B20, 0, 1, 0000000000600622, 0x56, 00007FFA705AC958, 0000005452FFD470)' ...
08/02/2016 19:44:25:733 [00668] | INFO | Recreated runtime environment on runtime 000000546B1850C0.
08/02/2016 19:44:26:084 [00668] | INFO | Redirecting 'RegisterClassA(00007FFA73A97CF0)' ...
08/02/2016 19:44:26:084 [00668] | INFO | > Adding 'CS_OWNDC' window class style flag to 'Surface'.
08/02/2016 19:44:34:756 [00564] | INFO | Loading effect from "E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\ReShade.fx" ...
08/02/2016 19:44:35:462 [00564] | ERROR | Failed to compile effect on context 000000546B1850C0:
E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\Sweet.fx(236, 35): error X3004: undeclared identifier 'ReShade_Start_Enabled'
E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\Sweet.fx(236, 56): error X3000: syntax error: unexpected ';', expected '{'
Any help would be greatly appreciated as it is quite annoying and won't even go away off the screen.
E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\Sweet.fx(236, 35): error X3004: undeclared identifier 'ReShade_Start_Enabled'
E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\Sweet.fx(236, 56): error X3000: syntax error: unexpected ';', expected '{'
I really have no idea whats causing this but heres what the d3d9.log says when i open it:
08/02/2016 19:44:24:741 [00668] | INFO | Initializing crosire's ReShade version '1.1.0.963' built on '2015-11-07 11:58:17' loaded from "E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\d3d9.dll" to "E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\dota2.exe" ...
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d8.dll" ...
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d9.dll" ...
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d10.dll" ...
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d10_1.dll" ...
08/02/2016 19:44:24:807 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:807 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d11.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\d3d12.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\dxgi.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\opengl32.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Delayed.
08/02/2016 19:44:24:808 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\user32.dll" ...
08/02/2016 19:44:24:808 [00668] | INFO | > Libraries loaded.
08/02/2016 19:44:24:817 [00668] | INFO | > Found 5 match(es). Installing ...
08/02/2016 19:44:24:899 [00668] | INFO | > Installed 5 hook(s).
08/02/2016 19:44:24:899 [00668] | INFO | Registering hooks for "C:\WINDOWS\system32\ws2_32.dll" ...
08/02/2016 19:44:24:899 [00668] | INFO | > Libraries loaded.
08/02/2016 19:44:24:901 [00668] | INFO | > Found 8 match(es). Installing ...
08/02/2016 19:44:25:033 [00668] | INFO | > Installed 8 hook(s).
08/02/2016 19:44:25:033 [00668] | INFO | Initialized.
08/02/2016 19:44:25:093 [00668] | INFO | Redirecting 'Direct3DCreate9Ex(32, 0000005452FFD938)' ...
08/02/2016 19:44:25:097 [00668] | INFO | Installing delayed hooks for "C:\WINDOWS\system32\d3d9.dll" ...
08/02/2016 19:44:25:097 [00668] | INFO | > Found 9 match(es). Installing ...
08/02/2016 19:44:25:097 [00668] | INFO | > Installed 9 hook(s).
08/02/2016 19:44:25:121 [00668] | INFO | Installing delayed hooks for "C:\WINDOWS\system32\dxgi.dll" (Just loaded via 'LoadLibraryW("C:\WINDOWS\system32\nvapi64.dll")') ...
08/02/2016 19:44:25:122 [00668] | INFO | > Found 7 match(es). Installing ...
08/02/2016 19:44:25:246 [00668] | INFO | > Installed 7 hook(s).
08/02/2016 19:44:25:256 [00668] | INFO | Redirecting 'CreateDXGIFactory1({7B7166EC-21C7-44AE-B21A-C9AE321AE369}, 0000005452FFD140)' ...
08/02/2016 19:44:25:291 [00668] | INFO | Redirecting 'IDirect3D9::CreateDevice(000000546B011B20, 0, 1, 0000000000600622, 0x56, 00007FFA705AC958, 0000005452FFD470)' ...
08/02/2016 19:44:25:733 [00668] | INFO | Recreated runtime environment on runtime 000000546B1850C0.
08/02/2016 19:44:26:084 [00668] | INFO | Redirecting 'RegisterClassA(00007FFA73A97CF0)' ...
08/02/2016 19:44:26:084 [00668] | INFO | > Adding 'CS_OWNDC' window class style flag to 'Surface'.
08/02/2016 19:44:34:756 [00564] | INFO | Loading effect from "E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\ReShade.fx" ...
08/02/2016 19:44:35:462 [00564] | ERROR | Failed to compile effect on context 000000546B1850C0:
E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\Sweet.fx(236, 35): error X3004: undeclared identifier 'ReShade_Start_Enabled'
E:\Program Files (x86)\Steam\steamapps\common\dota 2 beta\game\bin\win64\Sweet.fx(236, 56): error X3000: syntax error: unexpected ';', expected '{'
Any help would be greatly appreciated as it is quite annoying and won't even go away off the screen.
Please Log in or Create an account to join the conversation.
- SpinelessJelly
Less
More
8 years 2 months ago #2
by SpinelessJelly
Replied by SpinelessJelly on topic Error x3000, x3004 DotA 2
My guess is that you are using someone else's preset, right? You should ask the config's author about it as he/she probably made a syntax error when editing the files. Or you could open the Sweet.fx file yourself (preferably with Notepad++, which lets you find the lines easily) and check line 236, characters 35 and 56 (that's what those numbers on the error message mean) and try to figure out what's wrong with it.
The following user(s) said Thank You: keegz
Please Log in or Create an account to join the conversation.
- keegz
- Topic Author
Less
More
8 years 2 months ago - 8 years 2 months ago #3
by keegz
Replied by keegz on topic Error x3000, x3004 DotA 2
Okay, I did what you said and fixed the x3000 error, however i still don't know how to fix the undeclared identifier (x3004). This is the line of text that needs fixing
technique SweetFX <bool enabled = ReShade_Start_Enabled{ int toggle = ReShade_ToggleKey; >
When loading into dota 2, it says its 'ReShade_Start_Enabled' is the undeclared identifier.
technique SweetFX <bool enabled = ReShade_Start_Enabled{ int toggle = ReShade_ToggleKey; >
When loading into dota 2, it says its 'ReShade_Start_Enabled' is the undeclared identifier.
Last edit: 8 years 2 months ago by keegz.
Please Log in or Create an account to join the conversation.
- SpinelessJelly
Less
More
8 years 2 months ago - 8 years 2 months ago #4
by SpinelessJelly
Replied by SpinelessJelly on topic Error x3000, x3004 DotA 2
Here's the same line from the original Reshade 1.0 with SweetFX 2.0 archiveSomehow a curly brace took the place of a semicolon. Replace that and you should be fine.
technique SweetFX <bool enabled = ReShade_Start_Enabled; int toggle = ReShade_ToggleKey; >
Last edit: 8 years 2 months ago by SpinelessJelly.
Please Log in or Create an account to join the conversation.
- keegz
- Topic Author
Less
More
Yeah haha, I changed it lols. Thats how i fixed the first error, the problem i'm now having is with the undeclared identifier, or Reshade_Start_Enabled.
Please Log in or Create an account to join the conversation.
- SpinelessJelly
Less
More
8 years 2 months ago #6
by SpinelessJelly
Replied by SpinelessJelly on topic Error x3000, x3004 DotA 2
Evidently there's an error somewhere else in the files. What I would do is backup this preset, redownload and install the original archive from the Home page (it's the SweetFX 2.0 button at the very bottom), and overwrite only the sweetfx_settings.txt file with the one from your current config.
Please Log in or Create an account to join the conversation.