From a022b9c2f2c7753649da61c2f123ebb4f012b3ea Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Tue, 2 Jul 2013 20:20:20 +0200 Subject: [PATCH] prepare for Epic Super Bowser World --- patchimage.sh | 6 +++++- script.d/common.sh | 9 ++++++--- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/patchimage.sh b/patchimage.sh index 4984dc0..f50bf17 100755 --- a/patchimage.sh +++ b/patchimage.sh @@ -35,7 +35,11 @@ case ${GAME} in # e preserved for canon smbw - f | F | ParallelWorlds | "The Legend of Zelda: Parallel Worlds" ) + f | F | ESBW | "Epic Super Bowser World" ) + source script.d/epicbowserworld.sh + ;; + + g | G | ParallelWorlds | "The Legend of Zelda: Parallel Worlds" ) source script.d/parallelworlds.sh ;; diff --git a/script.d/common.sh b/script.d/common.sh index 6f7d68f..b67e387 100644 --- a/script.d/common.sh +++ b/script.d/common.sh @@ -1,7 +1,8 @@ #!/bin/bash TMD_OPTS="--tt-id=K" -TMP_FILES=(Another Another_Super_Mario_Brothers_Wii_2.0.zip nsmb.d Newer_Super_Mario_Bros._Wii_HS.zip XmasNewer NewerSMBW.zip NewerFiles "Newer Summer Sun" Newer_Summer_Sun.zip ZPW_1.1.ips lozpw110.rar "*[Ll]ink*[Pp]ast*smc") +TMP_FILES=(Another Another_Super_Mario_Brothers_Wii_2.0.zip nsmb.d Newer_Super_Mario_Bros._Wii_HS.zip XmasNewer NewerSMBW.zip NewerFiles "Newer Summer Sun" Newer_Summer_Sun.zip ZPW_1.1.ips lozpw110.rar "*[Ll]ink*[Pp]ast*smc" Epic_Super_Bowser_World_v1.00 Epic_Super_Bowser_World_v1.00.zip) +DL_BANNER=FALSE setup_tools () { @@ -45,8 +46,10 @@ A NewerSMB B Newer Summer Sun C AnotherSMB D Newer: Holiday Special +XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX (coming soon) +F Epic Super Bowser World -F The Legend of Zelda: Parallel Worlds +G The Legend of Zelda: Parallel Worlds " read GAME @@ -82,7 +85,7 @@ download_banner () { apply_banner () { - if [[ -e ${BANNER} ]]; then + if [[ ${BANNER} && -e ${BANNER} ]]; then cp "${BANNER}" "${BANNER_LOCATION}" else echo "specified banner ${BANNER} does not exist, not modifying"