mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 03:24:15 +01:00
Update rules.txt
Added 3 resolutions for 4:3 and 5:4 AR resolutions and made the list pretty.
This commit is contained in:
parent
0968545190
commit
69bad33db5
@ -6,110 +6,140 @@ description = Changes the games resolution. You cannot change resolutions on the
|
|||||||
version = 3
|
version = 3
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 1280x720 (Default)
|
name = 1280x720 (16:9) (Default)
|
||||||
$width = 1280
|
$width = 1280
|
||||||
$height = 720
|
$height = 720
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
// Performance
|
// Performance
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 320x180
|
name = 320x180 (16:9)
|
||||||
$width = 320
|
$width = 320
|
||||||
$height = 180
|
$height = 180
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 640x360
|
name = 640x360 (16:9)
|
||||||
$width = 640
|
$width = 640
|
||||||
$height = 360
|
$height = 360
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 960x540
|
name = 960x540 (16:9)
|
||||||
$width = 960
|
$width = 960
|
||||||
$height = 540
|
$height = 540
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
// Common HD Resolutions
|
// Common HD Resolutions
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 1600x900
|
name = 1600x900 (16:9)
|
||||||
$width = 1600
|
$width = 1600
|
||||||
$height = 900
|
$height = 900
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 1920x1080
|
name = 1920x1080 (16:9)
|
||||||
$width = 1920
|
$width = 1920
|
||||||
$height = 1080
|
$height = 1080
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 2560x1440
|
name = 2560x1440 (16:9)
|
||||||
$width = 2560
|
$width = 2560
|
||||||
$height = 1440
|
$height = 1440
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 3200x1800
|
name = 3200x1800 (16:9)
|
||||||
$width = 3200
|
$width = 3200
|
||||||
$height = 1800
|
$height = 1800
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 3840x2160
|
name = 3840x2160 (16:9)
|
||||||
$width = 3840
|
$width = 3840
|
||||||
$height = 2160
|
$height = 2160
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 5120x2880
|
name = 5120x2880 (16:9)
|
||||||
$width = 5120
|
$width = 5120
|
||||||
$height = 2880
|
$height = 2880
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
// Common Ultrawide Resolutions
|
// Common Ultrawide Resolutions
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 2560x1080 ("21:9")
|
name = -----------------------------------
|
||||||
$width = 2560
|
$width = 2560
|
||||||
$height = 1080
|
$height = 1080
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 3440x1440 ("21:9")
|
name = 2560x1080 (21:9)
|
||||||
|
$width = 2560
|
||||||
|
$height = 1080
|
||||||
|
$gameWidth = 1280
|
||||||
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
|
[Preset]
|
||||||
|
name = 3440x1440 (21:9)
|
||||||
$width = 3440
|
$width = 3440
|
||||||
$height = 1440
|
$height = 1440
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 4300x1800 ("21:9")
|
name = 4300x1800 (21:9)
|
||||||
$width = 4300
|
$width = 4300
|
||||||
$height = 1800
|
$height = 1800
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
// Common 16:10 Resolutions
|
// Common 16:10 Resolutions
|
||||||
|
|
||||||
|
[Preset]
|
||||||
|
name = -----------------------------------
|
||||||
|
$width = 1440
|
||||||
|
$height = 936 # 720x1.3
|
||||||
|
$gameWidth = 1280
|
||||||
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 1440x936 (16:10)
|
name = 1440x936 (16:10)
|
||||||
$width = 1440
|
$width = 1440
|
||||||
$height = 936 # 720x1.3
|
$height = 936 # 720x1.3
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 1680x1080 (16:10)
|
name = 1680x1080 (16:10)
|
||||||
@ -117,6 +147,7 @@ $width = 1680
|
|||||||
$height = 1080 # 720x1.5
|
$height = 1080 # 720x1.5
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 1920x1224 (16:10)
|
name = 1920x1224 (16:10)
|
||||||
@ -124,6 +155,7 @@ $width = 1920
|
|||||||
$height = 1224 # 720x1.7
|
$height = 1224 # 720x1.7
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 2560x1656 (16:10)
|
name = 2560x1656 (16:10)
|
||||||
@ -131,6 +163,7 @@ $width = 2560
|
|||||||
$height = 1656 # 720x2.3
|
$height = 1656 # 720x2.3
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 2880x1800 (16:10)
|
name = 2880x1800 (16:10)
|
||||||
@ -138,6 +171,7 @@ $width = 2880
|
|||||||
$height = 1800 # 720x2.5
|
$height = 1800 # 720x2.5
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 3840x2448 (16:10)
|
name = 3840x2448 (16:10)
|
||||||
@ -145,6 +179,7 @@ $width = 3840
|
|||||||
$height = 2448 # 720x3.4
|
$height = 2448 # 720x3.4
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
[Preset]
|
[Preset]
|
||||||
name = 5120x3168 (16:10)
|
name = 5120x3168 (16:10)
|
||||||
@ -152,6 +187,65 @@ $width = 5120
|
|||||||
$height = 3168 # 720x4.4
|
$height = 3168 # 720x4.4
|
||||||
$gameWidth = 1280
|
$gameWidth = 1280
|
||||||
$gameHeight = 720
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
|
# Other Uncommon Resolutions
|
||||||
|
|
||||||
|
[Preset]
|
||||||
|
name = -----------------------------------
|
||||||
|
$width = 640
|
||||||
|
$height = 480
|
||||||
|
$gameWidth = 1280
|
||||||
|
$gameHeight = 720
|
||||||
|
$heightfix = 1
|
||||||
|
|
||||||
|
[Preset]
|
||||||
|
name = 640x480 (4:3)
|
||||||
|
$width = 640
|
||||||
|
$height = 480
|
||||||
|
$gameWidth = 1280
|
||||||
|
$gameHeight = 720
|
||||||
|
$heightfix = 1
|
||||||
|
|
||||||
|
[Preset]
|
||||||
|
name = 1280x960 (4:3)
|
||||||
|
$width = 1280
|
||||||
|
$height = 960
|
||||||
|
$gameWidth = 1280
|
||||||
|
$gameHeight = 720
|
||||||
|
$heightfix = 1
|
||||||
|
|
||||||
|
[Preset]
|
||||||
|
name = 1920x1440 (4:3)
|
||||||
|
$width = 1920
|
||||||
|
$height = 1440
|
||||||
|
$gameWidth = 1280
|
||||||
|
$gameHeight = 720
|
||||||
|
$heightfix = 0
|
||||||
|
|
||||||
|
[Preset]
|
||||||
|
name = 640x512 (5:4)
|
||||||
|
$width = 640
|
||||||
|
$height = 512
|
||||||
|
$gameWidth = 1280
|
||||||
|
$gameHeight = 720
|
||||||
|
$heightfix = 1
|
||||||
|
|
||||||
|
[Preset]
|
||||||
|
name = 1280x1024 (5:4)
|
||||||
|
$width = 1280
|
||||||
|
$height = 1024
|
||||||
|
$gameWidth = 1280
|
||||||
|
$gameHeight = 720
|
||||||
|
$heightfix = 1
|
||||||
|
|
||||||
|
[Preset]
|
||||||
|
name = 1920x1536 (5:4)
|
||||||
|
$width = 1920
|
||||||
|
$height = 1536
|
||||||
|
$gameWidth = 1280
|
||||||
|
$gameHeight = 720
|
||||||
|
$heightfix = 1
|
||||||
|
|
||||||
# All 720p textures:
|
# All 720p textures:
|
||||||
# - 0x001=World Lighting Red8
|
# - 0x001=World Lighting Red8
|
||||||
@ -210,7 +304,7 @@ height = 368
|
|||||||
formats = 0x001,0x005,0x007,0x019,0x01a,0x80e,0x806,0x816,0x820,0x41a
|
formats = 0x001,0x005,0x007,0x019,0x01a,0x80e,0x806,0x816,0x820,0x41a
|
||||||
formatsExcluded = 0x431 # Exclude 0x431 which is used for adventure log images
|
formatsExcluded = 0x431 # Exclude 0x431 which is used for adventure log images
|
||||||
overwriteWidth = ($width/$gameWidth) * 640
|
overwriteWidth = ($width/$gameWidth) * 640
|
||||||
overwriteHeight = ($height/$gameHeight)* 368
|
overwriteHeight = (($height/$gameHeight) * 368) + $heightfix
|
||||||
|
|
||||||
# Required 1/2 resolutions
|
# Required 1/2 resolutions
|
||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
@ -258,7 +352,7 @@ overwriteHeight = ($height/$gameHeight) * 96
|
|||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 160
|
width = 160
|
||||||
height = 96
|
height = 96
|
||||||
formats = 0x001,0x007,0x806,0x80e,0x816 # Used for Fog/Depth/Bloom
|
formats = 0x001,0x005,0x007,0x806,0x80e,0x816 # Used for Fog/Depth/Bloom
|
||||||
overwriteWidth = ($width/$gameWidth) * 160
|
overwriteWidth = ($width/$gameWidth) * 160
|
||||||
overwriteHeight = ($height/$gameHeight) * 96
|
overwriteHeight = ($height/$gameHeight) * 96
|
||||||
|
|
||||||
@ -266,7 +360,7 @@ overwriteHeight = ($height/$gameHeight)* 96
|
|||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 160
|
width = 160
|
||||||
height = 90
|
height = 90
|
||||||
formats = 0x001,0x007,0x806,0x80e,0x816
|
formats = 0x001,0x005,0x007,0x806,0x80e,0x816
|
||||||
overwriteWidth = ($width/$gameWidth) * 160
|
overwriteWidth = ($width/$gameWidth) * 160
|
||||||
overwriteHeight = ($height/$gameHeight) * 90
|
overwriteHeight = ($height/$gameHeight) * 90
|
||||||
|
|
||||||
@ -626,7 +720,7 @@ height = 368
|
|||||||
formats = 0x019
|
formats = 0x019
|
||||||
overwriteFormat = 0x01f
|
overwriteFormat = 0x01f
|
||||||
overwriteWidth = ($width/$gameWidth) * 640
|
overwriteWidth = ($width/$gameWidth) * 640
|
||||||
overwriteHeight = ($height/$gameHeight)* 368
|
overwriteHeight = (($height/$gameHeight) * 368 ) + $heightfix
|
||||||
|
|
||||||
[TextureRedefine]
|
[TextureRedefine]
|
||||||
width = 640
|
width = 640
|
||||||
|
Loading…
Reference in New Issue
Block a user