NonSteamLaunchers-On-Steam-Deck icon indicating copy to clipboard operation
NonSteamLaunchers-On-Steam-Deck copied to clipboard

Launchers are not adding to Steam Library

Open imsofresh54 opened this issue 11 months ago • 11 comments

After running script, EA Play is launching, but shortcut is not added to Steam Library.

Tryed doing restart, disabling NSL, separating APP IDs, using decky loader plugin. Nothing helps.

imsofresh54 avatar Mar 30 '24 23:03 imsofresh54

@imsofresh54 are you installing to the sd card?

moraroy avatar Mar 31 '24 06:03 moraroy

@imsofresh54 are you installing to the sd card?

Nope, on internal SSD

imsofresh54 avatar Mar 31 '24 16:03 imsofresh54

Hi, I hope this might be of help, I was tweaking a bit and when doing a fresh start after a while I encountered the same problem, tried reinstalling again and again but with no result. I read some old closed issues where it said it might fix doing a log out from the steam account and closing the application then restarting the device and logging in again. tried that, reinstalled NSL and the launchers were added in the library

moldof97 avatar Mar 31 '24 17:03 moldof97

Hi, I hope this might be of help, I was tweaking a bit and when doing a fresh start after a while I encountered the same problem, tried reinstalling again and again but with no result. I read some old closed issues where it said it might fix doing a log out from the steam account and closing the application then restarting the device and logging in again. tried that, reinstalled NSL and the launchers were added in the library

Thank you for answer, but no luck for me. 😢

imsofresh54 avatar Mar 31 '24 18:03 imsofresh54

I found what was an issue. After fresh install of Steam OS, and installing NSL, nothing seems to work. But later i entered gaming mode, and in non-steam section i was promted to download Google Chrome. After i done this, and restarting NSL, launchers appeared in library.

imsofresh54 avatar Mar 31 '24 21:03 imsofresh54

@imsofresh54 interesting ok.. will take a look at the logic @moldof97

moraroy avatar Mar 31 '24 23:03 moraroy

I had the same issue on my fresh steamOS. Adding chrome like guy above said fixed the issue.

rafal-zelek avatar Apr 02 '24 22:04 rafal-zelek

Just had the same issue. Installing Chrome first and restarting NSL afterwards fixed it.

theimpulson avatar Apr 04 '24 18:04 theimpulson

I also hit this in a fresh steamOS install. The error in log is:

['/home/deck/Downloads/NonSteamLaunchersInstallation/lib/python3.11/site-packages', '/home/deck/.config/systemd/user/Modules', '/home/deck/.config/systemd/user/Modules', '/home/deck/.config/systemd/user', '/home/deck/Downloads/NonSteamLaunchersInstallation/lib/python3.11/site-packages', '/home/deck', '/usr/lib/python311.zip', '/usr/lib/python3.11', '/usr/lib/python3.11/lib-dynload', '/usr/lib/python3.11/site-packages']
Traceback (most recent call last):
  File "/home/deck/.config/systemd/user/NSLGameScanner.py", line 406, in <module>
    create_new_entry(os.environ.get('epicshortcutdirectory'), 'Epic Games', os.environ.get('epiclaunchoptions'), os.environ.get('epicstartingdir'))
  File "/home/deck/.config/systemd/user/NSLGameScanner.py", line 366, in create_new_entry
    if check_if_shortcut_exists(signed_shortcut_id, appname, exe_path, startingdir, launchoptions):
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/deck/.config/systemd/user/NSLGameScanner.py", line 324, in check_if_shortcut_exists
    if any(s.get('appid') == shortcut_id for s in shortcuts['shortcuts'].values()):

NSLGameScanner.py does not check for an empty shortcuts.vdf file. As @imsofresh54 did with Chrome, a work-around is to add any non-steam product before running the script (I just add "Ark" as non-steam app).

cgiraldo avatar Apr 05 '24 14:04 cgiraldo

@cgiraldo dang ok thank you for providing the error log that explains alot, unfortunately I can't put in a fix just yet as I have irl things going on. I'll try to apply a fix perhaps this weekend.

moraroy avatar Apr 05 '24 19:04 moraroy

yep same here - got new steam deck last week and had same issue as @cgiraldo with nothing being added to steam and random behaviour (some launchers opening in desktop, most not). I will strart fresh after installing chrome to see if that works..!!

ckhan101 avatar Apr 11 '24 10:04 ckhan101

I found what was an issue. After fresh install of Steam OS, and installing NSL, nothing seems to work. But later i entered gaming mode, and in non-steam section i was promted to download Google Chrome. After i done this, and restarting NSL, launchers appeared in library.

Edit:

I had the same problem and doing the above process made it work.

Jusecace avatar Jun 10 '24 21:06 Jusecace

@Jusecace this has been fixed just now using the Desktop Version of NonSteamLaunchers. i will be adding this fix to the plugin version as well.

moraroy avatar Jun 11 '24 10:06 moraroy