Alpha Centauri 2

Sid Meier's Alpha Centauri & Alien Crossfire => The Theory of Everything => Topic started by: ashakura on August 26, 2020, 12:34:44 am

Title: UI Scaling
Post by: ashakura on August 26, 2020, 12:34:44 am
Heya, sorry if this is an old topic, couldn't find anything on the forum.

Running SMACX in 4k, and the UI is so teeny tiny. Last time I played this game res was 1024x768!

Does anyone know of a way to scale the UI up? I tried Windows 10 scaling to no success.
Title: Re: UI Scaling
Post by: bvanevery on August 26, 2020, 03:26:00 am
Try DirectDraw=0 in Alpha Centauri.ini
Title: Re: UI Scaling
Post by: dino on August 26, 2020, 06:58:12 am
Install PRACX:
https://github.com/DrazharLn/pracx
https://github.com/DrazharLn/pracx/releases

In Alpha Centauri.Ini set resolution to half of native resolution of your display ( do not put DirectDraw=0 line if you use PRACX ):

[PRACX]
Disabled=<DEFAULT>
ScreenWidth=1920
ScreenHeight=1080

Enable "Integer Scaling" in your GPU driver.

You should get 1080p resolution, pixel perfect upscaled 2x to fill your 4k screen.
I've never tried it since I have 1080p display, but it should work.

Edit: Actual UI scaling would be a nice feature to have in PRACX.
Title: Re: UI Scaling
Post by: ashakura on August 26, 2020, 11:21:37 am
Ooh, completely forgot about GPU scaling! I'll give that a shot, thank you

Update:
Gave it a go. Some minor distortion of textures, but looks more like the original. Thank you

You're right that UI scaling would be great. At 4k you can see so much of the map - it made it very immersive, almost felt like a true overseer :)
Title: Re: UI Scaling
Post by: dino on August 26, 2020, 01:45:13 pm
Weird, with integer scaling and exactly half of native resolution of your display you shouldn't get any texture distortion.
Each pixel of the 1080p resolution should be turned into exactly four pixels on 4k display.

You may check what exactly is the native res of your display, set desktop to native, enable integer scaling and set resolution in PRACX to exactly half the native res.
Maybe you did it right already, but I can't figure out how would you get any distortion then.
Title: Re: UI Scaling
Post by: ashakura on August 27, 2020, 12:29:27 am
Having played a bit, looks more like engine issues. About one and half squares to the left of units is a fine line of pixels that track with units and leave an odd trail.
Title: Re: UI Scaling
Post by: bvanevery on August 27, 2020, 03:37:02 am
Have you tried DirectDraw=0, completely forgetting about any PRACX advice or installation?
Templates: 1: Printpage (default).
Sub templates: 4: init, print_above, main, print_below.
Language files: 4: index+Modifications.english (default), TopicRating/.english (default), PortaMx/PortaMx.english (default), OharaYTEmbed.english (default).
Style sheets: 0: .
Files included: 31 - 840KB. (show)
Queries used: 14.

[Show Queries]