Add Nintendo Land to build script

This commit is contained in:
Michael 2017-10-18 21:53:26 -07:00
parent 9526f52f20
commit 82c9206f73
11 changed files with 46 additions and 338 deletions

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - 5120x2880"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # half-res alpha (gamepad)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 2560
overwriteHeight = 1440

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - 7680x4320"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 7680
overwriteHeight = 4320
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 7680
overwriteHeight = 4320
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = 7680
overwriteHeight = 4320
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 3840
overwriteHeight = 2160
[TextureRedefine] # half-res alpha (gamepad)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 3840
overwriteHeight = 2160

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - 10240x5760"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 10240
overwriteHeight = 5760
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 10240
overwriteHeight = 5760
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = 10240
overwriteHeight = 5760
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # half-res alpha (gamepad)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 5120
overwriteHeight = 2880

View File

@ -1,43 +0,0 @@
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - 640x360"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 640
overwriteHeight = 360
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = 424
overwriteHeight = 240
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 320
overwriteHeight = 180
[TextureRedefine] # half-res alpha (gamepad)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 212
overwriteHeight = 120
[TextureRedefine]
width = 2048
height = 2048
formats = 0x005
overwriteWidth = 1024
overwriteHeight = 1024

View File

@ -1,43 +0,0 @@
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - 960x540"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 960
overwriteHeight = 540
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = 424
overwriteHeight = 240
[TextureRedefine] # half-res alpha
width = 640
height = 540
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 480
overwriteHeight = 270
[TextureRedefine] # half-res alpha (gamepad)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 212
overwriteHeight = 120
[TextureRedefine]
width = 2048
height = 2048
formats = 0x005
overwriteWidth = 1024
overwriteHeight = 1024

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - 1920x1080"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 1920
overwriteHeight = 1080
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 1920
overwriteHeight = 1080
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = 1920
overwriteHeight = 1080
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 960
overwriteHeight = 540
[TextureRedefine] # half-res alpha (gamepad)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 960
overwriteHeight = 540

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - 2560x1440"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 1280
overwriteHeight = 720
[TextureRedefine] # half-res alpha (gamepad)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 1280
overwriteHeight = 720

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - 3200x1800"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 3200
overwriteHeight = 1800
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 3200
overwriteHeight = 1800
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = 3200
overwriteHeight = 1800
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 1600
overwriteHeight = 900
[TextureRedefine] # half-res alpha (gamepad)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 1600
overwriteHeight = 900

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - 3840x2160"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 3840
overwriteHeight = 2160
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = 3840
overwriteHeight = 2160
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = 3840
overwriteHeight = 2160
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 1920
overwriteHeight = 1080
[TextureRedefine] # half-res alpha (multiplayer)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = 1920
overwriteHeight = 1080

View File

@ -0,0 +1,45 @@
<?php
include 'Source/functions.php';
$fullWidth = $argv[1];
$fullHeight = $argv[2];
$scaleFactorX = $fullWidth / 1280.0;
$scaleFactorY = $fullHeight / 720.0;
$title = get_title($fullWidth, $fullHeight);
?>
[Definition]
titleIds = 0005000010101F00,0005000010102000,0005000010102100
name = "Nintendo Land - <?=$title?>"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = <?=round($scaleFactorX*1280)?>
overwriteHeight = <?=round($scaleFactorY*720)?>
[TextureRedefine] # gamepad
width = 854
height = 480
overwriteWidth = <?=round($scaleFactorX*1280)?>
overwriteHeight = <?=round($scaleFactorY*720)?>
[TextureRedefine] # gamepad
width = 848
height = 480
overwriteWidth = <?=round($scaleFactorX*1280)?>
overwriteHeight = <?=round($scaleFactorY*720)?>
[TextureRedefine] # half-res alpha
width = 640
height = 360
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = <?=round($scaleFactorX*640)?>
overwriteHeight = <?=round($scaleFactorY*360)?>
[TextureRedefine] # half-res alpha (gamepad)
width = 424
height = 240
formatsExcluded = 0x41A,0x431 # exclude obvious textures
overwriteWidth = <?=round($scaleFactorX*640)?>
overwriteHeight = <?=round($scaleFactorY*360)?>

View File

@ -96,6 +96,7 @@ std_respack "KirbyRainbowCurse" "${res16by9[@]}"
std_respack "MarioKart8" "${res16by9[@]}" "${res21by9[@]}"
std_respack "MarioTennis" "${res16by9[@]}"
std_respack "MightyNumber9" "${res16by9[@]}"
std_respack "NintendoLand" "${res16by9[@]}"
std_respack "PokkenTournament" "${res16by9[@]}"
std_respack "SonicLostWorld" "${res16by9[@]}" "${res21by9[@]}"
std_respack "Splatoon" "${res16by9[@]}" "${res21by9[@]}"