Hyrule Warriors Ultrawide (#169)

* Add patches for ultrawide HyruleWarriors

Credits go to Xalphenos!!

* Extra space seems to be needed to build correctly

* add 21:9 HyruleWarriors to build.sh
This commit is contained in:
nosklo 2018-01-25 19:26:25 -02:00 committed by Michael
parent c9e025ba74
commit da1b263604
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,20 @@
<?php
$width = $argv[1];
$height = $argv[2];
$aspect = $width / (float)$height;
if (round($aspect*100.0) == 178)
exit(1);
$aspect = number_format((float)$aspect, 3, '.', '');
?>
[HyruleWarriors_219v208]
moduleMatches = 0xE159AE91
#rodata constant changes
0x1009609C = .float <?=$aspect?>
0x10096124 = .float <?=$aspect?>
0x10096948 = .float <?=$aspect?>
0x10096974 = .float <?=$aspect?>

View File

@ -138,7 +138,7 @@ std_respack "GhostBladeHD" "${res16by9[@]/$just720p}"
std_respack "GhostlyAdventures" "${res16by9[@]/$just720p}"
std_respack "GhostlyAdventures2" "${res16by9[@]/$just720p}"
std_respack "Guacamelee" "${res16by9[@]/$just720p}"
std_respack "HyruleWarriors" "${res16by9[@]/$just720p}"
std_respack "HyruleWarriors" "${res16by9[@]/$just720p}" "${res21by9[@]}" "${res48by9[@]}"
std_respack "InfinityRunner" "${res16by9[@]/$just720p}"
std_respack "KamenRider" "${res16by9[@]/$just720p}"
std_respack "KickandFennick" "${res16by9[@]/$just720p}"