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.56k stars 44 forks source link

Launchers immediately crash back to game mode #360

Open TheDarkSpock opened 1 month ago

TheDarkSpock commented 1 month ago

I’m running into a problem with NonSteamLaunchers after trying to download a game from Itch. Here’s what happened:

I set up NonSteamLaunchers and signed in to all my launchers (Amazon, Epic, Itch, etc.), and everything seemed to work fine.

I downloaded a game from Itch, but after restarting, the game didn’t appear in game mode.

I went back to desktop mode to restart the NSLGameScanner.service, hoping that would resolve the issue.

Since then, almost everything is broken. None of the downloaded launchers (Amazon, Epic, Itch) will open—they crash immediately and return me to game mode.

The only applications that still launch are the streaming services.

Does anyone have any suggestions on how to fix this? Any help would be greatly appreciated!

Thanks in advance!

moraroy commented 1 month ago

@TheDarkSpock go back into desktop mode, and download the newest .Desktop file and use that instead, open NSL using that new .desktop file and click on Stop NSL Scanner and then click NO. This will stop the scanner. Then restart steam and see if you can open up the shortcuts again. As far as itchio is concerned is it a game that requires to play in a web browser? If so, I don't know how to set that up yet, the game in itchio needs to be a .exe som of them are web based

TheDarkSpock commented 1 month ago

Thanks for your suggestions. I’ve downloaded the latest desktop file and followed the provided steps, but the issue with the launchers persists. Here’s what’s happening:

All non-streaming apps (Amazon, Epic, Itchio) continue to crash back to the desktop. When I try to launch them, the Steam logo appears briefly before the app crashes and returns me to game mode.

Thanks!

moraroy commented 1 month ago

@TheDarkSpock is compatabilty being forced in the shortcuts? open the properties of those shortcuts and check to make sure compatability is being forced to the latest proton ge.....if that is correct, then open up NSL and check your paths, NSL lets you know what is actually installed.

TheDarkSpock commented 1 month ago

Thank you for your help. ProtonGE is being forced, and while all the launchers have paths listed in the properties section in game mode, there are no paths listed when I open NSL. I have no idea why this happened, as I didn't uninstall or move anything. All the streaming apps are still working without issue.

moraroy commented 1 month ago

@TheDarkSpock the fact that you have no paths when you open NSL means nonething is installed, if you have clicked the button "Start Fresh" this deletes and wipes everythingeverything. Not sure what would have caused this to happen but somehow it seems nothing is installed? Please check your /home/deck/.local/share/steam/steamapps/compatdata/ folder... in there there will be folders that tell you what is installed. When it comes to your shortcuts those are just shortcuts. You can delete them and start over if you wish.

Timmelz commented 1 month ago

I had the same issue! The symlink NonSteamLaunchers in the compatdata directory broke after an update and was pointing to the wrong directory. I renamed the old compatdata folder (found it by looking through all and one contained all installed launchers) to the one referenced in the symlink.

moraroy commented 1 month ago

@Timmelz I really want to fix that issue, I think the error is in the logic of the NSLGameScanner.py with the symlinks

Timmelz commented 1 month ago

I think the hardcoded app id caused the issues. That is the same id, I renamed my folder to: https://github.com/moraroy/NonSteamLaunchers-On-Steam-Deck/blob/16779f01a4c9f77fb948639acbce2e9842a70e1a/NSLGameScanner.py#L663

Previously the first app id was used, right?

After launching NSL in the newer version, it updated the symlink to the new folder, which was empty.

moraroy commented 1 month ago

@Timmelz yeah they're may be better logic to do instead maybe unlink everyone's old symlink and then symlink to the new one? Idk

moraroy commented 1 month ago

The first app I'd was used but I got rid of that logic because it was confusing for some

psxlover commented 1 month ago

Want to add that start fresh does not delete all symlinks so trying to reinstall launchers from scratch may fail until you manually delete any leftover symlinks.

moraroy commented 1 month ago

@psxlover thanks for the heads up, I'm going to try to add some more logic that deletes them better

woodsielord commented 1 month ago

Exact same issue, everything lost. What's the current symlink workaround?

TheDarkSpock commented 1 week ago

Is there any update on this? I would like to give NonSteamLaunchers another try, but I'm unsure of the best approach. Should I try and reinstall all the launchers, or do I need to go through all the compatdata folders to see if the launchers are still installed?

moraroy commented 1 week ago

@TheDarkSpock open up NSL with the latest .desktop file and see what is installed. If you have things installed then sure you can use your old launchers. Hitting start fresh should wipe eveythting if you want to start over.

moraroy commented 1 week ago

@woodsielord was this solved for you? Or did the symlinks break?