Disable Effect Runtime Sync with another addon

  • LonelyViper
  • Topic Author
More
1 month 1 week ago #1 by LonelyViper Disable Effect Runtime Sync with another addon was created by LonelyViper
Hey so Ive made two addons which can enable or disable effects.

What im wondering now is whether I can also enable or disable effect runtime sync via API? I cant see any documentation to suggest I can, so any help is appreciated.

Alternatively, I wonder if I can modify the VR runtime only via api?

Thanks!

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

  • LonelyViper
  • Topic Author
More
1 month 1 week ago #2 by LonelyViper Replied by LonelyViper on topic Disable Effect Runtime Sync with another addon
Quick update. I think I want to try using the api to set effects on/off to specific runtimes. So effect active in VR but not desktop. Looks like the API wont facilitate that?

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

  • crosire
More
1 month 1 week ago #3 by crosire Replied by crosire on topic Disable Effect Runtime Sync with another addon
It sure does, each runtime is its own instance of `reshade::api::effect_runtime` that you can control separately. Just need to figure out which one is the one for desktop, and which one is the one in VR (which for instance `effect_runtime::get_hwnd()` can help with, considering that the instance in VR won't be associated with a window and thus return nullptr, as opposed to the desktop one).

To disable an add-on you could just add it to the `[ADDON] DisabledAddons=...` config option via `reshade::get_config_value()` and `reshade_set_config_value()` (and then ask for a restart of the game).

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

  • LonelyViper
  • Topic Author
More
1 month 1 week ago #4 by LonelyViper Replied by LonelyViper on topic Disable Effect Runtime Sync with another addon
Thanks! Currently trying to figure out why reshade doesnt appear in steamvr - i cant detect the runtime! Even the Effect Runtime Sync has no effect.

Currently on 6.5 and targetted to vrmonitor.exe - steamvr root folder. DX 10/11/12 API.

If I install openvr onto vrmonitor.exe reshade stops loading. VRcompositor.exe same results.

I wonder if it was the recent steamvr update? I had access to it before in the base steamvr...or at the very leasy effect runtime sync worked.

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

  • crosire
More
1 month 1 week ago #5 by crosire Replied by crosire on topic Disable Effect Runtime Sync with another addon
Don't install to the compositor, install to the game you want to run in VR.

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

  • LonelyViper
  • Topic Author
More
1 month 1 week ago #6 by LonelyViper Replied by LonelyViper on topic Disable Effect Runtime Sync with another addon
Yeah i figured, but Im certain the games anticheat (EAC) would trigger.

Ive built a websocket addon that links in with streamerbot - should i post it to the forum?

PS ty for the help!

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.