From 052019c69073a7d0078cc0c4f6a2bdacdf66a205 Mon Sep 17 00:00:00 2001 From: getdls Date: Sat, 20 Jan 2018 18:39:39 +0100 Subject: [PATCH] Revert "[xcx]Test tules build - to be reverted" This reverts commit 8f461c8d25136f8760d0fe36782bdc1de41eb45d. --- Source/XenobladeX/Backuprules.txt | 108 ------------------ Source/XenobladeX/rules.txt | 177 ++++++++++++++---------------- 2 files changed, 80 insertions(+), 205 deletions(-) delete mode 100644 Source/XenobladeX/Backuprules.txt diff --git a/Source/XenobladeX/Backuprules.txt b/Source/XenobladeX/Backuprules.txt deleted file mode 100644 index 9858a263..00000000 --- a/Source/XenobladeX/Backuprules.txt +++ /dev/null @@ -1,108 +0,0 @@ - -[Definition] -titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 -name = "Xenoblade Chronicles X - " -version = 2 - -[TextureRedefine] # increase colour depth -formats = 0x01a,0x008 -replaceFormat 0x01f - -[TextureRedefine] # increase colour depth -formats = 0x816 -replaceFormat 0x823 - -[TextureRedefine] # increase colour depth -formats = 0x0810 -replaceFormat 0x81e - -[TextureRedefine] # tv -width = 1280 -height = 720 -formatsExcluded = 0x031 #NLA flyover XCX logo screen -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Do not remove, must be upscaled with same factor as TV or probe view breaks -width = 854 -height = 480 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # half-res alpha -width = 640 -height = 360 -formatsExcluded = 0x41A,0x033,0x031,0x001 #dialog prompt fixes, XCX Logo NLA exclude obvious textures -tileModesExcluded = 0x001 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # q-res alpha (Previously not added due to potential conflict, please remove rule when using Xeno GCN4 workaround) -width = 320 -height = 180 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Gear menu -width = 1024 -height = 720 -formatsExcluded = 0x001 #in game movies, stasis -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # Fog -width = 426 -height = 240 -overwriteWidth = -overwriteHeight = - -// vvvv credits to Getdls & GITech vvvv // - -[TextureRedefine] # Sun, Light Sources (plants, armor etc) -width = 512 -height = 288 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] # "God rays" stencil res, lens reflections. -width = 256 -height = 144 -overwriteWidth = -overwriteHeight = - -[TextureRedefine]# Probe glow. Does not increase sample amount, only scales up -width = 160 -height = 90 -#formatsExcluded = 0x816 #fixed in shader -overwriteWidth = -overwriteHeight = - -[TextureRedefine]# should up-scale from 35 to keep aligment with other 16:9 buffers -width = 80 -height = 46 -#formatsExcluded = 0x816 #fixed in shader -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #XCX shadow -width = 1024 -height = 1024 -formats = 0x005 -overwriteWidth = -overwriteHeight = - -[TextureRedefine] #XCX Dynamic shadow scale both same for smoother transitions -width = 512 -height = 512 -formats = 0x005 -overwriteWidth = -overwriteHeight = diff --git a/Source/XenobladeX/rules.txt b/Source/XenobladeX/rules.txt index e5fd6701..9858a263 100644 --- a/Source/XenobladeX/rules.txt +++ b/Source/XenobladeX/rules.txt @@ -4,122 +4,105 @@ $fullWidth = $argv[1]; $fullHeight = $argv[2]; $scaleFactorX = $fullWidth / 1280.0; $scaleFactorY = $fullHeight / 720.0; + $title = get_title($fullWidth, $fullHeight); ?> - [Definition] -titleIds = 050000101c4d00 # replace with fulltitleID -name = " " +titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00 +name = "Xenoblade Chronicles X - " version = 2 -[TextureRedefine] +[TextureRedefine] # increase colour depth +formats = 0x01a,0x008 +replaceFormat 0x01f + +[TextureRedefine] # increase colour depth +formats = 0x816 +replaceFormat 0x823 + +[TextureRedefine] # increase colour depth +formats = 0x0810 +replaceFormat 0x81e + +[TextureRedefine] # tv width = 1280 height = 720 -#formatsExcluded = -overwriteWidth = -overwriteWidth = +formatsExcluded = 0x031 #NLA flyover XCX logo screen +tileModesExcluded = 0x001 +overwriteWidth = +overwriteHeight = -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 1024 -#height = 1024 -#formatsExcluded = -#overwriteWidth = -#overwriteWidth = - -[TextureRedefine] +[TextureRedefine] # Do not remove, must be upscaled with same factor as TV or probe view breaks width = 854 height = 480 -#formatsExcluded = -overwriteWidth = -overwriteWidth = +overwriteWidth = +overwriteHeight = -[TextureRedefine] +[TextureRedefine] # half-res alpha width = 640 height = 360 -#formatsExcluded = -overwriteWidth = -overwriteWidth = +formatsExcluded = 0x41A,0x033,0x031,0x001 #dialog prompt fixes, XCX Logo NLA exclude obvious textures +tileModesExcluded = 0x001 +overwriteWidth = +overwriteHeight = -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 512 -#height = 512 -#formatsExcluded = -#overwriteWidth = -#overwriteWidth = - -[TextureRedefine] -width = 512 -height = 288 -#formatsExcluded = -overwriteWidth = -overwriteWidth = - -[TextureRedefine] -width = 426 -height = 240 -#formatsExcluded = -overwriteWidth = -overwriteWidth = - -[TextureRedefine] +[TextureRedefine] # q-res alpha (Previously not added due to potential conflict, please remove rule when using Xeno GCN4 workaround) width = 320 height = 180 -#formatsExcluded = -overwriteWidth = -overwriteWidth = +overwriteWidth = +overwriteHeight = -[TextureRedefine] +[TextureRedefine] # Gear menu +width = 1024 +height = 720 +formatsExcluded = 0x001 #in game movies, stasis +overwriteWidth = +overwriteHeight = + +[TextureRedefine] # Fog +width = 426 +height = 240 +overwriteWidth = +overwriteHeight = + +// vvvv credits to Getdls & GITech vvvv // + +[TextureRedefine] # Sun, Light Sources (plants, armor etc) +width = 512 +height = 288 +overwriteWidth = +overwriteHeight = + +[TextureRedefine] # "God rays" stencil res, lens reflections. +width = 256 +height = 144 +overwriteWidth = +overwriteHeight = + +[TextureRedefine]# Probe glow. Does not increase sample amount, only scales up width = 160 height = 90 -#formatsExcluded = -overwriteWidth = -overwriteWidth = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 128 -#height = 128 -#formatsExcluded = -#overwriteWidth = -#overwriteWidth = - -[TextureRedefine] +#formatsExcluded = 0x816 #fixed in shader +overwriteWidth = +overwriteHeight = + +[TextureRedefine]# should up-scale from 35 to keep aligment with other 16:9 buffers width = 80 height = 46 -#formatsExcluded = -overwriteWidth = -overwriteWidth = +#formatsExcluded = 0x816 #fixed in shader +overwriteWidth = +overwriteHeight = -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 64 -#height = 64 -#formatsExcluded = -#overwriteWidth = -#overwriteWidth = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 32 -#height = 32 -#formatsExcluded = -#overwriteWidth = -#overwriteWidth = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 8 -#height = 8 -#formatsExcluded = -#overwriteWidth = -#overwriteWidth = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 4 -#height = 4 -#formatsExcluded = -#overwriteWidth = -#overwriteWidth = - -#[TextureRedefine] #May unintentionally scale textures, check formatsExcluded -#width = 1 -#height = 1 -#formatsExcluded = -#overwriteWidth = -#overwriteWidth = +[TextureRedefine] #XCX shadow +width = 1024 +height = 1024 +formats = 0x005 +overwriteWidth = +overwriteHeight = + +[TextureRedefine] #XCX Dynamic shadow scale both same for smoother transitions +width = 512 +height = 512 +formats = 0x005 +overwriteWidth = +overwriteHeight =