diff --git a/ChangeLog b/ChangeLog index f94a116..978b77d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,6 @@ v5.5.0: --add support for MKWiimm 2015-05 +- update szs to version 1.40a +- add support for MKWiimm 2015-05 v5.4.0: - fixed major bug creating MKWiimm: image was not saved to proper diff --git a/patchimage.sh b/patchimage.sh index 25ce972..23d22fa 100755 --- a/patchimage.sh +++ b/patchimage.sh @@ -127,6 +127,10 @@ case ${GAME} in source ${PATCHIMAGE_SCRIPT_DIR}/newsmbwotherworld.sh ;; + NSMB99 | NSMBWCharacters ) + source ${PATCHIMAGE_SCRIPT_DIR}/nsmbw_characters.sh + ;; + MKW1 | Wiimmfi ) source ${PATCHIMAGE_SCRIPT_DIR}/wiimmfi.sh ;; diff --git a/script.d/common.sh b/script.d/common.sh index 11d19d1..4716572 100644 --- a/script.d/common.sh +++ b/script.d/common.sh @@ -21,7 +21,7 @@ ask_game () { echo -e \ "************************************************ -patchimage v5.3.0 +patchimage v6.0.0 Enter ID for the Game you want to create: @@ -49,6 +49,8 @@ NSMB20 Newer: Falling Leaf NSMB21 Devil Mario Winter Special NSMB22 New Super Mario Bros. Wii - Other World +NSMB99 Customize Characters + <<<<<< Mario Kart Wii >>>>>> MKW1 Wiimfi Patcher. Patch Mario Kart to use Wiimm's server MKW2 Wiimfi Patcher. Patch WFC games to use Wiimm's server (exp) @@ -248,6 +250,14 @@ check_input_image_mkwiimm () { } +show_nsmbw_db () { + + ID=${1:0:6} + gawk -F \: "/^${ID}/"'{print $2}' \ + < ${PATCHIMAGE_SCRIPT_DIR}/nsmbw.db || echo "** Unknown **" + +} + show_mkwiimm_db () { ID=${1:4:2} @@ -272,6 +282,22 @@ ask_input_image_mkwiimm () { } +ask_input_image_nsmbw () { + + echo "Choose New Super Mario Bros. Wii Image to modify + + ALL patch all images" + + for image in ${1}/MSN???.{iso,wbfs}; do + if [[ -e ${image} ]]; then + echo " ${image##*/} $(show_nsmbw_db ${image##*/})" + fi + done + + echo "" + +} + show_titles_db () { ID=${1/.*}