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

Check and use .steam path for Steam Linux Runtime #1353

Closed
redromnon opened this issue May 22, 2022 · 4 comments · Fixed by #1359
Closed

Check and use .steam path for Steam Linux Runtime #1353

redromnon opened this issue May 22, 2022 · 4 comments · Fixed by #1359

Comments

@redromnon
Copy link
Collaborator

redromnon commented May 22, 2022

Describe the bug

By default, Heroic uses the .local/share/Steam path for the Steam Linux runtime. But Ubuntu-based distros like Pop_OS don't use symlink to the .local/share/Steam directory and may not even have the Steam dir in local.
This makes the Steam Runtime feature unusable for such users as the Steam runtimes are only included under .steam despite enabling Steam Runtime.

Add logs

Launch Command: /usr/local/bin/mangohud --dlsym /usr/games/gamemoderun /opt/Heroic/resources/app.asar.unpacked/build/bin/linux/gogdl launch /home/redromnon/Games/Heroic/OpenTTD 1293297882 --platform linux

Steps to reproduce

  1. Go to any game
  2. Click Settings
  3. Click Other
  4. Enable Steam Runtime

Expected behavior

Heroic should include the Steam runtime in the launch command.

Screenshots

None

System Information

  • OS : Pop_OS 22.04
  • Heroic Version : 2.3.3

Additional information

Implement a check and use the suitable or available path (.local/share/Steam or .steam) for Steam Runtime.

@CommandMC
Copy link
Collaborator

I've now created #1359 to change the path to ~/.steam/root/....
I've tested it in a PopOS VM and it seems to work, could you give it a go yourself?

@redromnon
Copy link
Collaborator Author

I can confirm that it's working.

@redromnon
Copy link
Collaborator Author

Will permanently setting the Steam Rumtime path to ~/steam/root/... and not ~/.local/share/Steam/...?

@CommandMC
Copy link
Collaborator

CommandMC commented May 23, 2022

I think it's the more compatible option. From what I've seen that's generally what other scripts involving Steam use as well

@CommandMC CommandMC linked a pull request May 23, 2022 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants