[Definition]
titleIds = 000500001010EC00,000500001010ED00,000500001010EB00
name = "Mario Kart 8 - 960x540"
version = 2


#[TextureRedefine] # 
#width = 2048
#height = 2048
#overwriteWidth = 1536 
#overwriteHeight = 1536 

#[TextureRedefine] #selection screen shadows
#width = 1536
#height = 1536


[TextureRedefine]
width = 1280
height = 720
formatsExcluded =  0x41A,0x431 # exclude the intro background texture, race end background
tileModesExcluded = 0x001
overwriteWidth = 960 
overwriteHeight = 540 

[TextureRedefine] #MShadows
width = 1024
height = 1024
formats = 0x005 #shadows 2 lod slices
overwriteWidth = 1024 
overwriteHeight = 1024 

#[TextureRedefine] ##gloss, reflections, don't scale
#width = 768
#width = 768

[TextureRedefine] # Multiplayer-Mode Resolution (2p)
width = 640
height = 720
overwriteWidth = 480 
overwriteHeight = 540 

[TextureRedefine]
width = 640
height = 360
tileModesExcluded = 0x001
overwriteWidth = 480 
overwriteHeight = 270 

[TextureRedefine]
width = 640
height = 320
overwriteWidth = 480 
overwriteHeight = 240 

#[TextureRedefine] #selection fmv don't scale 
#width = 512
#height = 608
#formatsExcluded = 0x001 #selection fmt

#[TextureRedefine] #shadows multiplayer?
#width = 512
#height = 512
#formats = 0x005 # verify later
#overwriteWidth = 384 
#overwriteHeight = 384 

[TextureRedefine]
width = 427
height = 240
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 320 
overwriteHeight = 180 

[TextureRedefine] #4P?
width = 320
height = 360
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 240 
overwriteHeight = 270 

[TextureRedefine] # Bloom first mip, motion blur effect
width = 320
height = 180
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 240 
overwriteHeight = 135 

[TextureRedefine] #
width = 256
height = 256
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235 #
overwriteWidth = 192 
overwriteHeight = 192 

[TextureRedefine]
width = 199
height = 116
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 149 
overwriteHeight = 87 

[TextureRedefine]
width = 160
height = 180
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 120 
overwriteHeight = 135 

[TextureRedefine]  #bloom 2nd  mip
width = 160
height = 90
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 120 
overwriteHeight = 68 

[TextureRedefine]
width = 160
height = 80
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 120 
overwriteHeight = 60 

[TextureRedefine] #
width = 148
height = 148
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 111 
overwriteHeight = 111 

[TextureRedefine]
width = 133
height = 77
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 100 
overwriteHeight = 58 

[TextureRedefine]
width = 128
height = 256
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a,0x234,0x235
overwriteWidth = 96 
overwriteHeight = 192 


#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded
#width = 128
#height = 128
#formatsExcluded = 
#overwriteWidth = 96 
#overwriteHeight = 96 

[TextureRedefine]
width = 80
height = 90
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 60 
overwriteHeight = 68 

[TextureRedefine] # bloom 3rd mip
width = 80
height = 45
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 60 
overwriteHeight = 34 

[TextureRedefine]
width = 80
height = 40
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 60 
overwriteHeight = 30 

[TextureRedefine]
width = 64
height = 128
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 48 
overwriteHeight = 96 

#[TextureRedefine] # glossmap breaks 64 cube?
#width = 64
#height = 64


#[TextureRedefine] #check later
#width = 52
#height = 52
#formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
#overwriteWidth = 156
#overwriteHeight = 156

[TextureRedefine]
width = 49
height = 29
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 37 
overwriteHeight = 22 

[TextureRedefine]
width = 40
height = 45
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 30 
overwriteHeight = 34 

[TextureRedefine] #bloom
width = 40
height = 22
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 30 
overwriteHeight = 17 

[TextureRedefine]
width = 40
height = 20
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 30 
overwriteHeight = 15 

[TextureRedefine]
width = 33
height = 19
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 25 
overwriteHeight = 14 

[TextureRedefine]
width = 32
height = 64
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 24 
overwriteHeight = 48 

#[TextureRedefine] #
#width = 32
#height = 32
#formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x816,0x01a #0x816 exclude cube 
#overwriteWidth = 96
#overwriteHeight = 96

[TextureRedefine]
width = 20
height = 22
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 15 
overwriteHeight = 17 


[TextureRedefine]
width = 20
height = 10
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
verwriteWidth = 15 
overwriteHeight = 8 

[TextureRedefine]
width = 16
height = 32
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 12 
overwriteHeight = 24 


#[TextureRedefine] #M
#width = 16
#height = 16
#formatsExcluded = 
#overwriteWidth = 12 
#overwriteHeight = 12 

[TextureRedefine]
width = 8
height = 16
formatsExcluded = 0x31,0x32,0x33,0x34,0x35,0x431,0x432,0x433,0x434,0x435,0x01a
overwriteWidth = 6 
overwriteHeight = 12 

###MKTV###
# MKTV screen
[TextureRedefine]
width = 960
height = 540
formatsExcluded = 0x41A # exclude obvious textures
overwriteWidth = 720 
overwriteHeight = 405 

# MKTV internal render targets
[TextureRedefine]
width = 960
height = 536
formatsExcluded = 0x41A # exclude obvious textures
overwriteWidth = 720 
overwriteHeight = 402 

# MKTV half res alpha
[TextureRedefine]
width = 480
height = 268
formatsExcluded = 0x41A # exclude obvious textures
overwriteWidth = 720 
overwriteHeight = 201 

# MKTV quarter res alpha
[TextureRedefine]
width = 240
height = 134
formatsExcluded = 0x41A # exclude obvious textures
overwriteWidth = 180 
overwriteHeight = 101 

[TextureRedefine] #shadows
width = 1024
height = 1024
formats = 0x005
overwriteWidth = 768 
overwriteHeight = 768 
