Better fix for Alt-tab sluggishness and crashing


(Ellos) #1

We all know about the alt-tab sluggishness and crashing, what we get as solution is not very pleasing

So just tick the full screen box in the settings (that makes it go to windowed mode next time you start it)

I have created a little program that can remove that ugly frame around the game when it is launched in windowed mode. (see the attachment)

You need to make a shortcut to the executable inside the zip file.
just name it Brink or something like that.

after creating the shortcut you have to right-click it and go to properties.
you will see the target textbox with something in it along the lines of:
“C:\Users\yourname\Desktop\Windowed (No Border).exe”

you need to extend this to something like this: (i will explain)
“C:\Users\yourname\Desktop\Windowed (No Border).exe” brink 1920 1200 5 true “C:\Program files (x86)\Steam\steam.exe” “-applaunch 22350”

The bold part consists of all the arguments my app takes, they are space seperated so for things like filepaths you need to enclose it with quotes.
here is the argument explanation from left to right

Argument value: brink
Argument name: Process
This is the process name, for Brink it is just brink but for something like Battlefield Bad Company 2 it is BFBC2Game, you can see this in the taskmanager, just find the process and remove “.exe” there you have your process name.

Argument value: 1920
Argument name: Width
This is the horizontal resolution e.g. 1600,1920,1024 etc.

Argument value: 1200
Argument name: Height
This is the vertical resolution e.g. 900,1080,768 etc.

So change these 2 arguments to your resolution. e.g. 1600 900

Argument value: 5
Argument name: Timeout
This is something you’ll have to fiddle with because it is the amount of seconds my app will wait before it tries to change the window of brink, if it hasn’t started yet it can’t change anything, if that is the case, increase the timeout to something like 8 seconds or even more.

Argument value: true
Argument name: BringToFront
Very easy, do you want the app to come to the front after the window has changed? then the value is true else the value is false.

Argument value: “C:\Program files (x86)\Steam\steam.exe”
Argument name: ExeToLaunch
The path to your steam.exe

Argument value: “-applaunch 22350”
Argument name: ExeToLaunchArguments
The argument to launch steam with (my program is not alone :slight_smile: )
-applaunch means, start steam and launch an app with the id that comes after it
you’ve probably already guessed it Brink’s id is 22350.

Now you should be able to fill in everything according to your system and have fun!! :slight_smile:

Some examples of other options: (all but the first 3 arguments are optional)
“C:\Applications\Windowed no border\Windowed (No Border).exe” Fallout3 1600 900 10 false “C:\Program files (x86)\Bethesda Softworks\Fallout 3\Fallout.exe”

“C:\Users\yourname\Desktop\Windowed (No Border).exe” BFBC2Game 1024 768 6

P.S.
You can also change the icon of the shortcut to match brinks icon, go to the steam folder then to steamapps --> common --> brink --> and click the brink.exe