ValveSoftware / steam-for-linux

Issue tracking for the Steam for Linux beta client
4.22k stars 174 forks source link

Proton for sourcemods #6036

Open XakepSDK opened 5 years ago

XakepSDK commented 5 years ago

Your system information

Please describe your issue in as much detail as possible:

Some sourcemods don't support linux. I want to play them, but steam won't launch them with proton. For example: HL2: Aftermath or HL2: MMod

Steps for reproducing this issue:

  1. Install sourcemod
  2. Set HL2 or HL2 episodes settings to use Proton
  3. Set sourcemod settings to use Proton
  4. Launch game
  5. Native game starts, instead of proton version.
  6. Game shows error, that can't load game library(of course, mod doesn't have shared objects for linux, only dlls)
kisak-valve commented 5 years ago

~Similar to #5677.~

XakepSDK commented 5 years ago

Isn't #5677 already fixed with latest beta?

owlshrimp commented 3 years ago

Isn't #5677 already fixed with latest beta?

I don't believe that applies here. We are not trying to run a program that is external to Steam.

What we need is to install the Windows version of a game instead of the Linux version, when both exist in the Steam store/library. This cannot currently be accomplished as Linux native versions are always installed when available. This remains regardless of what Proton settings are chosen in the game's settings.

By emulating the Windows version with Proton instead of running the native Linux version, we would be able to link against windows DLL files provided as part of a sourcemod. If only the native Linux version can be installed on Linux, then attempting to run a sourcemod with DLLs compiled for windows will result in an error. Most sourcemods only provide their content compiled as DLLs for Windows and few offer SOs for Linux.

It's a surprising issue when the most difficult games to run on Steam for Linux are mods for a game with a native linux version.

owlshrimp commented 3 years ago

Bumping.

Please honor the per-game compatibility setting for steamapps in properties->compatibility. Right now it has no effect. Yes, this issue is a bug not a feature request.

If someone ticks "Force the use of a specific steam play compatibility tool" launch the windows version of HL2 under proton instead of the native linux runtime. Then the "could not load library client" error shouldn't occur.

At the moment almost NO sourcemods work on linux because of this issue.

owlshrimp commented 3 years ago

If a detailed series of steps to replicate this bug (using a specific sourcemod) are required I would be happy to provide them.

dangerousones commented 3 years ago

I can also replicate this issue, I'm unable to play any sourcemod, including "MMod" on Ubuntu Linux 20.04 Desktop.

owlshrimp commented 2 years ago

@kisak-valve Is there additional information which would make this issue easier to resolve?

Unaccounted4 commented 1 year ago

Still present 01/08/23.