fixed a bug in the flag which enables the overlay + added missing settings file + some refactoring

This commit is contained in:
otavepto 2024-04-20 19:28:50 +02:00
parent ed3d2cfc44
commit 3fab2f39b1
5 changed files with 4 additions and 10 deletions

View File

@ -24,10 +24,10 @@
in both cases, the tool will create a new folder `steam_settings` in the current directory with all the results of the conversion in both cases, the tool will create a new folder `steam_settings` in the current directory with all the results of the conversion
* **[breaking]** changed the environment variable `SteamAppPath` to `GseAppPath`, which is used to override the program path detected by the emu * **[breaking]** changed the environment variable `SteamAppPath` to `GseAppPath`, which is used to override the program path detected by the emu
* new option `add_steam_preowned_ids` in `configs.main.ini` which allows adding a lot of Steam builtin and preowned IDs to the DLC list, and the emu's list of installed apps * new option `add_steam_preowned_ids` in `configs.main.ini` which allows adding a lot of Steam builtin and preowned IDs to the DLC list, and the emu's list of installed apps
* added a workaround for Steam Input, set `disable_steamoverlaygameid_env_var=1` inside `configs.main.ini`, might not work though
* removed the limit on the amount of characters for local saves * removed the limit on the amount of characters for local saves
* allow specifying absolute paths for local saves * allow specifying absolute paths for local saves
* removed the warning for using `force_xxx.txt` files from the overlay, since it's no longer relevant, also removed the code which disables the user input when this warning was displayed * removed the warning for using `force_xxx.txt` files from the overlay, since it's no longer relevant, also removed the code which disables the user input when this warning was displayed
* added a workaroung for Steam Input, set `disable_steamoverlaygameid_env_var=1` inside `configs.main.ini`, might not work though
* increase run callbacks background thread polling time to `~200ms` * increase run callbacks background thread polling time to `~200ms`
* changed the overlay title to give proper credits to its author * changed the overlay title to give proper credits to its author
* set these env vars for a more accurate emulation: * set these env vars for a more accurate emulation:

View File

@ -1155,8 +1155,8 @@ static void parse_ip_country(class Settings *settings_client, class Settings *se
// overlay::general // overlay::general
static void parse_overlay_general_config(class Settings *settings_client, class Settings *settings_server) static void parse_overlay_general_config(class Settings *settings_client, class Settings *settings_server)
{ {
settings_client->disable_overlay = !ini.GetBoolValue("overlay::general", "enable_experimental_overlay", settings_client->disable_overlay); settings_client->disable_overlay = !ini.GetBoolValue("overlay::general", "enable_experimental_overlay", !settings_client->disable_overlay);
settings_server->disable_overlay = !ini.GetBoolValue("overlay::general", "enable_experimental_overlay", settings_server->disable_overlay); settings_server->disable_overlay = !ini.GetBoolValue("overlay::general", "enable_experimental_overlay", !settings_server->disable_overlay);
{ {
auto val = ini.GetLongValue("overlay::general", "hook_delay_sec", -1); auto val = ini.GetLongValue("overlay::general", "hook_delay_sec", -1);

View File

@ -388,7 +388,7 @@ Look for the column `API language code`
--- ---
## Auto accept game/lobby invites: ## Bypass overlay and auto accept game/lobby invites:
**Note: at the moment this feature is only enabled in the experimental builds** **Note: at the moment this feature is only enabled in the experimental builds**
--- ---

View File

@ -81,9 +81,3 @@ PosAchievement=top_right
PosInvitation=top_right PosInvitation=top_right
# position of chat messages # position of chat messages
PosChatMsg=top_right PosChatMsg=top_right
[overlay::auto_accept_invite]
accept_from_anyone=0
76561197960287930=1
76561197960271227=1
76561197960276863=1