protontricks icon indicating copy to clipboard operation
protontricks copied to clipboard

Does not work with flatpak Steam

Open bilowik opened this issue 6 years ago • 7 comments

The current Debian stable does not properly run steam, and only the flatpak version runs. I have tried modifying the script myself to get it to work properly with the way flatpak installs steams and where the directories go but I have had no success.

bilowik avatar Dec 18 '18 20:12 bilowik

The current Debian stable does not properly run steam...

Debian 9 'stretch' x86_64 user here. I have installed "steam:i386" package from official Debian stable repository and it is working fine. There is a possibility you don't have necessary dependencies installed for Steam to work, like graphic driver libraries for i386 architecture.

You can also use official Steam deb package from Valve's repository from http://repo.steampowered.com/, but using the one from Debian distribution is recommended.

sizeofbool avatar Dec 29 '18 07:12 sizeofbool

You can run protontricks from within the Steam flatpak with no modifications by installing it and winetricks and setting up an alias.

flatpak run --command=bash com.valvesoftware.Steam
mkdir bin
cd bin
curl https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks -o winetricks
chmod +x winetricks
curl https://raw.githubusercontent.com/Sirmentio/protontricks/master/protontricks -o protontricks
chmod +x protontricks
exit
alias protontricks="flatpak run --command=$HOME/bin/protontricks --env=WINETRICKS=$HOME/bin/winetricks com.valvesoftware.Steam"

BoltsJ avatar Jan 28 '19 03:01 BoltsJ

It would be nice if the above instructions can be added to the README.md or to the wiki. Thank you for sharing that @BoltsJ

Saroufim avatar Mar 29 '19 16:03 Saroufim

@BoltsJ Nothing happend when i used alias protontricks="flatpak run --command=$HOME/bin/protontricks --env=WINETRICKS=$HOME/bin/winetricks com.valvesoftware.Steam"

JumperLuko avatar Apr 05 '19 15:04 JumperLuko

@BoltsJ I put in different directory, run with that command flatpak run --command=$HOME/data/Steam/steamapps/common/"Proton 3.16"/dist/bin/winetricks --env=WINETRICKS=$HOME/data/Steam/steamapps/common/"Proton 3.16"/dist/bin/winetricks com.valvesoftware.Steam gui

JumperLuko avatar Apr 06 '19 02:04 JumperLuko

@BoltsJ I put in different directory, run with that command flatpak run --command=$HOME/data/Steam/steamapps/common/"Proton 3.16"/dist/bin/winetricks --env=WINETRICKS=$HOME/data/Steam/steamapps/common/"Proton 3.16"/dist/bin/winetricks com.valvesoftware.Steam gui

JumperLuko avatar Apr 06 '19 14:04 JumperLuko

I've written preliminary instructions on how to get the forked version of protontricks working with the Flatpak version of Steam here. Testing would be appreciated!

I have only tested it briefly, but there are some limitations compared to a normal Steam installation. For example, Winetricks verbs like xact don't work since they require cabextract, which can't be easily installed due to the sandboxed environment lacking a package manager.

Matoking avatar Apr 10 '19 09:04 Matoking