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

Difference between revisions of "Glossary:Borderless fullscreen windowed"

From PCGamingWiki, the wiki about fixing PC games
(→‎Borderless Gaming: This didn't used to be the case. Seems like the devs have little interest in correcting this bad practice.)
Tag: New redirect
 
(17 intermediate revisions by 7 users not shown)
Line 1: Line 1:
{{Video settings sidebar}}
+
#REDIRECT [[Glossary:Windowed#Borderless fullscreen windowed]]
{{feature|borderless fullscreen windowed}}
 
 
 
'''Key points'''
 
{{ii}} '''Borderless fullscreen windowed''' offers similar benefits as normal windowed mode, but with a fullscreen-like appearance.
 
{{ii}} Native feature in many modern titles, and can often be forced in the majority of older titles.
 
{{++}} Can sometimes be used to enable wider or higher resolutions via resizing the game's viewport.<ref>[https://www.wsgf.org/dr/lantern/en Lantern | WSGF]</ref><ref>[https://www.wsgf.org/dr/warhammer-40000-kill-team/en Warhammer 40,000: Kill Team | WSGF]</ref>
 
{{++}} Seamless task switching with no risk of crashes or freezes with a minor loss in performance.
 
{{++}} Eliminates screen tearing on Windows (only on Vista and later) due to [[Glossary:Vertical sync (Vsync)|Vertical sync (Vsync)]] being applied for all windows by the Desktop Window Manager (DWM)..<ref>{{Refurl|url=https://docs.microsoft.com/en-us/dotnet/framework/winforms/advanced/double-buffered-graphics|title=Microsoft Docs - Double Buffered Graphics|date=2018-04-13}}</ref>
 
{{--}} ..but will subsequently cause additional input lag as well, due to the aforementioned vertical sync. It is possible to disable the vertical sync, however it requires either disabling DWM (only possible on Vista/7) or by using a certain presentation mode and flag.<ref>{{Refurl|url=https://blogs.msdn.microsoft.com/directx/2018/04/09/dxgi-flip-model/|title=DirectX Developer Blog - For best performance, use DXGI flip model|date=2018-04-13}}</ref>
 
 
 
'''Borderless fullscreen windowed''' refers to a mode where the game presents the rendered image in a maximized window without borders making it cover the whole monitor. This is opposed to a regular window that uses window decorations around the contents of the window, or fullscreen exclusive mode where the game takes control over the output device and where each application switch required a display mode switch to occur.
 
 
 
This feature is known by a lot of different names between games, such as ''borderless mode'', ''maximized window'', ''fullscreen window'', or any combination thereof. Some titles might also refer to it using less common names, such as ''scaling'' or even ''fullscreen'' if the game does not support exclusive fullscreen mode.
 
 
 
==Windows==
 
===Borderless Gaming===
 
{{Fixbox|description=Instructions|ref={{cn|date=June 2017}}|fix=
 
# Download [https://github.com/Codeusa/Borderless-Gaming/releases Borderless Gaming] and install it.
 
# Navigate to the Borderless Gaming installation path and run '''BorderlessGaming.exe'''
 
# Run the game in a '''Windowed''' mode, then {{key|Alt|Tab}} to the Desktop and open Borderless Gaming again.
 
# Select the game's executable from under the '''Applications''' field, then push the first '''Right Arrow''' button located at the top.
 
 
 
'''Notes'''
 
{{ii}} Restart the game if the borderless mode isn't working, keep Borderless Gaming open.
 
{{ii}} If the game crashed after Borderless Gaming was launched then restart the game, keep Borderless Gaming open.
 
{{--}} Requires UAC elevation to run.
 
}}
 
 
 
===[[Special K]]===
 
{{Fixbox|description=See [[Special_K#Borderless_fullscreen_windowed|Special K > Borderless fullscreen windowed]] for instructions.}}
 
 
 
===GeDoSaTo===
 
{{ii}} Works with games on the [[Engine:Unreal Engine 3|Unreal Engine 3]]. Allows Windowed modes to be forced on games which don't have them.
 
{{--}} Limited to DirectX 9 and 32-Bit games.
 
 
 
{{Fixbox|description=Instructions|ref={{cn|date=June 2017}}|fix=
 
# Install and run [https://community.pcgamingwiki.com/files/file/897-gedosato/ GeDoSaTo].
 
# Edit settings and find the following line in GeDoSaTo.ini. <pre>forceBorderlessFullscreen false</pre>
 
# Edit the value from "false" to "true" to force this mode.
 
# Add the game's executable name to the user whitelist.
 
# Run the game in its normal fullscreen mode as opposed to windowed.
 
{{ii}} Updater/installer has issues on Windows 10. As a work around as of this time, download the [https://github.com/PeterTh/gedosato/archive/master.zip Git master zip] and extract the contents of it's ''pack'' folder into the location you want GeDoSaTo installed to.<ref>https://www.reddit.com/r/pcmasterrace/comments/8127op/cant_install_gedosato_anymore/</ref>
 
}}
 
 
 
===Simple Runtime Window Editor===
 
{{++}} Allows manipulating the size, position, and styles of a game's main/child windows.
 
 
 
{{Fixbox|description=Instructions|ref={{cn|date=June 2017}}|fix=
 
# Download [https://github.com/dtgDTGdtg/SRWE/releases SRWE] and run it as administrator.
 
# Run the game in windowed mode, and switch back to SRWE.
 
# Select running application and open the game.
 
# Use the Remove borders and Fake fullscreen buttons.
 
# Save the profile to the same folder as SRWE.
 
}}
 
 
 
===Fullscreenizer===
 
{{--}} Doesn't have favorite games and cannot be minimized to tray.
 
{{Fixbox|description=Instructions|ref={{cn|date=June 2017}}|fix=
 
# Download [http://runtimeterror.com/tools/fullscreenizer Fullscreenizer] and run it as administrator.
 
# Run the game in windowed mode, and switch back to Fullscreenizer.
 
# Click on "Show All", select a game and click on "Add".
 
# Use the Fullscreenize button.
 
}}
 
 
 
===Windowed Borderless Gaming===
 
{{++}} Has favorite games and can be minimized to tray.
 
{{Fixbox|description=Instructions|ref={{cn|date=June 2017}}|fix=
 
# Download [http://westechsolutions.net/sites/WindowedBorderlessGaming/ Windowed Borderless Gaming] and run.
 
# Run the game in windowed mode, and click to icon in tray.
 
# Use "Add window (F3)" button, go to game and click F3.
 
# Restart the game.
 
}}
 
 
 
===Windows Border Stripper===
 
{{++}} Strips the Windows border in most games, and has options to move the window with axis options.
 
{{Fixbox|description=Instructions|ref={{cn|date=June 2017}}|fix=
 
#Download [https://sourceforge.net/projects/winborderstrip/ Windows Border Stripper] and run.
 
# Run the game in windowed mode, and start Windows Border Stripper.
 
# Select the games name from the list, and click on the right arrows (>>) to strip the game of its borders.
 
# Input the number for X Axis, and Y Axis to wherever you want to move the stripped window.
 
}}
 
 
 
==AutoHotkey==
 
{{ii}} Games utilizing [[PunkBuster]] as an anti-cheat measure may mistakenly treat AutoHotkey as a cheat.
 
 
 
{{Fixbox|description=Saving and running AutoHotkey scripts|fix=
 
# Download '''[http://ahkscript.org/ AutoHotkey]''' and install it.
 
# Go to the '''Desktop''', then {{key|Right Click}} on an empty space and select '''New''', '''AutoHotkey script'''.
 
# {{key|Right Click}} on the AutoHotkey file, and select '''Edit Script''', erase the contents of this file, close it and save any new changes.
 
# Double click on the file in order to launch the script.
 
 
 
'''Notes'''
 
{{ii}} AutoHotkey scripts can be placed in the Startup folder in order to be executed automatically.
 
}}
 
 
 
===Fullscreen Toggle Script===
 
{{ii}} This script will remove any borders and center the currently active window on the primary monitor by pushing {{key|F12}}.
 
{{Fixbox|description=Instructions|fix=
 
# Download '''[http://ahkscript.org/ AutoHotkey]''' and install it.
 
# Go to the '''Desktop''', then {{key|Right Click}} on an empty space and select '''New''', '''AutoHotkey script'''.
 
# {{key|Right Click}} on the AutoHotkey file, and select '''Edit Script''', erase the contents of the file.
 
# Copy the following source code into the new file, close the file and save, then {{key|Double Click}} on it in order to execute the script.
 
<pre>
 
#UseHook On
 
F12::
 
 
 
WinGet, WindowID, ID, A
 
WinSet, Style, -0xC40000, ahk_id %WindowID%
 
WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
 
 
 
Return
 
</pre>
 
&nbsp;&nbsp;&nbsp;5. Push {{key|F12}} while in a game in order to activate the script.
 
}}
 
 
 
===Fullscreen Toggle Script (Hidden Taskbar)===
 
{{ii}} This script will toggle between fullscreen and windowed modes when pressing {{key|F12}} as well as hiding the taskbar on the fullscreen mode.
 
{{Fixbox|description=Fullscreen script|fix=
 
<pre>
 
#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
 
</pre>
 
}}
 
 
 
===Multiple monitors script===
 
{{ii}} 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.
 
{{ii}} This is a snippet from the [[#Fullscreen Toggle Script|Fullscreen toggle script]].
 
{{Fixbox|description=Fullscreen script|fix=
 
* The values '''0, 0,''' represent the coordinates of the upper left corner of the window.
 
<pre>WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight</pre>
 
 
 
* For multiple resolutions the values have to be the sum of the monitors total width, for <code>3840x1080</code> them being.
 
<pre>WinMove, ahk_id %WindowID%, , 1920, 0, 1920, 1080</pre>
 
 
 
'''Notes'''
 
{{ii}} Use '''1920, 0, 1920, 1080''' (right) or '''0, 1920, 1920, 1080''' (left) in order to change which side of the screen is filled.
 
}}
 
 
 
==Linux==
 
{{ii}} Most Linux window managers allow fullscreen applications to natively run under a borderless mode by default.
 
 
 
===Gnome===
 
{{Fixbox|description=Instructions|fix=
 
# In the settings under: <pre>Devices > Keyboard > Windows </pre> Set a hotkey for "Toggle fullscreen mode". e.g. {{key|ctrl|alt|Home}}
 
# Start the game in windowed mode.
 
# Move it to your preferred monitor.
 
# Select the game and enter the hotkey. e.g. {{key|ctrl|alt|Home}}
 
}}
 
 
 
===KDE/Plasma===
 
{{Fixbox|description=Instructions|fix=
 
# Under System Settings: <pre>Shortcuts > Global Shortcuts > Kwin </pre> Select "Make Window Fullscreen" and set a hotkey combination then click Apply e.g. {{key|ctrl|alt|Home}}
 
# Start the game in windowed mode.
 
# Move it to your preferred monitor.
 
# Select the game and enter the hotkey. e.g. {{key|ctrl|alt|Home}}
 
}}
 
 
 
===I3===
 
{{Fixbox|description=Instructions|fix=
 
# Start the game in a windowed mode.
 
# Move it to a new virtual desktop by using {{key|shift|windows|Number}}.
 
# Switch to the virtual terminal with {{key|windows|Number}} then go into fullscreen mode by pushing {{key|windows|F}}.
 
}}
 
 
 
===Cinnamon===
 
{{Fixbox|description=Instructions|fix=
 
# In the System Settings under: <pre>Devices > Keyboard > Windows </pre> Set a hotkey for "Toggle fullscreen mode". e.g. {{key|ctrl|alt|Home}}
 
# Start the game in windowed mode.
 
# Move it to your preferred monitor.
 
# Select the game and enter the hotkey. e.g. {{key|ctrl|alt|Home}}
 
}}
 
 
 
===Mate===
 
{{Fixbox|description=Instructions|fix=
 
# In Control Center under: <pre>Hardware > Keyboard Shortcuts > Window Management </pre> Set a hotkey for "Toggle fullscreen mode". e.g. {{key|ctrl|alt|Home}}
 
# Start the game in windowed mode.
 
# Move it to your preferred monitor.
 
# Select the game and enter the hotkey. e.g. {{key|ctrl|alt|Home}}
 
}}
 
 
 
===Pantheon===
 
{{Fixbox|description=Instructions|fix=
 
# In System Settings under: <pre>Hardware > Keyboard > Shortcuts > Windows </pre> Set a hotkey for "Toggle fullscreen". e.g. {{key|ctrl|alt|Home}}
 
# Start the game in windowed mode.
 
# Move it to your preferred monitor.
 
# Select the game and enter the hotkey. e.g. {{key|ctrl|alt|Home}}
 
}}
 
 
 
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 {{key|Ctrl|Alt|F7}} and {{key|Ctrl|Alt|F8}} (buttons may differ, may be {{key|F1}} through {{key|F12}}) and it increases performance and stability. To do this, edit the launch options for your game on Steam as follows:
 
 
 
{{Fixbox|description=Run Game in New X Server|fix=
 
<pre>
 
xinit %command% :1
 
</pre>
 
 
 
'''Notes'''
 
{{ii}} 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 [https://support.feralinteractive.com/docs/en/shadowofmordor/latest/linux/faqs/#i_linux_virtual_terminal verified by Feral Interactive])
 
}}
 
 
 
==Windows troubleshooting==
 
===Game crashes on startup===
 
{{ii}} Certain borderless applications have to be started before the game itself and not while the game is running.
 
 
 
===Window constantly resizes itself===
 
{{ii}} After applying the borderless mode simply restart the game itself, while keeping the borderless application open.
 
 
 
{{References}}
 

Latest revision as of 18:19, 3 October 2022