mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-11-26 03:24:15 +01:00
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:
parent
c9e025ba74
commit
da1b263604
20
Source/HyruleWarriors/patches.txt
Normal file
20
Source/HyruleWarriors/patches.txt
Normal 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?>
|
2
build.sh
2
build.sh
@ -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}"
|
||||
|
Loading…
Reference in New Issue
Block a user