-
-
Notifications
You must be signed in to change notification settings - Fork 18
Description
Describe the bug
This is a bug / PR of an issue I cannot fix (cause I don't know how to program in Rust) that does'nt let me launch a Steam game
To Reproduce
Steps to reproduce the behavior:
- That is specific to people who installed Steam through Snap or people who have the steam folder in other place other than what the program looks for
Expected behavior
There should be an option on the settings menu to let you choose the path to the steam folder
Screenshots
If applicable, add screenshots to help explain your problem.
Steam Runtime soldier is installed

Error before me trying to fix it

Logs
Posting logs can be super helpful with troubleshooting. If you're launching PartyDeck from the gaming mode launcher script, it should create a log.txt file next to the executable. If you're launching from desktop, run the launcher from a terminal and copy-paste the output.
[partydeck] Creating profile .Supreme
[partydeck] Profile created successfully
[partydeck] Creating game save Terraria for .Supreme
[partydeck] Profile save data created successfully
[partydeck] - Profile: .Supreme, Monitor: 0, Resolution: 2560x1600
[partydeck] Error launching instances: Steam Runtime soldier not found!
[partydeck] util::kwin_dbus_unload_script - Unloading splitscreen script...
[partydeck] util::kwin_dbus_unload_script - Script unloaded.
/home/[user]/.local/share/partydeck/tmp/game-0 é um ponto de montagem
umount: /home/[user]/.local/share/partydeck/tmp/game-0 (fuse-overlayfs) desmontado
Setup Information
- Linux Distro: Kubuntu
- Hardware: Nvidia RTX 3050 6G (notebook)
- Any relevant package info [e.g. gamescope version 3.16.4]
Additional context
I'm not a Rust programmer and that's why i didn't create a PR. I'm not an experienced linux user either (started yeasterday)
When I tried to start the game (Terraria) I was getting a "Steam Runtime soldier not found!" (and yes, I tried with all of the steam runtime manager options this software provides). I already have it installed on my computer but it kept making this error.
After inspecting the code in "launch.rs" I ended up in "paths.rs" where the variable "PATH_STEAM" is set to the path "home/[user]/.steam/"
The problem was that I installed Steam using Snap. That means that the folder ".steam" is located in "home/[user]/snap/steam/common/"
The lack of an option to change the Steam Linux Runtime path made this error occur. I tried a band-aid fix, creating the path that the program recognizes and then creating a copy of the Runtime soldier to it, and it worked, but now I have another error, "Game root path not found", wich I could not find a solution for and I could not determine why it happens because my knowlege on Rust goes to a certain point.
This is kind of a Bug/Suggestion/PR. I didnt know where to put it.
I'm here to ask for an option on the settings menu to change the directory on wich the program will launch Steam Linux Runtimes and the game root folder.
I'd also like to ask, when will support for other languages be available?
Thanks.
PS: sorry for my english, it is not great
