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

getGameName function returns empty string, causing prepareMenu to fail #1210

Open
HalHatesDave opened this issue Jan 5, 2025 · 2 comments
Open
Labels
bug Something isn't working Command line Issues related to using SteamTinkerLaunch command line options

Comments

@HalHatesDave
Copy link

System Information

  • SteamTinkerLaunch version: steamtinkerlaunch-v14.0.20241228-1
  • Distribution: EndeavourOS/Arch
  • Installation Method: Manual Build

Issue Description

Attempting to run steamtinkerlaunch settings 219990 fails to launch. Succeeds when run with a different AppID such as 1091500.

I believe this is caused by the 219990.conf within ~/.gandamecfgs/id/ being corrupted or miss-created. Taking the top 11 lines from 1091500.conf, moving to 219990.conf while modifying them to make sense for 219990 (Grim Dawn) leads to a successful launch of the settings menu with the correct game selected. The most relevant entries can be found in steamtinkerlaunch.log and in Grim Dawn.log:

Sun Jan  5 01:04:36 AM CST 2025 INFO - getGameName - Found Game Name '' in '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 01:04:36 AM CST 2025 INFO - getGameName - Outgoing game name is ''
Sun Jan  5 01:04:36 AM CST 2025 ERROR - prepareMenu - No game name found for '219990' - this should not happen

I may have broken something during install or use, as $STLSHM/listAppManifests.log does not exist which I suspect would have avoided the error.

My question is how do I generate the listAppManifests.log and/or a given AppID.conf?

Logs

steaminkerlaunch.log

Sun Jan  5 01:04:34 AM CST 2025 INFO - setflatpak - started SteamTinkerLaunch from /usr/bin/steamtinkerlaunch
Sun Jan  5 01:04:34 AM CST 2025 INFO - initAID - Set AID to PLACEHOLDERAID '31337'
Sun Jan  5 01:04:34 AM CST 2025 INFO - main - Current SteamTinkerLaunch working directory is '/home/$USER'
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLanguage - First load the default language 'english' to make sure all variables are filled
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLangFile - Language from command line is 'english'
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLangFile - SYSTEMSTLCFGDIR is '/usr/share/steamtinkerlaunch'
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLangFile - Command line language 'english' is no file - trying to find its absolute path
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLangFile - Loading found system wide /usr/share/steamtinkerlaunch/lang//english.txt
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLanguage - Loading STLLANG from '/home/$USER/.config/steamtinkerlaunch/global.conf'
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLanguage - STLLANG from '/home/$USER/.config/steamtinkerlaunch/global.conf' is 'english'
Sun Jan  5 01:04:34 AM CST 2025 INFO - steamdedeckt - Not on Steam Deck I guess
Sun Jan  5 01:04:34 AM CST 2025 INFO - setLocalInstall - Looks like we don't have a local non-root install
Sun Jan  5 01:04:34 AM CST 2025 INFO - updateConfigEntry - Option 'GLOBALCOLLECTIONDIR' is updated with the new value '/usr/share/steamtinkerlaunch/collections' in config 'global.conf'
Sun Jan  5 01:04:34 AM CST 2025 INFO - getCurrentCommandline - No Proton in command line arguments 'settings 219990'
Sun Jan  5 01:04:34 AM CST 2025 INFO - saveOrgVars - Storing some original variables to restore them later
Sun Jan  5 01:04:34 AM CST 2025 INFO - emptyVars - Emptied some original variables as they slowdown several system calls when started from steam
Sun Jan  5 01:04:34 AM CST 2025 INFO - emptyVars - Set $PATH to '/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:'
Sun Jan  5 01:04:34 AM CST 2025 START - ######### Initializing Game Launch 31337 using SteamTinkerLaunch v14.0.20241228-1 #########
Sun Jan  5 01:04:34 AM CST 2025 INFO - main - Starting with a clean log
Sun Jan  5 01:04:34 AM CST 2025 INFO - main - Start creating default configs
Sun Jan  5 01:04:34 AM CST 2025 INFO - createDefaultCfgs - START
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLanguage - First load the default language 'english' to make sure all variables are filled
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLangFile - Language from command line is 'english'
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLangFile - GLOBALSTLLANGDIR is '/usr/share/steamtinkerlaunch/lang'
Sun Jan  5 01:04:34 AM CST 2025 INFO - loadLangFile - Command line language 'english' is no file - trying to find its absolute path
Sun Jan  5 01:04:35 AM CST 2025 INFO - loadLangFile - Loading found system wide /usr/share/steamtinkerlaunch/lang/english.txt
Sun Jan  5 01:04:35 AM CST 2025 INFO - loadLanguage - Loading STLLANG from '/home/$USER/.config/steamtinkerlaunch/global.conf'
Sun Jan  5 01:04:35 AM CST 2025 INFO - loadLanguage - STLLANG from '/home/$USER/.config/steamtinkerlaunch/global.conf' is 'english'
Sun Jan  5 01:04:35 AM CST 2025 INFO - createDefaultCfgs - setSteamPaths:
Sun Jan  5 01:04:35 AM CST 2025 INFO - setSteamPaths - Reading Steam Path variables from '/dev/shm/steamtinkerlaunch/steampaths.txt'
Sun Jan  5 01:04:35 AM CST 2025 INFO - getGameOS - Starting game OS detection
Sun Jan  5 01:04:35 AM CST 2025 INFO - getGameOS - STEAM_COMPAT_DATA_PATH is not defined, so this is either a Linux Game or no game was started at all
Sun Jan  5 01:04:35 AM CST 2025 INFO - listAllSettingsEntries - '/dev/shm/steamtinkerlaunch/setentries.txt' already exists - nothing to do
Sun Jan  5 01:04:35 AM CST 2025 INFO - createDefaultCfgs - STOP
Sun Jan  5 01:04:35 AM CST 2025 SKIP - listSteamLibraries - not recreating already available '/dev/shm/steamtinkerlaunch/SteamLibraries.txt'
Sun Jan  5 01:04:35 AM CST 2025 INFO - setSteamLibraryPaths - STEAM_COMPAT_LIBRARY_PATHS set to '/home/$USER/.local/share/Steam/steamapps:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps:/mnt/oldMass/SteamLibrary/steamapps'
Sun Jan  5 01:04:35 AM CST 2025 INFO - setSteamLibraryPaths - STEAM_COMPAT_MOUNTS set to '/home/$USER/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/SteamLinuxRuntime:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/SteamLinuxRuntime_soldier:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/Steamworks Shared'
Sun Jan  5 01:04:35 AM CST 2025 INFO - setSteamLibraryPaths - STEAM_COMPAT_TOOL_PATHS set to '/home/$USER/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/SteamLinuxRuntime:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/SteamLinuxRuntime_soldier:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/Steamworks Shared'
Sun Jan  5 01:04:35 AM CST 2025 INFO - main - Checking internal dependencies:
Sun Jan  5 01:04:35 AM CST 2025 INFO - setAwkBin - Found 'gawk' as an 'awk' variant. It should work without any issues, because 'gawk' was tested completely
Sun Jan  5 01:04:35 AM CST 2025 INFO - checkIntDeps - Result of version check for yad binary '/usr/bin/yad' is '14.1'
Sun Jan  5 01:04:35 AM CST 2025 INFO - checkIntDeps - Yad is set correctly in the Global Config, nothing to do.
Sun Jan  5 01:04:35 AM CST 2025 INFO - main - Initializing first Proton:
Sun Jan  5 01:04:35 AM CST 2025 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
Sun Jan  5 01:04:35 AM CST 2025 INFO - initFirstProton - Initializing Proton
Sun Jan  5 01:04:35 AM CST 2025 INFO - initFirstProton - Initial Proton version 'FIRSTUSEPROTON' from '/home/$USER/.config/steamtinkerlaunch/default_template.conf' is 'proton-9.0-4c'
Sun Jan  5 01:04:35 AM CST 2025 INFO - main - Initializing default window resolution
Sun Jan  5 01:04:35 AM CST 2025 INFO - setInitWinXY - Using '1800x1012' from config '/dev/shm/steamtinkerlaunch/defres.txt'
Sun Jan  5 01:04:35 AM CST 2025 INFO - main - Welcome to SteamTinkerLaunch
Sun Jan  5 01:04:35 AM CST 2025 INFO - removeEmptyFiles - Removing empty files from '/home/$USER/.config/steamtinkerlaunch/games/appinfo'
Sun Jan  5 01:04:35 AM CST 2025 INFO - removeEmptyFiles - Removing empty files from '/home/$USER/.config/steamtinkerlaunch/games/header'
Sun Jan  5 01:04:35 AM CST 2025 INFO - main - Checking command line: incoming arguments 'settings 219990'
Sun Jan  5 01:04:35 AM CST 2025 INFO - main - Checking command line: first argument 'settings'
Sun Jan  5 01:04:35 AM CST 2025 INFO - getGameName - Found Game Name '' in '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 01:04:35 AM CST 2025 INFO - getGameName - Outgoing game name is ''
Sun Jan  5 01:04:35 AM CST 2025 INFO - startSettings - createProtonList:
Sun Jan  5 01:04:35 AM CST 2025 INFO - startSettings - openTrayIcon:
Sun Jan  5 01:04:35 AM CST 2025 INFO - autoCollectionSettings - Searching collections for game '219990' in '/home/$USER/.local/share/Steam/userdata/133418008/7/remote/sharedconfig.vdf'
Sun Jan  5 01:04:35 AM CST 2025 SKIP - autoCollectionSettings - Global Config '' not found - skipping
Sun Jan  5 01:04:35 AM CST 2025 SKIP - autoCollectionSettings - Collections Directory Config '' not found - skipping
Sun Jan  5 01:04:35 AM CST 2025 INFO - setFullGameExePath - User did not enable 'CUSTOMCMDRESHADE' - Using the game's exe directory as the ReShade installation directory
Sun Jan  5 01:04:35 AM CST 2025 INFO - setShaderDest - Determining Shader destination directory SHADDESTDIR
Sun Jan  5 01:04:35 AM CST 2025 INFO - setShaderDest - Using variable ABSGAMEEXEPATH for Shader destination directory ''
Sun Jan  5 01:04:35 AM CST 2025 INFO - openTrayIcon - LoadCfg: /home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf
Sun Jan  5 01:04:35 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' START
Sun Jan  5 01:04:35 AM CST 2025 INFO - loadCfg - Loading game config '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 01:04:35 AM CST 2025 SKIP - migrateCfgOption - Variable 'STLDXVKCFG' could not be found - giving up
Sun Jan  5 01:04:35 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' STOP
Sun Jan  5 01:04:35 AM CST 2025 INFO - openTrayIcon - Opening trayIcon:
Sun Jan  5 01:04:35 AM CST 2025 INFO - startSettings - MainMenu:
Sun Jan  5 01:04:35 AM CST 2025 INFO - MainMenu - Preparing to load Main Menu
Sun Jan  5 01:04:36 AM CST 2025 INFO - createDLReShadeList - Found the following 'ReShade' versions online '6.3.3!6.3.2!6.3.1'
Sun Jan  5 01:04:36 AM CST 2025 SKIP - createMO2SilentModeExeProfilesList - Does not appear that '219990' is a ModOrganizer 2 game, nothing to do
Sun Jan  5 01:04:36 AM CST 2025 INFO - prepareMenu - Opening Menu
Sun Jan  5 01:04:36 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/global.conf' START
Sun Jan  5 01:04:36 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/global.conf' STOP
Sun Jan  5 01:04:36 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' START
Sun Jan  5 01:04:36 AM CST 2025 INFO - loadCfg - Loading game config '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 01:04:36 AM CST 2025 SKIP - migrateCfgOption - Variable 'STLDXVKCFG' could not be found - giving up
Sun Jan  5 01:04:36 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' STOP
Sun Jan  5 01:04:36 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/url.conf' START
Sun Jan  5 01:04:36 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/url.conf' STOP
Sun Jan  5 01:04:36 AM CST 2025 SKIP - updateConfigFile - Config file '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' already at version 'v14.0.20241228-1'
Sun Jan  5 01:04:36 AM CST 2025 SKIP - linkGameCfg - Skipping symlinking config - no valid game name found
Sun Jan  5 01:04:36 AM CST 2025 INFO - getGameName - Found Game Name '' in '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 01:04:36 AM CST 2025 INFO - getGameName - Outgoing game name is ''
Sun Jan  5 01:04:36 AM CST 2025 ERROR - prepareMenu - No game name found for '219990' - this should not happen

lastrun.log

RUNPROTON=""
RUNWINE=""
PROTONVERSION=""
PREVAID="219990"
PREVGAME="Grim Dawn"
PREVABSGAMEEXEPATH=""

Grim Dawn.log snippet

Sun Jan  5 12:55:50 AM CST 2025 INFO - getGameName - Found Game Name '' in '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 12:55:50 AM CST 2025 INFO - getGameName - Outgoing game name is ''
Sun Jan  5 12:55:50 AM CST 2025 INFO - startSettings - createProtonList:
Sun Jan  5 12:55:50 AM CST 2025 INFO - startSettings - openTrayIcon:
Sun Jan  5 12:55:50 AM CST 2025 INFO - autoCollectionSettings - Searching collections for game '219990' in '/home/$USER/.local/share/Steam/userdata/133418008/7/remote/sharedconfig.vdf'
Sun Jan  5 12:55:50 AM CST 2025 SKIP - autoCollectionSettings - Global Config '' not found - skipping
Sun Jan  5 12:55:50 AM CST 2025 SKIP - autoCollectionSettings - Collections Directory Config '' not found - skipping
Sun Jan  5 12:55:50 AM CST 2025 INFO - setFullGameExePath - User did not enable 'CUSTOMCMDRESHADE' - Using the game's exe directory as the ReShade installation directory
Sun Jan  5 12:55:50 AM CST 2025 INFO - setShaderDest - Determining Shader destination directory SHADDESTDIR
Sun Jan  5 12:55:50 AM CST 2025 INFO - setShaderDest - Using variable ABSGAMEEXEPATH for Shader destination directory ''
Sun Jan  5 12:55:50 AM CST 2025 INFO - openTrayIcon - LoadCfg: /home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf
Sun Jan  5 12:55:50 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' START
Sun Jan  5 12:55:50 AM CST 2025 INFO - loadCfg - Loading game config '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 12:55:50 AM CST 2025 SKIP - migrateCfgOption - Variable 'STLDXVKCFG' could not be found - giving up
Sun Jan  5 12:55:50 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' STOP
Sun Jan  5 12:55:50 AM CST 2025 INFO - openTrayIcon - Opening trayIcon:
Sun Jan  5 12:55:50 AM CST 2025 INFO - startSettings - MainMenu:
Sun Jan  5 12:55:50 AM CST 2025 INFO - MainMenu - Preparing to load Main Menu
Sun Jan  5 12:55:51 AM CST 2025 INFO - createDLReShadeList - Found the following 'ReShade' versions online '6.3.3!6.3.2!6.3.1'
Sun Jan  5 12:55:51 AM CST 2025 SKIP - createMO2SilentModeExeProfilesList - Does not appear that '219990' is a ModOrganizer 2 game, nothing to do
Sun Jan  5 12:55:51 AM CST 2025 INFO - prepareMenu - Opening Menu
Sun Jan  5 12:55:51 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/global.conf' START
Sun Jan  5 12:55:51 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/global.conf' STOP
Sun Jan  5 12:55:51 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' START
Sun Jan  5 12:55:51 AM CST 2025 INFO - loadCfg - Loading game config '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 12:55:51 AM CST 2025 SKIP - migrateCfgOption - Variable 'STLDXVKCFG' could not be found - giving up
Sun Jan  5 12:55:51 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' STOP
Sun Jan  5 12:55:51 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/url.conf' START
Sun Jan  5 12:55:51 AM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/url.conf' STOP
Sun Jan  5 12:55:51 AM CST 2025 SKIP - updateConfigFile - Config file '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' already at version 'v14.0.20241228-1'
Sun Jan  5 12:55:51 AM CST 2025 SKIP - linkGameCfg - Skipping symlinking config - no valid game name found
Sun Jan  5 12:55:51 AM CST 2025 INFO - getGameName - Found Game Name '' in '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 12:55:51 AM CST 2025 INFO - getGameName - Outgoing game name is ''
Sun Jan  5 12:55:51 AM CST 2025 ERROR - prepareMenu - No game name found for '219990' - this should not happen

219990.conf header:

## config Version: v14.0.20241228-1
##########################
##########################
## Keep steamtinkerlaunch open after game exit
KEEPSTLOPEN="0"
## Use Steam Linux Runtime requested by compatibility tool, if available - May need to be manually installed from Steam if unavailable
USESLR="1"
## Force Steam Linux Runtime if not available
FORCESLR="0"

Note: Timestamps may not line up as I had to restore the issue to reproduce some of the logs adequately.

@HalHatesDave HalHatesDave added the bug Something isn't working label Jan 5, 2025
@sonic2kk
Copy link
Owner

sonic2kk commented Jan 5, 2025

Indeed, getGameName should not fail. Either SteamTinkerLaunch cannot find the game in your Steam library (as you point out it does not look like it parsed the libraryfolders.vdf properly)


The first thing to try is to launch SteamTinkerLaunch with this game as a compatibility tool and see if that works. Maybe create a fresh ~/.config/steamtinkerlaunch/gamecfgs/219990.conf file to emulate a "first launch" of the game via Steam.

Is there a reason you're running steamtinkerlaunch settings directly with an AppID? I can't reproduce this with Grim Dawn, either running directly from Steam or running that command with the AppID supplied.

For what it's worth, your config header does look mangled. It should look something along these lines:

## config Version: v14.0.20241228-1
##########################
#########
#SteamTinkerLaunch v14.0.20241228-1
#########
#########
#GAMENAME="Grim Dawn"
#GAMEEXE=""
#GAMEID="219990"
#PROTONVERSION=""
#########

I may have broken something during install or use, as $STLSHM/listAppManifests.log does not exist which I suspect would have avoided the error.

It is unusual that it is missing. Your log shows that SteamTinkerLaunch has only found the following library folder paths:

  • /home/$USER/.local/share/Steam/steamapps (I am assuming you edited $USER manually, which
  • /mnt/secondaryNVME/Program Files (x86)/Steam/steamapps
  • /mnt/oldMass/SteamLibrary/steamapps

Is Grim Dawn in any of these paths?


Something else that might be interesting to note is, do you have multiple Steam accounts, and if so, is the last logged in Steam User the one that has this game? You can check the contents of /dev/shm/steamtinkerlaunch/LoginUsersCSV.txt (although you do not have to share this). The columns here are the Long UserID, Short UserID, and if it is the most recent Steam User.

If you only have one Steam User, then there must be a different cause.


Quite an unusual issue, but I'll try help as best I can :-)

@sonic2kk sonic2kk added the Command line Issues related to using SteamTinkerLaunch command line options label Jan 5, 2025
@HalHatesDave
Copy link
Author

HalHatesDave commented Jan 6, 2025

Is there a reason you're running steamtinkerlaunch settings directly with an AppID? I can't reproduce this with Grim Dawn, either running directly from Steam or running that command with the AppID supplied.

I encountered the error when trying to help in issue 1209. I was going through the available commands and working through the steamtinkerlaunch.bash script.


I re-corrupted 219990.conf and launched via Steam with STL as the compat tool and reached the Main menu successfully. Looking at the Grim Dawn.log shows $AID is set via initAID:

Sun Jan  5 21:19:10 CST 2025 INFO - initAID - Set AID from STEAM_COMPAT_APP_ID to '219990'

I then tried running stl settings 219990 again and got the expected error:

Sun Jan  5 09:27:00 PM CST 2025 INFO - prepareMenu - Opening Menu
Sun Jan  5 09:27:00 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/global.conf' START
Sun Jan  5 09:27:00 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/global.conf' STOP
Sun Jan  5 09:27:00 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' START
Sun Jan  5 09:27:00 PM CST 2025 INFO - loadCfg - Loading game config '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 09:27:00 PM CST 2025 SKIP - migrateCfgOption - Variable 'STLDXVKCFG' could not be found - giving up
Sun Jan  5 09:27:00 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' STOP
Sun Jan  5 09:27:00 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/url.conf' START
Sun Jan  5 09:27:00 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/url.conf' STOP
Sun Jan  5 09:27:00 PM CST 2025 SKIP - updateConfigFile - Config file '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf' already at version 'v14.0.20241228-1'
Sun Jan  5 09:27:00 PM CST 2025 SKIP - linkGameCfg - Skipping symlinking config - no valid game name found
Sun Jan  5 09:27:00 PM CST 2025 INFO - getGameName - Found Game Name '' in '/home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf'
Sun Jan  5 09:27:00 PM CST 2025 INFO - getGameName - Outgoing game name is ''
Sun Jan  5 09:27:00 PM CST 2025 ERROR - prepareMenu - No game name found for '219990' - this should not happen

Next, I deleted the corrupt 219990.conf and ran stl settings 219990 and it successfully launched the Main Menu for Grim Dawn, additionally a new 219990.conf was generated with the correct header:

## config Version: v14.0.20241228-1
##########################
#########
#SteamTinkerLaunch v14.0.20241228-1
#########
#########
#GAMENAME="Grim Dawn"
#GAMEEXE=""
#GAMEID="219990"
#PROTONVERSION=""
#########

I am not sure which process initially creates the .config, so here's the full steamtinkerlaunch.log:

Sun Jan  5 09:32:44 PM CST 2025 INFO - setflatpak - started SteamTinkerLaunch from /usr/bin/steamtinkerlaunch
Sun Jan  5 09:32:44 PM CST 2025 INFO - initAID - Set AID to PLACEHOLDERAID '31337'
Sun Jan  5 09:32:44 PM CST 2025 INFO - main - Current SteamTinkerLaunch working directory is '/home/$USER'
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLanguage - First load the default language 'english' to make sure all variables are filled
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLangFile - Language from command line is 'english'
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLangFile - SYSTEMSTLCFGDIR is '/usr/share/steamtinkerlaunch'
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLangFile - Command line language 'english' is no file - trying to find its absolute path
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLangFile - Loading found system wide /usr/share/steamtinkerlaunch/lang//english.txt
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLanguage - Loading STLLANG from '/home/$USER/.config/steamtinkerlaunch/global.conf'
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLanguage - STLLANG from '/home/$USER/.config/steamtinkerlaunch/global.conf' is 'english'
Sun Jan  5 09:32:44 PM CST 2025 INFO - steamdedeckt - Not on Steam Deck I guess
Sun Jan  5 09:32:44 PM CST 2025 INFO - setLocalInstall - Looks like we don't have a local non-root install
Sun Jan  5 09:32:44 PM CST 2025 INFO - updateConfigEntry - Option 'GLOBALCOLLECTIONDIR' is updated with the new value '/usr/share/steamtinkerlaunch/collections' in config 'global.conf'
Sun Jan  5 09:32:44 PM CST 2025 INFO - getCurrentCommandline - No Proton in command line arguments 'settings 219990'
Sun Jan  5 09:32:44 PM CST 2025 INFO - saveOrgVars - Storing some original variables to restore them later
Sun Jan  5 09:32:44 PM CST 2025 INFO - emptyVars - Emptied some original variables as they slowdown several system calls when started from steam
Sun Jan  5 09:32:44 PM CST 2025 INFO - emptyVars - Set $PATH to '/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/viacore_perl:'
Sun Jan  5 09:32:44 PM CST 2025 START - ######### Initializing Game Launch 31337 using SteamTinkerLaunch v14.0.20241228-1 #########
Sun Jan  5 09:32:44 PM CST 2025 INFO - main - Starting with a clean log
Sun Jan  5 09:32:44 PM CST 2025 INFO - main - Start creating default configs
Sun Jan  5 09:32:44 PM CST 2025 INFO - createDefaultCfgs - START
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLanguage - First load the default language 'english' to make sure all variables are filled
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLangFile - Language from command line is 'english'
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLangFile - GLOBALSTLLANGDIR is '/usr/share/steamtinkerlaunch/lang'
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLangFile - Command line language 'english' is no file - trying to find its absolute path
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLangFile - Loading found system wide /usr/share/steamtinkerlaunch/lang/english.txt
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLanguage - Loading STLLANG from '/home/$USER/.config/steamtinkerlaunch/global.conf'
Sun Jan  5 09:32:44 PM CST 2025 INFO - loadLanguage - STLLANG from '/home/$USER/.config/steamtinkerlaunch/global.conf' is 'english'
Sun Jan  5 09:32:44 PM CST 2025 INFO - createDefaultCfgs - setSteamPaths:
Sun Jan  5 09:32:44 PM CST 2025 INFO - setSteamPaths - Reading Steam Path variables from '/dev/shm/steamtinkerlaunch/steampaths.txt'
Sun Jan  5 09:32:44 PM CST 2025 INFO - getGameOS - Starting game OS detection
Sun Jan  5 09:32:44 PM CST 2025 INFO - getGameOS - STEAM_COMPAT_DATA_PATH is not defined, so this is either a Linux Game or no game was started at all
Sun Jan  5 09:32:44 PM CST 2025 INFO - listAllSettingsEntries - '/dev/shm/steamtinkerlaunch/setentries.txt' already exists - nothing to do
Sun Jan  5 09:32:44 PM CST 2025 INFO - createDefaultCfgs - STOP
Sun Jan  5 09:32:44 PM CST 2025 SKIP - listSteamLibraries - not recreating already available '/dev/shm/steamtinkerlaunch/SteamLibraries.txt'
Sun Jan  5 09:32:44 PM CST 2025 WARN - setSteamLibraryPaths - Library folder '/run/media/$USER/secondaryNVME/Program Files (x86)/Steam/steamapps' does not seem to be a valid directory, even though this comes from Steam itself - Ignoring, but please report if this is invalid or causes issues
Sun Jan  5 09:32:44 PM CST 2025 WARN - setSteamLibraryPaths - Library folder '/run/media/$USER/secondaryNVME/SteamLibrary/steamapps' does not seem to be a vHDDali##d directory, even though this comes from Steam itself - Ignoring, but please report if this is invalid or causes issues
Sun Jan  5 09:32:44 PM CST 2025 INFO - setSteamLibraryPaths - STEAM_COMPAT_LIBRnvmeeeARY_PATHS set to '/home/$USER/.local/share/Steam/steamapps:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps:/mnt/oldMass/SteamLibrary/steamapps'
Sun Jan  5 09:32:44 PM CST 2025 INFO - setSteamLibraryPaths - STEAM_COMPAT_MOUNTS set to '/home/$USER/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/SteamLinuxRuntime:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/SteamLinuxRuntime_soldier:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/Steamworks Shared'
Sun Jan  5 09:32:44 PM CST 2025 INFO - setSteamLibraryPaths - STEAM_COMPAT_TOOL_PATHS set to '/home/$USER/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/SteamLinuxRuntime:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/SteamLinuxRuntime_soldier:/mnt/secondaryNVME/Program Files (x86)/Steam/steamapps/common/Steamworks Shared'
Sun Jan  5 09:32:44 PM CST 2025 INFO - main - Checking internal dependencies:
Sun Jan  5 09:32:44 PM CST 2025 INFO - setAwkBin - Found 'gawk' as an 'awk' variant. It should work without any issues, because 'gawk' was tested completelyHDD
Sun Jan  5 09:32:44 PM CST 2025 INFO - checkIntDeps - Result of version check for yad binary '/usr/bin/yad' is '14.1'
Sun Jan  5 09:32:44 PM CST 2025 INFO - checkIntDeps - Yad is set correctly in the Global Config, nothing to do.
Sun Jan  5 09:32:44 PM CST 2025 INFO - main - Initializing first Proton:
Sun Jan  5 09:32:44 PM CST 2025 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
Sun Jan  5 09:32:44 PM CST 2025 INFO - initFirstProton - Initializing Proton
Sun Jan  5 09:32:44 PM CST 2025 INFO - initFirstProton - Initial Proton version 'FIRSTUSEPROTON' from '/home/$USER/.config/steamtinkerlaunch/default_template.conf' is 'proton-9.0-4c'
Sun Jan  5 09:32:44 PM CST 2025 INFO - main - Initializing default window resolution
Sun Jan  5 09:32:44 PM CST 2025 INFO - setInitWinXY - Using '1920x1080' from config '/dev/shm/steamtinkerlaunch/defres.txt'
Sun Jan  5 09:32:45 PM CST 2025 INFO - main - Welcome to SteamTinkerLaunch
Sun Jan  5 09:32:45 PM CST 2025 INFO - removeEmptyFiles - Removing empty files from '/home/$USER/.config/steamtinkerlaunch/games/appinfo'
Sun Jan  5 09:32:45 PM CST 2025 INFO - removeEmptyFiles - Removing empty files from '/home/$USER/.config/steamtinkerlaunch/games/header'
Sun Jan  5 09:32:45 PM CST 2025 INFO - main - Checking command line: incoming arguments 'settings 219990'
Sun Jan  5 09:32:45 PM CST 2025 INFO - main - Checking command line: first argument 'settings'
Sun Jan  5 09:32:45 PM CST 2025 INFO - getGameName - Found Game Name '"Grim Dawn"' in '/home/$USER/.local/share/Steam/steamapps/appmanifest_219990.acf'
Sun Jan  5 09:32:45 PM CST 2025 INFO - getGameName - Outgoing game name is 'Grim Dawn'
Sun Jan  5 09:32:45 PM CST 2025 INFO - startSettings - createProtonList:
Sun Jan  5 09:32:45 PM CST 2025 INFO - startSettings - openTrayIcon:
Sun Jan  5 09:32:45 PM CST 2025 INFO - autoCollectionSettings - Searching collections for game '219990' in '/home/$USER/.local/share/Steam/userdata/133418008/7/remote/sharedconfig.vdf'
Sun Jan  5 09:32:45 PM CST 2025 SKIP - autoCollectionSettings - Global Config '' not found - skipping
Sun Jan  5 09:32:45 PM CST 2025 SKIP - autoCollectionSettings - Collections Directory Config '' not found - skipping
Sun Jan  5 09:32:45 PM CST 2025 INFO - setFullGameExePath - User did not enable 'CUSTOMCMDRESHADE' - Using the game's exe directory as the ReShade installation directory
Sun Jan  5 09:32:45 PM CST 2025 INFO - setShaderDest - Determining Shader destination directory SHADDESTDIR
Sun Jan  5 09:32:45 PM CST 2025 INFO - setShaderDest - Using variable ABSGAMEEXEPATH for Shader destination directory ''
Sun Jan  5 09:32:45 PM CST 2025 INFO - openTrayIcon - LoadCfg: /home/$USER/.config/steamtinkerlaunch/gamecfgs/id/219990.conf
Sun Jan  5 09:32:45 PM CST 2025 INFO - openTrayIcon - Opening trayIcon:
P.P.S

I suspect this is a one-time error and I don't expect you to spend too much time on this, especially as I was able to remediate the error. I just thought it was an interesting bug.
Sun Jan  5 09:32:45 PM CST 2025 INFO - startSettings - MainMenu:
Sun Jan  5 09:32:45 PM CST 2025 INFO - MainMenu - Preparing to load Main Menu
Sun Jan  5 09:32:46 PM CST 2025 INFO - createDLReShadeList - Found the following 'ReShade' versions online '6.3.3!6.3.2!6.3.1'
Sun Jan  5 09:32:46 PM CST 2025 SKIP - createMO2SilentModeExeProfilesList - Does not appear that '219990' is a ModOrganizer 2 game, nothing to do
Sun Jan  5 09:32:46 PM CST 2025 INFO - prepareMenu - Opening Menu
Sun Jan  5 09:32:46 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/global.conf' START
Sun Jan  5 09:32:46 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/global.conf' STOP
Sun Jan  5 09:32:46 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/url.conf' START
Sun Jan  5 09:32:46 PM CST 2025 INFO - loadCfg - '/home/$USER/.config/steamtinkerlaunch/url.conf' STOP
Sun Jan  5 09:32:46 PM CST 2025 INFO - updateConfigEntry - Emptying 'CUSTOMCMD' for '/home/$USER/.config/steamtinkerlaunch/default_template.conf'
Sun Jan  5 09:32:46 PM CST 2025 INFO - getGameName - Using 'GN' as Game Name: 'Grim Dawn'
Sun Jan  5 09:32:46 PM CST 2025 INFO - getGameName - Outgoing game name is 'Grim Dawn'
Sun Jan  5 09:32:46 PM CST 2025 INFO - linkGameCfg - Symlink '/home/$USER/.config/steamtinkerlaunch/gamecfgs/title/Grim Dawn.conf' already exists
Sun Jan  5 09:32:46 PM CST 2025 INFO - createWineList - Updating the Wine Dropdown List
Sun Jan  5 09:32:46 PM CST 2025 ERROR - setGPfxFromAppMa - '/home/$USER/.local/share/Steam/steamapps/appmanifest_219990.acf' is no valid directory - probably function 'listAppManifests' requires a fix here!
Sun Jan  5 09:32:46 PM CST 2025 INFO - setShowPic - Determining game picture
Sun Jan  5 09:32:46 PM CST 2025 INFO - setShowPic - Using '/home/$USER/.config/steamtinkerlaunch/games/header/219990.jpg' as game picture
Sun Jan  5 09:32:46 PM CST 2025 INFO - setOPCustPath - Default path for custom exe file requester is 'echo'
Sun Jan  5 09:32:46 PM CST 2025 INFO - getRes - Detected screen resolution '2560x1440'
Sun Jan  5 09:32:46 PM CST 2025 INFO - pollWinRes - Using harmless '--center' as variable 'GEOM', because there are multiple side-effects in yad if the string is empty
Sun Jan  5 09:32:46 PM CST 2025 INFO - pollWinRes - Creating initial '/home/$USER/.config/steamtinkerlaunch/guicfgs/2560x1440/219990/SteamTinkerLaunch-MainMenu.conf' with unused default values
Sun Jan  5 09:32:46 PM CST 2025 INFO - updateConfigEntry - 'COLCOUNT' option missing in config 'SteamTinkerLaunch-MainMenu.conf' - adding a new line
Sun Jan  5 09:32:46 PM CST 2025 INFO - updateWinRes - Starting resolution-poll for '/home/$USER/.config/steamtinkerlaunch/guicfgs/2560x1440/219990/SteamTinkerLaunch-MainMenu.conf' with incoming '1920x1080'
Sun Jan  5 09:32:46 PM CST 2025 INFO - updateWinRes - Waiting for Window 'SteamTinkerLaunch-MainMenu'
Sun Jan  5 09:32:46 PM CST 2025 INFO - getAppInfoData - Retrieving data for 'name' from '/home/$USER/.config/steamtinkerlaunch/games/appinfo/219990.bin'
Sun Jan  5 09:32:46 PM CST 2025 WARN - prepareSteamDeckCompatInfo - Can't get Steam Deck compatibility information because 'jq' is not installed
Sun Jan  5 09:32:46 PM CST 2025 INFO - getAppInfoData - Retrieving data for 'name' from '/home/$USER/.config/steamtinkerlaunch/games/appinfo/219990.bin'
Sun Jan  5 09:32:47 PM CST 2025 INFO - updateWinRes - Waiting for Window 'SteamTinkerLaunch-MainMenu'
Sun Jan  5 09:32:48 PM CST 2025 INFO - updateWinRes - Waiting for Window 'SteamTinkerLaunch-MainMenu'
Sun Jan  5 09:32:49 PM CST 2025 SKIP - updateWinRes - Timeout waiting for Window 'SteamTinkerLaunch-MainMenu'
Sun Jan  5 09:32:51 PM CST 2025 INFO - MainMenu - Clicked '0' - 'EXIT'
Sun Jan  5 09:32:51 PM CST 2025 INFO - MainMenu - exiting 'Settings Menu' and opening 'Exit'
Sun Jan  5 09:32:51 PM CST 2025 INFO - closeSTL - closing STL
Sun Jan  5 09:32:51 PM CST 2025 INFO - updateConfigEntry - Emptying 'CUSTOMCMD' for '/home/$USER/.config/steamtinkerlaunch/default_template.conf'
Sun Jan  5 09:32:51 PM CST 2025 INFO - closeSTL - Creating '/dev/shm/steamtinkerlaunch/steamtinkerlaunch-closing.tmp'
Sun Jan  5 09:32:51 PM CST 2025 INFO - checkPlayTime - The game was not even started
Sun Jan  5 09:32:51 PM CST 2025 INFO - closeSTL - Game 'Grim Dawn (219990)' exited - cleaning up custom processes if necessary
Sun Jan  5 09:32:51 PM CST 2025 INFO - closeTrayIcon - Closing TrayIcon '125600'
Sun Jan  5 09:32:52 PM CST 2025 INFO - closeSTL - Removing '/dev/shm/steamtinkerlaunch/steamtinkerlaunch-closing.tmp'
Sun Jan  5 09:32:52 PM CST 2025 STOP - ######### closeSTL SteamTinkerLaunch v14.0.20241228-1 #########
Sun Jan  5 09:32:52 PM CST 2025 INFO - writeLastRun - Recreating /home/$USER/.config/steamtinkerlaunch/logs/steamtinkerlaunch/lastrun.txt
Sun Jan  5 09:32:52 PM CST 2025 INFO - storeMetaData - Saving metadata for game 'Grim Dawn (219990)'
Sun Jan  5 09:32:52 PM CST 2025 INFO - storeMetaData - Symlink '/home/$USER/.config/steamtinkerlaunch/meta/eval/title/evaluatorscript_Grim Dawn.vdf' already exists

Also of note, when I ran the settings 219990 command with the corrupt 219990.conf, a YAD process would start but not close. Additionally, trying to exit via the tray icon did not work. I suspect because it had no game process to kill.


I did change my username to $USER in the logs for privacy and Grim Dawn is in the /home/$USER/.local/share/Steam/steamapps library. As for the users part, I only have the one Steam account, and there is only the 1 line in LoginUsersCSV.txt.

Also, would it be a good idea to try and generate a $STLSHM/listAppManifests.log? If so how would I do so?


P.S.

(I am assuming you edited $USER manually, which

I do not believe it is nice to accuse someone of practicing the occult via their use of Find+Replace....
(Joke as 'which' sounds like 'witch', haha!)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Command line Issues related to using SteamTinkerLaunch command line options
Projects
None yet
Development

No branches or pull requests

2 participants