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

⚠ Steam flatpak support #27

Closed
pio2398 opened this issue Aug 14, 2020 · 220 comments
Closed

⚠ Steam flatpak support #27

pio2398 opened this issue Aug 14, 2020 · 220 comments
Labels
Flatpak Issues related to SteamTinkerLaunch Flatpak

Comments

@pio2398
Copy link

pio2398 commented Aug 14, 2020

Currently there is no easy way to stl use in flatpaked version of Steam. That shouldn't be hard, here is example of other addon: https://github.com/flathub/com.valvesoftware.Steam.Utility.protontricks

@frostworx
Copy link
Collaborator

Sorry, I'm personally not interested in flatpak, so I won't spend my time on it,
but if you could contribute a pull request if you want.

@frostworx frostworx reopened this Aug 17, 2021
@frostworx
Copy link
Collaborator

reopening because I got some more requests

@podiki
Copy link
Contributor

podiki commented Oct 5, 2021

Yes, wondering how difficult this would be... I'd like to take a look, but might be a while until I can investigate. I'll report back anything I do find.

@frostworx
Copy link
Collaborator

Nice, thanks @podiki :)

@frostworx frostworx added the Hacktoberfest Hacktoberfest label Oct 5, 2021
@frostworx frostworx removed the Hacktoberfest Hacktoberfest label Nov 1, 2021
@frostworx
Copy link
Collaborator

feel free to reopen

@frostworx
Copy link
Collaborator

reopening for an upcoming sticky issue

@frostworx
Copy link
Collaborator

#431

@TheEvilSkeleton
Copy link

TheEvilSkeleton commented Apr 18, 2022

I created a manifest, available at https://github.com/TheEvilSkeleton/flatpaks/tree/com.valvesoftware.Steam.Utility.steamtinkerlaunch.

Adding steamtinkerlaunch %command% as a launch option executes the game itself, but the steamtinkerlaunch script fails in the middle with the following error:

/app/utils/bin/steamtinkerlaunch: line 7994: : command not found

Line 7994 is the following:

			"$YAD" --f1-action="$F1ACTION" --image "$SHOWPIC" --image-on-top --window-icon="$STLICON" --form --center --on-top "$WINDECO" \

@frostworx
Copy link
Collaborator

Nice, thanks for the attempt! Looks like you're missing yad, which is required for the gui.

@sonic2kk
Copy link
Owner

Just chipping in to try and help, is this syntax correct? https://github.com/TheEvilSkeleton/flatpaks/blob/7665a7234da1a4b1ee7080f6876332bf4dd56280/com.valvesoftware.Steam.Utility.steamtinkerlaunch.yaml#L23

It seems like another modules block is being defined? At least I can't see that syntax elsewhere in the file.

@frostworx
Copy link
Collaborator

Thanks for trying to help @sonic2kk
Can't help with flatpak. Assuming the yaml installed yad correctly, I would have suggested to check if the $PATH is valid
Generally starting steamtinkerlaunch without yad being installed it should already warn/error our before and not fail with some broken line (here 7994) so if it is possible to get a log out of the wip flatpak it might help as well.

@TheEvilSkeleton
Copy link

TheEvilSkeleton commented Apr 19, 2022

Just chipping in to try and help, is this syntax correct? https://github.com/TheEvilSkeleton/flatpaks/blob/7665a7234da1a4b1ee7080f6876332bf4dd56280/com.valvesoftware.Steam.Utility.steamtinkerlaunch.yaml#L23

It seems like another modules block is being defined? At least I can't see that syntax elsewhere in the file.

That's normal. Everything residing under modules builds first. Essentially, the intltool module builds prior to building the yad module.

If I type which yad in the Steam Flatpak container, I get this:

TheEvilSkeleton@TheMainDesktop ~> flatpak run --command=bash com.valvesoftware.Steam
[📦 com.valvesoftware.Steam ~]$ which yad
/app/utils/bin/yad

Which means yad actually exists and is in PATH.

Running yad within the container shows this:

image

I'm guessing everything looks fine on yad's side?

@frostworx
Copy link
Collaborator

Ah, /app/utils/bin/yad is interesting here. I guess this might require a little addition directly in steamtinkerlaunch.
Could you please test what currently
grep YAD ~/.config/steamtinkerlaunch/global.conf returns?

likely it is
YAD="/usr/bin/yad"
but apparently should be
YAD="/app/utils/bin/yad"
on your side.
Would be also good to know if you change it manually in the config.
(logs should have initially revealed it as well btw - f.e. /dev/shm/steamtinkerlaunch/steamtinkerlaunch.log)

@frostworx
Copy link
Collaborator

stdout of $PATH within steamtinkerlaunch might be interesting as well - if possible when started from steam (would help to see if it basically is sane and your path needs to be added or if it is removed from somewhere)

@TheEvilSkeleton
Copy link

likely it is
YAD="/usr/bin/yad"

Not even. It's empty:

[📦 com.valvesoftware.Steam ~]$ grep YAD ~/.config/steamtinkerlaunch/global.conf
YAD=""

Flatpak remaps $XDG_CONFIG_HOME to ~/.var/app/$APP_ID/config. In this case it's ~/.var/app/com.valvesoftware.Steam/config/global.conf. However, upon checking that, it's empty as well:

[📦 com.valvesoftware.Steam ~]$ grep YAD $XDG_CONFIG_HOME/steamtinkerlaunch/global.conf 
YAD=""

I manually appended /app/utils/bin/yad in YAD, and steamtinkerlaunch launched! However, it crashed after a second.

@TheEvilSkeleton
Copy link

TheEvilSkeleton commented Apr 19, 2022

Here's the log when starting Jurassic World Evolution 2:

Click to expand

Tue Apr 19 12:53:47 EDT 2022 INFO - initAID - Set AID from STEAM_COMPAT_APP_ID to '1244460'
Tue Apr 19 12:53:47 EDT 2022 INFO - initAID - Set OSCDP to STEAM_COMPAT_DATA_PATH '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/compatdata/1244460'
Tue Apr 19 12:53:47 EDT 2022 INFO - loadLangFile - Loading system wide /app/utils/steamtinkerlaunch/share/steamtinkerlaunch/lang//english.txt
Tue Apr 19 12:53:47 EDT 2022 INFO - getCurrentCommandline - Found Proton in command line arguments '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1244460 -- /app/share/steam/compatibilitytools.d/Proton-GE/proton waitforexitandrun /run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/JWE2.exe'
Tue Apr 19 12:53:47 EDT 2022 INFO - saveOrgVars - Storing some original variables to restore them later
Tue 19 Apr 2022 12:53:47 PM EDT INFO - emptyVars - Emptied some original variables as they slowdown several system calls when started from steam
Tue 19 Apr 2022 12:53:47 PM EDT INFO - emptyVars - Set $PATH to '/app/bin:/app/utils/bin:/usr/bin:'
Tue 19 Apr 2022 12:53:47 PM EDT START - ######### Initializing Game Launch 1244460 using SteamTinkerLaunch v9.2 #########
Tue 19 Apr 2022 12:53:47 PM EDT INFO - main - Starting with a clean log
Tue 19 Apr 2022 12:53:47 PM EDT INFO - main - Start creating default configs
Tue 19 Apr 2022 12:53:47 PM EDT INFO - createDefaultCfgs - START
Tue 19 Apr 2022 12:53:48 PM EDT INFO - loadLanguage - First load the default language to make sure all variables are filled
Tue 19 Apr 2022 12:53:48 PM EDT INFO - loadLangFile - Loading system wide /app/utils/steamtinkerlaunch/share/steamtinkerlaunch/lang//english.txt
Tue 19 Apr 2022 12:53:48 PM EDT WARN - updateEditor - 'xdg-open' selected as editor or configured editor not found - trying to find an installed editor installed
Tue 19 Apr 2022 12:53:48 PM EDT SKIP - updateEditor - No valid editor found - leaving 'xdg-open'
Tue 19 Apr 2022 12:53:48 PM EDT INFO - createDefaultCfgs - setSteamPaths:
Tue 19 Apr 2022 12:53:48 PM EDT INFO - setSteamPaths - Reading Steam Path variables from '/dev/shm/steamtinkerlaunch/steampaths.txt'
Tue 19 Apr 2022 12:53:48 PM EDT WARN - updateEditor - 'xdg-open' selected as editor or configured editor not found - trying to find an installed editor installed
Tue 19 Apr 2022 12:53:48 PM EDT SKIP - updateEditor - No valid editor found - leaving 'xdg-open'
Tue 19 Apr 2022 12:53:48 PM EDT INFO - getGameOS - Starting game OS detection
Tue 19 Apr 2022 12:53:48 PM EDT INFO - getGameOS - STEAM_COMPAT_DATA_PATH is defined - This is no longer necessarily a reliable indication that this is a Windows game.
Tue 19 Apr 2022 12:53:48 PM EDT INFO - getGameOS - Making some more checks on '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/JWE2.exe' to determine the OS version of the game
Tue 19 Apr 2022 12:53:48 PM EDT INFO - getGameOS - Looks like this is a Windows game!
Tue 19 Apr 2022 12:53:48 PM EDT INFO - setWin - 'JWE2' determined to be a Windows Game
Tue 19 Apr 2022 12:53:48 PM EDT INFO - createProtonList - Looking for available Proton versions
Tue 19 Apr 2022 12:53:48 PM EDT INFO - getAvailableProtonVersions - Initially creating an array with available Proton versions
Tue 19 Apr 2022 12:53:48 PM EDT INFO - getAvailableProtonVersions - Adding Proton versions found in STEAMCOMPATOOLS '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d'
Tue 19 Apr 2022 12:53:48 PM EDT SKIP - getAvailableProtonVersions - Directory SYSSTEAMCOMPATOOLS '/usr/share/steam/compatibilitytools.d' not found - skipping
Tue 19 Apr 2022 12:53:48 PM EDT INFO - getAvailableProtonVersions - Adding Proton versions found in additional SteamLibrary Paths
Tue 19 Apr 2022 12:53:49 PM EDT INFO - listAllSettingsEntries - '/dev/shm/steamtinkerlaunch/setentries.txt' already exists - nothing to do
Tue 19 Apr 2022 12:53:49 PM EDT INFO - createDefaultCfgs - STOP
Tue 19 Apr 2022 12:53:49 PM EDT INFO - main - Checking internal dependencies:
Tue 19 Apr 2022 12:53:49 PM EDT INFO - setAwkBin - Found 'gawk' as an 'awk' variant. It should work without any issues, because 'gawk' was tested completely
Tue 19 Apr 2022 12:53:49 PM EDT INFO - checkIntDeps - Result of version check for yad binary '/app/utils/bin/yad' is '10.1'
Tue 19 Apr 2022 12:53:49 PM EDT INFO - main - Initializing first Proton:
Tue 19 Apr 2022 12:53:49 PM EDT INFO - initFirstProton - skipping function, because Proton version is provided by commandline (steamtinkerlaunch used via 'Steam Launch Option')
Tue 19 Apr 2022 12:53:49 PM EDT INFO - main - Initializing default window resolution
Tue 19 Apr 2022 12:53:49 PM EDT INFO - setInitWinXY - Using '1920x1080' from config '/dev/shm/steamtinkerlaunch/defres.txt'
Tue 19 Apr 2022 12:53:49 PM EDT INFO - main - Checking command line: incoming arguments '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1244460 -- /app/share/steam/compatibilitytools.d/Proton-GE/proton waitforexitandrun /run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/JWE2.exe'
Tue 19 Apr 2022 12:53:49 PM EDT SKIP - getGameOS - ISGAME is already set to '2' - nothing to determine
Tue 19 Apr 2022 12:53:49 PM EDT INFO - linkLog - Symlink '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/logs/steamtinkerlaunch/title/Jurassic World Evolution 2.log' already exists
Tue 19 Apr 2022 12:53:50 PM EDT WARN - updateEditor - 'xdg-open' selected as editor or configured editor not found - trying to find an installed editor installed
Tue 19 Apr 2022 12:53:50 PM EDT SKIP - updateEditor - No valid editor found - leaving 'xdg-open'
Tue 19 Apr 2022 12:53:50 PM EDT START - ######### Game Launch: Jurassic World Evolution 2 (1244460) #########
Tue 19 Apr 2022 12:53:50 PM EDT INFO - prepareLaunch - Game launch args '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/JWE2.exe'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - prepareLaunch - Gamedir '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - prepareLaunch - Proton wineprefix '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/compatdata/1244460/pfx'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - prepareLaunch -------------------
Tue 19 Apr 2022 12:53:50 PM EDT INFO - prepareLaunch - CreateGameCfg:
Tue 19 Apr 2022 12:53:50 PM EDT SKIP - updateConfigFile - Config file '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/id/1244460.conf' already at version 'v9.2'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - linkGameCfg - Symlink '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/title/Jurassic World Evolution 2.conf' already exists
Tue 19 Apr 2022 12:53:50 PM EDT INFO - prepareLaunch - First LoadCfg: /var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/id/1244460.conf
Tue 19 Apr 2022 12:53:50 PM EDT INFO - loadCfg - '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/id/1244460.conf' START
Tue 19 Apr 2022 12:53:50 PM EDT INFO - loadCfg - Loading game config '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/id/1244460.conf'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - loadCfg - '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/id/1244460.conf' STOP
Tue 19 Apr 2022 12:53:50 PM EDT INFO - prepareLaunch - OpenTrayIcon:
Tue 19 Apr 2022 12:53:50 PM EDT INFO - autoCategorySettings - Searching categories for game '1244460' in 'sharedconfig.vdf'
Tue 19 Apr 2022 12:53:50 PM EDT SKIP - autoCategorySettings - Config '/app/utils/steamtinkerlaunch/share/steamtinkerlaunch/categories/.conf' not found - skipping
Tue 19 Apr 2022 12:53:50 PM EDT SKIP - autoCategorySettings - Config '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/categories/.conf' not found - skipping
Tue 19 Apr 2022 12:53:50 PM EDT INFO - setFullGameExePath - Using the base game directory '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2' as absolute game exe path
Tue 19 Apr 2022 12:53:50 PM EDT INFO - openTrayIcon - Opening trayIcon:
Tue 19 Apr 2022 12:53:50 PM EDT INFO - setRunWineServer - Initiated from 'TrayIconExports'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - setRunWineServer - Set the wine binary for proton in path '/app/share/steam/compatibilitytools.d/Proton-GE/proton'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - setRunWineServer - to '/app/share/steam/compatibilitytools.d/Proton-GE/dist/bin/wine'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - setRunWineServer - and wineserver to '/app/share/steam/compatibilitytools.d/Proton-GE/dist/bin/wineserver'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - prepareLaunch - sortGameArgs:
Tue 19 Apr 2022 12:53:50 PM EDT SKIP - sortGameArgs - Sorting the game arguments is disabled
Tue 19 Apr 2022 12:53:50 PM EDT INFO - prepareLaunch - AskSettings:
Tue 19 Apr 2022 12:53:50 PM EDT INFO - askSettings - Using game specific requester timeout '2'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - askSettings - Opening Requester with timeout '2'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - getGameTextFiles - Searching for at least one editable textfile in '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/compatdata/1244460/pfx/drive_c/users/steamuser'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - getRes - Detected screen resolution '2560x1440'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - pollWinRes - Using GEOM '--geometry=1440x810+0+0' from '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/guicfgs/2560x1440/1244460/SteamTinkerLaunch-OpenSettings.conf'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - setShowPic - Determining game picture
Tue 19 Apr 2022 12:53:50 PM EDT INFO - updateWinRes - Starting resolution-poll for '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/guicfgs/2560x1440/1244460/SteamTinkerLaunch-OpenSettings.conf' with incoming '1440x810'
Tue 19 Apr 2022 12:53:50 PM EDT INFO - setShowPic - Using '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/games/header/1244460.jpg' as game picture
Tue 19 Apr 2022 12:53:50 PM EDT INFO - updateWinRes - Waiting for Window 'SteamTinkerLaunch-OpenSettings'
Tue 19 Apr 2022 12:53:51 PM EDT INFO - updateWinRes - Waiting for Window 'SteamTinkerLaunch-OpenSettings'
Tue 19 Apr 2022 12:53:52 PM EDT INFO - updateWinRes - Waiting for Window 'SteamTinkerLaunch-OpenSettings'
Tue 19 Apr 2022 12:53:53 PM EDT SKIP - updateWinRes - Timeout waiting for Window 'SteamTinkerLaunch-OpenSettings'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - askSettings - TIMEOUT - Starting game without opening the Settings Menu
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - Second LoadCfg after menus: /var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/id/1244460.conf
Tue 19 Apr 2022 12:53:54 PM EDT INFO - loadCfg - '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/id/1244460.conf' START
Tue 19 Apr 2022 12:53:54 PM EDT INFO - loadCfg - Loading game config '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/id/1244460.conf'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - loadCfg - '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/gamecfgs/id/1244460.conf' STOP
Tue 19 Apr 2022 12:53:54 PM EDT INFO - autoCategorySettings - Searching categories for game '1244460' in 'sharedconfig.vdf'
Tue 19 Apr 2022 12:53:54 PM EDT SKIP - autoCategorySettings - Config '/app/utils/steamtinkerlaunch/share/steamtinkerlaunch/categories/.conf' not found - skipping
Tue 19 Apr 2022 12:53:54 PM EDT SKIP - autoCategorySettings - Config '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/categories/.conf' not found - skipping
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - sortGameArgs again, in case something changed above:
Tue 19 Apr 2022 12:53:54 PM EDT SKIP - sortGameArgs - Sorting the game arguments is disabled
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - symlinkSteamUser:
Tue 19 Apr 2022 12:53:54 PM EDT SKIP - symlinkSteamUser - Symlinking steamuser is disabled - Checking if a symlink needs to be reverted
Tue 19 Apr 2022 12:53:54 PM EDT SKIP - symlinkSteamUser - '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/compatdata/1244460/pfx/drive_c/users/steamuser' is no symlink - nothing to do
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - restoreSteamUser:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - restoreSteamUser - Using configured value 'none' for RESTORESTEAMUSER
Tue 19 Apr 2022 12:53:54 PM EDT INFO - restoreSteamUser - Restoration of steamuser data is disabled with RESTORESTEAMUSER being 'none
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - prepareProton:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - getProtPathFromCSV - Creating '/dev/shm/steamtinkerlaunch/ProtonCSV.txt'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - getAvailableProtonVersions - Initially creating an array with available Proton versions
Tue 19 Apr 2022 12:53:54 PM EDT INFO - getAvailableProtonVersions - Adding Proton versions found in STEAMCOMPATOOLS '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - setProtonPathVersion - Using directly known 'Proton-GE GE-Proton7-8 (build 1646648409)' as Proton Version for ''
Tue 19 Apr 2022 12:53:54 PM EDT SKIP - getAvailableProtonVersions - Directory SYSSTEAMCOMPATOOLS '/usr/share/steam/compatibilitytools.d' not found - skipping
Tue 19 Apr 2022 12:53:54 PM EDT INFO - getAvailableProtonVersions - Adding Proton versions found in additional SteamLibrary Paths
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareProton - Checking the Proton version is not required, because Steam Launch Option is used. Proton version set in Steam is 'Proton-GE GE-Proton7-8 (build 1646648409)'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch -setLinGameVals :
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - CheckTweakLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkXliveless:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - chooseWinetricks:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkExtDeps:
Tue 19 Apr 2022 12:53:54 PM EDT WARN - checkDep - Disabling 'HAVEINNO' because 'innoextract' is missing
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - setWineVars:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - CheckWinetricksLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - CheckWineCfgLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - CustomRegs:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - TogWindows:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - StateSteamWebHelper:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - InstallReshade:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - installDepth3DReshade:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkReshade:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - autoCategorySettings - Searching categories for game '1244460' in 'sharedconfig.vdf'
Tue 19 Apr 2022 12:53:54 PM EDT SKIP - autoCategorySettings - Config '/app/utils/steamtinkerlaunch/share/steamtinkerlaunch/categories/.conf' not found - skipping
Tue 19 Apr 2022 12:53:54 PM EDT SKIP - autoCategorySettings - Config '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/categories/.conf' not found - skipping
Tue 19 Apr 2022 12:53:54 PM EDT INFO - setFullGameExePath - Using the base game directory '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2' as absolute game exe path
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - useSpecialK:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - setFullGameExePath - Using the base game directory '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2' as absolute game exe path
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - ChooseShaders:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - UseNyrnaz:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - UseReplay:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - CheckSBSVRLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkMO2:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - setNewRes:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - getRes - Detected screen resolution '2560x1440'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - customUserScriptStart:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - redirectSCDP:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - redirectSCDP - Using Proton version with minor version fix 'Proton-GE GE-Proton7-8 (build 1646648409)' for compatdata directory name
Tue 19 Apr 2022 12:53:54 PM EDT INFO - redirectSCDP - Using regular compatdata '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/compatdata/1244460'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkIGCSInjector:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkOpenVRFSR:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - CheckFWS:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - CheckCustomLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkUUUPatchLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - CheckStraceLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - CheckNetMonLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkGamConLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkCheatEngineLaunch:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkPulse:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - checkSteamAppIDFile:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - checkSteamAppIDFile - STEAMAPPIDFILE is disabled and there's no '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/steam_appid.txt' - nothing to do
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch - setCompatDataTitle:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - setCompatDataTitle - Symlink /var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/compatdata/Jurassic World Evolution 2 already exists
Tue 19 Apr 2022 12:53:54 PM EDT INFO - setCompatDataTitle - Symlink '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/compatdata/Jurassic World Evolution 2' already points to the correct directory '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/compatdata/1244460'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - prepareLaunch -launchSteamGame:
Tue 19 Apr 2022 12:53:54 PM EDT INFO - gameArgs - Game doesn't use any command line arguments
Tue 19 Apr 2022 12:53:54 PM EDT INFO - launchSteamGame - GAMESTARTCMD is '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/JWE2.exe'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - launchSteamGame - Not overriding Proton and using Proton provided by steam commandline '/app/share/steam/compatibilitytools.d/Proton-GE/proton'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - setProtonPathVersion - Using directly known 'Proton-GE GE-Proton7-8 (build 1646648409)' as Proton Version for '/app/share/steam/compatibilitytools.d/Proton-GE/proton'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - launchSteamGame - Starting 'Jurassic World Evolution 2 (1244460)' with Proton: 'Proton-GE GE-Proton7-8 (build 1646648409)'
Tue 19 Apr 2022 12:53:54 PM EDT INFO - launchSteamGame - Full start command is '/app/share/steam/compatibilitytools.d/Proton-GE/proton waitforexitandrun /run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/JWE2.exe'
Tue 19 Apr 2022 12:53:55 PM EDT INFO - loadCfg - '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/meta/id/general/1244460.conf' START
Tue 19 Apr 2022 12:53:55 PM EDT INFO - loadCfg - '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/meta/id/general/1244460.conf' STOP
Tue 19 Apr 2022 12:53:55 PM EDT INFO - startGame - Getting the Game Window name:
Tue 19 Apr 2022 12:53:55 PM EDT INFO - getGameWindowName - No gamewindow name stored in metadata '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/meta/id/general/1244460.conf' yet. Trying to find it now
Tue 19 Apr 2022 12:53:55 PM EDT SKIP - startGame - No SLR was provided via command line, so configuration USESLR '1' is ignored '' 0
Tue 19 Apr 2022 12:53:55 PM EDT INFO - startGame - ## reaper command is enabled via USEREAP=1 - prepending to the current launch command
Tue 19 Apr 2022 12:53:55 PM EDT INFO - startGame - Rebuilding STEAM_COMPAT_TOOL_PATHS variable:
Tue 19 Apr 2022 12:53:55 PM EDT INFO - startGame - Adding RUNPROTON '/app/share/steam/compatibilitytools.d/Proton-GE'
Tue 19 Apr 2022 12:53:55 PM EDT SKIP - getGameWindowPID - ERROR - timeout waiting for '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2' window
Tue 19 Apr 2022 12:53:55 PM EDT INFO - startGame - Adding '' because USESLR is enabled
Tue 19 Apr 2022 12:53:55 PM EDT SKIP - getGameWindowName - No valid game window PID found
Tue 19 Apr 2022 12:53:55 PM EDT INFO - startGame - Result: Set STEAM_COMPAT_TOOL_PATHS from '/app/share/steam/compatibilitytools.d/Proton-GE' to '/app/share/steam/compatibilitytools.d/Proton-GE:'
Tue 19 Apr 2022 12:53:55 PM EDT INFO - startGame - ## ORIGINAL INCOMING LAUNCH COMMAND: '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1244460 -- /app/share/steam/compatibilitytools.d/Proton-GE/proton waitforexitandrun /run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/JWE2.exe'
Tue 19 Apr 2022 12:53:55 PM EDT INFO - startGame - ## STL LAUNCH COMMAND: '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=1244460 -- /app/share/steam/compatibilitytools.d/Proton-GE/proton waitforexitandrun /run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/JWE2.exe'
Tue 19 Apr 2022 12:53:55 PM EDT INFO - startGame - ## GAMESTART HERE ###
Tue 19 Apr 2022 12:53:55 PM EDT INFO - restoreOrgVars - Restoring previously cleared Variables
Tue 19 Apr 2022 12:53:56 PM EDT INFO - startGame - ## GAMESTOP after '1' seconds playtime
Tue 19 Apr 2022 12:53:56 PM EDT STOP - ######### SteamTinkerLaunch v9.2 #########
Tue 19 Apr 2022 12:53:56 PM EDT STOP - ######### CLEANUP #########
Tue 19 Apr 2022 12:53:56 PM EDT INFO - closeSTL - closing STL
Tue 19 Apr 2022 12:53:56 PM EDT INFO - updateConfigEntry - Emptying 'CUSTOMCMD' for '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/default_template.conf'
Tue 19 Apr 2022 12:53:56 PM EDT INFO - closeSTL - Creating '/dev/shm/steamtinkerlaunch/steamtinkerlaunch-closing.tmp'
Tue 19 Apr 2022 12:53:56 PM EDT INFO - checkPlayTime - The game was not started via 'steamtinkerlaunch' but directly from Steam - skipping Crash Requester
Tue 19 Apr 2022 12:53:56 PM EDT INFO - closeSTL - Game 'Jurassic World Evolution 2 (1244460)' exited - cleaning up custom processes if necessary
Tue 19 Apr 2022 12:53:56 PM EDT INFO - closeTrayIcon - Closing TrayIcon '9683'
Tue 19 Apr 2022 12:53:57 PM EDT INFO - closeSTL - Removing '/dev/shm/steamtinkerlaunch/steamtinkerlaunch-closing.tmp'
Tue 19 Apr 2022 12:53:57 PM EDT STOP - ######### closeSTL SteamTinkerLaunch v9.2 #########
Tue 19 Apr 2022 12:53:57 PM EDT INFO - writeLastRun - Recreating /var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/logs/steamtinkerlaunch/lastrun.txt
Tue 19 Apr 2022 12:53:57 PM EDT INFO - storeMetaData - Saving metadata for game 'Jurassic World Evolution 2 (1244460)'
Tue 19 Apr 2022 12:53:57 PM EDT INFO - getArch - Architecture for '/run/media/TheEvilSkeleton/DATA/Steam Games/steamapps/common/Jurassic World Evolution 2/JWE2.exe' is 64bit
Tue 19 Apr 2022 12:53:57 PM EDT INFO - storeMetaData - '/var/home/TheEvilSkeleton/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/meta/eval/id/evaluatorscript_1244460.vdf' does not exists

Granted, I'm launching the game from another drive.

@frostworx
Copy link
Collaborator

frostworx commented Apr 19, 2022

this is what I meant in the previous post. steamtinkerlaunch initially checks multiple dependencies, including yad and write the corresponding path into a auto-created config. for unknown reasons your configs were filled with empty vars (I guess either distro or flatpak related, because this was fixed/improved several times already). Hard to tell how this can even happen without logs.
Either way I just pushed a commit, which expands PATH with "/app/utils/bin/" if the directory exists.
please re-test with a completely clean ~/.config/steamtinkerlaunch/

@TheEvilSkeleton
Copy link

TheEvilSkeleton commented Apr 19, 2022

~/.config/steamtinkerlaunch/ doesn't exist since Steam doesn't have access to it. Everything reside under ~/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/ due to it remapping. I'll empty that directory.

@TheEvilSkeleton
Copy link

TheEvilSkeleton commented Apr 19, 2022

Okay, it looks like emptying that directory did make it work and launch, but steamtinkerlaunch still crashes within a second.

I checked through the terminal output, I get the following error:

/app/utils/bin/steamtinkerlaunch: line 3828: xdg-mime: command not found

I checked if xdg-mime was present, and turns out, it wasn't:

[📦 com.valvesoftware.Steam ~]$ xdg-
xdg-email             xdg-open              xdg-user-dir          xdg-user-dirs-update  

@TheEvilSkeleton
Copy link

Oops, I forgot to update the manifest. Let me try it with the latest commit.

@frostworx
Copy link
Collaborator

either way, xdg-mime should be a dependency (and needs a better check in function updateEditor),
so good find! 👍

@cohesive-flight
Copy link

cohesive-flight commented Sep 10, 2022

Has anyone here experienced issues running MO2? I created a separate issue for it (@frostworx mentioned it above), but we weren't able to solve it.

I've attached two logs files that were created when attempting to start MO2 directly through the steamtinkerlaunch mo2 start command. The first log file had no proton version set as the default, while the second has it set to experimental-7.0-20220907.

steamtinkerlaunch.log
steamtinkerlaunch-protondefault.log

I'd appreciate any help you could provide.

@sonic2kk sonic2kk added the Flatpak Issues related to SteamTinkerLaunch Flatpak label Sep 19, 2022
@sonic2kk
Copy link
Owner

Just to be clear that the above was out outright ignored, it's believed the issue is related to STL Flatpak being unable to catch the Proton version used to launch MO2.


Is there a way that the STL Flatpak could bundle some extra STL utility dependencies such as cabextract? I realize it's not feasible to bundle third party applications but this one is fairly common as it's used for Winetricks.

Perhaps another solution would be for STL to detect if it's running in a Flatpak and download dependencies to $HOME/.local/bin, of course STL Flatpak would need to add support for this folder first. That way dependencies like cabextract or if it's not already included p7zip are downloaded only when the user tries to use them (it might be good to show a dialog box as well, letting them know something is being downloaded).

Just an idea I had off the back of a ticket a user of STL Flatpak raised.

@HanPrower
Copy link
Contributor

HanPrower commented Oct 10, 2022

Just as a general FYI if issues do crop up and commits are made to try and fix them Pull Requests can be made to the beta branch of the Flatpak repo: https://github.com/flathub/com.valvesoftware.Steam.Utility.steamtinkerlaunch/tree/beta

A short explanation of what it's meant to be fixing with a link to the issue would be good to include.

Basically just need to update the git commit (currently at line 50) of com.valvesoftware.Steam.Utility.steamtinkerlaunch.yml

And update the latest version of com.valvesoftware.Steam.Utility.steamtinkerlaunch.metainfo.xml

The Flathub build bot usually builds PRs as they happen, and provides a link to install for quick testing. Otherwise the PR will have to be merged manually and it'll appear on the beta branch once it's published.

How to install beta versions is outlined here: #540 (comment)

If the beta build is confirmed to fix whatever the issue was you can post in the PR to that effect and it can be merged to stable for everyone to enjoy.

Hopefully this all makes sense and helps the Flatpak version get better 😸

Any information about build status is available on Flathubs builds page: https://buildbot.flathub.org/

@sonic2kk
Copy link
Owner

sonic2kk commented Oct 10, 2022

Just a heads up that some software center frontends like KDE Discover will list the Flathub Beta under the sources list, if Flathub Beta is enabled and if the app has a Beta available. Other software frontends might do this but I can vouch that KDE Discover does this (installed Firefox Flatpak Beta on my Steam Deck this way and other software this way on my desktop)

EDIT: Just updated the Installation Wiki with notes on how to use the Beta branch, and I also updated the Flatpak wiki with information about using, reporting issues with and contributing to SteamTinkerLaunch Flatpak Beta. If I missed anything, got anything wrong, or anything else please feel free to amend where necessary 😃

@sonic2kk
Copy link
Owner

sonic2kk commented Nov 8, 2022

With 907a03b I have attempted to add a warning logs, echoes and a yad dialog if STL detects itself running in Flatpak on a Steam Deck. I am not sure yet if this will work, not even sure if Flatpak STL can actually run the steamdedeckt function check (since it tries to probe files in /etc/os-release) but I added it anyway. I can remove it if this doesn't actually do anything, or better yet try and do a different check for Steam Deck on Flatpak.

If it works, hopefully it will resolve the problem of Steam Deck users erroneously trying to install SteamTinkerLaunch from Discover, despite the warnings on the wiki and Discover page that this is not correct usage.

@HanPrower
Copy link
Contributor

Probing /etc/os-release in Flatpak does this:

flatpak run --command="cat" --file-forwarding com.valvesoftware.Steam /etc/os-release

NAME="Freedesktop SDK"
VERSION="22.08 (Flatpak runtime)"
VERSION_ID=22.08
ID=org.freedesktop.platform
PRETTY_NAME="Freedesktop.org SDK 22.08 (Flatpak runtime)"
BUG_REPORT_URL=https://gitlab.com/freedesktop-sdk/freedesktop-sdk/issues

I will point out that if you try to run STL on a Flatpak without Steam Flatpak running you'll never make it that far though because it'll complain that sh is missing (as STL Flatpak doesn't ship with sh, it relies on the Steam runtime to have it -- as STL on Flatpak is an extension not an app). I didn't realise this when we talked in the issue before:

flatpak run com.valvesoftware.Steam.Utility.steamtinkerlaunch

bwrap: execvp /bin/sh: No such file or directory

I doubt stubbing /bin/sh is a good idea either, so, hmm...

@sonic2kk
Copy link
Owner

Oh gosh I'm so sorry, I saw this reply when I got off work a couple of days ago but I completely forgot to reply (was preoccupied with adding HedgeModManager support to SteamTinkerLaunch)

I will point out that if you try to run STL on a Flatpak without Steam Flatpak running you'll never make it that far though because it'll complain that sh is missing (as STL Flatpak doesn't ship with sh, it relies on the Steam runtime to have it -- as STL on Flatpak is an extension not an app). I didn't realise this when we talked in the issue before

Ooooooh thank you for the info here, I had no idea. But it makes sense, there is no need to bundle sh with STL Flatpak imo so I think that is a sensible decision. Stubbing sh may not be a good idea either.

I'm not trying to "offload" this problem onto the Flatpak side but is there any way to check for a "missing dependency" with a Flatpak and warn? Like is there a way you could check if a user has Flatpak Steam installed? Since as you mention Flatpak STL is an extension for Flatpak Steam. But maybe this isn't possible.

The "real" solution is for users to read the note on the Discover page and the wiki docs instead of blindly installing Flatpaks 😉

@HanPrower
Copy link
Contributor

There is no way that Flatpak says something strictly relies on a parent that I can see. Even when you're specifically putting in the info that it requires a parent runtime like Steam.

Whilst I was originally fleshing out the files it's something I spent a while trying to figure out, too. Just Flatpak quirks, I guess 🤷

@sonic2kk
Copy link
Owner

sonic2kk commented Dec 9, 2022

Hey @HanPrower, I'm planning on releasing SteamTinkerLaunch v12 soon (in a few days or so). But this isn't a strict schedule or anything, so I'm just giving you a heads-up in case you want to test out the latest git and ensure everything is ok on your side. If there are any problems we can ensure those are fixed for v12, and of course I won't release if there are any critical issues that need fixing.

I had hoped to give more notice on this but I've been a bit busy this time of year so sorry about that! If you need more time to test please by all means I can put release off 🙂

Thanks!

@HanPrower
Copy link
Contributor

So I got around to updating the beta branch of the Flatpak and it seems to work fine.

I don't do much advanced stuff with it though day-to-day, so we'll just have to see when v12 is released 🤷

I don't really foresee anything breaking unless it's very specific to paths, or accessing software on the wider system.

@sonic2kk
Copy link
Owner

No worries, it's not feasible to test "everything" but as long as there isn't anything immediately broken I'm also happy with that :-)

Thanks so much for testing! It'll probably be after the holidays that I get around to releasing v12 when I have more time to help debug any issues that come in, I don't want to release it and disappear for a week or two 😅

Great stuff :-)

@jarrard
Copy link

jarrard commented May 20, 2023

For some reason I can't get STL flatpak version to list all the proton versions I install. for example proton6.3 does not show in the list. Very odd.

protonup versions don't show either.

@sonic2kk
Copy link
Owner

sonic2kk commented May 20, 2023

There may be some cached files that need clearing. I believe the Flatpak also uses /dev/shm/steamtinkerlaunch to store these files, you can try removing this /dev/shm/steamtinkerlaunch folder and seeing if the installed Proton versions show up.

@jarrard
Copy link

jarrard commented May 20, 2023

There may be some cached files

Yep that fixed it. Thanks.

@nullfrctl
Copy link

Probing /etc/os-release in Flatpak does this:

flatpak run --command="cat" --file-forwarding com.valvesoftware.Steam /etc/os-release

NAME="Freedesktop SDK"
VERSION="22.08 (Flatpak runtime)"
VERSION_ID=22.08
ID=org.freedesktop.platform
PRETTY_NAME="Freedesktop.org SDK 22.08 (Flatpak runtime)"
BUG_REPORT_URL=https://gitlab.com/freedesktop-sdk/freedesktop-sdk/issues

I will point out that if you try to run STL on a Flatpak without Steam Flatpak running you'll never make it that far though because it'll complain that sh is missing (as STL Flatpak doesn't ship with sh, it relies on the Steam runtime to have it -- as STL on Flatpak is an extension not an app). I didn't realise this when we talked in the issue before:

flatpak run com.valvesoftware.Steam.Utility.steamtinkerlaunch

bwrap: execvp /bin/sh: No such file or directory

I doubt stubbing /bin/sh is a good idea either, so, hmm...

I'm still experiencing this bwrap: execvp /bin/sh: No such file or directory error. OS is Fedora Silverblue, flatpak steam, installed STL through GNOME software.

@HanPrower
Copy link
Contributor

I'm still experiencing this bwrap: execvp /bin/sh: No such file or directory error. OS is Fedora Silverblue, flatpak steam, installed STL through GNOME software.

Is Steam Flatpak running whilst you try to use STL?

@nullfrctl
Copy link

Yes, but my issue has been resolved. I installed all steam runtimes and SDKs, reinstalled steam and STL, as well as rebased to uBlue NVIDIA and it works flawlessly now. However, big thanks for your concern.

@PinkysBrain
Copy link

PinkysBrain commented Jul 1, 2023

I tried with both the normal version and the beta and I was unable to use stl as a compatibility option, or run it while steam was running without the bwrap error. What did work was flatpak run --command="/app/utils/steamtinkerlaunch/bin/steamtinkerlaunch" com.valvesoftware.Steam compat add
Which HanPrower kindly suggested (as never necessary) at flathub/com.valvesoftware.Steam.Utility.steamtinkerlaunch#32
After that it worked.

@sonic2kk
Copy link
Owner

sonic2kk commented Jul 2, 2023

Manually running steamtinkerlaunch compat add shouldn't be necessary with the Flatpak version of Steam to my knowledge. I wonder if something has changed on the Flatpak side with regards to this.

@HanPrower Please let me know if anything needs changed on my side for this - hopefully I didn't inadvertently break anything.

@HanPrower
Copy link
Contributor

@HanPrower Please let me know if anything needs changed on my side for this - hopefully I didn't inadvertently break anything.

No, nothing has changed. On a couple of occasions now it seems that when STL fails to run correctly it's the user's specific environment that's got issues, such as changing a Flatpak's permissions.

@keyxmakerx
Copy link

So I installed STL while Flatpak steam was launched and installing Starfield, but It still gives me the missing sh error. I even ran it with the Compat option, (which i have no idea what that does tbh...) but I only got another error. Is this still an on going issue or am I missing something?

flatpak run --command="/app/utils/steamtinkerlaunch/bin/steamtinkerlaunch" com.valvesoftware.Steam compat add
Gtk-Message: 17:30:35.421: Failed to load module "canberra-gtk-module"
Gtk-Message: 17:30:35.421: Failed to load module "canberra-gtk-module"
Wed Sep 20 05:30:35 PM CDT 2023 SKIP - CompatTool - Nothing to do the '/home/username/.var/app/com.valvesoftware.Steam/.local/share/Steam/compatibilitytools.d/SteamTinkerLaunch/steamtinkerlaunch' symlink still points to '/app/utils/steamtinkerlaunch/bin/steamtinkerlaunch'

@sonic2kk
Copy link
Owner

sonic2kk commented Sep 20, 2023

This "missing sh" error is very vague, you should provide technical details such as a log and other debugging efforts you've went through. Did you maybe not restart Steam after running this command? I would assume you have to if you didn't, and honestly, you should have Steam closed when installing compatibility tools.

If the output you provided is from a command to install SteamTinkerLaunch, did you perhaps miss this issue on the SteamTinkerLaunch Flatpak repo, which was also discussed above? flathub/com.valvesoftware.Steam.Utility.steamtinkerlaunch#110

If this is a wrong assumption, how did you install SteamTinkerLaunch Flatpak?

Failing all of this, you may want to provide at the very least more technical information about the problem and the troubleshooting steps you have done so far. Attaching a log (not pasting text please) would be a good step if things still aren't working.


Keep in mind that the Flatpak version may not have the latest SteamTinkerLaunch version, which was only reported by one user to work with Starfield. AFAIK no other users have tested, and none with Flatpak STL.

Modding in general with Flaptak STL is also not really very reliable from what I have seen. Vortex is buggy as hell under Wine especially since v1.8.0, and results with modding games installed with Flatpak Steam seem to be poor (#821). So this is just a courtesy forewarning that modding Starfield under Linux is probably not a good idea, and even less so to attempt modding with Flatpak Steam games, unless you're experienced and can try troubleshooting yourself.


(which i have no idea what that does tbh...)

Please keep in mind that SteamTinkerLaunch is for experienced Linux users and is a tinker tool, if you're not experienced with tinkering or using compatibility tools in general, you may not have a great experience.

Is this still an on going issue or am I missing something?

There is no ongoing issue per-se, this issue is open for Flatpak users to offer improvements and technical suggestions (initially this issue was opened to discuss the feasibility and implementation approach for STL Flatpak). If you're referring to the --file-forwarding solution some users need to do, then I suppose so, but that's tracked on the Flatpak repo.

@sonic2kk
Copy link
Owner

After three and a half years and awesome work by the community, the Flatpak is in a state were this issue is likely no longer necessary. We can probably just have dedicated Flatpak questions here or on the Flatpak repo (which didn't exist when this issue was opened).

Closing this also means we won't ping users who commented ages ago and didn't unsubscribe.

I think this mega issue has served its purpose well enough :-) Thank you to everyone who commented, from now on we can use separate issues though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Flatpak Issues related to SteamTinkerLaunch Flatpak
Projects
None yet
Development

No branches or pull requests