Glossary:Borderless fullscreen windowed

From PCGamingWiki, the wiki about fixing PC games

For a list of games, see games with borderless fullscreen windowed support.

Key points

A borderless mode allows any windows to be centered and behave like a fullscreen mode. Set the desired game to run in a Windowed mode first before applying a borderless mode.
Seamless task switching with no risk of crashes or freezes with a very little loss in performance.
AMD/ATI cards only support Crossfire in this mode for games using Mantle.[1]

Basic Instructions[edit]

Instructions
  1. Set the desired game to launch in a Windowed mode.
  2. Use the appropriate software or solution from the following list depending on the currently used Operating System.

Windows[edit]

Eliminates screen tearing on Windows due to V-Sync being applied over any windows by default.[2]
Keeps custom color profiles in use.

Borderless Gaming[edit]

Open source and simple to use application.
Dynamic, adapts easily when switching to a different resolution on another monitor.
Allows games to lock the mouse to the current window.
Borderless Gaming
  1. Download Borderless Gaming and extract it anywhere.
  2. Run the desired game in a Windowed mode, then Alt+Tab to the Desktop and start Borderless Gaming.
  3. Select the game's executable from under the Applications field, then push the large Right Arrow icon located at the center.

Notes

Certain games may need to be restarted if the borderless mode isn't working, keep Borderless Gaming open in the background.
Certain games might crash if Borderless Gaming is launched while the game is running.

Manually setting a game to a borderless window[edit]

Instructions
  1. Download Borderless Gaming and extract it anywhere.
  2. Run the desired game in a Windowed mode, then Alt+Tab to the Desktop and start Borderless Gaming.
  3. Select the game's executable from under the Applications field, then push the third large button located at the center.

GeDoSaTo[edit]

GeDoSaTo and Borderless Gaming can be used together.
Allows games to be downsampled at any resolution.
Slightly unintuitive interface.
GeDoSaTo
  1. Open GeDoSaTo.ini.
  2. Find the following line, and set it to this value.
forceBorderlessFullscreen true

AutoHotkey[edit]

Games utilizing PunkBuster as an anti-cheat measure may mistakenly treat AutoHotkey as a cheat.

Saving and running AutoHotkey scripts[edit]

AutoHotkey
  1. Download AutoHotkey and install it.
  2. Go to the Desktop, then Right Click on an empty space and select New, AutoHotkey script.
  3. Right Click on the AutoHotkey file, and select Edit Script, erase the contents of this file, close it and save any new changes.
  4. Double click on the file in order to launch the script.

Notes

AutoHotkey scripts can be placed in the Startup folder in order to be executed automatically.

Fullscreen Toggle Script[edit]

This script will remove any borders and center the currently active window on the primary monitor by pushing F12.
Instructions
  1. Download AutoHotkey and install it.
  2. Go to the Desktop, then Right Click on an empty space and select New, AutoHotkey script.
  3. Right Click on the AutoHotkey file, and select Edit Script, erase the contents of the file.
  4. Copy the following source code into the new file, close the file and save, then Double Click on it in order to execute the script.
#UseHook On
F12::

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

Return

   5. Push F12 while in a game in order to activate the script.

This page may require cleanup to meet basic quality standards. The specific problem is: For AutoHotkey only. Unclear functionality, not properly tested. You can help by modifying the article. The discussion page may contain useful suggestions.

Fullscreen toggle script[edit]

This script will toggle between fullscreen and windowed modes when pressing F12 as well as hiding the taskbar on the fullscreen mode.
Fullscreen script
#UseHook On
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]

Someone needs to check whenever this explanation for the script is correct or if 0, 0, and A_ScreenWidth/Height mean that the script automatically detects the user's resolution.
This is a snippet from the Fullscreen toggle script.
Fullscreen script
  • 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 the monitors total width, for 3840x1080 them being.
WinMove, ahk_id %WindowID%, , 1920, 0, 1920, 1080

Notes

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]

Most Linux window 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 instance. This allows you to switch between your game and your desktop using Ctrl+Alt+F7 and Ctrl+Alt+F8 (buttons may differ, may be F1 through F12) and it increases performance and stability. To do this, edit the launch options for your game on Steam as follows:

Run Game in New X Server
xinit %command% :1

Notes

Manually launch a Non-Steam game by replacing %command% with the path to the game executable. Some games, including Middle-earth: Shadow of Mordor may run into glitches using this method (as verified by Feral Interactive)

Improved tiling windows manager[edit]

Instructions
  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.

Engines[edit]

Source[edit]

Instructions[3]
  1. See Command line arguments.
  2. Use the -windowed -noborder arguments.

Unity[edit]

Instructions[4]
  1. Use the -popupwindow command line argument.
  2. Launch the game in windowed mode (if no option is available toggle with Alt+ Enter).

Windows troubleshooting[edit]

Game crashes on startup[edit]

Certain borderless applications have to be started before the game itself and not while the game is running.

Window constantly resizes itself[edit]

After applying the borderless mode simply restart the game itself, while keeping the borderless application open.

References

  1. Why does CrossFire still not work in windowed mode | Community
  2. Microsoft Developer Network - Double Buffered Graphics
  3. Command line options - Valve Developer Community
  4. Unity - Manual: Command line arguments