From a07a368d8b626be768d73c1bba336c6be2289c85 Mon Sep 17 00:00:00 2001
From: getdls <cztemplatetest@gmail.com>
Date: Sat, 4 Mar 2017 02:53:34 +0100
Subject: [PATCH] XCX probe and dialog fix (#35)

* XCX probe and dialog fix

FIX Dialog will fade instead of black screen
FIX Gamepad probe no longer breaks
FIX Intro movie plays instead of green screen. Decoding is mostly broken

* Ghost Blade HD  (2160p)

Ghost Blade HD 3x scale 2160
---
 Enthusiast/XCX_2880p/rules.txt       |  8 ++++----
 Enthusiast/XCX_4320p/rules.txt       |  8 ++++----
 Quality/GhostBladeHD_2160p/rules.txt | 15 +++++++++++++++
 3 files changed, 23 insertions(+), 8 deletions(-)
 create mode 100644 Quality/GhostBladeHD_2160p/rules.txt

diff --git a/Enthusiast/XCX_2880p/rules.txt b/Enthusiast/XCX_2880p/rules.txt
index 48baaae9..3fc5d985 100644
--- a/Enthusiast/XCX_2880p/rules.txt
+++ b/Enthusiast/XCX_2880p/rules.txt
@@ -11,7 +11,7 @@ overwriteHeight = 2880
 [TextureRedefine] # half-res alpha
 width = 640
 height = 360
-formatsExcluded = 0x41A # exclude obvious textures
+formatsExcluded = 0x41A, 0x033, 0x001  # exclude obvious textures, dialog fade screen,  Intro movie partial fix 
 overwriteWidth = 2560
 overwriteHeight = 1440
 
@@ -33,11 +33,11 @@ height = 240
 overwriteWidth = 1704
 overwriteHeight = 960
 
-[TextureRedefine] # gamepad
+[TextureRedefine] # gamepad, scale in proportion to tv or probe list view breaks
 width = 854
 height = 480
-overwriteWidth = 2560
-overwriteHeight = 1440
+overwriteWidth = 3413
+overwriteHeight = 1920
 
 // vvvv credits to Getdls & GITech vvvv //
 
diff --git a/Enthusiast/XCX_4320p/rules.txt b/Enthusiast/XCX_4320p/rules.txt
index a073a0e3..916b6717 100644
--- a/Enthusiast/XCX_4320p/rules.txt
+++ b/Enthusiast/XCX_4320p/rules.txt
@@ -11,7 +11,7 @@ overwriteHeight = 4320
 [TextureRedefine] # half-res alpha
 width = 640
 height = 360
-formatsExcluded = 0x41A # exclude obvious textures
+formatsExcluded = 0x41A, 0x033, 0x001  # exclude obvious textures, dialog fade screen,  Intro movie partial fix 
 overwriteWidth = 3840
 overwriteHeight = 2560
 
@@ -33,11 +33,11 @@ height = 240
 overwriteWidth = 2556
 overwriteHeight = 1440
 
-[TextureRedefine] # gamepad
+[TextureRedefine] # gamepad,  Scale proprotionally or probe list view breaks
 width = 854
 height = 480
-overwriteWidth = 2562
-overwriteHeight = 1440
+overwriteWidth = 5120
+overwriteHeight = 2880
 
 // vvvv credits to Getdls & GITech vvvv //
 
diff --git a/Quality/GhostBladeHD_2160p/rules.txt b/Quality/GhostBladeHD_2160p/rules.txt
new file mode 100644
index 00000000..29d29966
--- /dev/null
+++ b/Quality/GhostBladeHD_2160p/rules.txt
@@ -0,0 +1,15 @@
+[Definition]# USA title		# Set GPU buffer accuracy to High
+titleIds = 50000101ffc00 #		
+name = "Ghost Blade HD  - 3x scale (2160p)" #		
+		
+[TextureRedefine] # internal resolution x3
+width =	1280	#
+height = 	720	#
+overwriteWidth = 	3840	#
+overwriteHeight = 	2160	#
+
+[TextureRedefine] # gamepad view resolution. No point in rendering, just mirrors screen. 
+width =	854	#
+height =	480	#
+overwriteWidth =	256 #Nearest integer
+overwriteHeight =	144	#
\ No newline at end of file