mirror of
https://github.com/cemu-project/cemu_graphic_packs.git
synced 2024-12-23 16:31:50 +01:00
Merge pull request #119 from rajkosto/arraydel
This commit is contained in:
commit
f7a14e03ad
66
build.sh
66
build.sh
@ -76,7 +76,7 @@ std_respack () {
|
|||||||
#height="${subparams[1]}"
|
#height="${subparams[1]}"
|
||||||
#echo "$arrg w: $width h: $height inFolder: $inFolder outFolder: $outFolder"
|
#echo "$arrg w: $width h: $height inFolder: $inFolder outFolder: $outFolder"
|
||||||
build_dir "$inFolder" "$outFolder" "${subparams[@]}"
|
build_dir "$inFolder" "$outFolder" "${subparams[@]}"
|
||||||
else
|
elif [ -n "$arrg" ]; then #only if requested resolution name not empty (which happens when you remove array elem naively)
|
||||||
echo "$arrg resolution not defined, define it in build.sh"
|
echo "$arrg resolution not defined, define it in build.sh"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
@ -85,35 +85,37 @@ std_respack () {
|
|||||||
|
|
||||||
res16by9=( "360p" "480p" "540p" "720p" "900p" "1080p" "1440p" "1800p" "2160p" "2880p" "4320p" "5760p" )
|
res16by9=( "360p" "480p" "540p" "720p" "900p" "1080p" "1440p" "1800p" "2160p" "2880p" "4320p" "5760p" )
|
||||||
res21by9=( "1080p219" "1440p219" "2160p219" )
|
res21by9=( "1080p219" "1440p219" "2160p219" )
|
||||||
|
just720p=( "720p" )
|
||||||
|
just1080p=( "1080p" )
|
||||||
|
|
||||||
std_respack "Bayonetta" "${res16by9[@]}"
|
std_respack "Bayonetta" "${res16by9[@]/$just720p}"
|
||||||
std_respack "Bayonetta2" "${res16by9[@]}"
|
std_respack "Bayonetta2" "${res16by9[@]/$just720p}"
|
||||||
std_respack "BreathOfTheWild" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "BreathOfTheWild" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||||
std_respack "CaptainToad" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "CaptainToad" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||||
std_respack "ColorSplash" "${res16by9[@]}"
|
std_respack "ColorSplash" "${res16by9[@]/$just720p}"
|
||||||
std_respack "FistoftheNorthStar" "${res16by9[@]}"
|
std_respack "FistoftheNorthStar" "${res16by9[@]/$just720p}"
|
||||||
std_respack "GhostlyAdventures" "${res16by9[@]}"
|
std_respack "GhostlyAdventures" "${res16by9[@]/$just720p}"
|
||||||
std_respack "GhostlyAdventures2" "${res16by9[@]}"
|
std_respack "GhostlyAdventures2" "${res16by9[@]/$just720p}"
|
||||||
std_respack "Guacamelee" "${res16by9[@]}"
|
std_respack "Guacamelee" "${res16by9[@]/$just720p}"
|
||||||
std_respack "HyruleWarriors" "${res16by9[@]}"
|
std_respack "HyruleWarriors" "${res16by9[@]/$just720p}"
|
||||||
std_respack "KirbyRainbowCurse" "${res16by9[@]}"
|
std_respack "KirbyRainbowCurse" "${res16by9[@]/$just720p}"
|
||||||
std_respack "MarioKart8" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "MarioKart8" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||||
std_respack "MarioTennis" "${res16by9[@]}"
|
std_respack "MarioTennis" "${res16by9[@]/$just720p}"
|
||||||
std_respack "MightyNumber9" "${res16by9[@]}"
|
std_respack "MightyNumber9" "${res16by9[@]/$just720p}"
|
||||||
std_respack "NintendoLand" "${res16by9[@]}"
|
std_respack "NintendoLand" "${res16by9[@]/$just720p}"
|
||||||
std_respack "PokkenTournament" "${res16by9[@]}"
|
std_respack "PokkenTournament" "${res16by9[@]/$just720p}"
|
||||||
std_respack "SonicLostWorld" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "SonicLostWorld" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||||
std_respack "Splatoon" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "Splatoon" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||||
std_respack "SpongeBob" "${res16by9[@]}"
|
std_respack "SpongeBob" "${res16by9[@]/$just720p}"
|
||||||
std_respack "StarFoxGuard" "${res16by9[@]}"
|
std_respack "StarFoxGuard" "${res16by9[@]/$just720p}"
|
||||||
std_respack "StarFoxZero" "${res16by9[@]}"
|
std_respack "StarFoxZero" "${res16by9[@]/$just720p}"
|
||||||
std_respack "SuperMario3DWorld" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "SuperMario3DWorld" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||||
std_respack "SuperSmashBros" "${res16by9[@]}"
|
std_respack "SuperSmashBros" "${res16by9[@]/$just1080p}"
|
||||||
std_respack "Tekken" "${res16by9[@]}"
|
std_respack "Tekken" "${res16by9[@]/$just720p}"
|
||||||
std_respack "TropicalFreeze" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "TropicalFreeze" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||||
std_respack "TwilightPrincessHD" "${res16by9[@]}"
|
std_respack "TwilightPrincessHD" "${res16by9[@]/$just1080p}"
|
||||||
std_respack "WarriorsOrochi3" "${res16by9[@]}"
|
std_respack "WarriorsOrochi3" "${res16by9[@]/$just720p}"
|
||||||
std_respack "WindWakerHD" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "WindWakerHD" "${res16by9[@]/$just1080p}" "${res21by9[@]}"
|
||||||
std_respack "Wonderful101" "${res16by9[@]}"
|
std_respack "Wonderful101" "${res16by9[@]/$just720p}"
|
||||||
std_respack "WoollyWorld" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "WoollyWorld" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||||
std_respack "XenobladeX" "${res16by9[@]}" "${res21by9[@]}"
|
std_respack "XenobladeX" "${res16by9[@]/$just720p}" "${res21by9[@]}"
|
||||||
|
Loading…
Reference in New Issue
Block a user