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]

Information See Mouse locking for a mouse locking alternative.

Borderless Gaming[edit]

Information Open source and simple to use application.
Advantage Dynamic, adapts easily when switching to a different resolution on another monitor.
Advantage Allows the taskbar to be hidden while also being on top.
Advantage Allows games to lock the mouse to the current window.

Fullscreenizer[edit]

Information Small open source program
Advantage Lightweight easy to use utility, useful for TVs.
Advantage Can apply stay-on-top flag to avoid taskbar flickering

Full Window[edit]

Information Open source.
Information Attempts to expand the game's viewport in order to fill the entire screen, emulating a fullscreen borderless mode for games where the borders cannot be removed.
Advantage Supports multi-monitors, customizable window position and size.

GameCompanion[edit]

Advantage Full of customizable features.

GeDoSaTo[edit]

Information GeDoSaTo and Borderless Gaming can be used together.
Advantage Allows games to be downsampled at any resolution.

Fix Instructions

  1. Open GeDoSaTo.ini.
  2. Find the following line, and set it to this value.
forceBorderlessFullscreen true

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 Instructions

  • 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.
Advantage Allows games to lock the mouse to the current window.

Fix Instructions

  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.

Window Manager[edit]

Information Open source, easy to use
Advantage Highly configurable
Advantage Aids multimonitor setups

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 script

  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 script

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 script

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

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 Server

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 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]

Unity[edit]

Information Games built on the Unity engine can be run in a borderless window by enabling windowed mode and adding the launch argument -popupwindow to the main executable.[1]

Windows troubleshooting[edit]

Game crashes on startup[edit]

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

Window constantly resizes itself[edit]

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

References

  1. Unity - Manual: Command line arguments