mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-24 01:59:20 +01:00
DarkUmbra SMB Anniversary Edition support
This commit is contained in:
parent
8aa8d44ecf
commit
496d68aaf7
@ -103,6 +103,10 @@ case ${GAME} in
|
||||
source ${PATCHIMAGE_SCRIPT_DIR}/midissupermariowii.sh
|
||||
;;
|
||||
|
||||
NSMB17 | DarkUmbra )
|
||||
source ${PATCHIMAGE_SCRIPT_DIR}/darkumbrasmb.sh
|
||||
;;
|
||||
|
||||
MKW1 | Wiimmfi )
|
||||
source ${PATCHIMAGE_SCRIPT_DIR}/wiimmfi.sh
|
||||
;;
|
||||
|
@ -21,7 +21,7 @@ ask_game () {
|
||||
|
||||
echo -e \
|
||||
"************************************************
|
||||
patchimage v4.97
|
||||
patchimage v5.2.0
|
||||
|
||||
Enter ID for the Game you want to create:
|
||||
|
||||
@ -42,6 +42,7 @@ NSMB13 Awesomer Super Luigi Mini
|
||||
NSMB14 Super Mario Skyland
|
||||
NSMB15 RVLution Wii (NewSMB Mod)
|
||||
NSMB16 Midi's Super Mario Wii (Just A Little Adventure)
|
||||
NSMB17 DarkUmbra SMB Anniversary Edition
|
||||
|
||||
<<<<<< Mario Kart Wii >>>>>>
|
||||
MKW1 Wiimfi Patcher. Patch Mario Kart to use Wiimm's server
|
||||
|
61
script.d/darkumbrasmb.sh
Normal file
61
script.d/darkumbrasmb.sh
Normal file
@ -0,0 +1,61 @@
|
||||
#!/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
|
||||
|
||||
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
|
||||
************************************************"
|
||||
|
||||
}
|
||||
|
||||
check_input_image_special () {
|
||||
|
||||
check_input_image_nsmb
|
||||
|
||||
}
|
||||
|
||||
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 () {
|
||||
|
||||
|
||||
cp -r "${RIIVOLUTION_DIR}"/dusmbae/ ${WORKDIR}/files/
|
||||
|
||||
}
|
||||
|
||||
|
||||
dolpatch() {
|
||||
|
||||
${WIT} dolpatch ${DOL} \
|
||||
"802F148C=53756D6D53756E#7769696D6A3264" \
|
||||
"802F118C=53756D6D53756E#7769696D6A3264" \
|
||||
"802F0F8C=53756D6D53756E#7769696D6A3264" \
|
||||
xml="${PATCHIMAGE_PATCH_DIR}/NSMBW_AP.xml" -q
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user