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
(42 intermediate revisions by 6 users not shown)
Line 4: Line 4:
 
'''Key points'''
 
'''Key points'''
 
<!-- Yes, the keypoint will be worked on, time for bed now. -->
 
<!-- Yes, the keypoint will be worked on, time for bed now. -->
{{ii}} [[Glossary:Windowed|Windowed]] mode is needed in the first place for games which do not natively provide a borderless mode.
+
{{ii}} A borderless mode is a [[Glossary:Windowed|Windowed]] mode with no borders. Set the desired game to run in a [[Glossary:Windowed|Windowed]] mode first before applying a borderless mode.  
{{ii}} Certain games do not lock the mouse to the window, which can be problematic on [[Glossary:Multi-monitor|multi-monitor]] setups. See [[Glossary:Windowed#Mouse_locking|Mouse locking]].
+
{{++}} Seamless task switching with no risk of crashes or freezes with a minor loss in performance.  
{{++}} Seamless task switching with no risk of crashes or freezes with a very little loss in performance.  
 
{{++}} Eliminates screen tearing on Windows, due to the way windows are handled.<ref>[https://msdn.microsoft.com/en-us/library/b367a457.aspx Double Buffered Graphics | MSDN ]</ref>
 
 
{{--}} AMD/ATI cards only support Crossfire in this mode for games using Mantle.<ref>[https://community.amd.com/thread/180730 Why does CrossFire still not work in windowed mode | Community]</ref>
 
{{--}} AMD/ATI cards only support Crossfire in this mode for games using Mantle.<ref>[https://community.amd.com/thread/180730 Why does CrossFire still not work in windowed mode | Community]</ref>
  
Line 18: Line 16:
  
 
==Windows==
 
==Windows==
 +
{{++}} Eliminates screen tearing on Windows due to V-Sync being applied over any windows by default.<ref>[https://msdn.microsoft.com/en-us/library/b367a457.aspx Microsoft Developer Network - Double Buffered Graphics]</ref>
 +
{{++}} Keeps custom color profiles in use.
 
===[https://github.com/Codeusa/Borderless-Gaming/releases Borderless Gaming]===
 
===[https://github.com/Codeusa/Borderless-Gaming/releases Borderless Gaming]===
 
{{ii}} Open source and simple to use application.
 
{{ii}} Open source and simple to use application.
Line 30: Line 30:
  
 
'''Notes'''
 
'''Notes'''
{{ii}} Certain games may need to be restarted before the mode can work correctly, keep Borderless Gaming open in the background.
+
{{ii}} Certain games may need to be restarted if the borderless mode isn't working, keep Borderless Gaming open in the background.
 +
{{ii}} Certain games might crash if Borderless Gaming is launched while the game is running.
 
}}
 
}}
  
Line 75: Line 76:
 
{{ii}} If the monitor's resolution is changed the profile needs to be updated accordingly.
 
{{ii}} If the monitor's resolution is changed the profile needs to be updated accordingly.
 
}}-->
 
}}-->
==AutoHotkey==
 
{{cleanup|For AutoHotkey only. Unclear functionality, not properly tested}}
 
{{ii}} The following scripts require [http://ahkscript.org AutoHotkey].
 
{{--}} Games utilizing [[PunkBuster]] as an anti-cheat measure may mistakenly treat AutoHotkey as a cheat.
 
  
===Saving and running a script===
+
==[http://www.autohotkey.com/ AutoHotkey]==
 +
{{ii}} Games utilizing [[PunkBuster]] as an anti-cheat measure may mistakenly treat AutoHotkey as a cheat.
 +
 
 +
===Saving and running AutoHotkey scripts===
 
{{Fixbox|1=
 
{{Fixbox|1=
{{Fixbox/fix|Make and run script}}
+
{{Fixbox/fix|AutoHotkey}}
# In Windows Explorer, File -> New -> AutoHotkey Script
+
# Download [http://ahkscript.org/download/ahk-install.exe AutoHotkey] and install it.
# Open the newly created file in a text editing program
+
# Go to the '''Desktop''', then {{key|Right Click}} on an empty space and select '''New''', '''AutoHotkey script'''.
# Append the code to the end of the file
+
# {{key|Right Click}} on the AutoHotkey file, and select '''Edit Script''', erase the contents of this file, close it and save any new changes.
# Save the file and run it.
+
# Double click on the file in order to launch the script.
 +
 
 +
'''Notes'''
 +
{{ii}} AutoHotkey scripts can be placed in the [[Add instructions here|Startup]] folder in order to be executed automatically.
 
}}
 
}}
  
===Scripts compilation===
+
====Fullscreen Toggle Script====
* [http://gaming.stackexchange.com/questions/17306/how-to-force-maximized-fullscreen-mode-in-any-game/17307#17307 Stack Exchange]
+
{{ii}} This script will remove any borders and center the currently active window on the primary monitor by pushing {{key|F12}}.
* [http://skyrim.nexusmods.com/downloads/file.php?id=24 Skyrim Nexus]
 
 
 
===Borderless scripts===
 
====Fullscreen script====
 
{{ii}} This script will full screen the currently active window onto your primary monitor with {{key|F12}}.
 
 
{{Fixbox|1=
 
{{Fixbox|1=
{{Fixbox/fix|Fullscreen script}}
+
{{Fixbox/fix|Instructions}}
 +
# Download [http://ahkscript.org/download/ahk-install.exe 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>
 
<pre>
 +
#UseHook On
 
F12::
 
F12::
  
WinSet, Style, -0xC40000, A
+
WinGet, WindowID, ID, A
WinMove, A, , 0, 0, %A_ScreenWidth%, %A_ScreenHeight%
+
WinSet, Style, -0xC40000, ahk_id %WindowID%
 +
WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
  
 
Return
 
Return
 
</pre>
 
</pre>
 +
&nbsp;&nbsp;&nbsp;5. Push {{key|F12}} while in a game in order to activate the script.
 
}}
 
}}
  
====Fullscreen toggle script====
+
{{cleanup|For AutoHotkey only. Unclear functionality, not properly tested}}
 +
 
 +
====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.
 
{{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|1=
 
{{Fixbox|1=
 
{{Fixbox/fix|Fullscreen script}}
 
{{Fixbox/fix|Fullscreen script}}
 
<pre>
 
<pre>
 +
#UseHook On
 
F12::
 
F12::
 
WinGet, TempWindowID, ID, A
 
WinGet, TempWindowID, ID, A
Line 158: Line 166:
  
 
==Linux==
 
==Linux==
{{ii}} Most Linux windows managers allow fullscreen applications to natively run under a borderless mode by default.
+
{{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:
 
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:
Line 169: Line 177:
  
 
'''Notes'''
 
'''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 [http://support.feralinteractive.com/docs/en/shadowofmordor/latest/linux/faqs/#i_linux_virtual_terminal verified by Feral Interactive])
+
{{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])
 
}}
 
}}
  
Line 182: Line 190:
 
==Engines==
 
==Engines==
 
===[[Engine:Source|Source]]===
 
===[[Engine:Source|Source]]===
{{ii}}Games built on the Source engine can be run in a borderless window by enabling windowed mode and adding the [[Glossary:Command line arguments|launch argument]] <code>-windowed -noborder</code> to the main executable.<ref>[https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters Command line options - Valve Developer Community]</ref>
+
{{Fixbox|1=
 +
{{Fixbox/fix|Instructions|ref=<ref>[https://developer.valvesoftware.com/wiki/Command_Line_Options#Command-line_parameters Command line options - Valve Developer Community]</ref>}}
 +
# See [[Glossary:Command line arguments|Command line arguments]].
 +
# Use the <code>-windowed -noborder</code> arguments.
 +
}}
 +
 
 
===[[Engine:Unity|Unity]]===
 
===[[Engine:Unity|Unity]]===
{{ii}}Games built on the Unity engine can be run in a borderless window by enabling windowed mode and adding the [[Glossary:Command line arguments|launch argument]] <code>-popupwindow</code> to the main executable.<ref>[http://docs.unity3d.com/Manual/CommandLineArguments.html Unity - Manual: Command line arguments]</ref>
+
{{Fixbox|1=
 +
{{Fixbox/fix|Instructions|ref=<ref>[http://docs.unity3d.com/Manual/CommandLineArguments.html Unity - Manual: Command line arguments]</ref>}}
 +
# 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==
 
==Windows troubleshooting==

Revision as of 16:29, 13 July 2016

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


Key points

A borderless mode is a Windowed mode with no borders. 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 minor loss in performance.
AMD/ATI cards only support Crossfire in this mode for games using Mantle.[1]

Basic Instructions

Instructions

Windows

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

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

Manually setting a game to a borderless window

Instructions

GeDoSaTo

GeDoSaTo and Borderless Gaming can be used together.
Allows games to be downsampled at any resolution.
Slightly unintuitive interface.
Instructions

AutoHotkey

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

Saving and running AutoHotkey scripts

Instructions

Fullscreen Toggle Script

This script will remove any borders and center the currently active window on the primary monitor by pushing F12.
Instructions
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 (Hidden Taskbar)

This script will toggle between fullscreen and windowed modes when pressing F12 as well as hiding the taskbar on the fullscreen mode.
Instructions

Multiple monitors script

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

Linux

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:

Instructions

Improved tiling windows manager

Instructions

Engines

Source

Instructions

Unity

Instructions

Windows troubleshooting

Game crashes on startup

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

Window constantly resizes itself

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


References