add support for Luigi's Super Yoshi Bros.

This commit is contained in:
Christopher Roy Bratusek 2015-01-20 20:50:53 +01:00
parent 2db57aa53f
commit b1f12ee483
4 changed files with 97 additions and 1 deletions

View File

@ -18,6 +18,7 @@ SMN?12 Awesomer Super Luigi Mini
SMN?DU DarkUmbra Super Mario Bros: Anniversary Edition SMN?DU DarkUmbra Super Mario Bros: Anniversary Edition
SMN?MI Midi's Super Mario Bros Wii - Just A Little Adventure SMN?MI Midi's Super Mario Bros Wii - Just A Little Adventure
SMN?RV RVLution Wii (NewSMB Mod) SMN?RV RVLution Wii (NewSMB Mod)
SMN?YL Luigi's Super Yoshi Bros.
SMN?ZA Newer Apocalypse SMN?ZA Newer Apocalypse
SMN?ZY Super Mario Skyland SMN?ZY Super Mario Skyland
SMM?02 Super Mario: Mushroom Adventure PLUS - Winter Moon SMM?02 Super Mario: Mushroom Adventure PLUS - Winter Moon

View File

@ -111,6 +111,10 @@ case ${GAME} in
source ${PATCHIMAGE_SCRIPT_DIR}/newerapocalypse.sh source ${PATCHIMAGE_SCRIPT_DIR}/newerapocalypse.sh
;; ;;
NSMB19 | LuigisSuperYoshiBros )
source ${PATCHIMAGE_SCRIPT_DIR}/luigissuperyoshibros.sh
;;
MKW1 | Wiimmfi ) MKW1 | Wiimmfi )
source ${PATCHIMAGE_SCRIPT_DIR}/wiimmfi.sh source ${PATCHIMAGE_SCRIPT_DIR}/wiimmfi.sh
;; ;;

View File

@ -21,7 +21,7 @@ ask_game () {
echo -e \ echo -e \
"************************************************ "************************************************
patchimage v5.2.0 patchimage v5.3.0
Enter ID for the Game you want to create: Enter ID for the Game you want to create:
@ -44,6 +44,7 @@ NSMB15 RVLution Wii (NewSMB Mod)
NSMB16 Midi's Super Mario Wii (Just A Little Adventure) NSMB16 Midi's Super Mario Wii (Just A Little Adventure)
NSMB17 DarkUmbra SMB Anniversary Edition NSMB17 DarkUmbra SMB Anniversary Edition
NSMB18 Newer Apocalypse NSMB18 Newer Apocalypse
NSMB19 Luigi's Super Yoshi Bros.
<<<<<< Mario Kart Wii >>>>>> <<<<<< Mario Kart Wii >>>>>>
MKW1 Wiimfi Patcher. Patch Mario Kart to use Wiimm's server MKW1 Wiimfi Patcher. Patch Mario Kart to use Wiimm's server

View File

@ -0,0 +1,90 @@
#!/bin/bash
WORKDIR=nsmb.d
DOL=${WORKDIR}/sys/main.dol
DOWNLOAD_LINK="https://www.dropbox.com/s/rw3iwa8vhj7o337/LSYB.zip?dl=0"
RIIVOLUTION_ZIP="LSYB.zip"
RIIVOLUTION_DIR="LSYB"
GAMENAME="Luigis Super Yoshi Bros."
XML_SOURCE="${RIIVOLUTION_DIR}"
XML_FILE="${RIIVOLUTION_DIR}"/LSYB
GAME_TYPE=RIIVOLUTION
BANNER_LOCATION=${WORKDIR}/files/opening.bnr
show_notes () {
echo -e \
"************************************************
${GAMENAME}
Luigi's Super Yoshi Bros. is a mini NSMBW hack that features:
- Only 1 World
- Some Custom Tilesets
Source: http://rvlution.net/thread/1967-luigi-s-super-yoshi-bros/
Base Image: New Super Mario Bros. Wii (SMN?01)
Supported Versions: EURv1, EURv2, USAv1, USAv1, JPNv1
************************************************"
}
check_input_image_special () {
check_input_image_nsmb
}
detect_game_version () {
nsmbw_version
GAMEID=SMN${REG_LETTER}YL
XML_FILE="${XML_FILE}"${REG_LETTER}.xml
}
place_files () {
cp -r "${RIIVOLUTION_DIR}"/{Env,Layout,Object,Stage,WorldMap} ${WORKDIR}/files
NEW_DIRS=( ${WORKDIR}/files/EU/NedEU/Message )
for dir in ${NEW_DIRS[@]}; do
mkdir -p ${dir}
done
case ${VERSION} in
EURv* )
LANGDIRS=( EngEU FraEU GerEU ItaEU SpaEU NedEU )
for dir in ${LANGDIRS[@]}; do
cp "${RIIVOLUTION_DIR}"/MessageEN/* ${WORKDIR}/files/EU/${dir}/Message/
done
cp "${RIIVOLUTION_DIR}"/OpeningP/* ${WORKDIR}/files/EU/Layout/openingTitle/
;;
USAv* )
LANGDIRS=( FraUS EngUS SpaUS )
for dir in ${LANGDIRS[@]}; do
cp "${RIIVOLUTION_DIR}"/MessageEN/* ${WORKDIR}/files/US/${dir}/Message/
done
cp "${RIIVOLUTION_DIR}"/OpeningE/* ${WORKDIR}/files/US/Layout/openingTitle/
;;
JPNv* )
cp "${RIIVOLUTION_DIR}"/MessageEN/* ${WORKDIR}/files/JP/Message/
cp "${RIIVOLUTION_DIR}"/OpeningJ/* ${WORKDIR}/files/JP/Layout/openingTitle/
;;
esac
}
dolpatch() {
${WIT} dolpatch ${DOL} \
"802F148C=53756D6D53756E#7769696D6A3264" \
"802F118C=53756D6D53756E#7769696D6A3264" \
"802F0F8C=53756D6D53756E#7769696D6A3264" \
xml="${PATCHIMAGE_PATCH_DIR}/NSMBW_AP.xml" -q
}