luxtorpeda-dev / luxtorpeda

Steam Play compatibility tool to run games using native Linux engines
GNU General Public License v2.0
723 stars 19 forks source link

Make Luxtorpeda download required Steam files #238

Closed Jpxe closed 1 year ago

Jpxe commented 1 year ago

Feature Request

As asked by this user: https://github.com/luxtorpeda-dev/packages/issues/994#issuecomment-1712529072

This feature would allow Luxtorpeda to download Steam files and runtimes if an engine requires them. Such as:

Could also potentially be used for more requirements like:

Solution

  1. Potential: Luxtorpeda checks if a user has the necessary Steam binaries and runtimes installed.
  2. Luxtorpeda downloads the necessary files and then launches the engine

Additional Context

I've tested this out a bit and installation is possible using either of these commands:

Jpxe commented 1 year ago

when paused

d10sfan commented 1 year ago

Can you try this build? https://github.com/luxtorpeda-dev/luxtorpeda/actions/runs/6314729294

I believe the issue was when you first start, it wasn't checking the fullyinstalled flag, like it does when it asks for the install, so that should fix your issue. Thanks!

Jpxe commented 1 year ago

Can you try this build? https://github.com/luxtorpeda-dev/luxtorpeda/actions/runs/6314729294

I believe the issue was when you first start, it wasn't checking the fullyinstalled flag, like it does when it asks for the install, so that should fix your issue. Thanks!

The install command doesn't seem to work when the download is paused. But other than that it no longer crashes and when I manually resumed to download it waited until it downloaded and launches the game. So I'd say it's good enough for merging if you feel happy with it. Thanks for implementing it!

d10sfan commented 1 year ago

Ok great, yeah there probably isn't anything I can do about it being paused, but at least now it'll act correctly.

Thanks! I'll merge this in soon and create a release. Thanks alot for all the help in testing!