77 Commits

Author SHA1 Message Date
Rémi Bernon
948bcedcad steam_helper: Use CRT allocation functions.
CW-Bug-Id: #24510
2025-04-24 18:03:44 +03:00
Rémi Bernon
5ea24c6218 steam_helper: Use wcs instead of lstr functions.
CW-Bug-Id: #24510
2025-04-24 18:03:44 +03:00
Rémi Bernon
23d0a682e6 steam_helper: Use wide string literals.
CW-Bug-Id: #24510
2025-04-24 18:03:44 +03:00
Rémi Bernon
500c38f34b steam_helper: Build with msvcrt.
CW-Bug-Id: #24510
2025-04-24 18:03:43 +03:00
Rémi Bernon
8916378d66 steam_helper: Build as a C source.
CW-Bug-Id: #24510
2025-04-24 18:03:43 +03:00
Rémi Bernon
c75d03fb4a steam.exe: Use ProcessWineUnixDebuggerPid to detect unix debugger. 2025-04-24 18:03:43 +03:00
Rémi Bernon
3f2d345fb5 steam_helper: Use the new steamclient export to initialize registry.
CW-Bug-Id: #24510
2025-04-24 18:03:43 +03:00
Rémi Bernon
650a04b1ef steam_helper: Get rid of std::string usages.
CW-Bug-Id: #24510
2025-04-24 18:03:43 +03:00
Rémi Bernon
244b6a9b15 steam_helper: Remove now unnecessary OpenVR registry initialization.
CW-Bug-Id: #24510
2025-04-24 18:03:43 +03:00
Rémi Bernon
9acae7b80b steam_helper: Remove now unnecessary OpenXR registry initialization.
CW-Bug-Id: #24510
2025-04-24 18:03:12 +03:00
Rémi Bernon
14149c4bad steam_helper: Load vrclient_x64 to initialize the registry.
CW-Bug-Id: #24510
2025-04-24 18:03:12 +03:00
Rémi Bernon
62e8cde35a steam_helper: Remove now unnecessary OpenVR path conversion.
CW-Bug-Id: #24510
2025-04-24 18:03:12 +03:00
Rémi Bernon
984fb5c1cc steam_helper: Remove unused functions and variables.
CW-Bug-Id: #24510
2025-04-24 18:03:12 +03:00
Shaun Ren
33bf4e8317 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
2025-04-24 17:58:12 +03:00
Paul Gofman
526eb2c091 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-11-21 17:31:33 +02:00
Aric Stewart
5a66da7ed4 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-08-16 16:52:02 +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