Skip to content

Repository files navigation

Game Optimizer (GPC)

Windows app that applies a Game Performance Contract to running games. Never closes games. Large browsers (Chrome, Edge, Firefox, …) can be trimmed to free RAM; FFmpeg, OBS, editors like Cursor, and other apps are left alone by default.

Default launch opens the GUI. Closing or minimizing the window sends the app to the system tray. Click the tray icon (or Abrir) to restore, including if the window was maximized. Start with Windows is enabled by default.

Requirements

  • Windows 10/11
  • Administrator recommended for full process-control rights on games

Install (end users)

No Rust toolchain is required. Download a packaged build from GitHub Releases:

  1. Setup (recommended): run GameOptimizer-0.5.3-setup.exe and follow the setup wizard (language, welcome, license, folder, shortcuts). Over an existing install it shows an update page and asks to close the running app.
  2. Portable: run GameOptimizer-0.5.3.exe, or extract GameOptimizer-0.5.3-windows.zip and install:
powershell -ExecutionPolicy Bypass -File .\install.ps1

From a source checkout, after a release binary exists (or with -Build if you have Rust):

powershell -ExecutionPolicy Bypass -File .\installer\install.ps1
powershell -ExecutionPolicy Bypass -File .\installer\install.ps1 -Build

Installs to %LOCALAPPDATA%\GameOptimizer, creates Start Menu / Desktop shortcuts, registers Apps & features uninstall, and enables auto-start. Use -NoAutostart to skip the Run key. Uninstall from Apps & features, or:

powershell -ExecutionPolicy Bypass -File "$env:LOCALAPPDATA\GameOptimizer\uninstall.ps1"

The Inno installer is a full setup wizard (no admin). Portable launches show a first-run wizard in the app; reopen it with --setup or Mais opções. The GUI checks GitHub Releases for updates and can download the setup installer.

.\target\release\game_optimizer.exe --setup

Maintainers can produce the zip + Inno inputs with installer\package.ps1, then iscc installer\GameOptimizer.iss.

Build / run (developers)

cargo build --release

# GUI (default)
.\target\release\game_optimizer.exe
.\target\release\game_optimizer.exe --gui
.\target\release\game_optimizer.exe --setup

# CLI
.\target\release\game_optimizer.exe scan
.\target\release\game_optimizer.exe optimize
.\target\release\game_optimizer.exe optimize --trim-game-memory
.\target\release\game_optimizer.exe watch --interval 45
.\target\release\game_optimizer.exe games
.\target\release\game_optimizer.exe autostart
.\target\release\game_optimizer.exe autostart --on
.\target\release\game_optimizer.exe autostart --off

Requires Rust stable 1.85+.

What GPC does

Action Effect
High priority + priority boost Scheduler prefers the game
Power throttling off Avoids EcoQoS slowdowns
Memory priority Biases OS to keep game pages resident
Residency floor Soft minimum working set for the game
CPU-set / affinity partition Split cores across multi-instance games
Non-game WS trim Reclaims browsers only (Chrome/Edge/Firefox/…)
Trim memória do jogo Optional empty of game working sets

The GUI can also clean the user Temp / INetCache folders (confirm in the UI). Shader caches, Prefetch, and Windows Update files are never touched.

Adding a game

Edit games.toml (next to the exe after install):

[games]
names = ["MyGame.exe"]

Verify

cargo check
cargo clippy -- -D warnings
cargo fmt --check
cargo test

About

Windows game performance optimizer with GUI, system tray, and installer

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages