Windowed fullscreen (command line)

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Windowed fullscreen (command line)

Postby Ayerelve » 12 May 2014, 16:08

I've been looking for some way to play FA via FAF in windowed fullscreen.
Simplest way in FA is to start via command line such as: bin\ForgedAlliance.exe /windowed 1920 1200 /position -8 -30
Is there any way to input command line arguments in FAF to be used when starting FA?
Ayerelve
Crusader
 
Posts: 14
Joined: 09 Sep 2012, 17:27
Has liked: 0 time
Been liked: 14 times
FAF User Name: Lorodion

Re: Windowed fullscreen (command line)

Postby Blodir » 12 May 2014, 16:11

I believe you can add parameters after "Target:" in shortcut properties, but I am not 100% certain. It's been several years since I last time had to run a manual windowed mode.
User avatar
Blodir
Contributor
 
Posts: 1175
Joined: 07 Jan 2013, 14:14
Has liked: 489 times
Been liked: 535 times
FAF User Name: Snowbound

Re: Windowed fullscreen (command line)

Postby Ayerelve » 12 May 2014, 16:30

I tried starting FAF with command line arguments, but it doesn't seem to work.

Would be nice if FAF provided game launch options (like Steam) where you can add command line parameters for launching the game (FA).
Ayerelve
Crusader
 
Posts: 14
Joined: 09 Sep 2012, 17:27
Has liked: 0 time
Been liked: 14 times
FAF User Name: Lorodion

Re: Windowed fullscreen (command line)

Postby Plasma_Wolf » 12 May 2014, 17:34

I've been able to get FA at windowed full screen by just selecting the windowed option in the graphics and then pressing the fullscreen/not fullscreen button in the top right. Then it doesn't revert the next time I start the game. Works through FAF and directly through the .exe

Does this help? Or doesn't that method work for you? Or do you need the command line for something else too?
User avatar
Plasma_Wolf
Supreme Commander
 
Posts: 1335
Joined: 20 Oct 2011, 11:28
Has liked: 23 times
Been liked: 91 times
FAF User Name: Plasma_Wolf

Re: Windowed fullscreen (command line)

Postby The Mak » 14 May 2014, 11:24

When launching FA through FAF (as in joining or hosting a game) you need to use your game.prefs file to load what you want.

The simplest way is just to launch FA standalone and configure all your setting through the Options menu and then Exit the game through the main menu (not close the window through the 'X' in the top right corner) so that your changes are saved.

Just in case that does not work...

Open your game.prefs file (default location: C:\Users\*User Name*\AppData\Local\Gas Powered Games\Supreme Commander Forged Alliance)

Find a line that says primary_adapter =
May want to do a Search in Document as it is buried in text. Make sure after the equal sign it says 'windowed',
The line should like this:
Code: Select all
primary_adapter = 'windowed',


Find the section called Windows = {
It may be near the bottom of the file so scroll down there first.

In there you may see a sub section called Main = { with a few lines as follows (the numbers here are for my setup):
maximized = true,
x = -5,
height = 928,
y = -5,
width = 1330

I trust you can understand where to edit the numbers you want.

Just in case you do not have the Windows = { section. Here is mine so you can just copy, paste it to the end of the game.prefs file, and make any changes you want. Make sure you pay attention to the commas.

Code: Select all
Windows = {
    Log = {
        y = 217,
        x = 422,
        height = 691,
        width = 1217
    },
    Main = {
        maximized = true,
        x = -5,
        height = 928,
        y = -5,
        width = 1330
    }
}
User avatar
The Mak
Contributor
 
Posts: 342
Joined: 03 Mar 2012, 21:09
Location: New York, NY, USA
Has liked: 5 times
Been liked: 39 times
FAF User Name: The_Mak


Return to General Discussions

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron