moraroy / NonSteamLaunchers-On-Steam-Deck

Installs the latest GE-Proton and Installs Non Steam Launchers under 1 Proton prefix folder and adds them to your steam library. Installs... Battle.net, Epic Games, Ubisoft, GOG, EA App, Amazon Games, itch.io , Legacy Games, The Humble Games Collection, IndieGala, Rockstar Games Launcher,PS Plus, Glyph, VKPlay & HoYoPlay. SD Card Support and Games.
https://github.com/sponsors/moraroy
MIT License
2.54k stars 43 forks source link

Launchers don't launch #264

Open lfilho opened 5 months ago

lfilho commented 5 months ago

Hey @moraroy, continuing from my report here https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck/issues/258, decided to create this new thread, since it's apparently a separate issue.

So, I was able to install the Launchers, and they show on the non-steam tab of my library.

But when I run them, nothing happens. Tried both desktop and gaming modes, tried restarting the deck, tried disabling Developer mode...

More specifically, on desktop, the green "Play" button becomes the blue "Stop" button and nothing else for minutes until I force it to stop. And on Gaming mode the loading animation screen starts but never ends and i have to press A to force quit it.

Not sure if related but during the installation i saw the Battle.net login screen popup, but before i could open my password manager to get my password, it vanished from the screen.

Any clues??

lfilho commented 5 months ago

Here's what appears in the logs after i click to launch battle.net:

/bin/sh\0-c\0STEAM_COMPAT_DATA_PATH="/home/deck/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/"  /home/deck/.local/share/Steam/ubuntu12_32/reaper SteamLaunch AppId=3786021133 -- /home/deck/.local/share/Steam/ubuntu12_32/steam-launch-wrapper -- '/home/deck/.local/share/Steam/steamapps/common/SteamLinuxRuntime_sniper'/_v2-entry-point --verb=waitforexitandrun -- '/home/deck/.local/share/Steam/compatibilitytools.d/GE-Proton9-2'/proton waitforexitandrun  "/home/deck/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/pfx/drive_c/Program Files (x86)/Battle.net/Battle.net Launcher.exe"\0
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_64/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS64): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/home/deck/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ProtonFixes[32282] INFO: Running protonfixes
ProtonFixes[32282] INFO: Running checks
ProtonFixes[32282] INFO: All checks successful
ProtonFixes[32282] INFO: Using global defaults for UNKNOWN (0)
ProtonFixes[32282] INFO: No protonfix found for UNKNOWN (0)

And after I click "Stop":

Uploaded AppInterfaceStats to Steam
lfilho commented 5 months ago

Started an installation from zero, including deleting the log file. Then i grepped it for errors:

Error: /home/deck/.config/systemd/user/env_vars does not exist.
Error: /home/deck/.config/systemd/user/env_vars does not exist.
Error: /home/deck/.config/systemd/user/env_vars does not exist.
tar: Error is not recoverable: exiting now
/usr/share/themes/Breeze/gtk-2.0/widgets/entry:70: error: unexpected identifier 'direction', expected character '}'
/usr/share/themes/Breeze/gtk-2.0/widgets/styles:36: error: invalid string constant "combobox_entry", expected valid string constant

And warnings:

(steam:38261): libappindicator-WARNING **: 19:31:54.590: Unable to get the session bus: The given address is empty
lfilho commented 5 months ago

It now worked. I'm not sure what did it this time. Maybe the combination of restarting + disabling dev mode + restarting + installation from scratch? Launching a game via desktop mode doesn't work but via gaming mode does so far!

moraroy commented 4 months ago

@lfilho is this still broken for you?

lfilho commented 4 months ago

Hey @moraroy thanks for following up. I haven't played much on Deck since I posted, but as per my last messge it was finally working on Game Mode, just not Desktop mode, which is not that big of a deal for me anyway. Would you like me to test Desktop mode?

moraroy commented 4 months ago

@lfilho yes please!

evoc2911 commented 1 month ago

Hello, I don't want to open another one if this is actually matching my issue. Since few days ago none of the installed launchers launches anymore Battle.net, GOG, EPIC. When I push the play button it does nothing anymore. Goes to Stop and back to nothing in 5 seconds. This is the launch option line set up by the software: STEAM_COMPAT_DATA_PATH="/home/deck/.local/share/Steam/steamapps/compatdata/NonSteamLaunchers/" %command%

Tried different proton compatibility but nothing does. Hope you can help.

Thanks

moraroy commented 1 month ago

@evoc2911 please use the newest .desktop file from the github. There was a bug in there that was causing that, then run NSL, then stop game scanner and start back up again if you want.

evoc2911 commented 1 month ago

@evoc2911 please use the newest .desktop file from the github. There was a bug in there that was causing that, then run NSL, then stop game scanner and start back up again if you want.

thanks I'll try

EDIT: hey I've downloaded the new version, run it from the download folder, stopped the game scanner but nothig changes. no launcher go pass the play button as previously. I don't know my way around linux system so I'm really lost here. If you could be more detailed on the step to take. Here's how my download folder looks like.

download folder

EDIT 2: now a NonSteamLaunchers appears in my library and if clicked it openas another window, see below: NSL play

moraroy commented 1 month ago

@evoc2911 OK, open up the new desktop file and hit Stop Game Scanner, when it asks if you want to run it again hit NO. The new NinSteamLaunchers shortcut that was created for you is just a placeholder, simply Hide it in your library, right click the shortcut and go to manage and click on Hide this Game. It's for protontricks. Now, exit steam fully basically restart steam. And let me know if your launchers work again, if they don't, then I would check and see what's going on in your compatadata folder located at /home/deck/.local/share/steam/steamapps/compatdata/ let me know what folders are in there.

evoc2911 commented 1 month ago

@evoc2911 OK, open up the new desktop file and hit Stop Game Scanner, when it asks if you want to run it again hit NO. The new NinSteamLaunchers shortcut that was created for you is just a placeholder, simply Hide it in your library, right click the shortcut and go to manage and click on Hide this Game. It's for protontricks. Now, exit steam fully basically restart steam. And let me know if your launchers work again, if they don't, then I would check and see what's going on in your compatadata folder located at /home/deck/.local/share/steam/steamapps/compatdata/ let me know what folders are in there.

Hi man, appreciated a lot your help. I did as you said but the launcher still won't launch. here's my compdata picture, once opened the NSL folder: steammapp