sonic2kk / steamtinkerlaunch

Linux wrapper tool for use with the Steam client for custom launch options and 3rd party programs
GNU General Public License v3.0
2.04k stars 70 forks source link

I am unable to add a non-steam game using GUI on Flatpak version #1045

Closed egroj97 closed 4 months ago

egroj97 commented 4 months ago

System Information

Going through all the fields that need to be filed and pushing the Create buttong everything seems to work fine. Even the logs don't show anything up. But when I start steam (Even from the Flatpak container) I don't see the new game show up on the library.

Logs

[📦 com.valvesoftware.Steam steamtinkerlaunch]$ cat steamtinkerlaunch.log 
Mon Feb 26 10:14:42 PM -04 2024 INFO - setflatpak - seems like flatpak is used, because variable 'FLATPAK_ID' exists and points to 'com.valvesoftware.Steam'
Mon Feb 26 10:14:42 PM -04 2024 SKIP - CompatTool - Steam Home Dir '' not found!
Mon Feb 26 10:14:42 PM -04 2024 INFO - initAID - Set AID to PLACEHOLDERAID '31337'
Mon Feb 26 10:14:42 PM -04 2024 INFO - main - Current SteamTinkerLaunch working directory is '/dev/shm/steamtinkerlaunch'
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLanguage - First load the default language 'english' to make sure all variables are filled
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLangFile - Language from command line is 'english'
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLangFile - SYSTEMSTLCFGDIR is '/app/utils/steamtinkerlaunch/share/steamtinkerlaunch'
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLangFile - Command line language 'english' is no file - trying to find its absolute path
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLangFile - Loading found system wide /app/utils/steamtinkerlaunch/share/steamtinkerlaunch/lang//english.txt
Mon Feb 26 10:14:42 PM -04 2024 WARN - updateEditor - 'xdg-open' selected as editor or configured editor not found - trying to find an installed editor installed
Mon Feb 26 10:14:42 PM -04 2024 INFO - updateEditor - No valid editor found - will fall back to 'xdg-open'.
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLanguage - Loading STLLANG from '/home/egroj97/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/global.conf'
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLanguage - STLLANG from '/home/egroj97/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/global.conf' is 'english'
Mon Feb 26 10:14:42 PM -04 2024 INFO - steamdedeckt - Not on Steam Deck I guess
Mon Feb 26 10:14:42 PM -04 2024 INFO - setLocalInstall - Looks like we don't have a local non-root install
Mon Feb 26 10:14:42 PM -04 2024 INFO - updateConfigEntry - Option 'GLOBALCOLLECTIONDIR' is updated with the new value '/app/utils/steamtinkerlaunch/share/steamtinkerlaunch/collections' in config 'global.conf'
Mon Feb 26 10:14:42 PM -04 2024 INFO - getCurrentCommandline - No Proton in command line arguments 'ansg'
Mon Feb 26 10:14:42 PM -04 2024 INFO - saveOrgVars - Storing some original variables to restore them later
Mon Feb 26 10:14:42 PM -04 2024 INFO - emptyVars - Emptied some original variables as they slowdown several system calls when started from steam
Mon Feb 26 10:14:42 PM -04 2024 INFO - emptyVars - Set $PATH to '/app/bin:/app/utils/bin:/usr/bin:/app/utils/bin/'
Mon Feb 26 10:14:42 PM -04 2024 START - ######### Initializing Game Launch 31337 using SteamTinkerLaunch v14.0.20240218-1 #########
Mon Feb 26 10:14:42 PM -04 2024 INFO - main - Starting with a clean log
Mon Feb 26 10:14:42 PM -04 2024 INFO - main - Start creating default configs
Mon Feb 26 10:14:42 PM -04 2024 INFO - createDefaultCfgs - START
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLanguage - First load the default language 'english' to make sure all variables are filled
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLangFile - Language from command line is 'english'
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLangFile - GLOBALSTLLANGDIR is '/app/utils/steamtinkerlaunch/share/steamtinkerlaunch/lang'
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLangFile - Command line language 'english' is no file - trying to find its absolute path
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLangFile - Loading found system wide /app/utils/steamtinkerlaunch/share/steamtinkerlaunch/lang/english.txt
Mon Feb 26 10:14:42 PM -04 2024 WARN - updateEditor - 'xdg-open' selected as editor or configured editor not found - trying to find an installed editor installed
Mon Feb 26 10:14:42 PM -04 2024 INFO - updateEditor - No valid editor found - will fall back to 'xdg-open'.
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLanguage - Loading STLLANG from '/home/egroj97/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/global.conf'
Mon Feb 26 10:14:42 PM -04 2024 INFO - loadLanguage - STLLANG from '/home/egroj97/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/global.conf' is 'english'
Mon Feb 26 10:14:42 PM -04 2024 INFO - createDefaultCfgs - setSteamPaths:
Mon Feb 26 10:14:42 PM -04 2024 INFO - setSteamPaths - Reading Steam Path variables from '/dev/shm/steamtinkerlaunch/steampaths.txt'
Mon Feb 26 10:14:42 PM -04 2024 WARN - updateEditor - 'xdg-open' selected as editor or configured editor not found - trying to find an installed editor installed
Mon Feb 26 10:14:42 PM -04 2024 INFO - updateEditor - No valid editor found - will fall back to 'xdg-open'.
Mon Feb 26 10:14:42 PM -04 2024 INFO - getGameOS - Starting game OS detection
Mon Feb 26 10:14:42 PM -04 2024 INFO - getGameOS - STEAM_COMPAT_DATA_PATH is not defined, so this is either a Linux Game or no game was started at all
Mon Feb 26 10:14:43 PM -04 2024 INFO - listAllSettingsEntries - '/dev/shm/steamtinkerlaunch/setentries.txt' already exists - nothing to do
Mon Feb 26 10:14:43 PM -04 2024 INFO - createDefaultCfgs - STOP
Mon Feb 26 10:14:43 PM -04 2024 SKIP - listSteamLibraries - not recreating already available '/dev/shm/steamtinkerlaunch/SteamLibraries.txt'
Mon Feb 26 10:14:43 PM -04 2024 INFO - setSteamLibraryPaths - STEAM_COMPAT_LIBRARY_PATHS set to '/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps'
Mon Feb 26 10:14:43 PM -04 2024 INFO - setSteamLibraryPaths - STEAM_COMPAT_MOUNTS set to '/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper:/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Steamworks Shared'
Mon Feb 26 10:14:43 PM -04 2024 INFO - setSteamLibraryPaths - STEAM_COMPAT_TOOL_PATHS set to '/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper:/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Steamworks Shared'
Mon Feb 26 10:14:43 PM -04 2024 INFO - main - Checking internal dependencies:
Mon Feb 26 10:14:43 PM -04 2024 INFO - setAwkBin - Found 'gawk' as an 'awk' variant. It should work without any issues, because 'gawk' was tested completely
Mon Feb 26 10:14:43 PM -04 2024 INFO - checkIntDeps - Result of version check for yad binary '/app/utils/bin/yad' is '13.0'
Mon Feb 26 10:14:43 PM -04 2024 INFO - checkIntDeps - Yad is set correctly in the Global Config, nothing to do.
Mon Feb 26 10:14:43 PM -04 2024 INFO - main - Initializing first Proton:
Mon Feb 26 10:14:43 PM -04 2024 INFO - initOldProtonArr - Creating an initial array with available Proton versions using the file '/dev/shm/steamtinkerlaunch/ProtonCSV.txt' which was created during a previous run
Mon Feb 26 10:14:43 PM -04 2024 INFO - initFirstProton - Initializing Proton
Mon Feb 26 10:14:43 PM -04 2024 INFO - initFirstProton - Initial Proton version 'FIRSTUSEPROTON' from '/home/egroj97/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/default_template.conf' is 'proton-8.0-5c'
Mon Feb 26 10:14:43 PM -04 2024 INFO - main - Initializing default window resolution
Mon Feb 26 10:14:43 PM -04 2024 INFO - setInitWinXY - Using '1920x1080' from config '/dev/shm/steamtinkerlaunch/defres.txt'
Mon Feb 26 10:14:43 PM -04 2024 INFO - main - Welcome to SteamTinkerLaunch
Mon Feb 26 10:14:43 PM -04 2024 INFO - removeEmptyFiles - Removing empty files from '/home/egroj97/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/games/appinfo'
Mon Feb 26 10:14:43 PM -04 2024 INFO - removeEmptyFiles - Removing empty files from '/home/egroj97/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/games/header'
Mon Feb 26 10:14:43 PM -04 2024 INFO - main - Checking command line: incoming arguments 'ansg'
Mon Feb 26 10:14:43 PM -04 2024 INFO - addNonSteamGameGui - Starting the Gui for adding a non-steam game to Steam
Mon Feb 26 10:14:43 PM -04 2024 INFO - getParsableGameList - Found '1' parsable Game Entries in '/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/userdata/161648259/7/remote/sharedconfig.vdf'
Mon Feb 26 10:14:43 PM -04 2024 INFO - AutoMarkSCat - Auto-marking specific Steam Collections
Mon Feb 26 10:14:43 PM -04 2024 INFO - getParsableGameList - Found '1' parsable Game Entries in '/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/userdata/161648259/7/remote/sharedconfig.vdf'
Mon Feb 26 10:14:43 PM -04 2024 INFO - getRes - Detected screen resolution '2560x1440'
Mon Feb 26 10:14:43 PM -04 2024 INFO - pollWinRes - Using GEOM '--geometry=1920x1080+0+0' from '/home/egroj97/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/guicfgs/2560x1440/31337/SteamTinkerLaunch-non-steam game.conf'
Mon Feb 26 10:14:43 PM -04 2024 INFO - updateWinRes - Starting resolution-poll for '/home/egroj97/.var/app/com.valvesoftware.Steam/config/steamtinkerlaunch/guicfgs/2560x1440/31337/SteamTinkerLaunch-non-steam game.conf' with incoming '1920x1080'
Mon Feb 26 10:14:43 PM -04 2024 INFO - addNonSteamGameGui - Proton version 'experimental-8.0-20240205' looks like it should be known by Steam as it is not in any SteamTinkerLaunch-specific folders on path '/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton - Experimental/proton'
Mon Feb 26 10:14:43 PM -04 2024 INFO - updateWinRes - Waiting for Window 'SteamTinkerLaunch-non-steam game'
Mon Feb 26 10:14:43 PM -04 2024 INFO - addNonSteamGameGui - Proton version 'proton-8.0-5c' looks like it should be known by Steam as it is not in any SteamTinkerLaunch-specific folders on path '/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/steamapps/common/Proton 8.0/proton'
Mon Feb 26 10:14:44 PM -04 2024 INFO - updateWinRes - Waiting for Window 'SteamTinkerLaunch-non-steam game'
Mon Feb 26 10:14:45 PM -04 2024 INFO - updateWinRes - Waiting for Window 'SteamTinkerLaunch-non-steam game'
Mon Feb 26 10:14:46 PM -04 2024 SKIP - updateWinRes - Timeout waiting for Window 'SteamTinkerLaunch-non-steam game'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGameGui - Selected 'CREATE'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGameGui - The Non-Steam Game args are   DEEP ROCK GALACTICK! /run/user/1000/doc/f82f3a05/FSD.exe /run/user/1000/doc/4a3cd4a7/DeepRockGalactic       copy TRUE  FALSE     none   FALSE TRUE TRUE FALSE
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGameGui - addNonSteamGame -an="DEEP ROCK GALACTICK!" -ep="/run/user/1000/doc/f82f3a05/FSD.exe" -sd="/run/user/1000/doc/4a3cd4a7/DeepRockGalactic" -ip="" -lo="" -hd="0" -adc="1" -ao="1" -vr="0" -t="" -ct="" -hr="" -lg="" -ba="" -tf="" "--copy" "--auto-artwork" -sgai="" -sgid="" -sgnm="" ""
Mon Feb 26 10:15:13 PM -04 2024 SKIP - addNonSteamGame - Compatibility Tool name argument was passed, but was empty '' -- Skipping
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - === Adding new non-steam game ===
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Signed Integer Shortcut AppID: '-767795545'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - 4byte Little-Endian Hex AppID: 'a75e3cd2'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Binary-formatted 4byte Little-Endian AppID: '\xa7\x5e\x3c\xd2'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Unsigned Integer Shortcut AppID (used for artwork): '3527171751'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - App Name: 'DEEP ROCK GALACTICK!'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Exe Path: '"/run/user/1000/doc/f82f3a05/FSD.exe"'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Start Dir: '"/run/user/1000/doc/f82f3a05"'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Icon Path: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Launch options: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Is Hidden: '0'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Allow Desktop Config: '1'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Allow Overlay: '1'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - OpenVR: '0'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Tags: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Compatibility Tool: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Hero Artwork: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Logo Artwork: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Boxart Artwork: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Tenfoot Artwork: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Copy Method for Artwork: '--copy'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - EXE Dir Fallback Artwork: '1'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Use SteamGridDB: '0'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - SteamGridDB Game ID: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - SteamGridDB Steam AppID: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - SteamGridDB Search Name: ''
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - The file '/home/egroj97/.var/app/com.valvesoftware.Steam/.local/share/Steam/userdata/161648259/config/shortcuts.vdf' already exists, creating a backup, then removing the 2 closing backslashes at the end
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Last set in file has ID '4', so continuing with '4'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Adding new set '5'
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Finished writing out new Non-Steam Game Shortcut
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Adding any chosen Non-Steam game artwork
Mon Feb 26 10:15:13 PM -04 2024 INFO - setGameArt - Finished setting game art for '3527171751'. Restart Steam for the changes to take effect.
Mon Feb 26 10:15:13 PM -04 2024 INFO - addNonSteamGame - Finished adding new non-steam game
[📦 com.valvesoftware.Steam steamtinkerlaunch]$ 
egroj97 commented 4 months ago

Turns out if you have more than one steam account it will add it to the first added one rather than the currently/last actived.

sonic2kk commented 4 months ago

Yeah, right now multiple Steam accounts are not supported for Non-Steam Games. It is planned as there is now infrastructure in place to parse how Steam handles the IDs, but I haven't gotten around to it and no one has created a PR for it, so it isn't implemented.

No ETA on adding it but it's a feature request more than a bug, because STL just takes the first Steam userdata folder.