Jump to content
Sign in to follow this  
2.FJg-Dietl

Resolution is screwed

Recommended Posts

Ok, when I get into the main menu, it looks like the resolution is mismatched. I run in 4k, and the main menu looks smaller. I have two mouse pointers(desktop one that flickers in every now and then when I move it. It is also the one I can select things with). The game mouse pointer is misaligned and when it's over something, and I click it does nothing. I have to move around until the(mostly) invisible pointer lands on the menus. I can click on graphics settings to change them, though some I can't click on, like apply. I also can click on exit game. I have to kill the game in task manager.

Share this post


Link to post
Share on other sites

For 4k setting not adjustable, please try the following:

 

- open the file %localappadata%\Squad\Saved\Config\WindowsNoEditor\GameUserSettings.ini

- search for these entries and change it to your 4k resolution settings:

 

ResolutionSizeX=1920
ResolutionSizeY=1080
LastUserConfirmedResolutionSizeX=1920
LastUserConfirmedResolutionSizeY=1080
.
.
DesiredScreenWidth=1920
DesiredScreenHeight=1080

I can't test it here as I don't have a 4k monitor. Please report if it works and probably add some infos if you changed something else to make it work. thx :)

Share this post


Link to post
Share on other sites
2 hours ago, El Duderino said:

For 4k setting not adjustable, please try the following:

 

- open the file %localappadata%\Squad\Saved\Config\WindowsNoEditor\GameUserSettings.ini

- search for these entries and change it to your 4k resolution settings:

 

ResolutionSizeX=1920
ResolutionSizeY=1080
LastUserConfirmedResolutionSizeX=1920
LastUserConfirmedResolutionSizeY=1080
.
.
DesiredScreenWidth=1920
DesiredScreenHeight=1080

I can't test it here as I don't have a 4k monitor. Please report if it works and probably add some infos if you changed something else to make it work. thx :)

:( didn't work.

Share this post


Link to post
Share on other sites
42 minutes ago, basilevs said:

Poor  guy had discovered a workaround: turn off text scaling in your Windows:

https://steamcommunity.com/app/393380/discussions/1/364042703856744573/

This worked :).

1 minute ago, El Duderino said:

 

what happend? Does the game start with the 4k settings?

Just the same, apparently it's the windows text scaling that is the problem. Now I just need a magnifying glass to see the text :P.

Share this post


Link to post
Share on other sites
57 minutes ago, basilevs said:

Poor  guy had discovered a workaround: turn off text scaling in your Windows:

https://steamcommunity.com/app/393380/discussions/1/364042703856744573/

 

This resolved my cursor alignment issue - thank you for sharing. It's worth noting this was not an issue for me until V9 dropped this morning (3/19/17). I play at 2560 x 1440 and have for about 4 months with no issues (until today).

 

Oh...and i'm very excited to try out the new vehicles!

Share this post


Link to post
Share on other sites

This workaround is awful. I have to constantly switch scaling back and forth and in-game chat is unreadably small.

Share this post


Link to post
Share on other sites
Posted (edited)

For me its screwed too when going futher 1920x1080p.
And i noticed that at 2560x1440p the gamma is different to a 1920x1080p res

And i had the game for a year now and this only happened with the v9

Edited by Booker

Share this post


Link to post
Share on other sites

+1 same issue here. 

the cursor is not aligned, menu and map are cut off. 

Don't have the time to troubleshoot, so i uninstalled the game. I hope this get's patched soon.
I also never had this problem since closed alpha.

Share this post


Link to post
Share on other sites

i have the same problem, 4k monitor and resolution in desktop, i change the scale of windows to 100% ( i had in 250% ) and it works fine again. Thanks very much

Share this post


Link to post
Share on other sites
Posted (edited)

Yeah, super annoying. It's actually unplayable for me, now. Game will freeze and when I do get it started my mouse cursor is off and the map is huge in game so I can't spawn. And I have a really nice rig, too. :(

 

I'm sure it will get fixed, though....

Edited by MrRecon

Share this post


Link to post
Share on other sites
Posted (edited)

This bug is still in the game, and i am NOT changing my scaling options in windows 10 because i got bad eyes and i need to have it at 125%! So not touching this game anymore until this is fixed.

Edited by Sgt. Veld

Share this post


Link to post
Share on other sites
Posted (edited)

Somewhat useful PowerShell script:

 

<# .SYNOPSIS
     Launches Squad game with DPI scaling turned off
     This script fails to change scaling back once Squad exits, so it launches parameters application to facilitate manual change
.DESCRIPTION
     On high DPI monitors, Windows implements a DPI scaling. Squad is not aware of that and tries using absolute coordinates of mouse cursor, while they are being scaled.
     This distorts mouse cursor position and makes it impossible to use mouse on UI elements of in-game interface.
     High-DPI monitors are very hard to use without Windows scaling, so usually users would have it set to default value (125%, 150% or higher on bigger monitors).
     Squads only works fine when the setting is set to 100%.
     To use squad users of high-DPI monitors need to constantly switch back and force between 100% scaling and default.
     This scriprt tries to automate this process, by turning scaling off for a duration of the game sessions and restoring it back afterwards.
     Unfortunately it is host dependent and requires minor modification to work on your workstation.
     See comments in script body to find out how to tailor it for your needs.

     https://stackoverflow.com/questions/35233182/how-can-i-change-windows-10-display-scaling-pro-grammatically-using-c-sharp/43550215

.NOTES
     Author     : Basilevs <[email protected]>
.LINK
     
#>
function setDpi($dpiMode) {
    #REPLACE BNQ8020A9F07335SL0_26_07DF_EF^08AF4ECF33A2494F4393EF37643B0227 with a key name found in your registry
    Set-ItemProperty -Path 'HKCU:\Control Panel\Desktop\PerMonitorSettings\BNQ8020A9F07335SL0_26_07DF_EF^08AF4ECF33A2494F4393EF37643B0227' -Name DpiValue -Value $dpiMode
}

setDpi(4294967294) #Configure resolution to 150%
Start-Process -FilePath 'steam://rungameid/393380' -Wait #URI is obtained by creating a desktop link and copying its target
Start-Sleep -Seconds 30 #Just in case Squad need some bootstrapping, and Squad.exe is not launched immediately
Wait-Process -Id $(Get-Process Squad).id #Wait for Squad to exit before chaning settings back. Squad reapplies settings on Alt-Tab so if we revert them immediately, it would be broken after next Alt-Tab.
setDpi(0) #Resets scaling to default, unfortunately, this will not rescale applications until next video mode change

$pinvokeCode = @"
 
using System;
using System.Runtime.InteropServices;
 
namespace Resolution
{
 
    class User_32
    {
        [DllImport("user32.dll")]
        public static extern int ChangeDisplaySettings(IntPtr devMode, int flags);

        public const int ENUM_CURRENT_SETTINGS = -1;
        public const int CDS_UPDATEREGISTRY = 0x01;
        public const int CDS_TEST = 0x02;
        public const int DISP_CHANGE_SUCCESSFUL = 0;
        public const int DISP_CHANGE_RESTART = 1;
        public const int DISP_CHANGE_FAILED = -1;

    }
 
    public class PrmaryScreenResolution
    {
        static public string ResetResolution()
        {
           int iRet = User_32.ChangeDisplaySettings(IntPtr.Zero, 0);
           
            switch (iRet)
            {
                case User_32.DISP_CHANGE_SUCCESSFUL:
                    {
                        return "Success";
                    }
                case User_32.DISP_CHANGE_RESTART:
                    {
                        return "You Need To Reboot For The Change To Happen.\n If You Feel Any Problem After Rebooting Your Machine\nThen Try To Change Resolution In Safe Mode.";
                    }
                default:
                    {
                        return "Failed To Change The Resolution";
                    }
            }
        }
        static public string Test()
        {
           return "Success";
        }
    }
}
 
"@
 
Add-Type $pinvokeCode -ErrorAction Stop

Function ResetScreenResolution {
 
<#
    .Synopsis
        Reset Screen Resolution and scaling to values configured in registry.
    .Description
        Uses Pinvoke and ChangeDisplaySettings Win32API to make the change
        Inspired by
        https://gallery.technet.microsoft.com/ScriptCenter/2a631d72-206d-4036-a3f2-2e150f297515/
        https://stackoverflow.com/questions/15217406/passing-null-reference-for-a-ref-struct-parameter-in-interop-method
    #>

[Resolution.PrmaryScreenResolution]::ResetResolution()  | Write-Host
}

#ResetScreenResolution #Does not rescale Windows 10 applications

Start-Process -FilePath 'ms-settings:display'

 

Edited by basilevs

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×