A lightweight Windows launcher that ensures Lossless Scaling starts before your game, then minimizes it and restores focus to the game window.
This is primarily intended for use with Steam launch options, allowing Lossless Scaling to run automatically without interrupting gameplay.
After downloading the .exe, this step is mandatory for every game you want to use with the wrapper.
For each game:
- Open Steam
- Go to your Library
- Right-click the game → Properties
- Under General, find Launch Options
- Enter the following:
"<Path to wrapper exe> ... \Lossless-Scaling-Wrapper.exe" -- %command%
- The quotes (" ") MUST wrap the full path to the wrapper executable
- Replace the path above with your actual
.exelocation - The
-- %command%portion MUST remain exactly as written - This must be configured per game — there is NO global setting in Steam
For optimal behavior:
- Configure a profile for the game inside Lossless Scaling
- Lossless Scaling will automatically apply the profile on launch
- Optionally loads environment variables from a
.envfile - Starts
LosslessScaling.exe(if found) - Launches the game via Steam (
%command%) - Minimizes the Lossless Scaling window (without stealing focus)
- Brings the game window to the foreground
- Waits for the game to exit and returns its exit code
- Windows
- .NET 8
- Lossless Scaling installed locally
You can run the wrapper manually:
Lossless-Scaling-Wrapper.exe -- "C:\Path\To\Game.exe" -arg1 -arg2
If no game is provided, the wrapper exits with code 1.
Default Lossless Scaling path:
C:\Program Files (x86)\Steam\steamapps\common\Lossless Scaling\LosslessScaling.exe
Override using environment variable:
LOSSLESS_SCALING_PATH="C:\Custom\Path\LosslessScaling.exe"
.env lookup order:
- Same directory as the wrapper
.exe - Current working directory
dotnet build
- If Lossless Scaling is not found, the game still launches
- Window focus behavior is best-effort and may vary by game/launcher
Not affiliated with Lossless Scaling or Valve.