[Guide] : fake-fullscreen and optimisation

0

Hello everyone, I just came to the game, I want the game to run on two monitors (the monitors are the same, I want to use the second one as a large minimap) tell me, I correctly understood that a completely different story is being discussed in this topic and I don't need this script.

0

@buzalbash You can either use the scripts above or try my Launcher at https://github.com/ageekhere/Definitive-Supreme-Commander-Launcher

You need to get the following mods from the FAF database
Common Mod Tools
ui-party enabled

You also need to switch the game to windowed mode.

Then in the Launcher all you need to do is go to settings and enable the game and set the install location.

You can even enable auto dual screen switcher, however it is still work in progress, but getting close.

Never Fear, A Geek is Here!

0

@buzalbash no this is exactly what this script accomplishes.

0

Definitive Supreme Commander Launcher 1.03 autohotkey script update 1.10

Never Fear, A Geek is Here!

0

@buzalbash said in [Guide] : fake-fullscreen and optimisation:

Hello everyone, I just came to the game, I want the game to run on two monitors (the monitors are the same, I want to use the second one as a large minimap) tell me, I correctly understood that a completely different story is being discussed in this topic and I don't need this script.

You should not need this script. I was running a second monitor as a "big minimap" before I got this script.

One tip: instead of having your second monitor show a regular map, with 3D-rendered terrain, change it to a topographical map. That uses less system resources. My setup was smoother once I changed it to that.

1

I link this post for the people who are asking me about the fake full screen script, and are having trouble understanding the first post and all the different scripts floating around.


This three-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. Install autohotkey https://www.autohotkey.com/
  3. Download attached file and extract the .rar → right-click the script ⇾ Run Script

Download: ForgedAlliance_Borderless.rar
(.ahk scripts are not allowed to attach, it is the first script from the first post)


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, etc. you can still go through this thread to find the scripts to tinker with, you are probably more advanced than anyway.

If any questions, just ask.

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

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


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
1

@magge You can also tell them to try the Definitive Supreme Commander Launcher where I did all the configurations.

https://github.com/ageekhere/Definitive-Supreme-Commander-Launcher/releases/tag/version1.03

Never Fear, A Geek is Here!

0

Is there any way, at all, to both run FAF in a borderless window AND still be able to scroll by moving the mouse to the edge of the screen? The script in the OP doesn't do it, magge's script doesn't do it, and thecore's launcher doesn't do it.

0

When you enable borderless window (even without using any scrips) it prevents the use of the mouse scroll to the edge. Not sure why this happens.

Never Fear, A Geek is Here!

0

@thecore

I don't have a solution for your question, but I only recently realized that holding the middle mouse button allows you to scroll by moving the mouse. That changed the way I manage scrolling and zooming.