New
#1
help me create an script to run games on high performance
Everytime I run an open world game with balanced power plan, it's sucks. Sure, the easy way it's just to use high performance power plan for everything. The thing is, this waste more energy in the long run. Every time I try to use high performance when I'm playing, I forgot to switch back to balanced when I close the game.
The whole reason why I want to create a script to do this it's because I try many thing to make open world games run on balanced mode with no frametime issues, caused by cpu clock slowing down once in a while. I use v-sync, my monitor it's 60hz. Balanced power plan only works properly if I let the game fps free (fast sync or v-sync off).
So, about the script, I basically want to run the game through the script making Windows switch to high performance power plan and than switch back to balanced when I close the game.