bburky / playnite-non-steam-shortcuts

A Playnite extension to create non-Steam shortcuts
MIT License
38 stars 2 forks source link

Game stays running after I close it + any way to be taken back to the playnite app? #18

Open gagrecco opened 3 years ago

gagrecco commented 3 years ago

When I close the game, in playnite it says the game is still running. Another issue, is that if there is a way to be taken back to playnite after playing instead of playnite being minimized?

Victiz commented 3 years ago

@bburky Can confirm it's still happening with emulated games (in my case, with PS2 games running through PCSX2). I managed to setup the emulators plus the games and they work flawlessly with Steam Overlay/Xinput/Now-Playing (Rich Presence) and everything.

But when I end the emulation, even though Steam does recognize the emulation is over, Playnite just won't recognize that everything is over, and acts like if it was still running the game/emulator and won't show up back.

So we end up needing to open Playnite, select said game, and manually force Playnite out of that state, if we are to run the game/emulation again.

@gagrecco About your second question, I don't know if you've already managed to do it, but you can go to Playnite settings, at the General tab you look for "After game closes" and select the "Restore window" option.

bburky commented 3 years ago

The problem is that Playnite has trouble tracking playtime when Steam gets launched I think. Do you have this problem if Steam is already running? When Playnite has to launch Steam (via the steam:// url), it ends up thinking that Steam is the game and tracks how long Steam is open as playime.

I think Playnite should always track playtime correctly if you have the installation path correctly configured. But you mentioned an emulator? Maybe that doesn't work as well for emulated games which don't really use installation path.

Victiz commented 3 years ago

@bburky Thanks for replying.

Yes, Steam is always running here all times... Good to know about the launching issue.

And yeah, it looks like the Actions' features overrides the features within the Installation tab. That would explain why it doesn't recognize the closure.

thedaryen commented 3 years ago

Same problem here. Unfortunately couldn't get it to work with Retroarch. Doesn't ever return to Playnite or recognizes closure. It's a bummer, this extension would be so handy for my retro collection...