decrease the default overlay hook delay to 3 sec

This commit is contained in:
otavepto 2024-03-07 23:00:19 +02:00 committed by otavepto
parent 827f8a472a
commit 0dd755df84
3 changed files with 4 additions and 4 deletions

View File

@ -275,7 +275,7 @@ public:
//overlay
bool disable_overlay = false;
int overlay_hook_delay_sec = 5;
int overlay_hook_delay_sec = 3;
bool disable_overlay_achievement_notification = false;
bool disable_overlay_friend_notification = false;
//warn people who use force_ settings

View File

@ -519,11 +519,11 @@ Also, match making servers will return the info of the server from the incoming
**Note: at the moment this feature is only enabled in the experimental builds**
---
By default the emu will wait `5 seconds` before attempting to start the overlay renderer detector, this allows some games to initialize properly, otherwise the detector may not detect the renderer (DirectX, OpenGL, etc...) and the overlay will not work (example game: `Have a Nice Death`).
By default the emu will wait `3 seconds` before attempting to start the overlay renderer detector, this allows some games to initialize properly, otherwise the detector may not detect the renderer (DirectX, OpenGL, etc...) and the overlay will not work (example game: `Have a Nice Death`).
You can control this delay via the configuration file `overlay_hook_delay_sec.txt`. It must contain only one line, specifying the amount of seconds to wait.
It is **NOT** recommended to remove this delay or setting it to 0, also negative values will be ignored.
The renderer detector will have a `10 second` timeout after initialization (not counting the delay), after that it will fail.
The renderer detector will have a `10 second` timeout after initialization (not including the delay), after that it will fail.
This avoids an infinite detection loop and a potential FPS drop on failure.
Check the example file in the `steam_settings` folder