Closed kaeh closed 1 year ago
In future, please attach logs as a file and not as a wall of text.
Installation worked but when i execute steamtinkerlaunch launcher this error pops and the launcher does not launch.
As the error points out, your Steam userdata directory cannot be found (in almost every valid OS case, this is at least ~/.steam/root
), so you should expect things to not work :-) In fact, no Steam installation data can be found by STL. This is incredibly unusual and the first time I have seen this issue with STL.
From reading the log, it looks like something is wrong with your Steam installation. The paths ~/.steam/root
and ~/.steam/steam
don't appear to exist, so STL cannot function because it cannot find Steam installation information. Please make sure you have Steam installed and launched at least once. Are you perhaps trying to use SteamTinkerLaunch without Steam installed?
If you have Steam currently installed and previously launched with at least one user logged in, and the error persists, please post your Steam installation path.
If i use the application shortcut "Steam Tinker Launch (settings)" it looks like something's missing
As a side-note: You shouldn't use this. This is equivalent to launching steamtinkerlaunch settings
, which launches the settings menu for the most recent game. There is never really a need to use this unless you're developing something related to STL. Is there a reason you're using it?
SteamTinkerLaunch is only intended to be used from the command-line and from the Steam client. Very little of value can be done from this menu when it is not used with a game launch. Though currently a game launch will not work in your case because SteamTinkerLaunch cannot find where Steam is installed, which usually indicates either that Steam has never been launched/no user is/has ever been logged into Steam, or that there is a distribution packaging issue.
First, I hope i didn't forgot something while installing !
To this end I think you're fine. It's probably something wrong with a missing Steam installation, or a distribution issue.
This has come up before, so as a courtesy: SteamTinkerLaunch is only for use with Steam, and only for use by Steam users. If you try to use SteamTinkerLaunch functions with games managed outside of Steam (such as Vortex Mod Manager), then the short answer is don't.
I did a quick check and remember a similar issue came up with ProtonUp-Qt, because you're using Pop_OS! it may package Steam incorrectly and install to ~/.steam/debian-installation
. But only one user for one project has ever reported that, and it has yet to be reported to STL, so I am very doubtful this would exist (especially if ~/.steam/root
is missing, which should never, ever be the case).
Hey thanks for the quick reply !
Firstly, sorry for the wall of text :sweat_smile:.
Secondly, I have Steam installed but not in ~/.steam
, in fact I don't even have that folder. I can't remember how I installed it, but it's there and working, and it looks like it's installed in $HOME/.var/app/com.valvesoftware.Steam/.local/share/Steam
, that's kinda weird tbh.
Maybe i should try to reinstall Steam ?
Ah, that's Flatpak Steam. In that case, you'll want to install Flatpak SteamTinkerLaunch. Note that command-line usage may be more difficult when working within Flatpak.
Ok, i'll try that and i'll give you an update ;)
Make sure to restart Steam after installation., as Steam requires a restart after installing any compatibility tools. If you get Flatpak STL installed and it still doesn't show up in Steam as a compatibility tool, you may need to run flatpak run --command="/app/utils/steamtinkerlaunch/bin/steamtinkerlaunch" --file-forwarding com.valvesoftware.Steam compat add
.
A small number of users have had to do that recently, as noted in flathub/com.valvesoftware.Steam.Utility.steamtinkerlaunch#110.
Looks like it works ! I had to execute the file-forwarding command line.
Thanks again, and thanks for the software :)
No problem, happy tinkering!
It would be nice to be able to set environment variables to point STL to a non standard Steam folder, like protonup-ng
allows.
I use Guix as a distribution, and it installs Steam in a container, which is not located in ~/.local/share/steam
nor ~/.steam
. While I could add GE-Proton as a compatibility layer to Steam using protonup-ng
and giving it my real Steam path, I cannot do that with STL.
SteamTinkerLaunch doesn't support Steam running in a container (the only container environment that is even halfway supported is Flatpak, and it is hosted on a separate repo with 99% of the work coming from contributors).
Feel free to open a PR to add this, or for a bandaid fix specific to your setup, edit the script manually. Not sure of the exact complexity or edge cases involved but I think we build paths from a pre-determined Steam root, so could be a good first PR 👍
However, because of all the issues that can arise, I don't think it's wise for STL to advertise support for this. It's probably best for us to support standard Valve installs only unless someone else can help maintain issues long-term for such an installation setup.
System Information
Issue Description
First, I hope i didn't forgot something while installing !
Installation worked but when i execute
steamtinkerlaunch launcher
this error pops and the launcher does not launch.If i use the application shortcut "Steam Tinker Launch (settings)" it looks like something's missing
Logs
Logs when using the application shortcut. There is no log when trying to use
steamtinkerlaunch launcher