[TPHD] Scale world map, 16:10 res

Add:  Scaling of world map
Add : 16:10 resolutions
Add : x2 SSAA vert res for 21:9, 48x9
Fix :  Better alpha for x2 Subres, rounds to native x2 if possible
This commit is contained in:
getdls 2019-08-13 23:56:16 +02:00
parent ef3690860c
commit 755153c3f1

View File

@ -16,6 +16,8 @@ $scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2560x1080 (21:9 HD)
@ -28,6 +30,8 @@ $scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (64.0 / 27.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 5760x1080 (48:9 HD)
@ -40,6 +44,9 @@ $scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (48.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2560x1440
@ -52,6 +59,9 @@ $scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 3440x1440 (21:9)
@ -64,6 +74,9 @@ $scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (64.0 / 27.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 7680x1440 (48:9)
@ -76,6 +89,9 @@ $scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 0.70
$aspectRatio = (48.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2732x1536
@ -88,6 +104,9 @@ $scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 3200x1800
@ -100,6 +119,9 @@ $scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 3840x2160 (4k - Native x2)
@ -112,6 +134,9 @@ $scaleShader = 1.0
$scaleBlur = 0.75
$internalRes = 0.75
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 5120x2160 (4k 21:9)
@ -124,6 +149,9 @@ $scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 0.75
$aspectRatio = (64.0 / 27.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 5120x2880
@ -136,6 +164,8 @@ $scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 0.75
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
// Enthusiast
@ -150,9 +180,129 @@ $scaleShader = 1.0
$scaleBlur = 0.5
$internalRes = 0.5
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = -- 16:10 -- resolutions
$width = 1440
$height = 900
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (1440.0/900.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 1440x900 (16:10)
$width = 1440
$height = 900
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (1440.0/900.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 1680x1050 (16:10)
$width = 1680
$height = 1050
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (1680.0/1050.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 1920x1200 (16:10)
$width = 1920
$height = 1200
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (1920.0/1200.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2560x1600 (16:10)
$width = 2560
$height = 1600
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (2560.0/1600.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2880x1800 (16:10)
$width = 2880
$height = 1800
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (2880.0/1800.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 3840x2400 (16:10)
$width = 3840
$height = 2400
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (3840.0/2400.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 5120x3200 (16:10)
$width = 5120
$height = 3200
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.01
$scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (5120.0/3200.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset] # Should work fine on a 1070 and fixes most of horizontal shimmering
name = --- SSAA res Tweaks - Set scaling to Stretch
name = --- SSAA vert res x2 - Set scaling to Stretch
$width = 1920
$height = 2160
$gameWidth = 1920
@ -162,6 +312,9 @@ $scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 1920x2160 (Vertical x2)
@ -174,6 +327,9 @@ $scaleShader = 1.0
$scaleBlur = 0.05
$internalRes = 1.0
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2560x2880 (Vertical x2 - 0.75 sub scaling)
@ -186,9 +342,12 @@ $scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 0.75
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset] #
name = 3840x4320 (Vertical x2 - 0.75 sub scaling)
name = 3840x4320 (Vertical x2 - 0.5 sub scaling)
$width = 3840
$height = 4320
$gameWidth = 1920
@ -198,8 +357,52 @@ $scaleShader = 1.0
$scaleBlur = 1.0
$internalRes = 0.5
$aspectRatio = (16.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 2560x2160 (21:9 Vertical x2)
$width = 2560
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 1.0
$aspectRatio = (64.0 / 27.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 5760x1080 (48:9 Vertical x2 - 0.5 sub scaling)
$width = 5760
$height = 2160
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 0.5
$aspectRatio = (48.0/9.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[Preset]
name = 3440x2880 (21:9 Vertical x2 - 0.75 sub scaling)
$width = 3440
$height = 2880
$gameWidth = 1920
$gameHeight = 1080
$dither = 0.1
$scaleShader = 1.0
$scaleBlur = 0.25
$internalRes = 0.75 # 2880 * 0.75 = 1080 x 2
$aspectRatio = (64.0 / 27.0)
$UIAspectX = 1.0
$UIAspectY = 1.0
[TextureRedefine]
width = 1920
height = 1088
@ -212,49 +415,49 @@ width = 1920
height = 1080
#formats =
overwriteWidth = ($width/$gameWidth) * 1920
overwriteHeight = ($height/$gameHeight) * 1080
overwriteHeight = ($height/$gameHeight) * 1080
[TextureRedefine]
width = 960
height = 544
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (544*$internalRes*2.0) #x2 .y improve alpha blend shimmer
overwriteHeight = ($height/$gameHeight) * (544*$internalRes)
[TextureRedefine]
width = 960
height = 540
formats = 0x01a
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (540*$internalRes*2.0)
overwriteHeight = ($height/$gameHeight) * (540*$internalRes)
[TextureRedefine]
width = 960
height = 544
formats = 0x011
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (544*$internalRes*2.0)
overwriteHeight = ($height/$gameHeight) * (544*$internalRes)
[TextureRedefine]
width = 960
height = 540
formats = 0x011
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (540*$internalRes*2.0)
overwriteHeight = ($height/$gameHeight) * (540*$internalRes)
[TextureRedefine]
width = 960
height = 544
formats = 0x007
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (544*$internalRes*2.0)
overwriteHeight = ($height/$gameHeight) * (544*$internalRes)
[TextureRedefine]
width = 960
height = 540
formats = 0x007
overwriteWidth = ($width/$gameWidth) * (960*$internalRes)
overwriteHeight = ($height/$gameHeight) * (540*$internalRes*2.0)
overwriteHeight = ($height/$gameHeight) * (540*$internalRes)
[TextureRedefine]
@ -269,7 +472,7 @@ width = 854
height = 480
#formats =
overwriteWidth = ($width/$gameWidth) * 854
overwriteHeight = ($height/$gameHeight) * 480
overwriteHeight = ($height/$gameHeight) * 480
[TextureRedefine] #shadows horsie
width = 768
@ -285,6 +488,37 @@ height = 272
overwriteWidth = ($width/$gameWidth) * (480*$internalRes)
overwriteHeight = ($height/$gameHeight) * (272*$internalRes)
[TextureRedefine] #large map 8 rounding
width = 1376
height = 784
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 1376
overwriteHeight = ($height/$gameHeight) * 784
[TextureRedefine] #large map rounding
width = 1345
height = 773
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 1345
overwriteHeight = ($height/$gameHeight) * 773
[TextureRedefine] #large map 8 rounding
width = 608
height = 352
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 608
overwriteHeight = ($height/$gameHeight) * 352
[TextureRedefine] # Large map
width = 598
height = 343
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 598
overwriteHeight = ($height/$gameHeight) * 343
[TextureRedefine] # bloom n cutscene
width = 480
height = 270
@ -295,28 +529,28 @@ overwriteHeight = ($height/$gameHeight) * (270*$internalRes)
[TextureRedefine] #
width = 448
height = 384
formats = 0x01a
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 448
overwriteHeight = ($height/$gameHeight) * 384
overwriteHeight = ($height/$gameHeight) * 384
[TextureRedefine] # Map
width = 442
height = 383
formats = 0x01a
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 442
overwriteHeight = ($height/$gameHeight) * 383
overwriteHeight = ($height/$gameHeight) * 383
[TextureRedefine]
width = 435
height = 381
formats = 0x01a
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 435
overwriteHeight = ($height/$gameHeight) * 381
overwriteHeight = ($height/$gameHeight) * 381
[TextureRedefine] #Wolf shadows
width = 384
height = 384
formats = 0x01a
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 384
overwriteHeight = ($height/$gameHeight) * 384
@ -330,20 +564,20 @@ overwriteHeight = ($height/$gameHeight) * 288
[TextureRedefine] # map
width = 290
height = 280
formats = 0x01a
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 290
overwriteHeight = ($height/$gameHeight) * 280
overwriteHeight = ($height/$gameHeight) * 280
[TextureRedefine] #
width = 290
height = 280
formats = 0x01a
formats = 0x01a
overwriteWidth = ($width/$gameWidth) * 290
overwriteHeight = ($height/$gameHeight) * 280
overwriteHeight = ($height/$gameHeight) * 280
[TextureRedefine] # Gui
width = 282
height = 272
#formats =
overwriteWidth = ($width/$gameWidth) * 282
overwriteHeight = ($height/$gameHeight) * 272
overwriteHeight = ($height/$gameHeight) * 272