Skip to content

A powershell script that changes the display resolution before launching a borderless game (Better performance at 1080 than 1440 in a borderless ONLY game? Solved.)

License

Notifications You must be signed in to change notification settings

Kushal-Chandar/Borderless-Game-Resolution-Changer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

Borderless Game Resolution Changer

Launch a borderless game with resolution of choice. This works by setting your display resolution to desired resolution before launching the game and sets it back to your current resolution after quitting the game to desktop.

Optionally you can decide to turn windows explorer off (minor performance boost). This works by killing the windows file explorer process and makes the file explorer is restarted after quitting the game to desktop.

Usage

Set resolution to 1920 * 1080, Where you display resolution is 3840 * 2160 windows file explorer turned off.

.\launch_game.ps1 -GameExecutablePath .\path\to\game.exe -GameWidth 1920 -GameHeight 1080 -DisplayWidth 3840 -DisplayHeight 2160 -TurnOffExplorer

Set resolution to 1280 * 720, Where you display resolution is 1920 * 1080 windows file explorer turned on.

.\launch_game.ps1 -GameExecutablePath .\path\to\game.exe -GameWidth 1280 -GameHeight 720 -DisplayWidth 1920 -DisplayHeight 1080

This script also supports positional parameters.

Set resolution to 1920 * 1080, Where you display resolution is 3840 * 2160 windows file explorer turned off.

.\launch_game.ps1 .\path\to\game.exe 1920 1080 3840 2160 -TurnOffExplorer

About

A powershell script that changes the display resolution before launching a borderless game (Better performance at 1080 than 1440 in a borderless ONLY game? Solved.)

Topics

Resources

License

Stars

Watchers

Forks