Update rules.txt

Added 3 resolutions for 4:3 and 5:4 AR resolutions and made the list pretty.
This commit is contained in:
Skal Fate 2019-01-06 18:12:54 -07:00 committed by GitHub
parent 0968545190
commit 69bad33db5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
@ -209,8 +303,8 @@ width = 640
height = 368 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]
@ -219,32 +313,32 @@ height = 360
formats = 0x001,0x005,0x007,0x019,0x01a,0x80e,0x806,0x816,0x820,0x41a formats = 0x001,0x005,0x007,0x019,0x01a,0x80e,0x806,0x816,0x820,0x41a
formatsExcluded = 0x431 formatsExcluded = 0x431
tileModesExcluded = 0x001 # For Video Playback tileModesExcluded = 0x001 # For Video Playback
overwriteWidth = ($width/$gameWidth)* 640 overwriteWidth = ($width/$gameWidth) * 640
overwriteHeight = ($height/$gameHeight)* 360 overwriteHeight = ($height/$gameHeight) * 360
# Required 1/3 resolutions # Required 1/3 resolutions
[TextureRedefine] [TextureRedefine]
width = 384 width = 384
height = 192 height = 192
formats = 0x001 # World lighting - Red formats = 0x001 # World lighting - Red
overwriteWidth = ($width/$gameWidth)* 384 overwriteWidth = ($width/$gameWidth) * 384
overwriteHeight = ($height/$gameHeight)* 192 overwriteHeight = ($height/$gameHeight) * 192
# Required 1/4 resolutions # Required 1/4 resolutions
[TextureRedefine] [TextureRedefine]
width = 320 width = 320
height = 192 height = 192
formats = 0x001,0x005,0x007,0x019,0x01a,0x80e,0x816,0x806,0x820,0x41a formats = 0x001,0x005,0x007,0x019,0x01a,0x80e,0x816,0x806,0x820,0x41a
overwriteWidth = ($width/$gameWidth)* 320 overwriteWidth = ($width/$gameWidth) * 320
overwriteHeight = ($height/$gameHeight)* 192 overwriteHeight = ($height/$gameHeight) * 192
# Required 1/4 resolutions # Required 1/4 resolutions
[TextureRedefine] [TextureRedefine]
width = 320 width = 320
height = 180 height = 180
formats = 0x001,0x005,0x007,0x019,0x01a,0x80e,0x816,0x806,0x820,0x41a formats = 0x001,0x005,0x007,0x019,0x01a,0x80e,0x816,0x806,0x820,0x41a
overwriteWidth = ($width/$gameWidth)* 320 overwriteWidth = ($width/$gameWidth) * 320
overwriteHeight = ($height/$gameHeight)* 180 overwriteHeight = ($height/$gameHeight) * 180
# Required 1/6 resolution # Required 1/6 resolution
[TextureRedefine] [TextureRedefine]
@ -258,33 +352,33 @@ 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
# Required 1/8 resolution # Required 1/8 resolution
[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
# Required 1/13 resolution # Required 1/13 resolution
[TextureRedefine] [TextureRedefine]
width = 96 width = 96
height = 48 height = 48
formats = 0x816,0x80e # Used for bloom/depth formats = 0x816,0x80e # Used for bloom/depth
overwriteWidth = ($width/$gameWidth)* 96 overwriteWidth = ($width/$gameWidth) * 96
overwriteHeight = ($height/$gameHeight)* 48 overwriteHeight = ($height/$gameHeight) * 48
# Required 1/16 resolution # Required 1/16 resolution
[TextureRedefine] [TextureRedefine]
width = 80 width = 80
height = 45 height = 45
formats = 0x816,0x806,0x007 # Used for bloom/fog formats = 0x816,0x806,0x007 # Used for bloom/fog
overwriteWidth = ($width/$gameWidth)* 80 overwriteWidth = ($width/$gameWidth) * 80
overwriteHeight = ($height/$gameHeight)* 45 overwriteHeight = ($height/$gameHeight) * 45
# 0x01a - Blurs # 0x01a - Blurs
@ -373,8 +467,8 @@ overwriteHeight = ($height/$gameHeight) * 25
width = 120 width = 120
height = 80 height = 80
formats = 0x01a formats = 0x01a
overwriteWidth = ($width/$gameWidth)* 120 overwriteWidth = ($width/$gameWidth) * 120
overwriteHeight = ($height/$gameHeight)* 80 overwriteHeight = ($height/$gameHeight) * 80
# Main menu BOTW logo blur # Main menu BOTW logo blur
[TextureRedefine] [TextureRedefine]
@ -401,8 +495,8 @@ width = 1024
height = 512 height = 512
depth = 1 depth = 1
formats = 0x816 formats = 0x816
overwriteWidth = ($width/$gameWidth)* 1024 overwriteWidth = ($width/$gameWidth) * 1024
overwriteHeight = ($height/$gameHeight)* 512 overwriteHeight = ($height/$gameHeight) * 512
# Sheikah slate scope # Sheikah slate scope
[TextureRedefine] [TextureRedefine]
@ -410,8 +504,8 @@ width = 512
height = 256 height = 256
depth = 1 depth = 1
formats = 0x816 formats = 0x816
overwriteWidth = ($width/$gameWidth)* 512 overwriteWidth = ($width/$gameWidth) * 512
overwriteHeight = ($height/$gameHeight)* 256 overwriteHeight = ($height/$gameHeight) * 256
# World bloom # World bloom
@ -420,56 +514,56 @@ width = 256
height = 128 height = 128
depth = 1 depth = 1
formats = 0x816 formats = 0x816
overwriteWidth = ($width/$gameWidth)* 256 overwriteWidth = ($width/$gameWidth) * 256
overwriteHeight = ($height/$gameHeight)* 128 overwriteHeight = ($height/$gameHeight) * 128
[TextureRedefine] [TextureRedefine]
width = 128 width = 128
height = 64 height = 64
depth = 1 depth = 1
formats = 0x816 formats = 0x816
overwriteWidth = ($width/$gameWidth)* 128 overwriteWidth = ($width/$gameWidth) * 128
overwriteHeight = ($height/$gameHeight)* 64 overwriteHeight = ($height/$gameHeight) * 64
[TextureRedefine] [TextureRedefine]
width = 64 width = 64
height = 32 height = 32
depth = 1 depth = 1
formats = 0x816 formats = 0x816
overwriteWidth = ($width/$gameWidth)* 64 overwriteWidth = ($width/$gameWidth) * 64
overwriteHeight = ($height/$gameHeight)* 32 overwriteHeight = ($height/$gameHeight) * 32
[TextureRedefine] [TextureRedefine]
width = 32 width = 32
height = 16 height = 16
depth = 1 depth = 1
formats = 0x816 formats = 0x816
overwriteWidth = ($width/$gameWidth)* 32 overwriteWidth = ($width/$gameWidth) * 32
overwriteHeight = ($height/$gameHeight)* 16 overwriteHeight = ($height/$gameHeight) * 16
[TextureRedefine] [TextureRedefine]
width = 40 width = 40
height = 22 height = 22
depth = 1 depth = 1
formats = 0x816 formats = 0x816
overwriteWidth = ($width/$gameWidth)* 40 overwriteWidth = ($width/$gameWidth) * 40
overwriteHeight = ($height/$gameHeight)* 22 overwriteHeight = ($height/$gameHeight) * 22
[TextureRedefine] [TextureRedefine]
width = 24 width = 24
height = 16 height = 16
depth = 1 depth = 1
formats = 0x816 formats = 0x816
overwriteWidth = ($width/$gameWidth)* 24 overwriteWidth = ($width/$gameWidth) * 24
overwriteHeight = ($height/$gameHeight)* 16 overwriteHeight = ($height/$gameHeight) * 16
[TextureRedefine] [TextureRedefine]
width = 20 width = 20
height = 11 height = 11
depth = 1 depth = 1
formats = 0x816 formats = 0x816
overwriteWidth = ($width/$gameWidth)* 20 overwriteWidth = ($width/$gameWidth) * 20
overwriteHeight = ($height/$gameHeight)* 11 overwriteHeight = ($height/$gameHeight) * 11
# Great Fairy / Stable / Stores Viewports # Great Fairy / Stable / Stores Viewports
@ -617,37 +711,37 @@ width = 1280
height = 720 height = 720
formats = 0x019 formats = 0x019
overwriteFormat = 0x01f overwriteFormat = 0x01f
overwriteWidth = ($width/$gameWidth)* 1280 overwriteWidth = ($width/$gameWidth) * 1280
overwriteHeight = ($height/$gameHeight)* 720 overwriteHeight = ($height/$gameHeight) * 720
[TextureRedefine] [TextureRedefine]
width = 640 width = 640
height = 368 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
height = 360 height = 360
formats = 0x019 formats = 0x019
overwriteFormat = 0x01f overwriteFormat = 0x01f
overwriteWidth = ($width/$gameWidth)* 640 overwriteWidth = ($width/$gameWidth) * 640
overwriteHeight = ($height/$gameHeight)* 360 overwriteHeight = ($height/$gameHeight) * 360
[TextureRedefine] [TextureRedefine]
width = 320 width = 320
height = 192 height = 192
formats = 0x019 formats = 0x019
overwriteFormat = 0x01f overwriteFormat = 0x01f
overwriteWidth = ($width/$gameWidth)* 320 overwriteWidth = ($width/$gameWidth) * 320
overwriteHeight = ($height/$gameHeight)* 192 overwriteHeight = ($height/$gameHeight) * 192
[TextureRedefine] [TextureRedefine]
width = 320 width = 320
height = 180 height = 180
formats = 0x019 formats = 0x019
overwriteFormat = 0x01f overwriteFormat = 0x01f
overwriteWidth = ($width/$gameWidth)* 320 overwriteWidth = ($width/$gameWidth) * 320
overwriteHeight = ($height/$gameHeight)* 180 overwriteHeight = ($height/$gameHeight) * 180