Commit Graph

16 Commits

Author SHA1 Message Date
Andrew Eikum
9686e84a65 steam_helper: Make file extension check case-insensitive 2020-09-29 14:29:05 -05:00
Andrew Eikum
ee8e065367 steam_helper: Catch JSON exceptions 2020-06-10 07:43:32 -05:00
Andrew Eikum
07860b2473 steam_helper: Fix XDG_CONFIG_HOME handling 2020-03-23 09:50:17 -05:00
Andrew Eikum
ef07eee01a steam_helper: Always pass CREATE_UNICODE_ENVIRONMENT to CreateProcess
According to Joshua Ashton, real steam.exe does this.
2020-03-09 10:03:54 -05:00
Joshua Ashton
68f982bd47 steam_helper: Use ShellExecute when not launching .exes
This behaviour more closely matches what Steam on Windows does when
launching things that aren't executables.
2020-03-09 10:03:54 -05:00
Andrew Eikum
349df9c436 steam_helper: Set up VR paths in steam.exe, not proton
This speeds up game launch times.
2020-03-09 10:03:54 -05:00
Andrew Eikum
e1c5da52c6 steam_helper: Import jsoncpp 2020-03-05 10:03:11 -06:00
Andrew Eikum
a4b8a51d4a steam_helper: Don't use msvcrt
We need access to linux crt functions (like getenv()), so disallow use
of msvcrt. Notably, linux crt wchar functions are _not_ compatible with
Windows WCHAR strings.
2020-03-05 10:03:11 -06:00
Rémi Bernon
1e4083027f steam.exe: Create Steam for Windows named event.
This event is sometimes checked for existence by Denuvo DRM, to decide
whether the game is genuine. This the case in Just Cause 3, and not
having it makes the game delete all saved progress.
2020-02-24 09:33:55 -06:00
Rémi Bernon
a0b7e2daba steam_helper: Do not let the default console ctrl handler kill us.
I'm not sure if we should intercept all ctrl types, but letting Ctrl-C
kill us is getting in the way when we run winedbg as a child.
2020-02-03 09:54:07 -06:00
Andrew Eikum
d73b927e2d steam_helper: Run console apps with a new console
This should allow Wine to show a wineconsole dialog for games which make
use of it. Suggested by Vincent.
2019-08-12 13:19:52 -05:00
Andrew Eikum
ab453aaf11 steam_helper: Fix building against Wine 4.11 2019-07-03 08:11:05 -05:00
Andrew Eikum
a63d094dc0 steam_helper: Parse quote characters consistently with CommandLineToArgvW 2019-03-29 09:15:05 -05:00
Andrew Eikum
3004d37fa4 steam_helper: Convert unix paths to DOS 2019-03-29 09:15:05 -05:00
Andrew Eikum
17efb0bd3e steam_helper: Only do steam.exe setup for the game process 2019-03-29 09:14:51 -05:00
Jacek Caban
70822d8046 Add steam.exe winelib application that setups environment and launches the game.
Signed-off-by: Jacek Caban <jacek@codeweavers.com>
2019-03-08 10:22:36 -06:00