From f47a0bfdbc33039819d99f8796d3cc75cb7b10b8 Mon Sep 17 00:00:00 2001 From: Christopher Roy Bratusek Date: Sat, 22 Jun 2013 19:02:37 +0200 Subject: [PATCH] prepare for IPS stuff/now game notes --- patchimage.sh | 13 +++++++++++++ script.d/anothersmb.sh | 6 +++++- script.d/common.sh | 4 ++++ script.d/newerholiday.sh | 6 +++++- script.d/newersmb.sh | 6 +++++- script.d/newersummersun.sh | 5 ++++- 6 files changed, 36 insertions(+), 4 deletions(-) diff --git a/patchimage.sh b/patchimage.sh index c032c89..987309d 100755 --- a/patchimage.sh +++ b/patchimage.sh @@ -33,6 +33,10 @@ case ${GAME} in source script.d/newerholiday.sh ;; + e | E | ParallelWorlds | "The Legend of Zelda: Parallel Worlds" ) + source script.d/parallelworlds.sh + ;; + * ) echo -e "specified Game ${GAME} not recognized" exit 1 @@ -64,4 +68,13 @@ case ${GAME_TYPE} in ${WIT} cp -v -B ${WORKDIR} ${GAMEID}.wbfs -vv --disc-id=${GAMEID} ${TMD_OPTS} --name "${GAMENAME}" fi ;; + + "IPS" ) + show_notes + check_input_rom + check_input_rom_special + check_ips_patch + + ${IPS} a ${PATCH} ${ROM} + ;; esac diff --git a/script.d/anothersmb.sh b/script.d/anothersmb.sh index bd1a69c..4e20452 100644 --- a/script.d/anothersmb.sh +++ b/script.d/anothersmb.sh @@ -16,7 +16,11 @@ show_notes () { echo -e \ "************************************************ -Another Super Mario Brothers Wii 2.0 +${GAMENAME} + +Another Super Mario Bros. Wii is a simple mod created by Skawo and +released in December 2010 which includes a full set of new levels with +the same themes as the original game. Source: http://www.newerteam.com/specials.html Base Image: New Super Mario Bros. Wii (SMN?01) diff --git a/script.d/common.sh b/script.d/common.sh index da27c0d..1c43994 100644 --- a/script.d/common.sh +++ b/script.d/common.sh @@ -6,8 +6,12 @@ setup_tools () { if [[ $(uname -m) == "x86_64" ]]; then WIT=tools/wit.64 + PPF=tools/applyppf3.64 + IPS=tools/uips.64 else WIT=tools/wit.32 + PPF=tools/applyppf3.32 + IPS=tools/uips.32 fi } diff --git a/script.d/newerholiday.sh b/script.d/newerholiday.sh index 9ad5f68..8421850 100644 --- a/script.d/newerholiday.sh +++ b/script.d/newerholiday.sh @@ -16,7 +16,11 @@ show_notes () { echo -e \ "************************************************ -Newer: Holiday Special +${GAMENAME} + +Newer: Holiday Special is a frosty adventure created to celebrate +Christmas 2011. Explore 8 of the coldest levels you'll ever see, set +to chilly music and new, icy textures! Source: http://www.newerteam.com/specials.html Base Image: New Super Mario Bros. Wii (SMN?01) diff --git a/script.d/newersmb.sh b/script.d/newersmb.sh index 99edd47..2400987 100644 --- a/script.d/newersmb.sh +++ b/script.d/newersmb.sh @@ -16,7 +16,11 @@ show_notes () { echo -e \ "************************************************ -NewerSMB +${GAMENAME} + +Newer is a full unofficial sequel to New Super Mario Bros. Wii, crafted +over the span of 3 years by a team of devoted Nintendo fans. Playable +legally on any homebrew-enabled Wii; no piracy or hardware mods needed. Source: http://www.newerteam.com/ Base Image: New Super Mario Bros. Wii (SMN?01) diff --git a/script.d/newersummersun.sh b/script.d/newersummersun.sh index 60c4012..01c1f5f 100644 --- a/script.d/newersummersun.sh +++ b/script.d/newersummersun.sh @@ -16,7 +16,10 @@ show_notes () { echo -e \ "************************************************ -Newer Summer Sun +${GAMENAME} + +Newer: Summer Sun is a short game with a hot theme, originally released +in Summer 2012. It features 23 new levels and some fresh music! Source: http://www.newerteam.com/specials.html Base Image: New Super Mario Bros. Wii (SMN?01)