Commit graph

1446 commits

Author SHA1 Message Date
Rémi Bernon
d17b3d78f6 lsteamclient: Generate SteamWorks SDK 1.55 support. 2023-02-23 22:11:45 +01:00
Rémi Bernon
cf8b1ac417 lsteamclient: Import SteamWorks SDK 1.55. 2023-02-23 22:11:44 +01:00
Rémi Bernon
f02bfacf5d lsteamclient: Generate SteamWorks SDK 1.54 support. 2023-02-23 22:11:44 +01:00
Rémi Bernon
b04ea746b5 lsteamclient: Import SteamWorks SDK 1.54. 2023-02-23 22:11:43 +01:00
Proton Merge Bot
74ac5f05d5 update submodules 2023-02-15 17:59:18 +02:00
Giovanni Mascellani
57413971b7
Update vkd3d submodule. 2023-02-14 11:33:10 +01:00
Rémi Bernon
5ea46dfeb2 Revert "fonts: Convert simsun.ttc / msyh.ttf / malgun.ttf to TrueType."
This reverts commit 52341bbde5.
2023-02-10 11:48:39 +01:00
Rémi Bernon
52341bbde5 fonts: Convert simsun.ttc / msyh.ttf / malgun.ttf to TrueType.
CW-Bug-Id: #21346
2023-02-10 11:40:29 +01:00
Rémi Bernon
ca835a8456 Revert "fonts: Convert simsun.ttc / msyh.ttf / malgun.ttf to TrueType."
This reverts commit a2eafa8d47.
2023-02-10 11:00:48 +01:00
Rémi Bernon
a2eafa8d47 fonts: Convert simsun.ttc / msyh.ttf / malgun.ttf to TrueType.
CW-Bug-Id: #21346
2023-02-10 10:59:18 +01:00
Proton Merge Bot
0ae43f9805 update submodules 2023-02-08 20:10:41 +02:00
Giovanni Mascellani
9843709336 fonts: Provide an alternative fake Arial font.
The fake Arial already distributed with Python is based on Liberation fonts.
It is metrically compatible with the original Arial, but it doesn't support
all its glyphs (specifically, it misses Arabic).

The new one is based on Noto fonts. It support all the Arial glyphs
(I think), but it is not metrically compatible. It is enabled based
on SteamGameId when glyph coverage is considered more important than
metric compatibility.

So far it is enabled for FIFA 21 and FIFA 22.

CW-Bug-Id: #20302
2023-02-08 17:41:06 +00:00
Giovanni Mascellani
60d5cc86d1 fonts: Rewrite font merging script based on fonttools.
The current script based on fontforge seems to have a few problems.
The generated fonts show glitches, for example in Cyberpunk 2077 for
Thai and in FIFA 22 for Arabic.

I don't precisely know what is the problem, and it might be that
the real bug is in the rendering code rather than in the merging
script. But since this seems to work better overall, I'm sticking
with it.

CW-Bug-Id: #20302
2023-02-08 17:41:06 +00:00
Paul Gofman
881389e479 lsteamclient: Fix _GetAppInstallDir() return value.
CW-Bug-Id: #21864
2023-02-01 20:51:31 -06:00
Rémi Bernon
9634b5524d update wine 2023-02-01 21:11:12 +01:00
Proton Merge Bot
7edf7e5a67 update submodules 2023-01-30 14:36:27 +00:00
Rémi Bernon
f89b260fe0 dxvk-nvapi: Update submodule to load the same DLLs as DXVK. 2023-01-23 11:55:07 +01:00
Arkadiusz Hiler
56f0278372 update submodules 2023-01-21 13:00:42 +02:00
Rémi Bernon
4b1fb73905 proton: Trace language related environment variables.
CW-Bug-Id: #21346
2023-01-12 21:22:02 +01:00
Rémi Bernon
eb9947d34a steam: Match LC_TYPE / LC_MESSAGES default with selected language.
CW-Bug-Id: #21346
2023-01-12 21:22:01 +01:00
Zhiyi Zhang
fbbee396b0 proton: Do use builtin steam.exe for Locoland.
Locoland(352130) executable name happens to be steam.exe.

CW-Bug-Id: #21737
2023-01-10 03:04:03 +00:00
Arkadiusz Hiler
2bf76f6e50 Revert "proton: Sync pfx creation and create a guard file."
This reverts commit 73fbc6890c.

It keeps the prefix version bump so we don't forcefully downgrade people
for no reason.
2023-01-04 20:25:37 +02:00
Arkadiusz Hiler
47e39203c7 Revert "fixup! proton: Sync pfx creation and create a guard file."
This reverts commit 8b45d63375.
2023-01-04 20:23:47 +02:00
Arkadiusz Hiler
8b45d63375 fixup! proton: Sync pfx creation and create a guard file. 2022-12-26 13:15:19 +02:00
Paul Gofman
fde9be256f proton: Enable gamedrive compat option for Creativerse.
CW-Bug-Id: #21729
2022-12-22 12:15:54 -06:00
Rémi Bernon
1a1b4a2511 docker: Build MinGW with -mcmodel=small. 2022-12-19 17:56:34 +01:00
Paul Gofman
a7000cb2b4 steam_helper: Trigger EA Desktop reinstall if link2ea association is missing.
CW-Bug-Id: #21645
2022-12-19 17:56:34 +01:00
Paul Gofman
25a980d9a8 steam_helper: Set desktop close timeout for EA Desktop.
CW-Bug-Id: #21645
2022-12-19 17:56:34 +01:00
Arkadiusz Hiler
73fbc6890c proton: Sync pfx creation and create a guard file.
Due to unlucky power off or a crash crash when first starting the game
the prefix can end up in corrupted state with no obvious way of
troubleshooting.

This is an attempt at ensuring that the prefix was created successfully
and force-recreate it if it wasn't.

CW-Bug-Id: #19720
2022-12-19 17:56:34 +01:00
Proton Merge Bot
d6a2ea47da update submodules 2022-12-19 17:56:34 +01:00
Anna Lasky
5d4e2b616d proton: Remove games that need shared resources from MFDXGI hack
This comments out all of the games that do not need the MFDXGI hack on
the experimental branch because the experimental branch has support for
shared resources.
2022-12-19 17:56:30 +01:00
Paul Gofman
f0ad741080 proton: Enable gamedrive compat option for As Dusk Fails.
CW-Bug-Id: #21485
2022-12-19 17:56:22 +01:00
Adam Moss
50cc35479e proton: Set enablenvapi for Red Dead 2 / Online.
Link: https://github.com/ValveSoftware/Proton/pull/6227
2022-12-19 17:56:22 +01:00
Arkadiusz Hiler
e927eb06d6 proton: Disable hidenvgpu if nvapi is enabled.
Link: https://github.com/ValveSoftware/Proton/pull/6227
2022-12-19 17:56:22 +01:00
Adam Moss
ddcb61f21f proton: Enable dxvknvapi on a bunch of (DLSS) titles.
Link: https://github.com/ValveSoftware/Proton/pull/6120
Link: https://github.com/ValveSoftware/Proton/pull/6227

(squashed a bunch of commits)
2022-12-19 17:55:01 +01:00
Arkadiusz Hiler
ecfb0df6d2 .gitmodules: Use downstream dxvk.
For CI / bleeding-edge automation.
2022-12-19 17:55:01 +01:00
Andrew Eikum
076825cc5a Handle steampipe quirks in deploy builds 2022-12-19 17:55:01 +01:00
Andrew Eikum
1862999c82 Don't ship filenames with colons in them 2022-12-19 17:55:01 +01:00
Andrew Eikum
cb87b19a31 Don't ship proton dist files in a tarball anymore 2022-12-19 17:55:01 +01:00
Anna Lasky
c5ad95671c proton: Remove LOST EMBER from MFDXGI hack
CW-Bug-Id: #21097
2022-12-16 20:40:44 +01:00
Arkadiusz Hiler
c703fadb78
update wine 2022-12-12 13:43:56 +01:00
Esme Povirk
40bfcf80d1 Update Wine Mono to 7.4.0. 2022-12-06 19:21:57 +02:00
Arkadiusz Hiler
2c632b6b7f update dxvk-nvapi to v0.6 2022-12-06 19:21:57 +02:00
Paul Gofman
fd7c705a69 proton: Enable gamedrive compat option for As Dusk Fails.
CW-Bug-Id: #21485
2022-12-06 19:21:57 +02:00
Arkadiusz Hiler
ad1a597368 media-converter: Use the test pattern video even without dump/transcoded files.
So the game won't trip over lack of media when shader pre-cacheing is
disabled in Steam.

CW-Bug-Id: #21524
2022-12-06 19:21:57 +02:00
Shaun Ren
4793830e64 media-converter: Set stream ID as the video hash.
If a stream ID is not set, gstreamer will generate random stream IDs for
the streams in downstream elements. This can cause decodebin to generate
its source pads in a non-deterministic order, as decodebin takes into
account the stream IDs when sorting the source pads.

This patch includes some changes from Arek Hiler.

CW-Bug-Id: #21192
2022-12-06 19:21:57 +02:00
Rémi Bernon
64729f7842 docker: Add autoconf-archive dependency.
For OpenFST.
2022-12-06 19:21:57 +02:00
Simon McVittie
11336323c1 proton: Don't crash if sys.stderr is not usable
If a Steam user runs Steam from a terminal, puts it in the background
and then exits from that terminal, or if they restart their desktop
session from a terminal (as in ValveSoftware/Proton#6277) and then exit
from that terminal, then we can inherit a stdout and/or stderr file
descriptor pointing to an invalid file descriptor. Writing to such a
file descriptor fails with EIO. Similarly, we could get write errors
as a result of OS state, such as ENOSPC if we are writing to a disk
that is full, or EPIPE if a stream to a logging framework such as the
systemd journal has been shut down.

In sufficiently pathological situations, the file descriptor could even
become invalid while the `proton` script is running, so even checking
for validity on startup would not be enough to prevent this.

The ability to log to stderr is important but not functionally critical,
and it's not like there is anything we can usefully do about a write
failure here (or even anywhere we can usefully put a warning message),
so just ignore write errors. This is similar to the behaviour of the
`logging` framework in the Python standard library (which writes to
`stderr` if a user-defined handler fails, but takes no other action)
and also similar to the approach taken to solve
ValveSoftware/steam-for-linux#8069.

Signed-off-by: Simon McVittie <smcv@collabora.com>
Link: https://github.com/ValveSoftware/Proton/pull/6341
2022-12-06 19:21:57 +02:00
Arkadiusz Hiler
07ef25e563 docker: Bump Rust to 1.65.
For let-else statements and generic associated types.
2022-12-06 19:21:57 +02:00
Arkadiusz Hiler
0341fce653 docker: Don't specify the image tag in --cache-from
The option is badly documented. Apparently the image name is enough.
Specifying the tag breaks podman/buildah build.
2022-12-06 19:21:57 +02:00