Commit graph

192 commits

Author SHA1 Message Date
Andrew Eikum
353e1b00c6 proton: Use DXVK's DXGI by default 2021-06-21 08:31:01 -05:00
Shawn M. Chapla
1916502152 proton: Remove winebrowser shell DDE registry keys
CW-Bug-Id: #18527
2021-06-17 15:10:20 -05:00
Andrew Eikum
607618b3df proton: Add PROTON_CRASH_REPORT_DIR runtime config
CW-Bug-Id: #18944
2021-06-17 15:10:17 -05:00
Renaud Lepage
139ad89ed3 proton: Assume STEAM_COMPAT_CLIENT_INSTALL_PATH is always set 2021-05-27 13:43:12 -05:00
Arkadiusz Hiler
d2d52bd68a proton: Open the log file in append mode.
Opening file in append mode sets the offset to the end of the file prior
to each write. This allows user to append tags/notes to the log file
just before interesting events, e.g.:

    local $ ssh ivyl@test
    test  $ echo "!!! FOCUS CHANGE" >> ~/steam-XYZ.log

The log file is deleted just before we open it anyway, so there won't be
any leftover content from previous session.
2021-05-27 18:06:34 +03:00
Jacek Caban
f632b693bd proton: Add runinprefix verb for running a program in a running session
CW-Bug-Id: 16785
2021-05-13 10:07:29 -05:00
Paul Gofman
8ddd3c36a1 proton: Link tahoma.ttf to Windows/Fonts.
CW-Bug-Id: 18862
2021-04-27 13:40:50 -05:00
Paul Gofman
e1885f8496 Add replacement font for Courier Bold.
CW-Bug-Id: 18862
2021-04-27 13:40:40 -05:00
Arkadiusz Hiler
575d9bc1f9 Don't install amd_ags_x64 into prefix
The DLL ships with the games and having the built-in version in
system32/syswow64 has unexpected consequences.

If the game is launched from a subdirectory, but the DLL is in current
working directory, the built-in takes precedence as CWD has lower search
priority than system directories (with the default SafeDllSearchMode).

By not installing amd_ags_x64.dll in system32/syswow64 the built-in is
still picked up correctly from lib/ when necessary.

There's an accompanying patch for wine that makes sure wineboot won't
install the dll, but since we construct our default_pfx in a special way
we also need to make sure that files won't get copied/linked there.

To make prefix updates smooth this change also removes any stale
amd_ags_x64.dlls that may have been installed by previous version of
Proton.

CW-Bug-Id: 18804
2021-04-27 11:11:14 -05:00
Andrew Eikum
937607d1e5 proton: Log important variables set by the system and user_settings 2021-04-27 09:20:11 -05:00
Andrew Eikum
c9540c2166 proton: Add PROTON_HEAP_DELAY_FREE runtime config option 2021-03-31 14:08:10 -05:00
Andrew Eikum
0e4675f4d2 proton: Add PROTON_NO_XIM runtime config option 2021-03-31 14:08:10 -05:00
Andrew Eikum
8398ebded4 update wine to 6.3 2021-03-31 14:08:09 -05:00
Andrew Eikum
86433ceddd proton: Add nativevulkanloader config setting 2021-02-05 08:16:50 -06:00
Andrew Eikum
38f603d7bf wineopenxr: Add openxr support 2021-01-11 12:26:56 -06:00
Andrew Eikum
4c0f01e2dc proton: Add gamedrive config setting to create an S: drive for the game's library 2020-12-08 08:24:04 -06:00
Andrew Eikum
25a2a690b0 proton: Add helpers for pre/appending to env var lists 2020-12-08 08:23:57 -06:00
Andrew Eikum
1b975c15dd proton: Add vkd3dbindlesstb compat config option 2020-12-08 08:23:57 -06:00
Pierre-Loup A. Griffais
300d23ca7c proton: give transcoded files their own path
STEAM_COMPAT_TRANSCODED_MEDIA_PATH
2020-12-01 13:03:31 -06:00
Rémi Bernon
d126a401f6 proton: Add dotnetfx35.exe builtin override. 2020-11-10 07:31:32 -06:00
Andrew Eikum
1002d7c23d proton: Attempt to log SLR version 2020-11-09 13:43:05 -06:00
Newbyte
6305de83bc proton: Make log directory configurable via PROTON_LOG_DIR 2020-11-09 13:43:05 -06:00
Andrew Eikum
7493508dc8 proton: Also catch IOErrors from fcntl 2020-10-13 13:22:16 -05:00
Andrew Eikum
98a2a3b819 proton: Respect WINEDLLOVERRIDES from user_settings, too 2020-09-29 14:29:06 -05:00
Andrew Eikum
746cab7813 proton: Add write permissions to copied files
We copy some read-only files into the prefix, which can cause problems
(specifically, downgrading to some earlier Proton versions).
2020-09-29 14:29:06 -05:00
Andrew Eikum
b1b12f8c4f proton: Also copy VC Runtime libraries 2020-09-29 14:29:06 -05:00
Andrew Eikum
a7d44ffecc proton: Add PROTON_HIDE_NVIDIA_GPU runtime config 2020-09-29 14:29:06 -05:00
Andrew Eikum
8130c38a19 proton: Also track Steam files
We want to remove these on downgrade, as older Proton versions aren't
set up to intercept GameOverlayRenderer.
2020-09-29 14:29:06 -05:00
Andrew Eikum
0ac177efaa proton: Also copy vulkan-1.dll 2020-09-29 14:29:06 -05:00
Rémi Bernon
265b103e72 proton: Add ntdll to the builtin dll symlink exceptions. 2020-09-29 14:29:06 -05:00
Rémi Bernon
1ae76adb07 proton: Copy Steam library files to C:/Program Files (x86)/Steam. 2020-09-29 14:29:06 -05:00
Andrew Eikum
f3f098067a proton: Copy more dxsetup redists 2020-09-29 14:29:05 -05:00
Andrew Eikum
c39b1fc34e proton: Don't copy library permissions
These need to be writable.
2020-09-29 14:29:05 -05:00
Andrew Eikum
d620a32883 proton: Only skip rebuilding symlinks 2020-09-29 14:29:05 -05:00
Esme Povirk
911a468618 Add the ability to copy builtin dll's instead of making symlinks. 2020-09-29 14:29:05 -05:00
Esme Povirk
debb619d17 Keep track of when prefix setup tasks need to be re-done. 2020-09-29 14:29:05 -05:00
Esme Povirk
369b57d8c8 Proton: Add code for updating builtin dll's. 2020-09-29 14:29:05 -05:00
Andrew Eikum
f21922d970 media-converter: Add media-converter gstreamer plugin 2020-09-29 14:29:05 -05:00
Andrew Eikum
7d444028c3 update wine to 5.13 2020-09-29 14:29:05 -05:00
Andrew Eikum
4ee3a5af70 proton: Add vkd3dfl12 to force Direct3D 12 feature level 2020-07-15 15:28:04 -05:00
Andrew Eikum
1c26086688 Fix up vkd3d-proton build 2020-07-15 10:31:53 -05:00
Andrew Eikum
9f614e83ce proton: Add nowritewatch config option to disable write watch support 2020-06-05 08:58:23 -05:00
Alan
6e821c774f proton: Double-check to avoid locking, if unnecessary 2020-06-01 11:38:16 -05:00
Andrew Eikum
1a0cf7f7e2 proton: Unset WINE{E,F}SYNC if they are disabled 2020-04-27 07:51:44 -05:00
Rémi Bernon
75ed8f6469 proton: Introduce seccomp runtime option.
This then sets the WINESECCOMP environment variable to enable seccomp
filter for DOOM Eternal DRM (and others) without impacting other games.
2020-04-15 11:57:44 -05:00
Vincent Povirk
aaeb4445f3 proton: Store original LD_LIBRARY_PATH before modifying it
Some parts of Wine will invoke system binaries, which should not use
Proton's libraries.
2020-04-01 11:49:02 -05:00
Andrew Eikum
a9575f7c77 proton: Add cmdlineappend: compat config option 2020-03-19 14:48:52 -05:00
Andrew Eikum
2708188322 proton: Don't dump PROTON_VR_RUNTIME variable
It's set by steam_helper now.
2020-03-18 13:50:09 -05:00
Andrew Eikum
f96c8d6e6a proton: Add noforcelgadd compat config option 2020-03-09 10:03:54 -05:00
Andrew Eikum
e781acfa78 proton: Force LARGE_ADDRESS_AWARE flag for all applications 2020-03-09 10:03:54 -05:00