Add Better Than Nothing to build script

This commit is contained in:
Michael 2017-10-18 21:31:14 -07:00
parent 8f5ec92a85
commit 061f14f444
9 changed files with 27 additions and 101 deletions

View File

@ -1,16 +0,0 @@
[Definition]
titleIds = 50000101c9600
name = "Mighty No. 9 - 640x360"
version = 2
[TextureRedefine]
width = 1280
height = 720
overwriteWidth = 640
overwriteHeight = 360
[TextureRedefine]
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240

View File

@ -1,16 +0,0 @@
[Definition]
titleIds = 50000101c9600
name = "Mighty No. 9 - 960x540"
version = 2
[TextureRedefine]
width = 1280
height = 720
overwriteWidth = 960
overwriteHeight = 540
[TextureRedefine]
width = 854
height = 480
overwriteWidth = 427
overwriteHeight = 240

View File

@ -1,17 +0,0 @@
[Definition]
titleIds = 50000101c9600
name = "Mighty No. 9 - 1920x1080"
version = 2
[TextureRedefine]
width = 1280
height = 720
overwriteWidth = 1920
overwriteHeight = 1080
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -1,17 +0,0 @@
[Definition]
titleIds = 50000101c9600
name = "Mighty No. 9 - 2560x1440"
version = 2
[TextureRedefine]
width = 1280
height = 720
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -1,17 +0,0 @@
[Definition]
titleIds = 50000101c9600
name = "Mighty No. 9 - 3200x1800"
version = 2
[TextureRedefine]
width = 1280
height = 720
overwriteWidth = 3200
overwriteHeight = 1800
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -1,17 +0,0 @@
[Definition]
titleIds = 50000101c9600
name = "Mighty No. 9 - 3840x2160"
version = 2
[TextureRedefine]
width = 1280
height = 720
overwriteWidth = 3840
overwriteHeight = 2160
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -46,4 +46,4 @@ overwriteHeight = <?=round($scaleFactorY*92)?>
width = 854
height = 480
#overwriteWidth = <?=round($scaleFactorX*1280)?>
#overwriteHeight = <?=round($scaleFactorY*720)?>
#overwriteHeight = <?=round($scaleFactorY*720)?>

View File

@ -0,0 +1,25 @@
<?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 = 00050000101C9600
name = "Mighty Number 9 - <?=$title?>"
version = 2
[TextureRedefine]
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)?>

View File

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