Fullscreen script (Dual Screen & Single Screen)

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Re: Fullscreen script (updated)

Postby md1892 » 13 Sep 2015, 20:54

Edit - Got it working !!
md1892
Crusader
 
Posts: 13
Joined: 25 Nov 2014, 23:56
Has liked: 12 times
Been liked: 1 time
FAF User Name: md1892

Re: Fullscreen script (updated)

Postby tatsu » 14 Nov 2015, 15:11

still loving this script of mine!
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: Fullscreen script (updated)

Postby SeraphimLeftNut » 24 Nov 2015, 07:36

Please make this part of standard FAF, or at least place it somewhere were everyone can see it.

It would also be nice to have this script leave the regular windowed mode alone and only allow for the cpu affinity and priority change.

Also would be nice to give different threads within FA different priorities and assign them to different processors
no ui lag: https://www.youtube.com/watch?v=3MdcVdL2kIY
I think this is going to be fun
User avatar
SeraphimLeftNut
Contributor
 
Posts: 975
Joined: 10 Jul 2012, 19:46
Has liked: 3 times
Been liked: 219 times
FAF User Name: TA4Life

Re: Fullscreen script (updated)

Postby tatsu » 26 Nov 2015, 18:58

SeraphimLeftNut wrote:It would also be nice to have this script leave the regular windowed mode alone and only allow for the cpu affinity and priority change.
this is easily achievable by removing all the parts but for the affinity parts like this :
Code: Select all
#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)
    {
Run, %comspec% /c process -a forgedalliance.exe 111111111110    ;remember to edit this to fit you thread count!!
Run, %comspec% /c process -p forgedalliance.exe high
    }
    Return

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

return


SeraphimLeftNut wrote:Also would be nice to give different threads within FA different priorities and assign them to different processors
i'll have to see if this is something I can push into the script as well but for now PattogoTehen's solution in your own thread sounds like the best way to do it. Only FAF can tell the difference between in-lobby FA and in-game FA.
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: Fullscreen script (updated)

Postby tatsu » 21 Dec 2015, 01:41

so this : viewtopic.php?f=2&t=11169&start=10#p114726 doesn't work anymore. Too many hosts not showing. I suggest reverting to using my script instead.
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: Fullscreen script (updated)

Postby tatsu » 31 Dec 2015, 01:18

boop ! I just started using my script for KSP and I realize now that it is *amaziiing*
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: Fullscreen script (updated)

Postby tatsu » 28 Feb 2016, 01:09

boop
User avatar
tatsu
Supreme Commander
 
Posts: 1553
Joined: 02 Jul 2012, 21:26
Has liked: 1952 times
Been liked: 171 times
FAF User Name: tatsu

Re: Fullscreen script (updated)

Postby benikens » 23 May 2016, 01:47

Hey Tatsu cool script, I don't really know AHK so I was wondering if you could help me. I need a script that changes the resolution and windows text scale to 100% when faf launches. My screen dpi is to high and faf wont launch unless I turn down my resolution and the scaling in windows.
benikens
Avatar-of-War
 
Posts: 77
Joined: 20 Nov 2013, 06:56
Has liked: 0 time
Been liked: 11 times
FAF User Name: Benikens

Re: Fullscreen script (updated)

Postby Androish » 23 May 2016, 02:56

If I remember correctly, you need to log out and in for changes to take effect?
Androish
Avatar-of-War
 
Posts: 115
Joined: 18 Mar 2013, 23:40
Has liked: 9 times
Been liked: 14 times
FAF User Name: Androish

Re: Fullscreen script (updated)

Postby benikens » 23 May 2016, 05:22

I found a script that I think does the scale like I want I'm going to test it shortly. I can change those settings in windows without logging out so I assume we can automate this.
benikens
Avatar-of-War
 
Posts: 77
Joined: 20 Nov 2013, 06:56
Has liked: 0 time
Been liked: 11 times
FAF User Name: Benikens

PreviousNext

Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest