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
Tag: New redirect
 
(271 intermediate revisions by 45 users not shown)
Line 1: Line 1:
[[Image:Borderless fullscreen windowed.jpg|thumb|350px|thumb|Play StarCraft II and World of Warcraft side by side in fullscreen]]
+
#REDIRECT [[Glossary:Windowed#Borderless fullscreen windowed]]
{{Video settings sidebar}}
 
 
 
'''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 [[Glossary:Multi-monitor|multi-monitor]] setups.
 
{{ii}} [[Glossary:Windowed|Windowed]] mode will need to be set first for games that do not natively support a borderless mode.
 
 
 
==Windows==
 
===[https://github.com/Codeusa/Borderless-Gaming Borderless Gaming]===
 
{{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 available.
 
 
 
===[http://runtimelegend.com/rep/fullscreenizer/index Fullscreenizer]===
 
{{++}} Lightweight easy to use utility, useful for TVs.
 
 
 
===[http://www.nexusmods.com/oblivion/mods/39550/? GameCompanion]===
 
{{++}} Full of customizable features.
 
 
 
===[http://grismar.net/shiftwindow/ ShiftWindow]===
 
{{++}} Manually completely override the size of a game's border sending it off screen.
 
{{--}} Slightly overly complicated, not compatible with certain games.
 
 
 
{{Fixbox|1=
 
{{Fixbox/fix|Instructions}}
 
* Run the desired game at the screen's native resolution while in windowed mode.
 
 
 
'''Notes'''
 
{{ii}} '''ShiftWindow''' has a bug where the Windows taskbar goes over the window, a fix can be found [http://www.sevenforums.com/tutorials/54842-taskbar-always-top-disable-enable.html here].
 
}}
 
 
 
===[http://steamcommunity.com/groups/WindowedBorderlessGaming/discussions Windowed Borderless Gaming]===
 
{{++}} Customizable position axis and resolution size.
 
{{--}} Slightly inconsistent functionality.
 
 
 
===[[Engine:Unity|Unity]]===
 
{{ii}}Games built on the Unity engine can be run in a borderless window by adding the launch argument <code>-popupwindow</code> to the main executable and checking the 'windowed' option in its launcher.
 
 
 
==AutoHotkey==
 
{{ii}} Either [[AutoHotkey]] [http://www.autohotkey.com/download/ L or Basic] are required for the following scripts.
 
{{--}} Games utilizing [[PunkBuster]] as an anti-cheat measure may mistakenly treat AutoHotkey as a cheat.
 
 
 
===Saving and running a script===
 
{{Fixbox|1=
 
{{Fixbox/fix|Instructions}}
 
See [[AutoHotkey#Saving and running a script|AutoHotkey]].}}
 
 
 
===Scripts compilation===
 
* [http://gaming.stackexchange.com/questions/17306/how-to-force-maximized-fullscreen-mode-in-any-game/17307#17307 Stack Exchange]
 
* [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 the F12 key
 
{{Fixbox|1=
 
{{Fixbox/fix|Fullscreen script}}
 
<pre>
 
F12::
 
WinGet, WindowID, ID, A
 
WinSet, Style, -0xC40000, ahk_id %WindowID%
 
WinMove, ahk_id %WindowID%, , 0, 0, A_ScreenWidth, A_ScreenHeight
 
return
 
</pre>
 
}}
 
 
 
====Fullscreen toggle script====
 
{{ii}} This script will toggle between fullscreen and windowed modes when pressing F12 as well as hiding the taskbar on the fullscreen mode.
 
{{Fixbox|1=
 
{{Fixbox/fix|Fullscreen script}}
 
<pre>
 
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}} This is a snippet from the [[#Fullscreen toggle script|Fullscreen toggle script]].
 
{{Fixbox|1=
 
{{Fixbox/fix|Fullscreen script}}
 
* 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 your monitors total width, for <code>3840x1080</code> them being.
 
<pre>WinMove, ahk_id %WindowID%, , 1920, 0, 1920, 1080</pre>
 
 
 
'''Notes'''
 
{{ii}} Use '''1920, 0,''' (right screen) or '''0, 1920,''' (left screen) in order to change which side of the screen is filled in.
 
}}
 
 
 
==Linux==
 
{{ii}} 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/F8 and it increases performance and stability. To do this, edit the launch options for your game on Steam as follows:
 
 
 
{{Fixbox|1=
 
{{Fixbox/fix|Run Game in New X Server}}
 
<pre>
 
xinit %command% :1
 
</pre>
 
 
 
'''Notes'''
 
{{ii}} You can also manually launch a non-Steam game by replacing %command% with the path to your game executable.
 
}}
 
 
 
===[http://i3wm.org/ Improved tiling windows manager]===
 
{{Fixbox|1=
 
{{Fixbox/fix|Instructions}}
 
# 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}}.
 
}}
 
 
 
{{References}}
 

Latest revision as of 18:19, 3 October 2022