One Hour One Life Forums

a multiplayer game of parenting and civilization building

You are not logged in.

#1 2017-06-25 12:36:27

Hippasus
Member
Registered: 2017-05-11
Posts: 18

Issues if windows scaling is not 100%

If in windows 10 display options "Change the size of text, apps and other items" is set to more than 100% on my computer everything is enlarged and will not fit on the screen. (including in full screen mode) I've had to change mine to 100% while playing. On my computer at least it defaults to 125% so I'd say that this is a bug.

Offline

#2 2017-06-25 16:04:33

jasonrohrer
Administrator
Registered: 2017-02-13
Posts: 4,804

Re: Issues if windows scaling is not 100%

Whoa... that's really weird.

So Windows is enlarging the size of a GAME?  That makes no sense.

What other games have you played?  Has it enlarged those too?

What happens if you play in windowed mode?  Is the contents too big for the window.

I'll look into it.

Offline

#3 2017-06-26 10:44:56

Hippasus
Member
Registered: 2017-05-11
Posts: 18

Re: Issues if windows scaling is not 100%

Other full screen games are working fine. Yeah it enlarges the window (so that it's too large) in windowed mode as well.

Offline

#4 2017-06-26 11:02:46

Hippasus
Member
Registered: 2017-05-11
Posts: 18

Re: Issues if windows scaling is not 100%

It looks like you can disable dpi scaling for individual programs in the compatability options. I guess there must be a way to do this code-side as well.

Offline

#5 2017-07-05 19:03:29

jasonrohrer
Administrator
Registered: 2017-02-13
Posts: 4,804

Re: Issues if windows scaling is not 100%

I think that the latest binary release should fix this.  I'm now telling windows that I handle scaling myself (which I do), and that I don't need to be force-scaled.

Can you verify that this fixes the problem?  Even if you don't disable DPI scaling in compatibility options...

Offline

#6 2017-07-06 10:29:01

Hippasus
Member
Registered: 2017-05-11
Posts: 18

Re: Issues if windows scaling is not 100%

It seems that the problem is now, um... worse! If I don't change the compatibility settings to allow the application to handle scaling, even if I have windows dpi scaling at 100%, scaling reverts to the default 125% (and over enlarges the game) when and only when I run the game. Strange huh?

Also, it's worth saying that I'm pretty sure this is an issue with all of your games. Although I don't have any others on my computer at present I've have memories of a similar problem occurring when I was running TCD. That was on a different laptop, so it's not just my current computer playing tricks.

Offline

#7 2017-07-06 15:27:02

jasonrohrer
Administrator
Registered: 2017-02-13
Posts: 4,804

Re: Issues if windows scaling is not 100%

Can you try the old version too?

I think you can get to the login screen before it downloads an update.  Like, back to the raw v20 download that's still available.

Also, make sure you install v20 in a different spot so that whatever compatibility settings you sent won't apply.

Put your system-wide scaling back to the default, where you had it before.

So, what exactly is the difference in behavior between these two versions?

Maybe you can run them both in Windowed mode at the same time and take a screen shot?

Maybe turning "useLargestWindow" off in the settings of both would help with this.  Then they will both try to open 1280x720 windows, and it will be easy to compare them in your screen shot.


For what it's worth, I'm now calling SetProcessDPIAware, if it's available.  It's a Vista thing, so I thought it would be the most compatible way of doing it.

https://msdn.microsoft.com/en-us/librar … s.85).aspx

Though maybe the "unexpected behavior" in later OS's is real!

Offline

Board footer

Powered by FluxBB