Shader Reload - automatic not working

  • jmp909
  • Topic Author
More
9 years 1 month ago - 9 years 1 month ago #1 by jmp909 Shader Reload (key?) - automatic not working was created by jmp909
Hi,

I thought I read that ReShade will reload shaders if it detects a change, but I'm not sure if MasterEffect is doing that (perhaps because I am changing the .h file not the ReShade.fx file?)

a reload key would actually be great, but i guess not necessary if the above worked

unless I have missed something?

(currently I'm running Binary Domain in fullscreen mode. ALT-ESC/ALT-TAB etc will reload the shaders when going back to the game, but it keeps crashing. In Windowed mode I can jump out of the game to edit my files without crashing, but the shaders don't reload when I focus back to it)

thanks
J.
Last edit: 9 years 1 month ago by jmp909. Reason: changed topic

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

  • BrandonHortman
More
9 years 1 month ago #2 by BrandonHortman Replied by BrandonHortman on topic Shader Reload (key or automatic)
When you save the Master effect.h file it will update the game immediately, you will know this because it will say " Reshade version blah blah Compiling effects...... succeeded"

It should say this as soon as you start the game.

Also make sure you go into your ReShade.FX and search for TOGGLE. You should find < Bool enabled=1; int toggle = 0x20; >

I can't remember if its 0x20 right now, but that is the key code for space bar. You can look up a list of key codes or change it to 0x91 ( for scroll lock) This will toggle all effects on or off in game =D

There is no need for a reload key though, as it automatically updates and give confirmation of update.

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

  • jmp909
  • Topic Author
More
9 years 1 month ago - 9 years 1 month ago #3 by jmp909 Replied by jmp909 on topic Shader Reload (key or automatic)
it does reload for Google Earth after changing effect value (actually when I then resize the window), it doesn't work for Binary Domain.

I can only get Binary Domain to reload effects when running in fullscreen and then alt+tabbing out and back, but this generally makes it crash
Last edit: 9 years 1 month ago by jmp909.

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

  • crosire
More
9 years 4 weeks ago #4 by crosire Replied by crosire on topic Shader Reload (key or automatic)
Does the log say anything about "Detected modification to .... Reloading ..."?

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

  • jmp909
  • Topic Author
More
9 years 4 weeks ago - 9 years 4 weeks ago #5 by jmp909 Replied by jmp909 on topic Shader Reload (key or automatic)
no,

in Fullscreen mode then alt-tabbing and back, it just adds this each time (which does reload effects, but this is what's also crashing if i alt-tab out of the game sometimes.. mostly if effects are turned on when i tab out)
19/03/2015 15:40:33,646 [4256] | INFO  | Redirecting 'IDirect3DDevice9::Reset(14401468, 0018F6A0)' ...
19/03/2015 15:40:33,646 [4256] | INFO  | Destroyed effect environment on runtime 1335DEF8.
19/03/2015 15:40:34,596 [4256] | INFO  | Recreated effect environment on runtime 1335DEF8.
19/03/2015 15:40:34,668 [4256] | INFO  | Loading effect from "G:\Games\SteamLibrary\steamapps\common\Binary Domain\ReShade.fx" ...
19/03/2015 15:40:35,665 [4256] | INFO  | > Successfully compiled effect.
19/03/2015 15:40:35,715 [4256] | INFO  | > Resizing image data for texture 'texNoise' from 1920x1080 to 2560x1440 ...
19/03/2015 15:40:35,916 [4256] | INFO  | > Resizing image data for texture 'texSprite' from 1920x1080 to 2560x1440 ...
19/03/2015 15:40:36,125 [4256] | INFO  | > Resizing image data for texture 'texDirt' from 1920x1080 to 2560x1440 ...
19/03/2015 15:40:36,270 [4256] | INFO  | > Resizing image data for texture 'texMask' from 1920x1080 to 2560x1440 ...

In windowed mode, no refresh events ever seem to get fired even if i ALT+ENTER to fullscreen mode and back. i''ve marked it in the text file below .. none of those events registered... I wonder if it's because when i jump out to my text editor, the game window essentially freezes, and thus isn't running anything that would process the trigger that the text file has changed? By the time the process restarts, maybe it's missed it? I'd have to try setting up an FTP to edit the file remotely so I don't need to leave the game process
19/03/2015 15:43:32,012 [17080] | INFO  | Initializing Crosire's ReShade version '0.15.0.716' built on '2015-02-27 19:48:01' loaded from "G:\Games\SteamLibrary\steamapps\common\Binary Domain\d3d9.dll" to "G:\Games\SteamLibrary\steamapps\common\Binary Domain\BinaryDomain.exe" ...
19/03/2015 15:43:32,036 [17080] | INFO  | Registering hooks for "C:\Windows\system32\d3d8.dll" ...
19/03/2015 15:43:32,036 [17080] | INFO  | > Delayed.
19/03/2015 15:43:32,036 [17080] | INFO  | Registering hooks for "C:\Windows\system32\d3d9.dll" ...
19/03/2015 15:43:32,036 [17080] | INFO  | > Delayed.
19/03/2015 15:43:32,036 [17080] | INFO  | Registering hooks for "C:\Windows\system32\d3d10.dll" ...
19/03/2015 15:43:32,036 [17080] | INFO  | > Delayed.
19/03/2015 15:43:32,036 [17080] | INFO  | Registering hooks for "C:\Windows\system32\d3d10_1.dll" ...
19/03/2015 15:43:32,036 [17080] | INFO  | > Delayed.
19/03/2015 15:43:32,036 [17080] | INFO  | Registering hooks for "C:\Windows\system32\d3d11.dll" ...
19/03/2015 15:43:32,036 [17080] | INFO  | > Delayed.
19/03/2015 15:43:32,037 [17080] | INFO  | Registering hooks for "C:\Windows\system32\dxgi.dll" ...
19/03/2015 15:43:32,037 [17080] | INFO  | > Delayed.
19/03/2015 15:43:32,037 [17080] | INFO  | Registering hooks for "C:\Windows\system32\opengl32.dll" ...
19/03/2015 15:43:32,037 [17080] | INFO  | > Delayed.
19/03/2015 15:43:32,037 [17080] | INFO  | Registering hooks for "C:\Windows\system32\user32.dll" ...
19/03/2015 15:43:32,037 [17080] | INFO  | > Libraries loaded.
19/03/2015 15:43:32,043 [17080] | INFO  | > Found 4 match(es). Installing ...
19/03/2015 15:43:32,085 [17080] | INFO  | > Installed 4 hook(s).
19/03/2015 15:43:32,085 [17080] | INFO  | Registering hooks for "C:\Windows\system32\ws2_32.dll" ...
19/03/2015 15:43:32,085 [17080] | INFO  | > Libraries loaded.
19/03/2015 15:43:32,087 [17080] | INFO  | > Found 8 match(es). Installing ...
19/03/2015 15:43:32,170 [17080] | INFO  | > Installed 8 hook(s).
19/03/2015 15:43:32,170 [17080] | INFO  | Initialized.
19/03/2015 15:43:32,170 [17080] | INFO  | Installing delayed hooks for "C:\Windows\system32\d3d9.dll" ...
19/03/2015 15:43:32,192 [17080] | INFO  | > Found 9 match(es). Installing ...
19/03/2015 15:43:32,192 [17080] | INFO  | > Installed 9 hook(s).
19/03/2015 15:43:32,194 [17080] | INFO  | Redirecting 'RegisterClassA(0018F790)' ...
19/03/2015 15:43:32,194 [17080] | INFO  | > Adding 'CS_OWNDC' window class style flag to 'Binary_Domain'.
19/03/2015 15:43:32,378 [17080] | INFO  | Redirecting 'Direct3DCreate9(32)' ...
19/03/2015 15:43:32,398 [17080] | INFO  | Redirecting 'IDirect3D9::CreateDevice(035AC9C0, 0, 1, 0025093E, 86, 0018F3B0, 02F79590)' ...
19/03/2015 15:43:32,411 [17080] | INFO  | Recreated effect environment on runtime 13F6F508.
19/03/2015 15:43:32,425 [17080] | INFO  | Loading effect from "G:\Games\SteamLibrary\steamapps\common\Binary Domain\ReShade.fx" ...
19/03/2015 15:43:33,796 [17080] | INFO  | > Successfully compiled effect.
19/03/2015 15:43:33,896 [17080] | INFO  | > Resizing image data for texture 'texNoise' from 1920x1080 to 1280x1024 ...
19/03/2015 15:43:34,021 [17080] | INFO  | > Resizing image data for texture 'texSprite' from 1920x1080 to 1280x1024 ...
19/03/2015 15:43:34,168 [17080] | INFO  | > Resizing image data for texture 'texDirt' from 1920x1080 to 1280x1024 ...
19/03/2015 15:43:34,255 [17080] | INFO  | > Resizing image data for texture 'texMask' from 1920x1080 to 1280x1024 ...
19/03/2015 15:43:37,379 [17080] | INFO  | Redirecting 'RegisterClassA(0018F5E0)' ...
19/03/2015 15:43:37,379 [17080] | INFO  | > Adding 'CS_OWNDC' window class style flag to 'INOCHI_W32_CONSOLE_FRAME'.
--- NO WINDOW EVENTS FIRED FROM HERE ---
--- MADE A FEW CHANGES AND SWAPPED IN AND OUT OF GAME A FEW TIMES HERE
--- THEN EXITED HERE ---
19/03/2015 15:45:30,061 [17080] | INFO  | Destroyed effect environment on runtime 13F6F508.
19/03/2015 15:45:30,117 [17080] | INFO  | Exiting ...
19/03/2015 15:45:30,117 [17080] | INFO  | Uninstalling 25 hook(s) ...
19/03/2015 15:45:30,271 [17080] | INFO  | Exited.
Last edit: 9 years 4 weeks ago by jmp909.

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.