Glossary:Borderless fullscreen windowed

From PCGamingWiki, the wiki about fixing PC games
Jump to: navigation, search

Key points

Advantage Fast, seamless task switching with no risk of crashes or freezes with no performance costs.
Advantage Eliminates screen tearing.
Disadvantage AMD/ATI cards do not support Crossfire in this mode.
Disadvantage Most games will have problems with edge scrolling on multi-monitor setups.
Information A forced Windowed mode will need to be set first for games which do not natively provide a borderless mode.

Windows[edit]

Borderless Gaming[edit]

Information Open source and simple to use application.
Advantage Dynamic, adapts easily when switching to a different resolution on another monitor. A manual toggle is also available.

Fullscreenizer[edit]

Advantage Lightweight easy to use utility, useful for TVs.

GameCompanion[edit]

Advantage Full of customizable features.

ShiftWindow[edit]

Advantage Manually completely override the size of a game's border sending it off screen.
Disadvantage Slightly overly complicated, not compatible with certain games.

Fix InstructionsLink

  • Run the desired game at the screen's native resolution while in windowed mode.

Notes

Information ShiftWindow has a bug where the Windows taskbar goes over the window, a fix can be found here.

Windowed Borderless Gaming[edit]

Advantage Customizable position axis and resolution size.
Disadvantage Slightly inconsistent functionality.

Fix InstructionsLink

  1. Run the desired game in a windowed mode, Right Click on the Windowed Borderless Gaming tray icon.
  2. Click on Add window, then Alt+Tab back to the game and push F3.

Notes

Information Pushing F3 alone is not going to set the game into a borderless mode.

Unity[edit]

Information Games built on the Unity engine can be run in a borderless window by adding the launch argument -popupwindow to the main executable and checking the 'windowed' option in its launcher.

AutoHotkey[edit]

Information The following scripts require AutoHotkey.
Disadvantage Games utilizing PunkBuster as an anti-cheat measure may mistakenly treat AutoHotkey as a cheat.

Saving and running a script[edit]

Fix Make and run scriptLink

  1. In Windows Explorer, File -> New -> AutoHotkey Script
  2. Open the newly created file in a text editing program
  3. Append the code to the end of the file
  4. Save the file and run it.

Scripts compilation[edit]

Borderless scripts[edit]

Fullscreen script[edit]

Information This script will full screen the currently active window onto your primary monitor with F12.

Fix Fullscreen scriptLink

F12::
WinGet, WindowID, ID, A
WinSet, Style, -0xC40000, ahk_id %WindowID%
WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
return

Fullscreen toggle script[edit]

Information This script will toggle between fullscreen and windowed modes when pressing F12 as well as hiding the taskbar on the fullscreen mode.

Fix Fullscreen scriptLink

F12::
WinGet, TempWindowID, ID, A
If (WindowID != TempWindowID)
{
  WindowID:=TempWindowID
  WindowState:=0
}
If (WindowState != 1)
{
  WinGetPos, WinPosX, WinPosY, WindowWidth, WindowHeight, ahk_id %WindowID%
  WinSet, Style, ^0xC40000, ahk_id %WindowID%
  WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
  ;Hide Windows Task Bar and Start Button. (Remove the following two lines if you don't want that behaviour)
  WinHide ahk_class Shell_TrayWnd
  WinHide Start ahk_class Button
}
Else
{
  WinSet, Style, ^0xC40000, ahk_id %WindowID%
  WinMove, ahk_id %WindowID%, , WinPosX, WinPosY, WindowWidth, WindowHeight
  ;Show the task bar again
  WinShow ahk_class Shell_TrayWnd
  WinShow Start ahk_class Button
}
WindowState:=!WindowState
return

Multiple monitors script[edit]

Information This is a snippet from the Fullscreen toggle script.

Fix Fullscreen scriptLink

  • The values 0, 0, represent the coordinates of the upper left corner of the window.
WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
  • For multiple resolutions the values have to be the sum of your monitors total width, for 3840x1080 them being.
WinMove, ahk_id %WindowID%, , 1920, 0, 1920, 1080

Notes

Information Use 1920, 0, 1920, 1080 (right) or 0, 1920, 1920, 1080 (left) in order to change which side of the screen is filled.

Linux[edit]

Information Most Linux windows managers allow fullscreen applications to natively run under a borderless mode by default.

Another tip that exclusively works on Linux is running your game in a separate X server. This allows you to switch between your game and your desktop using Ctrl+Alt+F7 and Ctrl+Alt+F8 and it increases performance and stability. To do this, edit the launch options for your game on Steam as follows:

Fix Run Game in New X ServerLink

xinit %command% :1

Notes

Information Manually launch a Non-Steam game by replacing %command% with the path to the game executable.

Improved tiling windows manager[edit]

Fix InstructionsLink

  1. Start the game in a windowed mode.
  2. Move it to a new virtual desktop by using Shift+ Win+Number.
  3. Switch to the virtual terminal with Win+Number then go into fullscreen mode by pushing Win+F.