Surface Book/ Windows 10 issue

Talk about general things concerning Forged Alliance Forever.

Moderators: FtXCommando, Ze Dogfather

Surface Book/ Windows 10 issue

Postby benikens » 17 May 2016, 12:45

So I've asked around, googled a lot and no one seems to have an answer for me but I have a weird issue launching this game on my surface book. The game launchs fine it's just the curser isn't moving around when I move my mouse. The input is clearly working because items on screen are highlighting but the curser itself is still.
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: Surface Book/ Windows 10 issue

Postby biass » 17 May 2016, 13:10

---> post logs ---------------------------> tech support

nothing will happen without logs, nothing will be considered worth looking at unless in tech support
Map thread: https://bit.ly/2PBsa5H

Petricpwnz wrote:biass on his campaign to cleanse and remake every single map of FAF because he is an untolerating reincarnation of mapping hitler
User avatar
biass
Contributor
 
Posts: 2239
Joined: 03 Dec 2015, 07:54
Has liked: 598 times
Been liked: 662 times
FAF User Name: biass

Re: Surface Book/ Windows 10 issue

Postby benikens » 17 May 2016, 13:41

http://pastebin.com/A72tcTXP forever.log
I can't find a game.log and I am now having issues getting supreme commander to launch through faf though I can launch it out of steam
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: Surface Book/ Windows 10 issue

Postby arkitect » 18 May 2016, 06:21

arkitect
Avatar-of-War
 
Posts: 134
Joined: 08 May 2014, 13:40
Has liked: 23 times
Been liked: 81 times
FAF User Name: arkitect

Re: Surface Book/ Windows 10 issue

Postby benikens » 19 May 2016, 01:39

I thought it was but I just tried setting my text size to 100% and the cursor still doens't move in fullscreen mode
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: Surface Book/ Windows 10 issue

Postby benikens » 23 May 2016, 00:58

I think the screen resolution is an issue aswell, If I put it to 1080 and 100% scale it works fine
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: Surface Book/ Windows 10 issue

Postby benikens » 23 May 2016, 06:24

So I got this working pretty well using a modified version of Tatsu's autohotkey script found here viewtopic.php?f=2&t=9778

What I did was take into his script a function that sets the resolution to 1080 and one that changes the dpi scale. I didn't write these I just slapped some things together from google and lucky me it totally worked. This is the complete script:

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)
        {
       DPI_F:=DPIFactor()
       ChangeDisplaySettings( (ClrDep:=32) , (Wid:=1920) , (Hei:=1080) , (Hz:=60) )
            WinSet, Style, -0xC40000, % "ahk_exe " procName
            WinMinimize, % "ahk_exe " procName
            WinMaximize, % "ahk_exe " procName
          Run, %comspec% /c process -a forgedalliance.exe 111111111110
          Run, %comspec% /c process -p forgedalliance.exe high
        }
        Return

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




DPIFactor()
{
RegRead, DPI_value, HKEY_CURRENT_USER, Control Panel\Desktop\WindowMetrics, AppliedDPI
; the reg key was not found - it means default settings
; 96 is the default font size setting
if (errorlevel=1) OR (DPI_value=96 )
   return 1
else
   Return  DPI_Value/96
}



ChangeDisplaySettings( cD, sW, sH, rR ) {
  VarSetCapacity(dM,156,0), NumPut(156,2,&dM,36)
  DllCall( "EnumDisplaySettings", UInt,0, UInt,-1, UInt,&dM ), NumPut(0x5c0000,dM,40)
  NumPut(cD,dM,104),  NumPut(sW,dM,108),  NumPut(sH,dM,112),  NumPut(rR,dM,120)
  Return DllCall( "ChangeDisplaySettings", UInt,&dM, UInt,0 )
}
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: Surface Book/ Windows 10 issue

Postby arkitect » 23 May 2016, 23:55

thats really nice, thanks for posting it up
arkitect
Avatar-of-War
 
Posts: 134
Joined: 08 May 2014, 13:40
Has liked: 23 times
Been liked: 81 times
FAF User Name: arkitect


Return to General Discussions

Who is online

Users browsing this forum: No registered users and 1 guest