ebenbruyns / junkstore

Transform your gaming experience with Junk-Store - the ultimate solution for seamlessly integrating non-Steam games into your Steam Deck library. Say goodbye to clunky work arounds and hello to a world of endless gaming possibilities. Get ready to elevate your gaming to the next level with Junk-Store!
https://junkstore.xyz/
Other
200 stars 7 forks source link

"Set game executable" does not work #54

Open krillme opened 1 month ago

krillme commented 1 month ago

Describe the bug After downloading Transistor from the Epic Games Store, it won't launch from the non-steam shortcut on Steam Deck unless you go into its entry in Junk Store, click "run exe in game folder" and select "Transistor.exe". If you click "set game executable" instead, the game will still not launch from the non-steam shortcut.

To Reproduce Steps to reproduce the behavior:

  1. Install Transistor from the Epic Games Store
  2. Open the game through the non-steam shortcut. It will fail to launch
  3. Go to Transistor's entry in Junk Store and click the settings option
  4. Click "run exe in game folder", then "Transistor.exe". The game will successfully launch
  5. Return to Transistor's entry in Junk Store and click the settings option
  6. Click "run exe in game folder", then "set game executable" when "Transistor.exe" is highlighted
  7. Open the game through the non-steam shortcut. It will still fail to launch

Expected behavior After clicking "set game executable" in Junk Store, the non-steam shortcut should successfully launch the game.

Handheld device (please complete the following information):

Additional context It's possible this is caused by the game having an x86 and an x64 executable in the game folder.

ebenbruyns commented 1 month ago

There's quite a bit going on in that code. Does the Transitor.exe file accept the epic authentication arguments? At the moment there's no mechanism for disabling these. There's still quite a bit of design work that I need to do before I can implement a proper solution for this that will apply to all future store fronts.

krillme commented 1 month ago

How do I go about checking if the .exe accepts the epic authentication arguments? Are those not applied when you launch a game from the .exe instead of the non-steam shortcut?

ebenbruyns commented 1 month ago

If you launch it from the junk-store screen (assuming you didn't mess with the launch options or did a reset launch options) it will apply the epic args.

If you run it from the sliders menu it will run it without it.

The steam shortcut will run with the same settings that gets applied from the junk-store play button.

ebenbruyns commented 5 days ago

I have discovered a bug in this and I'm in the process of fixing it.