uureel / batocera.pro

This repo is scheduled for phase out // Unofficial apps for Batocera, installation info below
http://batocera.pro
GNU General Public License v3.0
178 stars 52 forks source link

Feature Request: Close Steam automatically when game launched from ES is exited. #43

Closed ChildishhAlbino closed 6 months ago

ChildishhAlbino commented 6 months ago

Description

Basically self titled but the user experience with launching Steam games from ES when Flatpak installed worked was quite nice - Steam would open either minimized or silently and when you exited the game you'd be returned to the ES menu.

Is this possible with the arch container version of Steam? If so, can I enable it or have it be provided as an option?

ghost commented 6 months ago

It's a function of steam, not the launch scripts. The script default is to launch the game id in big picture mode which doesn't close out steam when exiting the game. You can remove the --gamepadui flag in the +UPDATE-STEAM-GAMES.sh parser in the /roms/steam2 so it launches in desktop mode which closes out when done.

ChildishhAlbino commented 6 months ago

Thanks for clarifying that for me - will try that and report back.

ChildishhAlbino commented 6 months ago

Hey @garbagescow - that didn't work. I removed the flag and it did correctly boot in standard window mode but when exiting a game it still behaved funny and required Alt+F4 numerous times to get steam to close and ES to re-open.

ghost commented 6 months ago

Looks like valve removed that function when they updated. i would just use gamepad ui and exit out of the game with the controller then. Hotkey and the overlay left menu should let you exit.