|
|
(107 intermediate revisions by 28 users not shown) |
Line 1: |
Line 1: |
− | {{Video settings sidebar}}
| + | #REDIRECT [[Glossary:Windowed#Borderless fullscreen windowed]] |
− | {{feature|borderless fullscreen windowed}}
| |
− | | |
− | '''Key points'''
| |
− | <!-- Yes, the keypoint will be worked on, time for bed now. -->
| |
− | {{ii}} A borderless mode allows any windows to be centered and behave like a fullscreen mode. Set the desired game to run in a [[Glossary:Windowed|Windowed]] mode first before applying a borderless mode.
| |
− | {{++}} Seamless task switching with no risk of crashes or freezes with a very little loss in performance.
| |
− | {{--}} 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>
| |
− | | |
− | ==Basic Instructions==
| |
− | {{Fixbox|1=
| |
− | {{Fixbox/fix|Instructions}}
| |
− | # Set the desired game to launch in a '''Windowed''' mode.
| |
− | # Use the appropriate software or solution from the following list depending on the currently used Operating System. | |
− | }}
| |
− | | |
− | ==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]===
| |
− | {{ii}} 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.
| |
− | | |
− | {{Fixbox|1=
| |
− | {{Fixbox/fix|Borderless Gaming}}
| |
− | # Download [https://github.com/Codeusa/Borderless-Gaming/releases Borderless Gaming] and extract it anywhere.
| |
− | # Run the desired game in a '''Windowed''' mode, then {{key|Alt|Tab}} to the Desktop and start Borderless Gaming.
| |
− | # Select the game's executable from under the '''Applications''' field, then push the large '''Right Arrow''' icon located at the center.
| |
− | | |
− | '''Notes'''
| |
− | {{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.
| |
− | }}
| |
− | | |
− | ====Manually setting a game to a borderless window====
| |
− | {{Fixbox|1=
| |
− | {{Fixbox/fix|Instructions}}
| |
− | # Download [https://github.com/Codeusa/Borderless-Gaming/releases Borderless Gaming] and extract it anywhere.
| |
− | # Run the desired game in a '''Windowed''' mode, then {{key|Alt|Tab}} to the Desktop and start Borderless Gaming.
| |
− | # Select the game's executable from under the '''Applications''' field, then push the third large button located at the center.
| |
− | }}
| |
− | | |
− | ===[http://blog.metaclassofnil.com/?page_id=582 GeDoSaTo]===
| |
− | {{ii}} [[#GeDoSaTo|GeDoSaTo]] and [[#Borderless Gaming|Borderless Gaming]] can be used together.
| |
− | {{++}} Allows games to be downsampled at any resolution.
| |
− | {{--}} Slightly unintuitive interface.
| |
− | | |
− | {{Fixbox|1=
| |
− | {{Fixbox/fix|GeDoSaTo}}
| |
− | # Open '''GeDoSaTo.ini'''.
| |
− | # Find the following line, and set it to this value.
| |
− | <pre>
| |
− | forceBorderlessFullscreen true
| |
− | </pre>
| |
− | }}
| |
− | <!--===[http://www.nexusmods.com/skyrim/mods/7347/? Simple Runtime Window Editor]===
| |
− | {{++}} Allows any windows to easily be resized at runtime.
| |
− | {{Fixbox|1=
| |
− | {{Fixbox/fix|Simple Runtime Window Editor}}
| |
− | # Download [http://www.nexusmods.com/skyrim/download/1000125595 Simple Runtime Window Editor] and extract it anywhere.
| |
− | # Run the desired game in a '''Windowed''' mode, then {{key|Alt|Tab}} to the Desktop and start '''SRWE.exe''' as an admin.
| |
− | # Click the '''Select running Application''' button and find the desired game from the list.
| |
− | # Push the '''Remove borders''' and '''Fake fullscreen''' buttons.
| |
− | # Select the '''Save Profile''' button and give the file a name.
| |
− | | |
− | '''Notes'''
| |
− | {{ii}} Keep the profiles along with the main Simple Runtime Window Editor executable in the same folder.
| |
− | }}
| |
− | {{Fixbox|1=
| |
− | {{Fixbox/fix|Loading Profiles}}
| |
− | # Launch the desired game, load it through the borderless program as usual, and select it from the checkbox list.
| |
− | # Select the '''Load Profile''' or '''Recent Profiles''' button in order to quickly apply any saved changes.
| |
− | | |
− | '''Notes'''
| |
− | {{ii}} If the monitor's resolution is changed the profile needs to be updated accordingly.
| |
− | }}-->
| |
− | | |
− | ==[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/fix|AutoHotkey}}
| |
− | # 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 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 [[Add instructions here|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|1=
| |
− | {{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>
| |
− | #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>
| |
− | 5. Push {{key|F12}} while in a game in order to activate the script.
| |
− | }}
| |
− | | |
− | {{cleanup|For AutoHotkey only. Unclear functionality, not properly tested}}
| |
− | | |
− | ====Fullscreen toggle script====
| |
− | {{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/fix|Fullscreen script}}
| |
− | <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|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 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|1=
| |
− | {{Fixbox/fix|Run Game in New X Server}}
| |
− | <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])
| |
− | }}
| |
− | | |
− | ===[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}}.
| |
− | }}
| |
− | | |
− | ==Engines==
| |
− | ===[[Engine:Source|Source]]===
| |
− | {{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]]===
| |
− | {{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==
| |
− | ===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}}
| |