HGL
conscious-sapphire

App Names Script

If anyone could give me a bit of help that would be great! I used to use this script to determine the game IDs of my installed epic games, however upon using it for the first time in a while I am getting this error message: Traceback (most recent call last): File "legendary/cli.py", line 3148, in <module> File "legendary/cli.py", line 3059, in main File "legendary/cli.py", line 190, in list_games File "legendary/core.py", line 254, in login File "legendary/core.py", line 190, in _login ValueError: No saved credentials [3] Failed to execute script 'cli' due to unhandled exception! and the original script: flatpak run --command=legendary com.heroicgameslauncher.hgl list
6 Replies
conscious-sapphire
conscious-sapphireOP2y ago
@Linguin I have logged into both so I dont know why its giving me the error
rival-black
rival-black2y ago
I think that's because Heroic uses different place for configuration files take a look into Heroic logs, there you should see environment variables used to run legendary
conscious-sapphire
conscious-sapphireOP2y ago
I think in the legendary log I was able to find many of the app names I was looking for!! Thanks for the help, Im so nooby at linux so its nice to have some assistance
CommandMC
CommandMC2y ago
That one won't be in the log actually For starters, I'd recommend running flatpak run --command=bash com.heroicgameslauncher.hgl to get an actual shell, then you can just use legendary <command> like normal
conscious-sapphire
conscious-sapphireOP2y ago
okay cool thanks for that recommendation as well!!
CommandMC
CommandMC2y ago
After that, the command to run Legendary like Heroic does would be LEGENDARY_CONFIG_PATH=$XDG_CONFIG_HOME/heroic/legendaryConfig/legendary legendary <command>

Did you find this page helpful?