Commit Graph

1040 Commits

Author SHA1 Message Date
otavepto
42a5c14ec3 allow -j 1 for build scripts 2024-03-08 18:13:29 +02:00
otavepto
450f46c92c * allow popup windows to take focus
* refactoring private/public functions names
2024-03-08 18:13:29 +02:00
otavepto
b66555afbd use u8"" strings for overlay translations 2024-03-08 18:13:29 +02:00
otavepto
0dd755df84 decrease the default overlay hook delay to 3 sec 2024-03-08 18:13:29 +02:00
otavepto
827f8a472a refactoring + make fonts variables static 2024-03-08 18:13:29 +02:00
otavepto
d3c4026447 fix default notification height + a potential crash when creating notification table during exit 2024-03-08 18:13:29 +02:00
otavepto
99d689118e central function to take care of frame/input processing 2024-03-08 18:13:29 +02:00
otavepto
9a73720825 * check for ImGui context before initializing it, otherwise it might crash some games like Antichamber when you alt+tab during initialization
* ignore all overlay requests if it's not ready
* when unlocking an achievement, only load it's icon if that was specified in the json
* restore the code for ImGui font builder, this is needed to load the glyphs for all languages
* revert the code which loads the achievements info even if the overlay wasn't ready
2024-03-08 18:13:29 +02:00
otavepto
d347ebafd3 update release readme + add new example file for overlay hook delay 2024-03-08 18:13:29 +02:00
otavepto
5df75be04b attempt to load the locked achievement icon from the json key icongray if the normal one failed, adding compatibility with older format 2024-03-08 18:13:29 +02:00
otavepto
4d23a859f3 * new config file overlay_hook_delay_sec.txt to control the initial delay for the overlay's renderer detector
* send the value of the `accept_overlay_invites` to settings_server too!
2024-03-08 18:13:29 +02:00
otavepto
c50ac8fa71 some debug messages 2024-03-08 18:13:29 +02:00
otavepto
6a5fbf2b7d formatting 2024-03-08 18:13:29 +02:00
otavepto
c19fc81e84 * revert the previous change and force-display a mouse cursor inside the overlay, Truberbrook and others won't show a cursor in the overlay by default
* attempt to fix the crash when closing the app, use global object with bigger life time and avoid local states

* attempt to fix usage of invalid/outdated window size when displaying notifications

* lock overlay mutex everywhere to avoid sync problems

* lock global emu mutex in the relevant places when using client APIs

* only change the ImGui ini and round corner settings once
2024-03-08 18:13:29 +02:00
otavepto
66d1fab36f fix building ingame overlay dep (System) on CI 2024-03-08 18:13:29 +02:00
otavepto
1ecae283d8 verbose CI 2024-03-08 18:13:29 +02:00
otavepto
66d7b6a125 missing packages for CI 2024-03-08 18:13:29 +02:00
otavepto
294385736e update ingame_overlay dep 2024-03-08 18:13:29 +02:00
otavepto
5907e67751 correct the file format in packaging script of the emu 2024-03-08 18:13:29 +02:00
otavepto
38ac49254d update main readme to add the new compilation switches for linux + changelog 2024-03-08 18:13:29 +02:00
otavepto
e3a27e842d update linux build script to add an experimental version with overlay support 2024-03-08 18:13:29 +02:00
otavepto
8018df74da fix all overlay compilation warnings on Linux 2024-03-08 18:13:29 +02:00
otavepto
af383860a7 fix overlay compilation on Linux 2024-03-08 18:13:29 +02:00
otavepto
5c312306d4 use const ref in many places 2024-03-08 18:13:29 +02:00
otavepto
4bf76af19b * point at updated deps submodule
* fixed mistakes in win deps build script + gen_emu_config package script

* update linux deps build script
2024-03-08 18:13:29 +02:00
otavepto
34aa0d9fc3 updated changelog 2024-03-08 18:13:29 +02:00
otavepto
88ab37d78f * proper fix for the window resizing problem, thanks to Nemirtingas
* remove the code which adds custom Windows fonts but keep scaling

* only attempt to load achievements images when hook is ready

* cleanup overlay images on unhook

* free the detector when we get a renderer hook instance

* lock everywhere!

* prefix the debug messages for a cleaner debug log
2024-03-08 18:13:29 +02:00
otavepto
b137cf0f38 prefix these debug messages in networking 2024-03-08 18:13:29 +02:00
otavepto
0955fbb77a * a hacky fix for window resizing, this will force the overlay to update its size when the game's window size is changed
* avoid spamming the call to _renderer->StartHook()

* remove the code which changes the cursor
2024-03-08 18:13:29 +02:00
otavepto
74a85fb38c * update the steam_overlay.c/.h code to accommodate the changes in the ImGui lib & the ingame overlay project/dependency
* remove the now non-compiling (and awful) code which locks the cursor inside the overlay

* workaround for the deprecated ImGui function BeginListBox()

* formatting
2024-03-08 18:13:29 +02:00
otavepto
c81842bd2f update vulkan .h files, copied from ingame overlay project/dependency 2024-03-08 18:13:29 +02:00
otavepto
24d84c6259 remove source files of ImGui lib, built obj files + .h files already provided by ingame overlay dependency 2024-03-08 18:13:29 +02:00
otavepto
c13f636c11 update windows build script for the new ingame overlay dependency 2024-03-08 18:13:29 +02:00
otavepto
4aa0f58199 remove the source files of the ingame overlay project, now it's a dependency 2024-03-08 18:13:29 +02:00
otavepto
9792545068 update linux dep build script for the new ingame overlay dependency 2024-03-08 18:13:29 +02:00
otavepto
9d2fa74683 update windows dep build script for the new ingame overlay dependency 2024-03-08 18:13:29 +02:00
otavepto
a6fd1de19c update third party submodule for the new ingame overlay dependency 2024-03-08 18:13:29 +02:00
otavepto
2cbc786430 revert the workaround for the usage of private/hidden glibc exports on linux, and fix it by directly calling the corresponding functions without the ver parameter: stat, lstat, stat64, lstat64, mknod.
might break stuff!
reverts 3b6663ca99
2024-03-01 13:35:39 +02:00
otavepto
f7fdfba6df update date 2024-02-29 21:09:23 +02:00
otavepto
46424f43bc fix this debug message in steam_networking 2024-02-29 21:06:50 +02:00
otavepto
2363f35a93 change wording 2024-02-29 20:20:01 +02:00
otavepto
9eceff7792 Visual Studio has dubious language extensions! 2024-02-29 19:59:53 +02:00
otavepto
dfc8be4a7c change the server type parameter of the request before continuing the code, since it's used multiple times and also being set in the request object 2024-02-29 19:59:53 +02:00
otavepto
3d836d694d added 2 new options which enable the new behavior for Steam Matchmaking Servers 2024-02-29 19:59:53 +02:00
otavepto
6a7bd6c063 grab players list for Steam_Matchmaking_Servers from Steam_GameServers , probably broken! 2024-02-29 19:59:53 +02:00
otavepto
8393261473 * partially revert matchmaking code
* request all server lists as LAN servers
2024-02-29 19:59:53 +02:00
otavepto
c38601fdcd Restore networking, source query, avatar, friends changes/additions from: 75e6d7c8ab, 4399c0b12b 2024-02-29 19:59:53 +02:00
otavepto
001e74aafa revert all networking, source query, avatar, friends changes/additions from: 75e6d7c8ab, 4399c0b12b 2024-02-29 19:59:53 +02:00
otavepto
3d43d39f08
Update README.md 2024-02-25 22:48:21 +02:00
otavepto
7e240ffec0 new flag -reldir for the generate_emu_config script to use everything relatively 2024-02-24 20:49:31 +02:00