Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Steam as flatpak #9

Open
T-Quill opened this issue Mar 7, 2023 · 2 comments
Open

Steam as flatpak #9

T-Quill opened this issue Mar 7, 2023 · 2 comments
Labels
help wanted Extra attention is needed

Comments

@T-Quill
Copy link

T-Quill commented Mar 7, 2023

Hello,
I have steam as a flatpak, and when I run protonhax ls it shows no games, even though Elden Ring is running. I try and run a command using ER's appid, but it says there are no games with that id. I use Alpine Linux, which unfortunately is incompatible with non-flatpak steam. Do you have any advice on how to get protonhax to access the flatpak of steam?
Thanks

@jcnils
Copy link
Owner

jcnils commented Aug 2, 2023

I think the best way would be to package this as flatpak and work with flatpak permissions.

I will take a look at what is needed to maintain a flatpak package.

@ilolipopi
Copy link

ilolipopi commented Feb 1, 2024

A manual way:

mkdir $HOME/.var/app/com.valvesoftware.Steam/protonhax

and copy the compiled envload and protonhax binaries into it

In Steam set the launch options for the desired game to $HOME/protonhax/protonhax init %command%, and then launch the game.

Open a bash in the flatpak sandbox

flatpak run --branch=stable --arch=x86_64 --command=bash --file-forwarding com.valvesoftware.Steam @@u %U @@

Run protonhax command inside the sandbox:

$HOME/protonhax/protonhax ls/run/cmd/exec/WHATEVER

@jcnils jcnils pinned this issue Apr 13, 2024
@jcnils jcnils added the help wanted Extra attention is needed label Sep 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants