Commit graph

134 commits

Author SHA1 Message Date
Andrew Eikum
1a460ade01 proton: Set up VR paths after waiting for wineserver to exit
We need the server to exit before calling winepath in case the ESYNC or
FSYNC settings changed between run and waitforexitandrun calls.
2019-11-07 13:36:27 -06:00
Andrew Eikum
7d37963faf user_settings.py: Add default VKD3D_DEBUG logging 2019-11-07 13:36:27 -06:00
Andrew Eikum
6fc7e9580c proton: Use Wine's DXGI by default
Required for vkd3d support. You can still use DXVK's DXGI with
WINEDLLOVERRIDES="dxgi=n".
2019-10-22 11:15:47 -05:00
Andrew Eikum
230b9d81a2 proton: Support any proton_dist compression scheme 2019-10-18 10:09:36 -05:00
Andrew Eikum
24300e3f27 Don't compress dist tarball
This lets us take advantage of Steam delta updates.
2019-10-18 09:56:47 -05:00
Andrew Eikum
da43c48f3d Build Source Han Sans SC Regular as if it were YaHei 2019-08-23 09:57:46 -05:00
Andrew Eikum
e924a862d7 proton: Remove old xinput controller entries from registry
These will get iterated by setupapi even if they're not physically
present, which causes some games (HITMAN 2) to treat these devices like
xinput devices.
2019-08-23 09:57:46 -05:00
Andrew Eikum
a6c0e8b2ff proton: Don't override the environment with user_settings
The intended priority orider is command-line options (the environment)
beats user_settings beats compat_config settings beats defaults.
2019-08-05 09:23:43 -05:00
Andrew Eikum
685f119488 proton: pylint fixes 2019-08-01 14:30:26 -05:00
Andrew Eikum
d0346080bd proton: Check that we're running as a script 2019-08-01 14:30:26 -05:00
Andrew Eikum
055e095af7 proton: Use the right environment creating default prefix 2019-08-01 14:30:26 -05:00
Andrew Eikum
d2cf7e08eb proton: Change global references to instance 2019-08-01 14:30:26 -05:00
Andrew Eikum
7425001e8e proton: Move session methods into Session class 2019-08-01 14:30:26 -05:00
Andrew Eikum
adcdea1315 proton: Move session globals into Session class 2019-08-01 14:30:26 -05:00
Andrew Eikum
975875265c proton: Swap global CompatData references for instance 2019-08-01 14:30:26 -05:00
Andrew Eikum
48c774d868 proton: Move prefix logic into CompatData class 2019-08-01 14:30:26 -05:00
Andrew Eikum
c8639f6132 proton: Move some logic into Proton class 2019-08-01 14:30:26 -05:00
Andrew Eikum
5c9dd25e81 proton: Don't hard-code compatdata paths 2019-08-01 14:30:26 -05:00
Andrew Eikum
6d6e86df99 proton: Don't hard-code proton paths 2019-08-01 14:30:26 -05:00
Andrew Eikum
f922357d13 proton: Disable built-in mfplay
Allows UE games to function as they did before.
2019-07-18 06:10:47 -05:00
Andrew Eikum
ee4510682f proton: Remove files before trying to copy over them
If the file is a symlink, it could dereference the link and overwrite
the pointed-to file.
2019-07-18 06:10:47 -05:00
Andrew Eikum
f44287aeb8 proton: Copy d3d files instead of symlinking them 2019-07-18 06:10:47 -05:00
Andrew Eikum
4708bd6f05 proton: Enable fsync and add PROTON_NO_FSYNC variable 2019-07-18 06:10:47 -05:00
Andrew Eikum
235182da12 proton: Enable e2fs case-folding bit on new prefixes 2019-07-03 08:14:33 -05:00
Andrew Eikum
006634e316 update wine to 4.11 2019-07-03 08:10:53 -05:00
Andrew Eikum
30466dcc5e proton: Dump config options into the log 2019-07-01 13:14:04 -05:00
Andrew Eikum
f52ecfc6a7 build and ship d9vk 2019-07-01 13:14:04 -05:00
Andrew Eikum
2b3b96982f change default log to +loaddll instead of +module 2019-05-13 14:40:14 -05:00
Andrew Eikum
ac7b2068f0 Add mono logging to default logging 2019-04-15 08:22:21 -05:00
Andrew Eikum
2dd6948ef2 proton: Detect broken .NET installations and use wine-mono instead 2019-04-15 08:22:21 -05:00
Andrew Eikum
a1341c9649 proton: Also log stdout when logging is enabled 2019-04-15 08:22:21 -05:00
Andrew Eikum
6b9facc611 proton: Add default wine-mono override 2019-04-15 08:22:21 -05:00
Andrew Eikum
7a30e996ce proton: Always use built-in steam.exe 2019-03-28 08:03:03 -05:00
Andrew Eikum
22343e84ec proton: Run program through "steam.exe" in debug command, too 2019-03-26 09:11:18 -05:00
Andrew Eikum
87bbcc627d proton: Don't use start.exe for unknown executable types
Wine seems to handle this better now than it did in 3.7. It can launch
Doom 2's batch scripts directly, so this is no longer helpful.
2019-03-25 11:11:05 -05:00
Andrew Eikum
c9f817bf91 update wine to 4.2 2019-03-21 08:31:33 -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
Dāvis Mosāns
817828ec72 proton: When copying ignore EPERM error 2019-02-14 08:32:39 -06:00
Andrew Eikum
cd12d2a634 proton: Check more environment variables for non-zero 2019-02-13 10:16:38 -06:00
Andrew Eikum
2ae0d898eb proton: Set LC_ALL to the host value if available 2019-02-13 10:16:38 -06:00
Andrew Eikum
ad35af81e9 proton: Add runtime variable to limit GL extension string length 2019-02-13 10:16:38 -06:00
Ethan Lee
3eb29f419e proton: Add PROTON_NO_D3D10 2019-01-16 08:30:35 -06:00
Andrew Eikum
1b0173de22 proton: Dump header with proton version info in logs 2019-01-15 09:07:19 -06:00
Andrew Eikum
1fb4db2331 proton: Add force large address aware runtime setting 2018-12-20 10:56:47 -06:00
Andrew Eikum
0e15c0048f proton: Don't crash on invalid VR config file 2018-12-12 09:59:37 -06:00
Andrew Eikum
414cffdfaf proton: Handle corrupted prefixes a little better 2018-11-30 09:25:32 -06:00
Andrew Eikum
ad90a3686e proton: Recreate Fonts directory if it somehow goes missing 2018-11-30 08:55:08 -06:00
Andrew Eikum
ab57ead966 proton: pylint cleanups 2018-10-31 07:48:33 -05:00
Nikolay Sivov
17e50d67ab Build replacement fonts 2018-10-31 07:48:33 -05:00
NoXPhasma
cac3a518bd Allow override of dlls with WINEDLLOVERRIDES environment variable
Proton overrides the environment variable WINEDLLOVERRIDES entirely,
this change allows to add own dll overrides.
2018-10-16 09:44:32 -05:00