Add Pac-Man to build script

This commit is contained in:
Michael 2017-10-18 22:07:06 -07:00
parent efe74137c0
commit 715ef0f793
14 changed files with 93 additions and 379 deletions

3
.gitignore vendored Normal file
View File

@ -0,0 +1,3 @@
#Enthusiast
#Performance
#Quality

View File

@ -1,37 +0,0 @@
[Definition]
titleIds = 000500001017e600,000500001017e500
name = "Pac-Man and the Ghostly Adventures 2 - 5120x2880"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
formatsExcluded = 0x033 # exclude title screen background
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # half-res
width = 640
height = 360
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # q-res
width = 320
height = 180
overwriteWidth = 1281
overwriteHeight = 721
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 2562
#overwriteHeight = 1440

View File

@ -1,37 +0,0 @@
[Definition]
titleIds = 000500001017e600,000500001017e500
name = "Pac-Man and the Ghostly Adventures 2 - 7680x4320"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
formatsExcluded = 0x033 # exclude title screen background
overwriteWidth = 7680
overwriteHeight = 4320
[TextureRedefine] # half-res
width = 640
height = 360
overwriteWidth = 3840
overwriteHeight = 2160
[TextureRedefine] # q-res
width = 320
height = 180
overwriteWidth = 1920
overwriteHeight = 1079
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 2562
#overwriteHeight = 1440

View File

@ -1,37 +0,0 @@
[Definition]
titleIds = 000500001017e600,000500001017e500
name = "Pac-Man and the Ghostly Adventures 2 - 10240x5760"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
formatsExcluded = 0x033 # exclude title screen background
overwriteWidth = 10240
overwriteHeight = 5760
[TextureRedefine] # half-res
width = 640
height = 360
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # q-res
width = 320
height = 180
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 2562
#overwriteHeight = 1440

View File

@ -1,42 +0,0 @@
[Definition]
titleIds = 0005000010146300,0005000010147900
name = "Pac-Man and the Ghostly Adventures - 5120x2880"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
formatsExcluded = 0x031,0x033
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # half-res
width = 640
height = 360
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] # q-res
width = 320
height = 180
overwriteWidth = 1280
overwriteHeight = 721
[TextureRedefine] #o-res
width = 160
height = 90
overwriteWidth = 640
overwriteHeight = 361
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 2562
#overwriteHeight = 1440

View File

@ -1,41 +0,0 @@
[Definition]
titleIds = 0005000010146300,0005000010147900
name = "Pac-Man and the Ghostly Adventures - 7680x4320"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 7680
overwriteHeight = 4320
[TextureRedefine] # half-res
width = 640
height = 360
overwriteWidth = 3840
overwriteHeight = 2160
[TextureRedefine] # q-res
width = 320
height = 180
overwriteWidth = 1920
overwriteHeight = 1079
[TextureRedefine] #o-res
width = 160
height = 90
overwriteWidth = 960
overwriteHeight = 540
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 2562
#overwriteHeight = 1440

View File

@ -1,41 +0,0 @@
[Definition]
titleIds = 0005000010146300,0005000010147900
name = "Pac-Man and the Ghostly Adventures - 10240x5760"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
overwriteWidth = 10240
overwriteHeight = 5760
[TextureRedefine] # half-res
width = 640
height = 360
overwriteWidth = 5120
overwriteHeight = 2880
[TextureRedefine] # q-res
width = 320
height = 180
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine] #o-res
width = 160
height = 90
overwriteWidth = 1280
overwriteHeight = 721
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 2562
#overwriteHeight = 1440

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010146300,0005000010147900,000500001014F300,000500001017E600,000500001017E500,0005000010182300
name = "PAC-MAN & the Ghostly Adventures 1 & 2 - 1920x1080"
version = 2
[TextureRedefine]
width = 1280
height = 720
formatsExcluded = 0x031,0x033
overwriteWidth = 1920
overwriteHeight = 1080
[TextureRedefine]
width = 640
height = 360
overwriteWidth = 960
overwriteHeight = 540
[TextureRedefine]
width = 320
height = 180
overwriteWidth = 480
overwriteHeight = 270
[TextureRedefine]
width = 160
height = 90
overwriteWidth = 240
overwriteHeight = 135
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010146300,0005000010147900,000500001014F300,000500001017E600,000500001017E500,0005000010182300
name = "PAC-MAN & the Ghostly Adventures 1 & 2 - 2560x1440"
version = 2
[TextureRedefine]
width = 1280
height = 720
formatsExcluded = 0x031,0x033
overwriteWidth = 2560
overwriteHeight = 1440
[TextureRedefine]
width = 640
height = 360
overwriteWidth = 1280
overwriteHeight = 720
[TextureRedefine]
width = 320
height = 180
overwriteWidth = 640
overwriteHeight = 360
[TextureRedefine]
width = 160
height = 90
overwriteWidth = 320
overwriteHeight = 180
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010146300,0005000010147900,000500001014F300,000500001017E600,000500001017E500,0005000010182300
name = "PAC-MAN & the Ghostly Adventures 1 & 2 - 3200x1800"
version = 2
[TextureRedefine]
width = 1280
height = 720
formatsExcluded = 0x031,0x033
overwriteWidth = 3200
overwriteHeight = 1800
[TextureRedefine]
width = 640
height = 360
overwriteWidth = 1600
overwriteHeight = 900
[TextureRedefine]
width = 320
height = 180
overwriteWidth = 800
overwriteHeight = 450
[TextureRedefine]
width = 160
height = 90
overwriteWidth = 400
overwriteHeight = 225
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -1,36 +0,0 @@
[Definition]
titleIds = 0005000010146300,0005000010147900,000500001014F300,000500001017E600,000500001017E500,0005000010182300
name = "PAC-MAN & the Ghostly Adventures 1 & 2 - 3840x2160"
version = 2
[TextureRedefine]
width = 1280
height = 720
formatsExcluded = 0x031,0x033 # 33 = pacman 1 title screen + pacman 2 / pacman 2 menu
overwriteWidth = 3840
overwriteHeight = 2160
[TextureRedefine]
width = 640
height = 360
overwriteWidth = 1920
overwriteHeight = 1080
[TextureRedefine]
width = 320
height = 180
overwriteWidth = 960
overwriteHeight = 540
[TextureRedefine]
width = 160
height = 90
overwriteWidth = 480
overwriteHeight = 270
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = 1920
#overwriteHeight = 1080

View File

@ -0,0 +1,44 @@
<?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 = 0005000010146300,0005000010147900
name = "Pac-Man and the Ghostly Adventures - <?=$title?>"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
formatsExcluded = 0x031,0x033
overwriteWidth = <?=round($scaleFactorX*1280)?>
overwriteHeight = <?=round($scaleFactorY*720)?>
[TextureRedefine] # half-res
width = 640
height = 360
overwriteWidth = <?=round($scaleFactorX*640)?>
overwriteHeight = <?=round($scaleFactorY*360)?>
[TextureRedefine] # q-res
width = 320
height = 180
overwriteWidth = <?=round($scaleFactorX*320)?>
overwriteHeight = <?=round($scaleFactorY*180)?>
[TextureRedefine] #o-res
width = 160
height = 90
overwriteWidth = <?=round($scaleFactorX*160)?>
overwriteHeight = <?=round($scaleFactorY*90)?>
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = <?=round($scaleFactorX*1280)?>
#overwriteHeight = <?=round($scaleFactorY*720)?>

View File

@ -0,0 +1,44 @@
<?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 = 000500001017E600,000500001017E500
name = "Pac-Man and the Ghostly Adventures 2 - <?=$title?>"
version = 2
[TextureRedefine] # tv
width = 1280
height = 720
formatsExcluded = 0x031,0x033
overwriteWidth = <?=round($scaleFactorX*1280)?>
overwriteHeight = <?=round($scaleFactorY*720)?>
[TextureRedefine] # half-res
width = 640
height = 360
overwriteWidth = <?=round($scaleFactorX*640)?>
overwriteHeight = <?=round($scaleFactorY*360)?>
[TextureRedefine] # q-res
width = 320
height = 180
overwriteWidth = <?=round($scaleFactorX*320)?>
overwriteHeight = <?=round($scaleFactorY*180)?>
[TextureRedefine] #o-res
width = 160
height = 90
overwriteWidth = <?=round($scaleFactorX*160)?>
overwriteHeight = <?=round($scaleFactorY*90)?>
[TextureRedefine] # gamepad
width = 854
height = 480
#overwriteWidth = <?=round($scaleFactorX*1280)?>
#overwriteHeight = <?=round($scaleFactorY*720)?>

View File

@ -91,6 +91,8 @@ std_respack "BreathOfTheWild" "${res16by9[@]}" "${res21by9[@]}"
std_respack "CaptainToad" "${res16by9[@]}" "${res21by9[@]}" std_respack "CaptainToad" "${res16by9[@]}" "${res21by9[@]}"
std_respack "ColorSplash" "${res16by9[@]}" std_respack "ColorSplash" "${res16by9[@]}"
std_respack "FistoftheNorthStar" "${res16by9[@]}" std_respack "FistoftheNorthStar" "${res16by9[@]}"
std_respack "GhostlyAdventures" "${res16by9[@]}"
std_respack "GhostlyAdventures2" "${res16by9[@]}"
std_respack "HyruleWarriors" "${res16by9[@]}" std_respack "HyruleWarriors" "${res16by9[@]}"
std_respack "KirbyRainbowCurse" "${res16by9[@]}" std_respack "KirbyRainbowCurse" "${res16by9[@]}"
std_respack "MarioKart8" "${res16by9[@]}" "${res21by9[@]}" std_respack "MarioKart8" "${res16by9[@]}" "${res21by9[@]}"