updated changelog

This commit is contained in:
otavepto 2024-01-24 23:11:11 +02:00
parent 5ec61403f5
commit 5db4636cf1
3 changed files with 79 additions and 72 deletions

View File

@ -1,7 +1,7 @@
* added new options to the overlay to allow copying a friend's ID, plus current player ID
* added a new option to the overlay to invite all friends playing the same game
* addded new `auto_accept_invite.txt` setting to automatically accept game/lobby invites from this list, each SteamID64 on a separate line * addded new `auto_accept_invite.txt` setting to automatically accept game/lobby invites from this list, each SteamID64 on a separate line
also you can leave the file empty to accept invitations from anyone also you can leave the file empty to accept invitations from anyone, check the updated release readme
* fixed the condition of `warn_forced_setting`, previously it may be reset back to `false` accidentally
* deprecated `disable_overlay_warning.txt` in `steam_settings` folder in favor of new options/files
* added new `disable_overlay_warning_*.txt` settings to disable certain or all warnings in the overlay * added new `disable_overlay_warning_*.txt` settings to disable certain or all warnings in the overlay
* `disable_overlay_warning_forced_setting.txt`: * `disable_overlay_warning_forced_setting.txt`:
- disable the warning for the usage of any file `force_*.txt` in the overlay - disable the warning for the usage of any file `force_*.txt` in the overlay
@ -9,6 +9,12 @@
* `disable_overlay_warning_bad_appid.txt`: disable the warning for bad app ID (when app ID = 0) in the overlay * `disable_overlay_warning_bad_appid.txt`: disable the warning for bad app ID (when app ID = 0) in the overlay
* `disable_overlay_warning_local_save.txt`: disable the warning for using local save in the overlay * `disable_overlay_warning_local_save.txt`: disable the warning for using local save in the overlay
* `disable_overlay_warning_any.txt`: all the above * `disable_overlay_warning_any.txt`: all the above
* **deprecated** `disable_overlay_warning.txt` in `steam_settings` folder in favor of new the options/files
* added more Stub variants
* fixed the condition of `warn_forced_setting`, previously it may be reset back to `false` accidentally
* fixed a casting mistake when displaying friend ID
* avoid spam loading the achievements forever on failure, only try 3 times
* removed a debug flag in `UGC::GetItemState()` left by mistake
--- ---

View File

@ -275,8 +275,8 @@ PIMAGE_SECTION_HEADER pe_helpers::get_section_header_with_name(HMODULE hModule,
return nullptr; return nullptr;
} }
DWORD pe_helpers::loadlib_remote(HANDLE hProcess, const std::wstring &lib_fullpath, const char** err_reason) { DWORD pe_helpers::loadlib_remote(HANDLE hProcess, const std::wstring &lib_fullpath, const char** err_reason)
{
// create a remote page // create a remote page
const size_t lib_path_str_bytes = lib_fullpath.size() * sizeof(lib_fullpath[0]); const size_t lib_path_str_bytes = lib_fullpath.size() * sizeof(lib_fullpath[0]);
LPVOID lib_remote_page = VirtualAllocEx( LPVOID lib_remote_page = VirtualAllocEx(
@ -317,7 +317,7 @@ DWORD pe_helpers::loadlib_remote(HANDLE hProcess, const std::wstring &lib_fullpa
return GetLastError(); return GetLastError();
} }
// call LoadLibraryA() and pass "launc.dll" // call LoadLibraryW() and pass the dll fullpath
HANDLE remote_thread = CreateRemoteThread( HANDLE remote_thread = CreateRemoteThread(
hProcess, hProcess,
NULL, NULL,
@ -341,6 +341,7 @@ DWORD pe_helpers::loadlib_remote(HANDLE hProcess, const std::wstring &lib_fullpa
return GetLastError(); return GetLastError();
} }
// wait for DllMain
WaitForSingleObject(remote_thread, INFINITE); WaitForSingleObject(remote_thread, INFINITE);
CloseHandle(remote_thread); CloseHandle(remote_thread);