From c941e68acf9fd1b00e04140aa63acdaabbaf1e42 Mon Sep 17 00:00:00 2001 From: Derek Lesho <dlesho@codeweavers.com> Date: Mon, 20 Dec 2021 17:35:06 -0500 Subject: [PATCH] proton: Look for libraries in Steam Client path. This is used to pick up Valve's build of ffmpeg, which includes proprietary decoders. Signed-off-by: Derek Lesho <dlesho@codeweavers.com> --- proton | 3 +++ 1 file changed, 3 insertions(+) diff --git a/proton b/proton index b21a1573..662ec97e 100755 --- a/proton +++ b/proton @@ -890,6 +890,9 @@ class CompatData: elif os.path.lexists(gamedrive_path): os.remove(gamedrive_path) + # add Steam ffmpeg libraries to path + prepend_to_env_str(g_session.env, ld_path_var, steamdir + "/ubuntu12_64/video/:" + steamdir + "/ubuntu12_32/video/", ":") + def comma_escaped(s): escaped = False idx = -1