Commit Graph

431 Commits

Author SHA1 Message Date
Liam Middlebrook
16dbf51c57 proton: Populate NVIDIA_WINE_DLL_DIR when available
NVIDIA-software may check the environment variable `NVIDIA_WINE_DLL_DIR`
for a path where DLLs provided by the NVIDIA Linux driver can be found.
This needs to be set by `proton` script, as it is ran inside of the
pressure-vessel environment, so the paths returned will be valid within
the environment.

Tested with an application that reads `NVIDIA_WINE_DLL_DIR` from the
environment and tries to load a known DLL from it. As expected manually
setting the environment variable to the on-disk location did not work,
as the path is not accurate within the pressure-vessel environment.

https://github.com/ValveSoftware/Proton/pull/8087
2024-09-10 11:42:20 -06:00
Anna Lasky
97e5f6f677 proton: Enable gamedrive compat option for Yakuza 3 and Yakuza 4
CW-Bug-ID: #24211
2024-09-04 11:49:10 -05:00
Paul Gofman
825585de4c proton: Do not copy SXS runtime redists.
CW-Bug-Id: #23227
2024-08-29 11:06:40 -06:00
Paul Gofman
95282c80a8 proton: Check for low /proc/sys/vm/max_map_count.
CW-Bug-Id: #24081
2024-08-21 18:00:24 -06:00
Arkadiusz Hiler
569828dc8c Revert "proton: Add PROTON_NO_STEAM_FFMPEG to ignore ffmpeg that ships with Steam."
This reverts commit 5720dd3e9c.
2024-08-15 20:03:25 +03:00
Anna Lasky
3876e38a89 proton: Add comment to explain STEAM_COMPAT_APP_ID option in os.environ 2024-08-06 11:57:58 -05:00
Anna Lasky
4891e6a4d9 proton: Enable gamedrive compat option for Sword of Convallaria
Option allows EULA to display properly.

CW-Bug-ID: #22421
2024-08-05 21:03:59 -05:00
Paul Gofman
6d9ebe28de proton: Force 32 bit steam.exe for Undecember.
CW-Bug-Id: #24110
2024-08-01 21:30:37 -06:00
Paul Gofman
d47668908e proton: Use server sync for Flatout 3.
CW-Bug-Id: #24102
2024-07-31 14:44:26 -06:00
Esme Povirk
f5618038c8 proton: Add documentation URL for file descriptor limit warning. 2024-07-30 21:33:43 +00:00
Paul Gofman
86c2c1e2a1 proton: Enable gamedrive compat option for Strip Fighter ZERO.
CW-Bug-Id: #24096
2024-07-30 15:15:18 -06:00
Paul Gofman
95a1b7c260 proton: Use server sync for RAID: World War II.
CW-Bug-Id: #414740
2024-07-30 14:35:35 -06:00
Esme Povirk
a441af6e28 proton: Check for low file descriptor limit.
CW-Bug-Id: #24035
2024-07-30 18:38:12 +00:00
Arkadiusz Hiler
7fa4b63735 proton: Correctly Popen.communicate() with timeout. 2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
b6eda24974 proton: Suppress type checker errors about non-existing user_settings. 2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
0f94a21b5e proton: Don't assign exception to a variable when the value is not used. 2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
9fcb2d183a proton: Stop using bare except. 2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
b2508139c2 proton: Use more meaningful variable names. 2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
73c8213f1b proton: Access env variables directly when we know they are set. 2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
40b964bd30 proton: Don't try track .debug files if there's not tracking file. 2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
5b99c12aed proton: Use None instead of False for default argument value.
This fixes type inference - tools no longer assume that there's a
possibility of the value ever being True.
2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
9e4a12cbaa proton: Use _ for ignored values. 2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
f5e17b49d2 proton: Chagne 'not x in y' to 'x not in y'. 2024-07-29 12:58:06 +03:00
Arkadiusz Hiler
9a9f2a1cbc proton: Remove unused imports. 2024-07-29 12:58:06 +03:00
Anna Lasky
e8ae65d8fa proton: Disable nvapi for GRID 2 and GRID Autosport
CW-Bug-ID: #24055
2024-07-22 21:32:51 -05:00
Paul Gofman
548fa64343 proton: Invalidate Ubisoft Launcher installation after deleting regsitry.
CW-Bug-Id: #23953
2024-07-19 15:38:08 -06:00
Anna Lasky
b036ca418d Revert "proton: Disable nvapi for Battle Brothers."
NVAPI failure with game fixed by dxvk-nvapi update.

This reverts commit 354682eee8.
2024-07-17 15:27:14 -05:00
Arkadiusz Hiler
75a1d3fd4c proton: Disable nvapi for Alan Wake's American Nightmare.
This helps with the DLC crashing.
2024-07-15 10:42:15 +03:00
Paul Gofman
ce1e86225f proton: Enable gamedrive compat option for Aimlabs.
CW-Bug-Id: #24014
2024-07-09 10:28:37 -06:00
Arkadiusz Hiler
dbc6c0eaf7 proton: Add PROTON_DXVK_D3D8 / dxvkd3d8. 2024-07-09 12:43:14 +03:00
Zhiyi Zhang
3c7deb1047 Revert "proton: Add Iragon: Prologue (2229490) to MFDXGI manager hack."
This reverts commit 44c58e0857.

The hack is no longer needed and causes the game to crash after a game update.

CW-Bug-Id: #23184
2024-07-09 11:14:49 +08:00
Zhiyi Zhang
97f35abb16 Revert "proton: Added Iragon: Prologue 18+ (1522260) to MFDXGI hack"
This reverts commit 500d6608c4.

The hack is no longer needed and causes the game to crash after a game update.

CW-Bug-Id: #23184
2024-07-09 11:13:49 +08:00
Zhiyi Zhang
72a8208ff1 Revert "proton: Added Iragon and Iragon 18+ to MFDXGI hack"
This reverts commit 436634421b.

The hack is no longer needed and causes the game to crash after a game update.

CW-Bug-Id: #23184
2024-07-09 11:12:42 +08:00
Arkadiusz Hiler
354682eee8 proton: Disable nvapi for Battle Brothers. 2024-07-08 20:38:40 +03:00
Paul Gofman
903eae805f proton: Add Farlight 84 to MFDXGI hack.
CW-Bug-Id: #23986
2024-06-28 13:27:53 -06:00
Anna Lasky
ba0cf51aa9 proton: Enable Xalia on MultiVersus
CW-Bug-Id: #23876
2024-06-27 21:19:39 -05:00
Paul Gofman
ba761f8af4 proton: Enable gamedrive early for Bad Mojo Redux.
CW-Bug-Id: #23924
2024-06-20 13:57:31 +03:00
Paul Gofman
95f865dafd proton: Prefer native ddraw for Arcanum (500810).
CW-Bug-Id: #23916
2024-06-20 13:57:31 +03:00
Anna Lasky
c6a77ac810 proton: Enable gamedrive compat option for Yakuza Kiwami
CW-Bug-Id: #22421
2024-06-20 13:57:31 +03:00
Paul Gofman
874adce46c proton: Disable GL_ARB_bindless_texture for Zaccaria Pinball.
CW-Bug-Id: #23874
2024-06-20 13:57:31 +03:00
Rémi Bernon
9de270edb5 proton: Enable the new SDL 2.30 Steam Input integration.
CW-Bug-Id: #23185
2024-06-20 13:52:57 +03:00
Rémi Bernon
40aff8b011 proton: Reset the SteamVirtualGamepadInfo environment variable.
To keep SDL 2.30 old behavior until we start supporting it.

CW-Bug-Id: #23185
2024-06-20 13:52:57 +03:00
Paul Gofman
9c844ee7ec Revert "proton: Disable forced LAA for Final Fantsy X/X-2."
This reverts commit a090d16b3f.
2024-06-20 13:52:57 +03:00
Arkadiusz Hiler
5c84936241 Bump prefix version to one higher than Proton Stable. 2024-06-20 13:52:57 +03:00
Arkadiusz Hiler
1692266300 proton: Make copying d3d12core for vkd3d-proton mandatory. 2024-06-20 13:52:57 +03:00
Esme Povirk
95ff2846f2 proton: Use STEAM_COMPAT_APP_ID to decide when to run xalia.
CW-Bug-Id: #23808

SteamAppId isn't set for InstallScripts, but this variable is.
2024-06-20 13:48:46 +03:00
Paul Gofman
77f1af2afc proton: Enable WINE_HEAP_DELAY_FREE for Planet of the Apes: Last Frontier.
CW-Bug-Id: #23811
2024-05-23 10:54:50 +03:00
Ziqing Hui
40494f74a1 proton: Add media files.
The media files are used in new media converter.

CW-Bug-Id: #23225
2024-05-23 10:54:50 +03:00
Esme Povirk
d72fb93507 proton: Enable Xalia on known-working games. 2024-05-23 10:54:50 +03:00
Esme Povirk
876158c2b8 proton: Add and document compat flag for xalia. 2024-05-23 10:54:50 +03:00