RobLoach / net.lutris.Lutris

Pull requests for new applications to be added
https://flathub.org
2 stars 0 forks source link

Flatpaked Steam Not Detected #33

Closed Saroufim closed 5 years ago

Saroufim commented 5 years ago

With the release of 0.5.2, Lutris should have been able to detect Steam distributed via flatpak yet it doesn't. Lutris installed via RPM detects the flatpaked Steam just fine.

RobLoach commented 5 years ago

You installed Lutris through Flatpak? 0.5.2? Latest master?

Saroufim commented 5 years ago

Lutris through Flatpak based on this project as compiled by the Flathub. It should contain the patch that detects Flatpaked Steam. In any case, I found out that it's not just Steam. It doesn't detect any flatpaked game at all. Supertuxkart, intalled from Flathub, is also not detected.

gasinvein commented 5 years ago

So you meant Lutris doesn't detect Steam itself, not games from steam library? If it doesn't detect native games - it is kinda expected, while we can make Lutris find them, it won't be able to run them anyway.

Saroufim commented 5 years ago

It doesn't detect steam itself, native games, or proton-enabled games; basically it detects nothing that comes in a flatpak.

gasinvein commented 5 years ago

Sorry, I don't get it. Can you please explain like this?

  1. What you do
  2. What you expect to happen
  3. What it actually happening
Saroufim commented 5 years ago

1 - flatpak run net.lutris.Lutris 2 - Flatpaked Lutris to show the same identical library that non-flatpaked lutris shows including Steam itself (which is flatpaked on my system), Steam's games including native and proton-based ones, and native games (flatpaked on my system) 3 - Flatpaked Lutris only shows wine-based games in my library and does not detect Steam nor its games and neither does it detect non-steam native games.

gasinvein commented 5 years ago

Was it different with previous Lutris flatpak builds?

Flatpaked Lutris to show the same identical library that non-flatpaked lutris

No, this is not how it works. Flatpak'ed apps are self-contained, so is their data, which is independent from the host's data. You have to re-import games from Steam library. Flatpak'ed Lutris should be able to scan flatpak'ed Steam library - this is the thing that was fixed in v0.5.2.

Flatpaked Lutris only shows wine-based games

I guess it's because flatpak'ed Lutris has direct access to ~/Games directory. This may it change in future.

Saroufim commented 5 years ago

You're right. I assumed it would scan the directory automatically but I had to import the games manually. All the games were listed but not all of them were automatically imported. Path of Exile, Elder Scrolls Online, and Elder Scrolls Legends were not for instance.

gasinvein commented 5 years ago

not all of them were automatically imported

If you have multiple steam libraries, e.g. on separate partitions, you should give flatpak'ed Lutris access to them, like so: flatpak override net.lutris.Lutris --filesystem=/path/to/your/games.

Saroufim commented 5 years ago

They're all installed under ~/.var/app/com.valvesoftware.Steam

gasinvein commented 5 years ago

Is this resolved?

Saroufim commented 5 years ago

Yes this has been successfully resolved.