Anonymous edits have been disabled on the wiki. If you want to contribute please login or create an account.


Warning for game developers: PCGamingWiki staff members will only ever reach out to you using the official press@pcgamingwiki.com mail address.
Be aware of scammers claiming to be representatives or affiliates of PCGamingWiki who promise a PCGW page for a game key.

Difference between revisions of "Glossary:Borderless fullscreen windowed"

From PCGamingWiki, the wiki about fixing PC games
(Append AutoHotkey Script to also hide the task bar when in full screen mode)
m
Line 9: Line 9:
 
{{--}} Most games will have problems with edge scrolling on [[multi-monitor]] setups.
 
{{--}} Most games will have problems with edge scrolling on [[multi-monitor]] setups.
  
== Methods ==
+
==Linux==
===[https://github.com/Codeusa/Borderless-Gaming Borderless gaming]===
+
{{ii}} Most Linux windows managers allow fullscreen applications to natively run under a borderless mode by default.
 +
 
 +
==Windows==
 +
===Methods===
 +
====[https://github.com/Codeusa/Borderless-Gaming Borderless gaming]====
 
{{ii}} Open source and simple to use application.
 
{{ii}} Open source and simple to use application.
 
{{++}} Dynamic, adapts easily when switching to a different resolution on another monitor. A manual toggle is also avaiable.
 
{{++}} Dynamic, adapts easily when switching to a different resolution on another monitor. A manual toggle is also avaiable.
  
===[http://forums.steampowered.com/forums/showthread.php?t=2675769 Windowed borderless gaming]===
+
====[http://forums.steampowered.com/forums/showthread.php?t=2675769 Windowed borderless gaming]====
 
{{++}} Customizable position axis and resolution size.
 
{{++}} Customizable position axis and resolution size.
 
{{--}} Slightly buggy, can get messy to use, no longer supported.
 
{{--}} Slightly buggy, can get messy to use, no longer supported.
  
== AutoHotKey ==
+
====[http://www.autohotkey.com/download/ AutoHotKey]====
{{ii}} Games utilizing [[PunkBuster]] as an anti-cheat measure may mistakenly interpret AutoHotkey as illegal and as such will automatically kick you from any respective servers. Battlefield 3 is the most notable example.
+
{{ii}} AutoHotKey L or Basic is required for the following scripts.
 +
{{--}} Games utilizing [[PunkBuster]] as an anti-cheat measure may mistakenly treat AutoHotKey as a cheat.
  
This method uses AutoHotKey and a script to set the game window size and position, and strips out the native Windows border style.
+
====[http://gaming.stackexchange.com/questions/17306/how-to-force-maximized-fullscreen-mode-in-any-game/17307#17307 Stack Exchange]====
* [http://www.autohotkey.com/download/ AutoHotKey_L or AutoHotKey Basic] is required to use the following scripts.
+
{{ii}} This script appears to be the earliest implementation of this method from February 2011.
  
==== AutoHotKey script by briankb ====
+
====[http://skyrim.nexusmods.com/downloads/file.php?id=24 Skyrim Nexus]====
briankb's script appears to be the earliest implementation of this method from February 2011.
 
* [http://gaming.stackexchange.com/questions/17306/how-to-force-maximized-fullscreen-mode-in-any-game/17307#17307 Script available at gaming.stackexchange.com]
 
 
 
==== AutoHotKey script by XunAmarox ====
 
* [http://skyrim.nexusmods.com/downloads/file.php?id=24 Script available on the Nexus mods website].
 
 
 
==== Another AutoHotkey Script ====
 
This script will full screen the currently active window onto your primary monitor with the F12 key
 
  
 +
====Fullscreen script====
 +
{{ii}} This script will full screen the currently active window onto your primary monitor with the F12 key
 +
<pre>
 
  F12::
 
  F12::
 
  WinGet, WindowID, ID, A
 
  WinGet, WindowID, ID, A
Line 39: Line 39:
 
  WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
 
  WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
 
  return
 
  return
 +
</pre>
  
===== Full Screen Toggle AutoHotkey Script =====
+
====Fullscreen toggle script====
More complicated script which will toggle between full screen and windowed modes when pressing F12 and hide the windows task bar while in fullscreen mode
+
{{ii}} This script will toggle between fullscreen and windowed modes when pressing F12 as well as hiding the taskbar on the fullscreen mode.
 
+
<pre>
 
  F12::
 
  F12::
 
  WinGet, TempWindowID, ID, A
 
  WinGet, TempWindowID, ID, A
Line 69: Line 70:
 
  WindowState:=!WindowState
 
  WindowState:=!WindowState
 
  return
 
  return
 
+
</pre>
===== Multiple Monitors =====
+
====Multiple monitors script====
 
The script can be altered to have the window appear anywhere instead of on your primary monitor. The key is this line:
 
The script can be altered to have the window appear anywhere instead of on your primary monitor. The key is this line:
 
  WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
 
  WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
Line 79: Line 80:
 
Note that the screen size should be entered manually instead of '''A_ScreenWidth, A_ScreenHeight''' in case your monitors have different resolutions. If you're not sure what the coordinates of the upper left of your screen are, Windows 7 Screen Resolution control panel will tell you when dragging the displays around.
 
Note that the screen size should be entered manually instead of '''A_ScreenWidth, A_ScreenHeight''' in case your monitors have different resolutions. If you're not sure what the coordinates of the upper left of your screen are, Windows 7 Screen Resolution control panel will tell you when dragging the displays around.
  
===== Script File =====
+
====Script file====
 
To make this into an AutoHotkey script file:
 
To make this into an AutoHotkey script file:
 
* In Windows Explorer, File -> New -> AutoHotkey Script
 
* In Windows Explorer, File -> New -> AutoHotkey Script
Line 85: Line 86:
 
* Append the code to the end of the file
 
* Append the code to the end of the file
 
* Save the file and run it
 
* Save the file and run it
 
=== GameCompanion ===
 
BUDA20 developed this utility which, amongst other features, allows games to be run in 'FF mode' or 'Fake fullscreen' mode, which is the same as borderless fullscreen windowed. The program is downloaded as a .7z archive, which can be extracted to a folder and does not require installation. It defaults to starting with Windows.
 
 
* [http://tes.nexusmods.com/downloads/file.php?id=39550 GameCompanion download available on the Nexus mods website].
 
 
To enable 'FF mode':
 
# Run GameCompanion (which will open in the system tray).
 
# Run a game in the native desktop resolution in windowed mode.
 
# Press <code>Control + Enter</code> to run borderless fullscreen windowed mode.
 
  
 
===== Background Process Won't Close =====
 
===== Background Process Won't Close =====
Line 114: Line 105:
 
** Tweak for this issue is available called [http://www.sevenforums.com/tutorials/54842-taskbar-always-top-disable-enable.html DisableTaskbarOnTop], which allows the game to display over the Taskbar.
 
** Tweak for this issue is available called [http://www.sevenforums.com/tutorials/54842-taskbar-always-top-disable-enable.html DisableTaskbarOnTop], which allows the game to display over the Taskbar.
 
** Selecting automatic hide in the taskbar options may also fix this.
 
** Selecting automatic hide in the taskbar options may also fix this.
 
=== linux / X11 Windowmanagers ===
 
If you are running under linux, it might just be that your window manager has functionality to move a window to borderless fullscreen built in.
 
  
 
==== i3 tiling wm ====
 
==== i3 tiling wm ====

Revision as of 16:15, 6 March 2014

This page may require cleanup to meet basic quality standards. You can help by modifying the article. The discussion page may contain useful suggestions.
File:Borderless fullscreen windowed.jpg
Play StarCraft II and World of Warcraft side by side in fullscreen

Key points

Fast, seamless task switching with no risk of crashes or freezes with no performance costs.
Eliminates screen tearing.
AMD/ATI cards do not support Crossfire in this mode.
Most games will have problems with edge scrolling on multi-monitor setups.

Linux

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

Windows

Methods

Borderless gaming

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

Windowed borderless gaming

Customizable position axis and resolution size.
Slightly buggy, can get messy to use, no longer supported.

AutoHotKey

AutoHotKey L or Basic is required for the following scripts.
Games utilizing PunkBuster as an anti-cheat measure may mistakenly treat AutoHotKey as a cheat.

Stack Exchange

This script appears to be the earliest implementation of this method from February 2011.

Skyrim Nexus

Fullscreen script

This script will full screen the currently active window onto your primary monitor with the F12 key
 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

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

The script can be altered to have the window appear anywhere instead of on your primary monitor. The key is this line:

WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight

0, 0 are the coordinates of the upper left corner of the window. You can change these to the coordinates of the upper left corner of another monitor. When multiple monitors are present Windows concatenates them all into one virtual desktop. For example, if both of your monitors are 1600x1200 and they are arranged side by side, your virtual desktop is 3200x1200. In this case to have the window appear on your right (secondary) monitor you'd have to change the code to this:

WinMove, ahk_id %WindowID%, , 1600, 0, 1600, 1200

Note that the screen size should be entered manually instead of A_ScreenWidth, A_ScreenHeight in case your monitors have different resolutions. If you're not sure what the coordinates of the upper left of your screen are, Windows 7 Screen Resolution control panel will tell you when dragging the displays around.

Script file

To make this into an AutoHotkey script file:

  • In Windows Explorer, File -> New -> AutoHotkey Script
  • Open the newly created file in a text editing program
  • Append the code to the end of the file
  • Save the file and run it
Background Process Won't Close

Appears to keep the Fallout: New Vegas game process running in the background even if the game has been closed. The game can be shut down properly by going into the task manager to kill the task FalloutNV.exe.

ShiftWindow

This utility was originally developed by grismar for the EVE Online community. ShiftWindow sets the size and position of any windowed game so that the borders are forced off the screen, giving the appearance of a fullscreen window.

  1. Set a game to display at your display's native resolution and in windowed mode.
  2. Run ShiftWindow, and trigger it to resize the game window so that the borders overflow off the screen.

A step by step guide to making any game run in borderless fullscreen windowed is available on Shiny Hacks.

Issues

  • Incompatible with a number of games that do not allow for their window title bar to be forced off the screen.
  • May result in Windows' taskbar displaying over the game window.
    • Tweak for this issue is available called DisableTaskbarOnTop, which allows the game to display over the Taskbar.
    • Selecting automatic hide in the taskbar options may also fix this.

i3 tiling wm

With i3, simply start the game in windowed mode. Then, move it to a new virtual desktop with the key combo: <shift>-<windows>-<x>, where x is the number of a VT currently unused. After that, switch to the VT using <windows>-<x>, and put the game window into fullscreen mode by pressing <windows>-<f>.

Force Windowed Mode

These utilities can be used to force windowed mode in games that do not usually support it:

  • DxWnd
Download
  • D3DWindower
Download
In order to use the program, the Height, Width and DLL (D3dHook.dll, included in the download) must be filled in.[1]
D3DWindower must be run with administrator rights.
  • 3DAnalyze
Download


References