[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00
name = "Xenoblade Chronicles X - 5760x1080 (16:3)"
version = 2

[TextureRedefine] # increase colour depth, slower but less banding
formats  = 0x816
overwriteFormat =  0x820

[TextureRedefine] #
formats  = 0x810
overwriteFormat =  0x81e

[TextureRedefine] #
formats  = 0x806
overwriteFormat =  0x80e

[TextureRedefine] #
formats  = 0x007
overwriteFormat =  0x00f

formats = 0x19,0x1a
overwriteFormat = 0x1f
tileModesExcluded = 0x001

[TextureRedefine] #
width = 320
height = 180
formats = 0x19
overwriteFormat = 0x823

[TextureRedefine] #
width = 320
height = 180
formats = 0x1a
overwriteFormat = 0x823

#[TextureRedefine] #lod override, shimmer and possible sharper textures
#formats  = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435
#overwriteRelativeLodBias = -1 # don't reccomend more than -1

[TextureRedefine] #0x01a, super sampling
formats  = 0x005,0x01a
overwriteRelativeLodBias = -16 # 

[TextureRedefine] # tv
width = 1280
height = 720
formatsExcluded = 0x031 #NLA flyover XCX logo screen
tileModesExcluded = 0x001
overwriteWidth = 5760 
overwriteHeight = 1080 

[TextureRedefine] #XCX shadow
width = 1024
height = 1024
formats = 0x005
overwriteWidth = 2048 
overwriteHeight = 2048 

[TextureRedefine] # Gear menu
width = 1024
height = 720
formatsExcluded = 0x001 #in game movies, stasis
overwriteWidth = 4608 
overwriteHeight = 1080 

[TextureRedefine] # Do not remove, must be upscaled with same factor as TV or probe view breaks
width = 854
height = 480
overwriteWidth = 3843 
overwriteHeight = 720 

[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x033,0x031 #dialog prompt fixes, XCX Logo NLA  exclude obvious textures
tileModesExcluded = 0x001
overwriteWidth = 3840 
overwriteHeight = 720 

[TextureRedefine] #XCX Dynamic shadow scale both same for smoother transitions	
width = 512
height = 512
formats = 0x005	
overwriteWidth = 2048 
overwriteHeight = 2048 

[TextureRedefine] # Sun, Light Sources (plants, armor etc)
width =	512
height = 288
overwriteWidth = 3072 
overwriteHeight = 576 

[TextureRedefine] # Fog
width =	426
height = 240
overwriteWidth = 3840 
overwriteHeight = 720 

[TextureRedefine] # q-res alpha (Previously not added due to potential conflict, please remove rule when using Xeno GCN4 workaround)
width = 320
height = 180
overwriteWidth = 1920 
overwriteHeight = 360 

[TextureRedefine]
width = 261
height = 223
#formatsExcluded = 
overwriteWidth = 1566 
overwriteHeight = 446 
 
[TextureRedefine]
width = 256
height = 180
#formatsExcluded = 
overwriteWidth = 1536 
overwriteHeight = 360 

[TextureRedefine] # "God rays" stencil res, lens reflections.
width = 256
height = 144
overwriteWidth = 1536 
overwriteHeight = 288 

#[TextureRedefine] # lod switch dithering, don't scale
#width = 256
#height = 8
#formats = 0x01a # verify not to scale. 

#[TextureRedefine] # lod switch dithering, don't scale
#width = 256
#height = 4
#formats = 0x01a # verify not to scale. 


[TextureRedefine] #
width = 255
height = 255
formats = 0x810 # 0x01a, PR screen NLA
overwriteWidth = 1148 
overwriteHeight = 383 

[TextureRedefine]# Probe glow. 
width = 160
height = 90
#formatsExcluded = 0x816  #fixed in shader
overwriteWidth = 960 
overwriteHeight = 180 

[TextureRedefine] 
width = 128
height = 128
formats = 0x806 
overwriteWidth = 576 
overwriteHeight = 192 

[TextureRedefine]
width = 128
height = 90
#formatsExcluded = 
overwriteWidth = 768 
overwriteHeight = 180 
	
[TextureRedefine]# should up-scale from 35 to keep aligment with other 16:9 buffers 
width = 80
height = 46
#formatsExcluded = 0x816  #fixed in shader
overwriteWidth = 480 
overwriteHeight = 90 

[TextureRedefine] #
width = 64
height = 64
formats = 0x816,0x820  #001a includes cube breaks if scaled
overwriteWidth = 288 
overwriteHeight = 96 

[TextureRedefine]
width = 64
height = 46
#formatsExcluded = 
overwriteWidth = 384 
overwriteHeight = 92 

[TextureRedefine] #
height = 32
height = 32
formats = 0x806 #001a includes cube breaks flashlight scene
overwriteWidth = 144 
overwriteHeight = 48 

#[TextureRedefine] #grading don't scale
#width = 16
#height = 16
#formatsExcluded = 
#overwriteWidth = 16
#overwriteHeight = 16

[TextureRedefine] #
width = 8
height = 8
formats = 0x806 
overwriteWidth = 36 
overwriteHeight = 12 
