[Tutorial] Windowed Fullscreen, Borderless or Fake-Fullscreen for FAF Supreme Commander

How to make Supreme Commander borderless:

Content

  • §1 Definitive Supreme Commander Launcher (does not work properly)
  • §2 Python Script / .EXE
  • §3 AutoHotkey Script
  • §4 Borderless Gaming
  • §5 Additional Solutions
  • §6 I need help, nothing works
  • §7 Outdated previous guide

§1 Definitive Supreme Commander Launcher

Edit:
Current version is bugged - Status:
https://github.com/ageekhere/Definitive-Supreme-Commander-Launcher/issues/10

Use any other tool, until it gets fixed.

--
Author: thecore
Supports Dual Screen: Yes
More Information on the GitHub project.
Download latest release

How-To:

  1. Set the game to window mode via your in game options menu
  2. Disable secondary adapter via your in game options menu
  3. Install the mods 'Common Mod Tools' and 'UI Party' and activate them via FAF Client
  4. Download latest release, extract the .zip content.
  5. Start 'Definitive Supreme Commander Launcher.exe'
  6. Click 'File', then 'Settings', adjust to your liking by following the on-screen instructions, and hit 'Apply'

82eb5d9d-ce2f-41d0-a8c0-54b928c759a0-image.png


§2 Python Script / .EXE

Author: magge
Supports Dual Screen: No
More Information on the GitHub project.
Download latest release

How-To:

  1. Set the game to window mode via your in game options menu
  2. Disable secondary adapter via your in game options menu
  3. Download latest .exe release or compile the script by yourself
  4. Start the forged_alliance_window_handler.exe

This tool will periodically check every 10 seconds if Supreme Commander is running, if the process gets detected it will make the game borderless.

232f9abc-caa2-4795-8130-05354d146408-image.png
ae92e6db-674d-4fba-b9cc-6e694b140f88-image.png

§3 AutoHotkey Scripts

Authors: The initial script was created by tatsu in the previous guide thread and modified by many others to their liking.
Supports Dual Screen: Unknown

Note: If anyone wants to enhance the script to support dual screens or to make it compatible with version 2+ of AutoHotkey, then please PM me.


This four-step guide is the most basic setup for one monitor full screen, which should work for nearly all use cases:

  1. Set the game to window mode via your in game options menu
  2. Disable secondary adapter via your in game options menu
  3. Install autohotkey version 1.1, (script does not work with 2+) from https://www.autohotkey.com/
  4. Download attached file and extract the .rar → right-click the script ⇾ Run Script

Download: ForgedAlliance_Borderless.rar
(.ahk scripts are not allowed to attach, content of the script can be seen in the next section for easy copy & paste or download the .rar and extract the script.)


Script explanation:

This AutoHotkey script periodically checks if a process named "ForgedAlliance.exe" is running. The script minimizes and maximizes the window as a way to update the window's appearance and to remove any glitches that may occur due to the removal of the window border.

You can pause/edit the script if you click on the green H icon in your right taskbar.


For any special cases like several monitors, I would suggest the tool Definitive Supreme Commander Launcher (see above).

If any questions, just ask.

9f39c237-13d0-40e1-825f-a2d8a736c176-image.png

707d912b-f219-4307-90e5-94d395951bfe-image.png


AutoHotkey Script content:

#NoEnv
SendMode Input
SetWorkingDir %A_ScriptDir%
#Persistent
procName := "ForgedAlliance.exe"
SetTimer, CheckProc, 2000
Return


CheckProc:
    If (!ProcessExist(procName))
        Return

    WinGet Style, Style, % "ahk_exe " procName
    If (Style & 0xC40000) 
        {
        WinSet, Style, -0xC40000, % "ahk_exe " procName
        WinMinimize , % "ahk_exe " procName
        WinMaximize, % "ahk_exe " procName
    }
    Return

ProcessExist(exeName)
{
   Process, Exist, %exeName%
   return !!ERRORLEVEL
}
return

§4 Borderless Gaming

Supports Dual Screen: Unknown
More Information on the GitHub project.
Download latest release

Borderless Gaming is a simple tool that will allow you to turn your windowed video games into "full-screen" applications without all of the negative side effects

efae48ab-7a90-40d4-8f05-38ae737a38fa-image.png

§5 Additional Solutions

There are numerous AHK scripts and other tools floating around, and I have no idea what is currently working or not. If you have another solution, I would appreciate it if you give me a PM so we can add it to the above list.

§6 I need help, nothing works

If you have any questions or need further guidance, please make your own thread here:

https://forum.faforever.com/category/4/i-need-help
or
https://discord.com/channels/197033481883222026/1083855787518079066


§7 Outdated previous guide

As a reference, the previous guide:
https://forum.faforever.com/topic/123/guide-fake-fullscreen-and-optimisation