2014-08-10 21:59:28 +02:00
|
|
|
#!/bin/bash
|
|
|
|
|
|
|
|
WORKDIR=nsmb.d
|
|
|
|
DOL=${WORKDIR}/sys/main.dol
|
|
|
|
DOWNLOAD_LINK="http://riivolution.nanolx.org/DUSMBAE%20Riivo%20Release%20Pack%20rev1.rar"
|
|
|
|
RIIVOLUTION_ZIP="DUSMBAE Riivo Release Pack rev1.rar"
|
|
|
|
RIIVOLUTION_DIR="DUSMBAE Riivo Release Pack"
|
|
|
|
GAMENAME="DarkUmbra SMB Anniversary Edition"
|
|
|
|
XML_SOURCE="${RIIVOLUTION_DIR}"
|
|
|
|
XML_FILE="${RIIVOLUTION_DIR}"/dusmbaePAL.xml
|
|
|
|
GAME_TYPE=RIIVOLUTION
|
|
|
|
BANNER_LOCATION=${WORKDIR}/files/opening.bnr
|
2016-08-19 21:30:56 +02:00
|
|
|
WBFS_MASK="SMN[PEJ]01"
|
2014-08-10 21:59:28 +02:00
|
|
|
|
|
|
|
show_notes () {
|
|
|
|
|
|
|
|
echo -e \
|
|
|
|
"************************************************
|
|
|
|
${GAMENAME}
|
|
|
|
|
|
|
|
Source: http://rvlution.net/thread/2232-darkumbra-smb-anniversary-edition-rev1/
|
|
|
|
Base Image: New Super Mario Bros. Wii (SMN?01)
|
|
|
|
Supported Versions: EURv1, EURv2
|
|
|
|
************************************************"
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
detect_game_version () {
|
|
|
|
|
|
|
|
nsmbw_version
|
|
|
|
GAMEID=SMN${REG_LETTER}DU
|
|
|
|
|
|
|
|
if [[ ${VERSION} != EUR* ]]; then
|
|
|
|
echo "only PAL games supported by this hack."
|
|
|
|
exit 81
|
|
|
|
fi
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
place_files () {
|
|
|
|
|
|
|
|
|
2016-08-05 21:42:41 +02:00
|
|
|
cp -r "${RIIVOLUTION_DIR}"/dusmbae/files/ "${WORKDIR}"/
|
2014-08-10 21:59:28 +02:00
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
dolpatch() {
|
|
|
|
|
|
|
|
${WIT} dolpatch ${DOL} \
|
|
|
|
"802F148C=53756D6D53756E#7769696D6A3264" \
|
|
|
|
"802F118C=53756D6D53756E#7769696D6A3264" \
|
|
|
|
"802F0F8C=53756D6D53756E#7769696D6A3264" \
|
|
|
|
xml="${PATCHIMAGE_PATCH_DIR}/NSMBW_AP.xml" -q
|
|
|
|
|
|
|
|
}
|