Carrier Command: Gaea Mission

Carrier Command: Gaea Mission

Not enough ratings
Borderless Fullscreen with AHK
By avenger
How to set up the game as Borderless Fullscreen instead of "actual Fullscreen", allowing to alt+tab away of the game without minimizing it.
   
Award
Favorite
Favorited
Unfavorite
Introduction
In particular for multi-monitor set ups, we often want to "tab out" of games to interact with websites or chat in discord.

Usually in games this can be achieved by using the "Borderless Fullscreen" or "Windowed Fullscreen" graphic settings.

The problem with Carrier Command though, is it only has a "fullscreen on/off" option which turns from "hardware fullscreen" (or however you name it) to "windowed" (not fullscreen).

While you can still maximize the game to have it "almost fullscreen", the lack of "borderless" adds very unwelcome and distracting artifacts to the screen: the title bar on top and the taskbar at the bottom.

This guide aims to "force" a "borderless fullscreen" to the game, removing the title bar and placing the window over the taskbar.

For that, we use AutoHotKey (AHK), a free and open source tool broadly known to the gaming world, mostly as a "macro recorder", often used to cheat in games. It is a very powerful tool nevertheless: this time we are going to use it for a greater good!

Notice
This guide has been written with a Multi-Monitor set up in mind. It will be difficult to re-run the script or put other windows on top of the game once the script is executed if there's only one display. The window will be "always on top" so even when you focus another window, it will be "behind" the game one.
Prerequisites
For this, you'll need AHK, which can be downloaded from http://www.autohotkey.com. As it is open source, it's full source code can be obtained from https://github.com/AutoHotkey/AutoHotkey/.

Once you have AHK installed, files with the .ahk extension are considered AHK Scripts and are executed upon double-clicking them.

You'll also need a text editor (Notepad works very well for the job), but anything that's meant for plain text should do. Notepad++, Visual Studio Code, Sublime, just to name a few.
The Script
And now, to the magic! The Script!

carrier_command_borderless.ahk
/* * What we do here: resize the (hopefully only) open instance of Carrier Commander * to simulate Borderless Fullscreen. */ #NoEnv ; Recommended for performance and compatibility with future AutoHotkey releases. ; #Warn ; Enable warnings to assist with detecting common errors. if WinExist("Carrier Command") { WinActivate WinSet, Alwaysontop, On, A WinSet, Style, -0xC00000 WinMove,,, -7, -7, 2574, 1454 exit, 0 } else { MsgBox, Unable to locate running Carrier Command Instance. exit, 1 }

You can name the script file as you like, keeping the ".ahk" extension, so you can double-click and run it with AHK.

Some highlights in this script:

  • Usually AHK scripts are meant to keep loaded once opened. Not this case, the script will run, do it's thing, then quit.
  • The script above is set for a 1440p screen. You will need to do a bit of math and trial-and-error until you get the screen neatly aligned for other resolutions.
  • It puts the window "always on top" to come over the taskbar: this means other windows in the same screen will likely not be shown unless they are also "always on top"
  • You don't need to close and reopen the game every change to the script; just change what you want and re-run the script to apply the changes (see the next section)
Applying Borderless Fullscreen
To effectively enable the "borderless fullscreen" in Carrier Comman, the first step is to disable the "hardware fullscreen" setting in options.

For that, open the game, go to Options and set Full Screen to no


Once this is done, click Back to Menu and choose Yes to apply the change. The game will then become a window and is ready to become "borderless" and "fullscreen".

At this point, just run the script. Open an Explorer window and double click the file you created in your favorite text editor. I personally save those scripts to c:\games\AHK\ and create desktop shortcuts in the 2nd monitor for games I'm playing.

The script will silently resize the window, remove the title bar, and move what's left of the title bar outside the screen (we can't do it by moving the window with the mouse, for instance). Once it's done, it will quit. If the game is not open, it will complain it couldn't find the game window.
Final considerations and Limitations
Well, and that's it! Let me know in the comments if you looked forward for such an option in this old game. If you have problems setting it up for your screen resolution, I (and the community) may try to help.

So, some more considerations and limitations:

  • Again, this is meant for multi-monitor set ups. Even active windows (browser, discord, etc) will go behind the game window; this is the price we pay for hiding the taskbar.
  • Single monitor users may want to keep the taskbar by commenting (with a semicolon in the beginning) the line 10 containing WinSet, AlwaysOnTop, A.
  • The script above is set for a 2560x1440 monitor. If your screen is different, or if you want to position it in a different screen relative to the primary display, the numbers will change
  • For those tinkering with the resolution number, a good start would be keeping the game in the primary display and adding 14 to the horizontal and vertical resolution value (please share yours)
  • This script may apply for a multi-monitor set up, if you position the window across multiple monitors
  • the "technique" to hide the top title bar (albeit thinner than the default) may place the now blank titlebar in a display that is laid above the game display.
  • you have to run the script every single time you start the game, so it applies the borderless fullscreen settings to the "game-backed windowed one".