Add Twilight Princess to build script

This commit is contained in:
Michael 2017-10-18 20:55:21 -07:00
parent 919c17eac4
commit 364ed565da
21 changed files with 40 additions and 625 deletions

View File

@ -1,16 +0,0 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800
name = "Twilight Princess HD - 5120x2880"
version = 2
[TextureRedefine] # tv
width = 1920
height = 1080
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 2562
overwriteHeight = 1440

View File

@ -1,33 +0,0 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800
name = "Twilight Princess HD - 7680x4320"
version = 2
[TextureRedefine] #
width = 1920
height = 1080
formatsExcluded = 0x41A # exclude the intro background texture
overwriteWidth = 7680
overwriteHeight = 4320
[TextureRedefine] # Blur, bloom
width = 960
height = 540
#formatsExcluded =
overwriteWidth = 3840
overwriteHeight = 2160
#[TextureRedefine] #colour grading
#width = 480
#height = 270
#formats = 0x01a
#overwriteWidth = 1920
#overwriteHeight = 1080
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 2560
overwriteHeight = 1440

View File

@ -1,16 +0,0 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800
name = "Twilight Princess HD - 10240x5760"
version = 2
[TextureRedefine] # tv
width = 1920
height = 1080
overwriteWidth = 10240
overwriteHeight = 5760
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 2562
overwriteHeight = 1440

View File

@ -1,71 +0,0 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00,ffffffff0cd546a9
name = "Xenoblade Chronicles X - 5120x2880"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
tileModesExcluded = 0x001
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x033,0x432 # exclude obvious textures, dialog fade screen, Intro movie partial fix
tileModesExcluded = 0x001
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # q-res alpha (Previously not added due to potential conflict, please remove rule when using Xeno GCN4 workaround)
width = 320
height = 180
overwriteWidth = 1282
overwriteHeight = 1442
[TextureRedefine] # Gear menu
width = 1024
height = 720
overwriteWidth = 4096
overwriteHeight = 2880
[TextureRedefine] # Fog
width = 426
height = 240
overwriteWidth = 1704
overwriteHeight = 960
[TextureRedefine] # gamepad, scale in proportion to tv or probe list view breaks
width = 854
height = 480
overwriteWidth = 3416
overwriteHeight = 1920
// vvvv credits to Getdls & GITech vvvv //
[TextureRedefine] # Sun, Light Sources (plants, armor etc)
width = 512
height = 288
overwriteWidth = 2048
overwriteHeight = 1152
[TextureRedefine] # "God rays" size (not quality), lens reflections.
width = 256
height = 144
overwriteWidth = 1024
overwriteHeight = 576
#[TextureRedefine]# Probe glow. Does not increase sample amount, only scales up
#width = 160
#height = 90
#formatsExcluded = 0x816 #fix probe glow
#overwriteWidth = 642
#overwriteHeight = 362
#[TextureRedefine]# Probe Beacon glow.
#width = 80
#height = 46
#formatsExcluded = 0x816 #fix probe glow
#overwriteWidth = 320
#overwriteHeight = 184

View File

@ -1,71 +0,0 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00,ffffffff0cd546a9
name = "Xenoblade Chronicles X - 7680x4320"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
tileModesExcluded = 0x001
overwriteWidth = 7680
overwriteHeight = 4320
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x033,0x432 # exclude obvious textures, dialog fade screen, Intro movie partial fix
tileModesExcluded = 0x001
overwriteWidth = 3840
overwriteHeight = 2560
[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 = 1280
[TextureRedefine] # Gear menu
width = 1024
height = 720
overwriteWidth = 4096
overwriteHeight = 2880
[TextureRedefine] # Fog
width = 426
height = 240
overwriteWidth = 2556
overwriteHeight = 1440
[TextureRedefine] # gamepad, Scale proprotionally or probe list view breaks
width = 854
height = 480
overwriteWidth = 5124
overwriteHeight = 2880
// vvvv credits to Getdls & GITech vvvv //
[TextureRedefine] # Sun, Light Sources (plants, armor etc)
width = 512
height = 288
overwriteWidth = 3072
overwriteHeight = 1728
[TextureRedefine] # "God rays" size (not quality), lens reflections.
width = 256
height = 144
overwriteWidth = 1536
overwriteHeight = 864
#[TextureRedefine]# Probe glow. Does not increase sample amount, only scales up
#width = 160
#height = 90
#formatsExcluded = 0x816 #fix probe glow
#overwriteWidth = 960
#overwriteHeight = 540
#[TextureRedefine]# Probe Beacon glow.
#width = 80
#height = 46
#formatsExcluded = 0x816 #fix probe glow
#overwriteWidth = 480
#overwriteHeight = 276

View File

@ -1,71 +0,0 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00,ffffffff0cd546a9
name = "Xenoblade Chronicles X - 10240x5760"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
tileModesExcluded = 0x001
overwriteWidth = 10240
overwriteHeight = 5760
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A # exclude obvious textures
tileModesExcluded = 0x001
overwriteWidth = 5120
overwriteHeight = 2560
[TextureRedefine] # q-res alpha (Previously not added due to potential conflict, please remove rule when using Xeno GCN4 workaround)
width = 320
height = 180
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # Gear menu
width = 1024
height = 720
overwriteWidth = 4096
overwriteHeight = 2880
[TextureRedefine] # Fog
width = 426
height = 240
overwriteWidth = 3408
overwriteHeight = 1920
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 6832
overwriteHeight = 3840
// vvvv credits to Getdls & GITech vvvv //
[TextureRedefine] # Sun, Light Sources (plants, armor etc)
width = 512
height = 288
overwriteWidth = 4096
overwriteHeight = 2304
[TextureRedefine] # "God rays" size (not quality), lens reflections.
width = 256
height = 144
overwriteWidth = 2048
overwriteHeight = 1152
#[TextureRedefine]# Probe glow. Does not increase sample amount, only scales up
#width = 160
#height = 90
#formatsExcluded = 0x816 #fix probe glow
#overwriteWidth = 1282
#overwriteHeight = 722
#[TextureRedefine]# Probe Beacon glow.
#width = 80
#height = 46
#formatsExcluded = 0x816 #fix probe glow
#overwriteWidth = 640
#overwriteHeight = 368

View File

@ -1,22 +0,0 @@
[Definition]
titleIds = 0005000010184d00,
name = "Yoshi's Woolly World - 5120x2880"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 2562
#overwriteHeight = 1440

View File

@ -1,22 +0,0 @@
[Definition]
titleIds = 0005000010184d00,
name = "Yoshi's Woolly World - 7680x4320"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 7680
overwriteHeight = 4320
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 2562
#overwriteHeight = 1440

View File

@ -1,22 +0,0 @@
[Definition]
titleIds = 0005000010184d00,
name = "Yoshi's Woolly World - 10240x5760"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 10240
overwriteHeight = 5760
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 2562
#overwriteHeight = 1440

View File

@ -1,22 +0,0 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800
name = "Twilight Princess HD - 640x360"
version = 2
[TextureRedefine] # tv
width = 1920
height = 1080
overwriteWidth = 640
overwriteHeight = 360
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240
[TextureRedefine] # shadows
width = 384
height = 384
overwriteWidth = 192
overwriteHeight = 192

View File

@ -1,22 +0,0 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800
name = "Twilight Princess HD - 960x540"
version = 2
[TextureRedefine] # tv
width = 1920
height = 1080
overwriteWidth = 960
overwriteHeight = 540
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240
[TextureRedefine] # shadows
width = 384
height = 384
overwriteWidth = 192
overwriteHeight = 192

View File

@ -1,10 +0,0 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800
name = "Twilight Princess HD - 1280x720"
version = 2
[TextureRedefine] # tv
width = 1920
height = 1080
overwriteWidth = 1280
overwriteHeight = 720

View File

@ -1,71 +0,0 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00,ffffffff0cd546a9
name = "Xenoblade Chronicles X - 640x360"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
tileModesExcluded = 0x001
overwriteWidth = 640
overwriteHeight = 360
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A # exclude obvious textures
tileModesExcluded = 0x001
overwriteWidth = 322
overwriteHeight = 182
[TextureRedefine] # q-res alpha (Previously not added due to potential conflict, please remove rule when using Xeno GCN4 workaround)
width = 320
height = 180
overwriteWidth = 161
overwriteHeight = 91
[TextureRedefine] # Gear menu
width = 1024
height = 720
overwriteWidth = 512
overwriteHeight = 360
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240
[TextureRedefine] # Fog
width = 426
height = 240
overwriteWidth = 213
overwriteHeight = 120
// vvvv credits to Getdls & GITech vvvv //
[TextureRedefine] # Sun, Light Sources (plants, armor etc)
width = 512
height = 288
overwriteWidth = 258
overwriteHeight = 146
[TextureRedefine] # "God rays" size (not quality), lens reflections.
width = 256
height = 144
overwriteWidth = 123
overwriteHeight = 72
#[TextureRedefine]# Probe glow. Does not increase sample amount, only scales up
#width = 160
#height = 90
#formatsExcluded = 0x816 #fix probe glow
#overwriteWidth = 82
#overwriteHeight = 48
#[TextureRedefine]# Probe Beacon glow.
#width = 80
#height = 46
#formatsExcluded = 0x816 #fix probe glow
#overwriteWidth = 41
#overwriteHeight = 24

View File

@ -1,31 +0,0 @@
[Definition]
titleIds = 0005000010116100,00050000101C4C00,00050000101C4D00,ffffffff0cd546a9
name = "Xenoblade Chronicles X - 960x540"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
tileModesExcluded = 0x001
overwriteWidth = 960
overwriteHeight = 540
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A # exclude obvious textures
tileModesExcluded = 0x001
overwriteWidth = 480
overwriteHeight = 270
[TextureRedefine] # Gear menu
width = 1024
height = 720
overwriteWidth = 768
overwriteHeight = 540
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240

View File

@ -1,16 +0,0 @@
[Definition]
titleIds = 0005000010131F00,0005000010184E00,0005000010184D00
name = "Yoshi's Woolly World - 640x360"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 640
overwriteHeight = 360
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240

View File

@ -1,16 +0,0 @@
[Definition]
titleIds = 0005000010131F00,0005000010184E00,0005000010184D00
name = "Yoshi's Woolly World - 960x540"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 960
overwriteHeight = 540
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240

View File

@ -1,31 +0,0 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800
name = "Twilight Princess HD - 2560x1440"
version = 2
[TextureRedefine] # game rendering resolution
width = 1920
height = 1080
formatsExcluded = 0x41A # exclude the intro background texture
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # Blur, bloom
width = 960
height = 540
overwriteWidth = 1280
overwriteHeight = 720
#[TextureRedefine] #colour grading
#width = 480
#height = 270
#formats = 0x01a
#overwriteWidth = 640
#overwriteHeight = 360
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -1,31 +0,0 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800
name = "Twilight Princess HD - 3200x1800"
version = 2
[TextureRedefine] # game rendering resolution
width = 1920
height = 1080
formatsExcluded = 0x41A # exclude the intro background texture
overwriteWidth = 3200
overwriteHeight = 1800
[TextureRedefine] # Blur, bloom
width = 960
height = 540
overwriteWidth = 1600
overwriteHeight = 900
#[TextureRedefine] #colour grading
#width = 480
#height = 270
#formats = 0x01a
#overwriteWidth = 800
#overwriteHeight = 450
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -1,31 +0,0 @@
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500,0005000E1019C800
name = "Twilight Princess HD - 3840x2160"
version = 2
[TextureRedefine] # game rendering resolution
width = 1920
height = 1080
formatsExcluded = 0x41A # exclude the intro background texture
overwriteWidth = 3840
overwriteHeight = 2160
[TextureRedefine] # Blur, bloom
width = 960
height = 540
overwriteWidth = 1920
overwriteHeight = 1080
#[TextureRedefine] #colour grading
#width = 480
#height = 270
#formats = 0x01a
#overwriteWidth = 960
#overwriteHeight = 540
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -0,0 +1,39 @@
<?php
include 'Source/functions.php';
$fullWidth = $argv[1];
$fullHeight = $argv[2];
$scaleFactorX = $fullWidth / 1920.0;
$scaleFactorY = $fullHeight / 1080.0;
$title = get_title($fullWidth, $fullHeight);
?>
[Definition]
titleIds = 000500001019C800,000500001019E600,000500001019E500
name = "The Legend of Zelda: Twilight Princess HD - <?=$title?>"
version = 2
[TextureRedefine] # game rendering resolution
width = 1920
height = 1080
formatsExcluded = 0x41A # exclude the intro background texture
overwriteWidth = <?=round($scaleFactorX*1920)?>
overwriteHeight = <?=round($scaleFactorY*1080)?>
[TextureRedefine] # Blur, bloom
width = 960
height = 540
overwriteWidth = <?=round($scaleFactorX*960)?>
overwriteHeight = <?=round($scaleFactorY*540)?>
[TextureRedefine] #colour grading
width = 480
height = 270
formats = 0x01a
#overwriteWidth = <?=round($scaleFactorX*480)?>
#overwriteHeight = <?=round($scaleFactorY*270)?>
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = <?=round($scaleFactorX*1920)?>
#overwriteHeight = <?=round($scaleFactorY*1080)?>

View File

@ -99,6 +99,7 @@ std_respack "SonicLostWorld" "${res16by9[@]}" "${res21by9[@]}"
std_respack "Splatoon" "${res16by9[@]}" "${res21by9[@]}" std_respack "Splatoon" "${res16by9[@]}" "${res21by9[@]}"
std_respack "SuperMario3DWorld" "${res16by9[@]}" "${res21by9[@]}" std_respack "SuperMario3DWorld" "${res16by9[@]}" "${res21by9[@]}"
std_respack "SuperSmashBros" "${res16by9[@]}" std_respack "SuperSmashBros" "${res16by9[@]}"
std_respack "TwilightPrincessHD" "${res16by9[@]}"
std_respack "WindWakerHD" "${res16by9[@]}" "${res21by9[@]}" std_respack "WindWakerHD" "${res16by9[@]}" "${res21by9[@]}"
std_respack "WoollyWorld" "${res16by9[@]}" "${res21by9[@]}" std_respack "WoollyWorld" "${res16by9[@]}" "${res21by9[@]}"
std_respack "XenobladeX" "${res16by9[@]}" "${res21by9[@]}" std_respack "XenobladeX" "${res16by9[@]}" "${res21by9[@]}"