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
m (updated template usage)
Tag: New redirect
 
(41 intermediate revisions by 17 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>[http://www.wsgf.org/dr/lantern/en Lantern | WSGF]</ref><ref>[http://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 due to Vsync being applied over any windows by default.<ref>[https://msdn.microsoft.com/en-us/library/b367a457.aspx Microsoft Developer Network - Double Buffered Graphics]</ref>
 
{{--}} Will cause an input lag due to the Windows' window composition VSync. It is possible to disable the composition to remove it, however that can be done only in Windows 7.
 
 
 
==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.
 
}}
 
 
 
===Special K===
 
{{Fixbox|description=Instructions|ref={{cn|date=June 2017}}|fix=
 
# Install the global or local injector of Special K. See [http://steamcommunity.com/sharedfiles/filedetails/?id=933337066 An Unofficial Guide to Special K] for instructions.
 
# Start the game and configure the in-game options to windowed mode and the resolution of the monitor.
 
# Press {{Key|Ctrl|Shift|Backspace}} to invoke the Special K Control Panel.
 
# Expand the '''Window Management''' section.
 
# Enable '''Borderless''' and '''Fullscreen (Borderless Upscale)'''.
 
 
 
'''Notes'''
 
{{ii}} Special K's OSD can be toggled with {{key|Ctrl|Shift|O}}.
 
}}
 
 
 
===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.
 
}}
 
 
 
===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===
 
{{--}} No have favorite games and can not be minimized to tray
 
{{Fixbox|description=Instructions|ref={{cn|date=June 2017}}|fix=
 
# Download [http://www.ngreen.org/portfolio/fullscreenizer.html Fullscreenizer] and run it as administrator.
 
# Run the game in windowed mode, and switch back to Fullscreenizer.
 
# Click to "Show All", select game and click "Add".
 
# Use the Fullscrenize button.
 
}}
 
 
 
===Windowed Borderless Gaming===
 
{{++}} Have 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.
 
}}
 
 
 
==AutoHotkey==
 
{{ii}} Games utilizing [[PunkBuster]] as an anti-cheat measure may mistakenly treat AutoHotkey as a cheat.
 
 
 
===Saving and running AutoHotkey scripts===
 
{{Fixbox|description=AutoHotkey|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.
 
 
 
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])
 
}}
 
 
 
===Improved tiling windows manager===
 
{{Fixbox|description=Instructions|fix=
 
# Install '''[http://i3wm.org/ improved tiling wm]'''.
 
# 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}}.
 
}}
 
 
 
==Engines==
 
===[[Engine:Source|Source]]===
 
{{Fixbox|description=Instructions|ref=<ref>[https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters Command line options - Valve Developer Community]</ref>|fix=
 
# See [[Glossary:Command line arguments|Command line arguments]].
 
# Use the <code>-windowed -noborder</code> arguments.
 
}}
 
 
 
===[[Engine:Unity|Unity]]===
 
{{Fixbox|description=Instructions|ref=<ref>[http://docs.unity3d.com/Manual/CommandLineArguments.html Unity - Manual: Command line arguments]</ref>|fix=
 
# Use the <code>-popupwindow</code> [[Glossary:Command line arguments|command line argument]].
 
# Launch the game in windowed mode (if no option is available toggle with {{key|Alt|Enter}}).
 
}}
 
 
 
==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