It is currently October 3rd, 2024, 10:19 pm

Game mode

Report bugs with the Rainmeter application and suggest features.
Leooo
Posts: 2
Joined: September 18th, 2024, 1:12 pm

Game mode

Post by Leooo »

Game mode is a wonderful feature BUT is lacking one thing
I know that I can add exe's in the text window to make game mode when lunched like I had to add Steam to that
Problem is I have Rainlendar2 and it loads at startup and is extremely heavy when playing a game
Rainmeter will not allow Rainlendar2 to run if I put it in the txt window with others like Steam.
Whats needed is another window to place Rainlendar2 into that will allow Rainlendar2 to run at the same time as rainmeter
and then when game mode is activated when I launch Steam rainmeter will also shut down Rainlendar2 and relaunch when Steam is closed..
Im sure many would like to kill other background presses when game mode is activated
User avatar
Yincognito
Rainmeter Sage
Posts: 8324
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Game mode

Post by Yincognito »

Not sure what you mean by "Rainmeter will not allow Rainlendar2 to run". Rainmeter doesn't kill processes when using Game Mode, it just temporarily unloads the loaded Rainmeter skins when those processes are active:
https://docs.rainmeter.net/manual/user-interface/manage/#GameModeTab
I believe your issue could be this one instead:
https://answers.microsoft.com/en-us/windows/forum/all/why-wont-w11-allow-rainlendar2-app-to-stay-on-the/6acdc7ba-bf80-46df-8b03-a3b52b148ce2
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth
Leooo
Posts: 2
Joined: September 18th, 2024, 1:12 pm

Re: Game mode

Post by Leooo »

At the moment I manually close Rainlendar2 then start my gaming
when I put Rainlendar2.exe in the txt box rainmeter go's into game mode when I don't want it to/not gaming
What I'm trying to say is that I want Rainmeter to close Rainlendar2 when I start gaming
There are other apps in the back round that can interfere with frame rate like google drive any mail app
along with other junk we tend to let run at startup and wonder why the computer is running slower :Whistle
Just a way to automate shutting down apps we always close before starting a game
User avatar
jsmorley
Developer
Posts: 22802
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Game mode

Post by jsmorley »

Leooo wrote: September 19th, 2024, 11:36 pm At the moment I manually close Rainlendar2 then start my gaming
when I put Rainlendar2.exe in the txt box rainmeter go's into game mode when I don't want it to/not gaming
What I'm trying to say is that I want Rainmeter to close Rainlendar2 when I start gaming
There are other apps in the back round that can interfere with frame rate like google drive any mail app
along with other junk we tend to let run at startup and wonder why the computer is running slower :Whistle
Just a way to automate shutting down apps we always close before starting a game
First off, Rainmeter and Rainlendar2 have nothing to do with each other. Neither one has any native way to detect the presence of the other. Rainmeter's Game Mode in any case has no ability to end or start ANY program as a part of its functionality. This is very unlikely to be added.

Having said that, there is likely a way, but it's a bit of a Rube Goldberg / kludge / bag on the side of the machine.

1) Have two Rainmeter Layouts. We will call them "normal" and "game".
2) In the Layout "normal", in addition to your regular skins, have an invisible skin that uses the Rainmeter measure Process to detect if Rainlender2 is currently running. If NOT, then have it launch Rainlender2.
3) In the Layout "game", in addition to whatever you want to keep loaded when a game is running, have an invisible skin that uses the Rainmeter measure Process to detect if Rainlender2 is currently running. If SO, then use the Rainmeter Plugin RunCommand and execute the Windows taskkill command to end Rainlender2.
User avatar
Yincognito
Rainmeter Sage
Posts: 8324
Joined: February 27th, 2015, 2:38 pm
Location: Terra Yincognita

Re: Game mode

Post by Yincognito »

jsmorley wrote: September 20th, 2024, 12:10 amRainmeter's Game Mode in any case has no ability to end or start ANY program as a part of its functionality. This is very unlikely to be added.
Since we're at it, maybe a "natural" way to let skins know when Game Mode is "on" or "off" (via some built-in variable or something) would be useful in case anyone wants to do something else than unloading / loading skins or layouts in those moments (by the way, doing nothing is not available in the Game Mode combo boxes, without unchecking and losing the ability to check for those D3D or custom processes). Loading skins or layouts can be a CPU / GPU intensive job in some cases, after you just quit a CPU / GPU intensive game, and the Process measure, besides requiring a hardcoded process to check, has no way of telling if that process is a full screen D3D one in advance. Just a potential idea for the future, in case you rate it worthwhile. ;-)
Profiles: Rainmeter ProfileDeviantArt ProfileSuites: MYiniMeterSkins: Earth