2013-07-07 09:42:41 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
WORKDIR=nsmb.d
|
|
|
|
DOL=${WORKDIR}/sys/main.dol
|
|
|
|
DOWNLOAD_LINK="http://www.nanolx.org/riivolution/Retro%20Remix.rar"
|
|
|
|
RIIVOLUTION_ZIP="Retro Remix.rar"
|
|
|
|
RIIVOLUTION_DIR="Retro Remix"
|
|
|
|
GAMENAME="New Super Mario Bros. Wii Retro Remix"
|
|
|
|
GAME_TYPE=RIIVOLUTION
|
|
|
|
BANNER_LOCATION=${WORKDIR}/files/opening.bnr
|
2016-08-19 21:30:56 +02:00
|
|
|
WBFS_MASK="SMN[PEJ]01"
|
2013-07-07 09:42:41 +02:00
|
|
|
|
|
|
|
show_notes () {
|
|
|
|
|
|
|
|
echo -e \
|
|
|
|
"************************************************
|
|
|
|
${GAMENAME}
|
|
|
|
|
|
|
|
The Original Adventure is back!
|
|
|
|
Join Mario in his Bowser-bashing classic quest - Again!
|
|
|
|
Bowser has once again invaded the Mushroom Kingdom
|
|
|
|
and kidnapped Princess Peach. It's up to you to save her.
|
|
|
|
|
|
|
|
Source: ?
|
|
|
|
Base Image: New Super Mario Bros. Wii (SMN?01)
|
|
|
|
Supported Versions: EURv1, EURv2, USAv1, USAv2, JPNv1
|
|
|
|
************************************************"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
detect_game_version () {
|
|
|
|
|
|
|
|
nsmbw_version
|
|
|
|
|
|
|
|
GAMEID=MRR${REG_LETTER}01
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
place_files () {
|
|
|
|
|
|
|
|
case ${VERSION} in
|
|
|
|
EURv* )
|
|
|
|
LANGDIRS=( EngEU FraEU GerEU ItaEU SpaEU NedEU )
|
2016-08-05 21:42:41 +02:00
|
|
|
for dir in "${LANGDIRS[@]}"; do
|
|
|
|
cp -r "${RIIVOLUTION_DIR}"/US/EngUS/Message/ "${WORKDIR}"/files/EU/"${dir}"/
|
2013-07-07 09:42:41 +02:00
|
|
|
done
|
2016-08-05 21:42:41 +02:00
|
|
|
cp "${PATCHIMAGE_PATCH_DIR}"/openingTitle_retromix.arc "${WORKDIR}"/files/EU/Layout/openingTitle/openingTitle.arc
|
2013-07-07 09:42:41 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
USAv* )
|
|
|
|
LANGDIRS=( FraUS EngUS SpaUS )
|
2016-08-05 21:42:41 +02:00
|
|
|
for dir in "${LANGDIRS[@]}"; do
|
|
|
|
cp -r "${RIIVOLUTION_DIR}"/US/EngUS/Message/ "${WORKDIR}"/files/US/"${dir}"/
|
2013-07-07 09:42:41 +02:00
|
|
|
done
|
2016-08-05 21:42:41 +02:00
|
|
|
cp "${PATCHIMAGE_PATCH_DIR}"/openingTitle_retromix.arc "${WORKDIR}"/files/US/Layout/openingTitle/openingTitle.arc
|
2013-07-07 09:42:41 +02:00
|
|
|
;;
|
|
|
|
|
|
|
|
JPNv* )
|
2016-08-05 21:42:41 +02:00
|
|
|
cp "${RIIVOLUTION_DIR}"/US/EngUS/Message/* "${WORKDIR}"/files/JP/Message/
|
2013-07-07 09:42:41 +02:00
|
|
|
;;
|
|
|
|
esac
|
|
|
|
|
2016-08-05 21:42:41 +02:00
|
|
|
cp "${RIIVOLUTION_DIR}"/Layout/MultiCorseSelect/MultiCorseSelect.arc "${WORKDIR}"/files/Layout/MultiCourseSelect/MultiCourseSelect.arc
|
|
|
|
cp -r "${RIIVOLUTION_DIR}"/{Layout,MovieDemo,Object,Sound,Stage,WorldMap}/ "${WORKDIR}"/files/
|
|
|
|
rm -rf "${WORKDIR}"/files/Layout/MultiCorseSelect/
|
2013-07-07 09:42:41 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
dolpatch () {
|
|
|
|
|
2013-10-12 10:37:29 +02:00
|
|
|
echo -n
|
2013-07-07 09:42:41 +02:00
|
|
|
|
|
|
|
}
|