Commit Graph

65 Commits

Author SHA1 Message Date
Paul Gofman
e1554d408b steam_helper: Create dummy SteamVR status window.
CW-Bug-Id: #24552
2024-12-04 17:48:35 -06:00
Shaun Ren
cbd18be61f steam_helper: Place Proton Voice Files path into PROTON_VOICE_FILES.
Used by the protontts DLL for speech synthesis.

CW-Bug-Id: #18723
CW-Bug-Id: #20918
CW-Bug-Id: #21959
CW-Bug-Id: #22520
CW-Bug-Id: #22894
2024-11-26 18:56:13 -05:00
Paul Gofman
5b26b6a1d4 steam_helper: clean up OpenVR before getting OpenXR extensions in initialize_vr_data
Patch written by Emily <102429049+emily-is-my-username@users.noreply.github.com>

https://github.com/ValveSoftware/Proton/pull/8126

When using OpenComposite, both OpenVR and OpenXR functions may
call the same underlying OpenXR loader.

Because the OpenXR loader only supports a single active instance,
`initialize_vr_data` currently fails as an OpenXR instance
has already been initialized ath the time XR extensions are queried.

This commit fixes the problem by cleaning up the temporary
OpenVR context *before* initializing OpenXR instead of keeping it
open until the end of the call.

Fix for:
https://github.com/ValveSoftware/Proton/issues/7905

Signed-off-by: Paul Gofman <pgofman@codeweavers.com>
2024-10-03 17:09:52 -06:00
Aric Stewart
ed3c44ecbc steam-helper: Create list of games to ignore selected locale
First, and only on this list so far is Guild Wars 2 (1284210)

CW-Bug-Id: #23824
2024-06-20 13:48:46 +03:00
Paul Gofman
6202be5348 steam_helper: Try to handle same app id restart ourselves instead of forwarding to Steam command handler.
CW-Bug-Id: #23816
2024-05-23 10:54:50 +03:00
Zhiyi Zhang
692e07d139 HACK: steam.exe: Force Japanese locale for Granado Espada Japan.
Granado Espada Japan (1219160) launcher needs Japanese locale to display correctly. Otherwise, it
displays gibberish, even on Windows.

CW-Bug-Id: #23597
2024-05-23 10:54:50 +03:00
Yuxuan Shui
22fa6c7346 wineopenxr: Propagate vulkan device IDs from steam.exe to the application. 2024-05-23 10:54:49 +03:00
Paul Gofman
061231e29c steam_helper: Clean up backgroundservice.ini for EA Desktop.
CW-Bug-Id: #23434
2024-05-23 10:54:49 +03:00
Paul Gofman
ff94f04eca steam_helper, vrclient, openxr: Use Unix ABI for winevulkan unwrappers.
CW-Bug-Id: #23180
2024-02-15 15:53:29 +02:00
Rémi Bernon
f8bf0861b2 steam.exe: Define SHGetFolderPath(A|W) to remove shlobj.h include.
It breaks on DECLSPEC_IMPORT EXTERN_C.
2024-02-15 15:53:29 +02:00
Rémi Bernon
64cdf179b9 steam.exe: Use SOURCES instead of C(XX)_SRCS. 2024-02-15 15:53:25 +02:00
Rémi Bernon
fc49fe100e steam.exe: Build as a GUI subsystem executable. 2024-02-15 15:53:25 +02:00
Rémi Bernon
3f94f884ae steam.exe: Fix compilation warnings.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Rémi Bernon
861ea515bb steam.exe: Build using makedep rules.
CW-Bug-Id: #22729
2024-02-15 15:53:24 +02:00
Jan200101
e6cd3f8ec3 steam_helper: separate parameters from command when using ShellExecuteW
ShellExecuteW ignores any extra information passed as part of lpFile
resulting in arguments being ignored.

Link: https://github.com/ValveSoftware/Proton/pull/6555
2023-12-12 17:37:45 +02:00
Paul Gofman
db0991c4ae steam_helper: Fix a typo in log error message. 2023-12-07 13:43:40 +02:00
Arkadiusz Hiler
37b88eb035 steam_helper: Stop waiting on the debugger when ptraced. 2023-09-12 14:55:31 +03:00
Paul Gofman
6d51ed29f3 steam_helper: Clear IsUnavailable for EA Desktop if set.
CW-Bug-Id: #22321
2023-09-12 14:44:08 +03:00
Paul Gofman
727f81d380 steam_helper: Increase desktop close timeout for EA Desktop.
CW-Bug-Id: #22321
2023-09-12 14:44:08 +03:00
Arkadiusz Hiler
6d63c73c54 steam_helper: Update the format of the generated libraryfolders.vdf.
The old 1-indexed format:
	"1" 	"Z:\\home\\ivyl\\.local\\share\\Steam"

Changes to new 0-indexed one:
	"0"
	{
		"path"		"Z:\\home\\ivyl\\.local\\share\\Steam"
	}

that is used by Steam on Windows.
2023-06-06 12:05:09 +03:00
Zhiyi Zhang
03550f8d2a steam_helper: Support forwarding command line options to native steam.
CW-Bug-Id: #22030
2023-06-05 17:55:10 +03:00
Paul Gofman
f7c895c287 steam_helper: Trigger EA Desktop reinstall if link2ea association is missing.
CW-Bug-Id: #21645
2023-03-08 17:35:54 +02:00
Paul Gofman
5610e4538f steam_helper: Set desktop close timeout for EA Desktop.
CW-Bug-Id: #21645
2023-03-08 17:35:54 +02:00
Rémi Bernon
2b95bc1771 steam: Match LC_TYPE / LC_MESSAGES default with selected language.
CW-Bug-Id: #21346
2023-02-14 16:07:44 +02:00
Paul Gofman
e1d797fd97 wineopenxr: Use custom Vk structures instead of custom functions for creating Vk device through OpenXR. 2023-02-14 16:07:43 +02:00
Paul Gofman
e2ab395020 steam_helper: Load unwrappers from winevulkan.so. 2023-02-14 16:07:43 +02:00
Arkadiusz Hiler
f7a03d620e steam_helper: Use PROCESSINFOCLASS.
We no longer have PROCESS_INFORMATION_CLASS as of ce91ef6426bf ("kernelbase: Add SetProcessInformation().")
2023-02-14 16:07:43 +02:00
Paul Gofman
5e7036d566 steam_helper: Also store PROTON_VR_RUNTIME in registry.
CW-Bug-Id: #21036
2022-08-10 19:29:30 +03:00
Supreeeme
ade0363654 steam_helper: Respect VR_OVERRIDE envvar
Link: https://github.com/ValveSoftware/Proton/pull/5922
2022-08-03 14:24:42 +03:00
Derek Lesho
a5d2b67315 steam_helper: Place Easy Anti Cheat runtime path into PROTON_EAC_RUNTIME. 2022-02-09 21:37:47 +02:00
Andrew Eikum
18f4555528 Update copyright dates 2022-01-19 11:39:44 +02:00
Rémi Bernon
fc27d69033 steam.exe: Make process system after child process has started.
So that it can connect to the winstation and get a desktop reference
before steam.exe releases theirs.

CW-Bug-ID: #19584
2022-01-19 11:29:55 +02:00
Rémi Bernon
9b8046131d steam.exe: Use NtSetInformationProcess instead of __wine_make_process_system. 2022-01-19 11:29:54 +02:00
Derek Lesho
cfaf65d982 steam_helper: Place BattlEye runtime path into PROTON_BATTLEYE_RUNTIME.
CW-Bug-Id: #16650
2021-11-19 18:35:48 +02:00
Paul Gofman
daf8263323 steam_helper: Store OpenXR vulkan extensions in registry.
CW-Bug-ID: #19504
2021-11-11 18:36:08 +02:00
Paul Gofman
89f8134740 steam_helper: Build as 64 bit.
CW-Bug-ID: #19504
2021-11-11 18:36:08 +02:00
Andrew Eikum
fdc3651992 proton: Return the real application return code on exit.
CW-Bug-Id: #15930
2021-11-11 18:36:07 +02:00
pchome
ef7b6fd07e steam_helper: Fix small typo
Link: https://github.com/ValveSoftware/Proton/pull/5266
2021-11-11 18:36:07 +02:00
Paul Gofman
7d37e79328 steam_helper: Create a thread to signal DIPC objects.
CW-Bug-Id: #15930
2021-11-11 18:36:07 +02:00
Andrew Eikum
5b7de85bdf steam_helper: Add PROTON_HIDE_PROCESS_WINDOW for hiding the child process's window
CW-Bug-Id: #15930
2021-11-11 18:36:07 +02:00
Pierre-Loup A. Griffais
f2ff463c08 steam_helper: create Config directory
This is checked by CEG.

CW-Bug-Id: #15930
2021-11-11 18:36:07 +02:00
Andrew Eikum
8d9c45a6f6 steam_helper: Add PROTON_WAIT_ATTACH for debuggers to attach to game process at startup
CW-Bug-Id: #19567
2021-11-11 18:36:07 +02:00
Paul Gofman
d2080ad0fd steam_helper: Don't hand off Steam appid to OpenVR runtime in initialize_vr_data().
CW-Bug-Id: 19220

Initializing OpenVR with the app's game ID seems to cause problems with
Steam VR runtime stability when the game uses OpenXR. The negative
impact is that if OpenVR is started the initialization will be delayed
for 2 seconds by vrserver waiting for valid appid. But the wait goes
in parallel with main application startup and should not delay things
much, if at all.
2021-08-12 10:54:19 -05:00
Paul Gofman
ec9bf7f85d steam_helper: Create libraryfolders.vdf file.
For 2K Launcher.

CW-Bug-Id: 18912
2021-05-13 10:07:20 -05:00
Paul Gofman
016fb2fc76 steam_helper: Create Valve_SteamIPC_Class event.
For 2K Launcher.

CW-Bug-Id: 18912
2021-05-13 10:07:20 -05:00
Paul Gofman
301e733bbf steam_helper: Forward steam:// protocol requests to winebrowser.
CW-Bug-Id: 18912
2021-05-13 10:07:20 -05:00
Paul Gofman
0e9c2536c0 steam_helper: Store HMD presence status in registry.
CW-Bug-Id: 18901
2021-05-13 10:06:49 -05:00
Paul Gofman
7ef07bb07f steam_helper: Store OpenVR status and required extensions in registry on startup. 2021-03-31 14:08:10 -05:00
Andrew Eikum
fe4663159d steam_helper: Call FreeConsole before waiting to exit
Patch by Jacek Caban. This allows conhost to exit so it won't block server exit.
2021-03-31 14:08:10 -05:00
Andrew Eikum
9686e84a65 steam_helper: Make file extension check case-insensitive 2020-09-29 14:29:05 -05:00