Adventure Game Studio

AGS Support => Beginners' Technical Questions => Topic started by: arj0n on Fri 19/09/2014 19:25:03

Title: setup.exe screen looks strange [solved]
Post by: arj0n on Fri 19/09/2014 19:25:03
I seem to have a problem for a while now with the setup.exe from compiled and it's driving me nuts :(

What is wrong with the display of the ags setup.exe screen on my pc?
I really hope someone has a clue so I can fix this...

Two examples of the setup screen below.
In each image is the one on top the setup.exe running on my pc, and the lower one the same setup.exe on tamara's running on pc.
(http://tdepaus.home.xs4all.nl/arj0n/AGS/Strange_looking_setup.png)

(http://tdepaus.home.xs4all.nl/arj0n/AGS/Strange_looking_setup2.png)
Title: Re: setup.exe screen looks strange
Post by: Snarky on Fri 19/09/2014 19:36:16
Looks like a dpi problem. Do you have a very high resolution screen? In that case, the system might be set to scale up fonts and controls so they won't be too tiny, but apparently it doesn't affect window size (or height, anyway), so the controls no longer fit in the window. I imagine the AGS setup would need to be rewritten to deal correctly with different dpi values (the old standard was 96 on Windows, but more recently 120 has become more common, and "retina" displays use even higher densities).
Title: Re: setup.exe screen looks strange
Post by: Crimson Wizard on Fri 19/09/2014 19:46:00
There must be a solution. I'll look into this.

E: Good thing this is easily reproducible by setting 120 dpi in Windows display settings.
Title: Re: setup.exe screen looks strange
Post by: arj0n on Fri 19/09/2014 21:08:11
No clue how to set dpi in win8.1.

There's a setting in Control Panel\All Control Panel Items\Display, where you change the size of all items (scaling level). Changing that doesn't fix it.

I'm running with the latest nvidia drivers.
Title: Re: setup.exe screen looks strange
Post by: Crimson Wizard on Fri 19/09/2014 21:50:22
Arjon, please try out this test build:
http://www.mediafire.com/download/f1x5326lvfvvaxd/acwin_fix_dpi.zip

Did not use Win8 much, but for changing DPI googling find this: http://www.eightforums.com/tutorials/28310-dpi-scaling-size-change-displays-windows-8-1-a.html
Title: Re: setup.exe screen looks strange
Post by: arj0n on Sat 20/09/2014 01:21:27
Quote from: Crimson Wizard on Fri 19/09/2014 21:50:22
Arjon, please try out this test build:
http://www.mediafire.com/download/f1x5326lvfvvaxd/acwin_fix_dpi.zip
Well, running the acwin.exe does fix something else that is happening since a while:
I couldn't run my project in full screen.
The game's resolution is 320x200, and when setting it to run fullscreen it does run in a windowed 320x200 box.
Running this acwin.exe make the game run in fullscreen.

Quote from: Crimson Wizard on Fri 19/09/2014 21:50:22
Did not use Win8 much, but for changing DPI googling find this: http://www.eightforums.com/tutorials/28310-dpi-scaling-size-change-displays-windows-8-1-a.html
Yes, tried these option already but no result for the winsetup.exe to run normal.

Thanx for the help so far CW & Snarky!
Title: Re: setup.exe screen looks strange
Post by: Crimson Wizard on Sat 20/09/2014 01:26:45
Oh... wait, I forgot to elaborate.

I mean - run setup from this new acwin.exe:

"acwin.exe --setup"
from command line

It is good to hear that it fixed something else for you too :).
Title: Re: setup.exe screen looks strange
Post by: arj0n on Sat 20/09/2014 01:33:34
Yes! ;-D
(http://tdepaus.home.xs4all.nl/arj0n/AGS/fixed_setup.png)

And yes, it looks like this also fixes my unable to run in fullscreen' issue.
Thanx, awesome!


Title: Re: setup.exe screen looks strange [solved]
Post by: Crimson Wizard on Sat 20/09/2014 01:37:06
Good, I learned how to properly calculate dialog size based on font DPI :D.

..."driver" in "Graphics driver" didn't make it to the window though >:(. This label should not wrap, for starters.