Whisky icon indicating copy to clipboard operation
Whisky copied to clipboard

[Feature]: Game mode when playing a game

Open evanpaul14 opened this issue 1 year ago • 7 comments

Describe the solution you'd like

When a game is running turn on Game Mode.

Issue Language

  • [X] Yes my issue is written in English

evanpaul14 avatar Oct 15 '23 01:10 evanpaul14

Is that even possible? I think the Game mode is controlled by MacOS

YRychkov avatar Oct 18 '23 09:10 YRychkov

I could've sworn I saw something about Crossover implementing Game Mode support but I can't seem to find it anymore. It might not be possible then, but someone smarter than me will have to comment on that.

evanpaul14 avatar Oct 18 '23 22:10 evanpaul14

Found somediscussions about this in other games, seems like it’s just a matter of setting the value of LSApplicationCategoryType in Info.plist

AndersonALAC avatar Oct 21 '23 05:10 AndersonALAC

I don't think that's the case. I tried setting public.app-category.games in the Whiskey app's info.plist in LSApplicationCategoryType, but it didn't enable Game mode.

Stooovie avatar Nov 30 '23 21:11 Stooovie

You need to change LSApplicationCategoryType when compiling.

Aurther-Nadeem avatar Dec 18 '23 23:12 Aurther-Nadeem

I see that games are run as wine-preloader, maybe it's not Whisky that should have that flag but the Wine runtime that uses.

tomsotte avatar Dec 30 '23 23:12 tomsotte

It seems hard-coded that the game must be in fullscreen. Wine fakes a fullscreen so that must also be tackled with

Trebor-Huang avatar Apr 05 '24 14:04 Trebor-Huang