[XCX] Merge gamepad resolution and improve naming of presets

Basically, the gamepad view needs to be tied to the TV resolution or else stuff breaks. The gamepad rendering relies on a 1280p masking texture, which needs to be scaled with the gamepad view. But if the TV resolution is uncoupled it causes wacky situations.
This commit is contained in:
Crementif 2021-02-01 12:15:08 +01:00
parent e3114950d7
commit a10a0730b0
No known key found for this signature in database
GPG Key ID: 453870E0401C94C0

View File

@ -2,18 +2,14 @@
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = Graphics name = Graphics
path = "Xenoblade Chronicles X/Graphics" path = "Xenoblade Chronicles X/Graphics"
description = Changes the resolution of the game.||Made by getdls and Lemon King. description = Changes the resolution of the game and the quality of the other elements.||Made by getdls and Lemon King.
version = 5 version = 5
[Default] [Default]
$width = 1280 $width = 1280
$height = 720 $height = 720
$padWidth = 854
$padHeight = 480
$gameWidth = 1280 $gameWidth = 1280
$gameHeight = 720 $gameHeight = 720
$gamePadWidth = 854
$gamePadHeight = 480
$internalScale = 1.0 $internalScale = 1.0
$shadowScale = 1 $shadowScale = 1
$skellViewScale = 1.0 $skellViewScale = 1.0
@ -22,289 +18,186 @@ $skellViewScale = 1.0
# TV Resolution # TV Resolution
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 320x180 name = 320x180
$width = 320 $width = 320
$height = 180 $height = 180
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 640x360 name = 640x360
$width = 640 $width = 640
$height = 360 $height = 360
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 960x540 name = 960x540
$width = 960 $width = 960
$height = 540 $height = 540
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 1280x720 (Default) name = 1280x720 (Default)
default = 1 default = 1
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 1600x900 name = 1600x900
$width = 1600 $width = 1600
$height = 900 $height = 900
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 1920x1080 name = 1920x1080
$width = 1920 $width = 1920
$height = 1080 $height = 1080
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 2560x1440 (2k) name = 2560x1440 (2k)
$width = 2560 $width = 2560
$height = 1440 $height = 1440
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 3200x1800 name = 3200x1800
$width = 3200 $width = 3200
$height = 1800 $height = 1800
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 3840x2160 (4k) name = 3840x2160 (4k)
$width = 3840 $width = 3840
$height = 2160 $height = 2160
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 5120x2880 name = 5120x2880
$width = 5120 $width = 5120
$height = 2880 $height = 2880
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 7680x4320 name = 7680x4320
$width = 7680 $width = 7680
$height = 4320 $height = 4320
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 10240x5760 name = 10240x5760
$width = 10240 $width = 10240
$height = 5760 $height = 5760
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 2560x1080 (21:9) name = 2560x1080 (21:9)
$width = 2560 $width = 2560
$height = 1080 $height = 1080
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 3440x1440 (21:9) name = 3440x1440 (21:9)
$width = 3440 $width = 3440
$height = 1440 $height = 1440
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 3840x1600 (21:10) name = 3840x1600 (21:10)
$width = 3840 $width = 3840
$height = 1600 $height = 1600
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 4300x1800 (21:9) name = 4300x1800 (21:9)
$width = 4300 $width = 4300
$height = 1800 $height = 1800
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 6880x2880 (21:9) name = 6880x2880 (21:9)
$width = 6880 $width = 6880
$height = 2880 $height = 2880
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 10240x4320 (21:9) name = 10240x4320 (21:9)
$width = 10240 $width = 10240
$height = 4320 $height = 4320
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 1440x900 (16:10) name = 1440x900 (16:10)
$width = 1440 $width = 1440
$height = 900 $height = 900
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 1680x1050 (16:10) name = 1680x1050 (16:10)
$width = 1680 $width = 1680
$height = 1050 $height = 1050
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 1920x1200 (16:10) name = 1920x1200 (16:10)
$width = 1920 $width = 1920
$height = 1200 $height = 1200
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 2560x1600 (16:10) name = 2560x1600 (16:10)
$width = 2560 $width = 2560
$height = 1600 $height = 1600
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 2880x1800 (16:10) name = 2880x1800 (16:10)
$width = 2880 $width = 2880
$height = 1800 $height = 1800
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 3840x2400 (16:10) name = 3840x2400 (16:10)
$width = 3840 $width = 3840
$height = 2400 $height = 2400
[Preset] [Preset]
category = TV Resolution category = Resolution
name = 5120x3200 (16:10) name = 5120x3200 (16:10)
$width = 5120 $width = 5120
$height = 3200 $height = 3200
# Skell Cockpit Resolution
# Gamepad Resolution
[Preset] [Preset]
category = Gamepad Resolution category = Skell Cockpit Resolution
name = 320x180 name = Very Low (50%)
$padWidth = 320 $skellViewScale = 0.50
$padHeight = 180
[Preset] [Preset]
category = Gamepad Resolution category = Skell Cockpit Resolution
name = 640x360 name = Low (75%)
$padWidth = 640 $skellViewScale = 0.75
$padHeight = 360
[Preset] [Preset]
category = Gamepad Resolution category = Skell Cockpit Resolution
name = 960x540 name = Medium (100%, Default)
$padWidth = 960
$padHeight = 540
[Preset]
category = Gamepad Resolution
name = 854x480 (Default)
default = 1 default = 1
$skellViewScale = 1.0
[Preset] [Preset]
category = Gamepad Resolution category = Skell Cockpit Resolution
name = 1280x720 name = High (125%)
$padWidth = 1280 $skellViewScale = 1.25
$padHeight = 720
[Preset] [Preset]
category = Gamepad Resolution category = Skell Cockpit Resolution
name = 1600x900 name = Ultra (150%)
$padWidth = 1600 $skellViewScale = 1.50
$padHeight = 900
[Preset] [Preset]
category = Gamepad Resolution category = Skell Cockpit Resolution
name = 1920x1080 name = Extreme (200%)
$padWidth = 1920 $skellViewScale = 2.0
$padHeight = 1080
[Preset]
category = Gamepad Resolution
name = 2560x1440
$padWidth = 2560
$padHeight = 1440
[Preset]
category = Gamepad Resolution
name = 3200x1800
$padWidth = 3200
$padHeight = 1800
[Preset]
category = Gamepad Resolution
name = 3840x2160
$padWidth = 3840
$padHeight = 2160
[Preset]
category = Gamepad Resolution
name = 5120x2880
$padWidth = 5120
$padHeight = 2880
[Preset]
category = Gamepad Resolution
name = 7680x4320
$padWidth = 7680
$padHeight = 4320
[Preset]
category = Gamepad Resolution
name = 2560x1080 (21:9)
$padWidth = 2560
$padHeight = 1080
[Preset]
category = Gamepad Resolution
name = 3440x1440 (21:9)
$padWidth = 3440
$padHeight = 1440
[Preset]
category = Gamepad Resolution
name = 3840x1600 (21:10)
$padWidth = 3840
$padHeight = 1600
[Preset]
category = Gamepad Resolution
name = 4300x1800 (21:9)
$padWidth = 4300
$padHeight = 1800
[Preset]
category = Gamepad Resolution
name = 6880x2880 (21:9)
$padWidth = 6880
$padHeight = 2880
[Preset]
category = Gamepad Resolution
name = 1440x900 (16:10)
$padWidth = 1440
$padHeight = 900
[Preset]
category = Gamepad Resolution
name = 1680x1050 (16:10)
$padWidth = 1680
$padHeight = 1050
[Preset]
category = Gamepad Resolution
name = 1920x1200 (16:10)
$padWidth = 1920
$padHeight = 1200
[Preset]
category = Gamepad Resolution
name = 2560x1600 (16:10)
$padWidth = 2560
$padHeight = 1600
[Preset]
category = Gamepad Resolution
name = 3840x2400 (16:10)
$padWidth = 3840
$padHeight = 2400
# Shadow Quality # Shadow Quality
@ -367,41 +260,6 @@ category = Post-Processing Effect Quality
name = Extreme (200%) name = Extreme (200%)
$internalScale = 2.0 $internalScale = 2.0
# Skell View Resolution
[Preset]
category = Skell Combat View Resolution
name = Very Low (50%)
$skellViewScale = 0.50
[Preset]
category = Skell Combat View Resolution
name = Low (75%)
$skellViewScale = 0.75
[Preset]
category = Skell Combat View Resolution
name = Medium (100%, Default)
default = 1
$skellViewScale = 1.0
[Preset]
category = Skell Combat View Resolution
name = High (125%)
$skellViewScale = 1.25
[Preset]
category = Skell Combat View Resolution
name = Ultra (150%)
$skellViewScale = 1.50
[Preset]
category = Skell Combat View Resolution
name = Extreme (200%)
$skellViewScale = 2.0
# Texture Redefines # Texture Redefines
[TextureRedefine] [TextureRedefine]
@ -430,15 +288,15 @@ overwriteHeight = ($height/$gameHeight) * 720
width = 864 width = 864
height = 480 height = 480
formatsExcluded = 0x431,0x035,0x034,0x033,0x031 formatsExcluded = 0x431,0x035,0x034,0x033,0x031
overwriteWidth = ($padWidth/$gamePadWidth) * 864 overwriteWidth = ($width/$gameWidth) * 864
overwriteHeight = ($padHeight/$gamePadHeight) * 480 overwriteHeight = ($height/$gameHeight) * 480
[TextureRedefine] [TextureRedefine]
width = 854 width = 854
height = 480 height = 480
formatsExcluded = 0x431,0x035,0x034,0x033,0x031 formatsExcluded = 0x431,0x035,0x034,0x033,0x031
overwriteWidth = ($padWidth/$gamePadWidth) * 854 overwriteWidth = ($width/$gameWidth) * 854
overwriteHeight = ($padHeight/$gamePadHeight) * 480 overwriteHeight = ($height/$gameHeight) * 480
[TextureRedefine] [TextureRedefine]
width = 640 width = 640