gamemode
gamemode copied to clipboard
Custom scripts per game
Hello, the current gamemode version already supports custom scripts which is great. A nice add would allow the user to define specific scripts for a given game. I have an use case where I have to enable the full Nvidia's pipeline for a given game, but this feature has a negative impact on other titles.
hi, I also use custom start and stop scripts.
as you already know no command line args can be passed to those start scripts, but you can grab the command line args which are directly given to gamemoderun.
in order to call gamespecific commands you could use a selfrolled gamemoderun (lets call it gmr here)
which basically greps "
me again. I'm currently working on "steamtinkerlaunch" - short "stl" which does exactly that and much more. https://github.com/frostworx/steamtinkerlaunch major commit maybe later today
@frostworx it seems promising. I'm going to try it.
n1! hf, @vinifmor!
An easy and flexible solution would be to provide the custom scripts with an environment variable that contains the gamemoderun parameters, like GAMEMODERUN_PARAMS="mangohud foo-steam-game"
.
Looks like the run_external_process
function needs to be extended for that functionality.