Skip to content

GameModeExecutor 0.1.0

Choose a tag to compare

@github-actions github-actions released this 18 Sep 00:19
· 25 commits to main since this release
27a34f8

Runs the executables you configure when a game starts and when it stops. Measured on Windows 11; it relies on the Xbox Game Bar component Windows ships by default, which Windows 10 carries too since version 1903, but nobody has run it there yet.

Install

  • GameModeExecutor-0.1.0.msi -- the installer. Per user, no administrator prompt, into %LOCALAPPDATA%\Programs\GameModeExecutor. It writes a starter configuration if you have none, registers the logon task and starts the watcher: the icon beside the clock is the confirmation. Then right-click it, Edit configuration.
  • GameModeExecutor-0.1.0.zip -- the same executables, to unpack wherever you like. Then gamemode-executor init, edit the file it wrote, gamemode-executor install-task.

Documentation for this exact build.

What changed

The first release. Runs the executables you configure when a game starts
and when it stops, on Windows' own signal that a game is running.

Added

  • Detection through the Game Bar presence writer Windows starts for a game
    and stops when it is gone: no list of games to maintain, nothing polled
    while you play.
  • A configuration file, config.toml, naming the commands to run on each
    edge, in series or in parallel, with placeholders for the game's name and
    path; validate to check it, trigger start|stop to try the commands
    without a game.
  • The game's name in the log and in the placeholders, refined a little way
    into the session by asking the GPU which process is really drawing.
  • A notification area icon — grey without a game, green with one — with a
    menu: edit the configuration, open the log, open the documentation for
    the exact build running, quit.
  • A windowless twin, gamemode-executorw.exe, started at logon by a task
    install-task registers; the console executable is the one you type
    commands into.
  • Recovery after a logoff, shutdown or crash mid-game: the stop commands
    run at the next start, so you are not left on a gaming configuration.
  • A log for two readers: plain sentences at info, the technical detail as
    fields at debug.
  • A per-user installer, .msi, that needs no administrator rights, writes a
    starter configuration if you have none, registers the logon task and
    starts the watcher; a .zip for anyone who would rather not run an
    installer. Uninstalling removes the executables and the task and leaves
    your configuration; purge removes every trace on request.
  • Recipes with ready-made configurations: fan profiles with FanControl,
    including the scheduled tasks a program that needs administrator rights
    requires, and a Windows power plan.

For the curious

The first release: every commit is in it.

SHA-256

85d6178b6133e056309cceef1187d403b222429c4be26158681aff5772d0d5d1  GameModeExecutor-0.1.0.msi
b5b1618bd1d1223a4c9da3ce9df3ed8f0d2a820d4f04e3544d225ea278ae316a  GameModeExecutor-0.1.0.zip