add support for Super Mario Bros. Frozen Editon (SFR?01)

This commit is contained in:
Christopher Roy Bratusek 2016-09-09 20:05:31 +02:00
parent 0f0e924e4e
commit b7c33d51cb
8 changed files with 92 additions and 2 deletions

View File

@ -1,3 +1,7 @@
v7.5.0 ():
::game additions:
- add support for Super Mario Bros. Frozen Editon
v7.4.0 (20160903):
::Tokyo Mirage Sessions #FE Restoration Patcher
- use 'Restoration' instead of 'Uncensored' as Name

View File

@ -14,8 +14,9 @@ b) SMN?01.wbfs
MRR?01 New Super Mario Bros. Wii Retro Remix
SCL?01 Cliff Super Mario Bros. Wii
SFL?01 NSMBW3: The Final Levels
SFR?01 Super Mario Bros. Frozen Editon
SLB?01 MLG Super Luigi Bros. Wii
SLF?01 NSMBW3: The Final Levels
SMM?02 Super Mario: Mushroom Adventure PLUS - Winter Moon
SMN?03 Newer Super Mario Bros. Wii
SMN?04 Canon Super Mario Bros. Wii

View File

@ -1,5 +1,6 @@
SCL*01:Cliff Super Mario Bros. Wii
SLB*01:MLG Super Luigi Bros. Wii
SFR*01:Super Mario Bros. Frozen Editon
SLF*01:NSMBW3: The Final Levels
SMM*02:Super Mario: Mushroom Adventure PLUS - Winter Moon
SMN*01:Original New Super Mario Bros. Wii

View File

@ -10,6 +10,7 @@ NSMB9:RetroRemix:nsmbw/retroremix.sh
NSMB10:WinterMoon:nsmbw/wintermoon.sh
NSMB11:NSMBW3:nsmbw/nsmbw3.sh
NSMB12:Vacation:nsmbw/summervacation.sh
NSMB13:Frozen:nsmbw/frozen.sh
NSMB14:Sykland:nsmbw/skyland.sh
NSMB15:RVLution:nsmbw/rvlution.sh
NSMB16:Midi:nsmbw/midissupermariowii.sh

View File

@ -56,7 +56,7 @@ setup_tools
for game in ${GAME[@]}; do
case ${game} in
NSMB_ALL )
NEW_GAME=(${NEW_GAME[@]} NSMB{1..12} NSMB{14..29})
NEW_GAME=(${NEW_GAME[@]} NSMB{1..29})
;;
PKMN_ALL )

View File

@ -42,6 +42,7 @@ ask_input_image_nsmb () {
for image in "${PWD}"/SCL???.{iso,wbfs} \
"${PWD}"/SMN???.{iso,wbfs} \
"${PWD}"/SLF???.{iso,wbfs} \
"${PWD}"/SFR???.{iso,wbfs} \
"${PWD}"/SLB???.{iso,wbfs} \
"${PWD}"/SMM???.{iso,wbfs} \
"${PWD}"/SMV???.{iso,wbfs} \
@ -49,6 +50,7 @@ ask_input_image_nsmb () {
"${PATCHIMAGE_WBFS_DIR}"/SCL???.{iso,wbfs} \
"${PATCHIMAGE_WBFS_DIR}"/SMN???.{iso,wbfs} \
"${PATCHIMAGE_WBFS_DIR}"/SLF???.{iso,wbfs} \
"${PATCHIMAGE_WBFS_DIR}"/SFR???.{iso,wbfs} \
"${PATCHIMAGE_WBFS_DIR}"/SLB???.{iso,wbfs} \
"${PATCHIMAGE_WBFS_DIR}"/SMM???.{iso,wbfs} \
"${PATCHIMAGE_WBFS_DIR}"/SMV???.{iso,wbfs} \

View File

@ -18,6 +18,7 @@ NSMB9 RetroRemix New Super Mario Bros. Wii Retro Remix
NSMB10 WinterMoon Super Mario: Mushroom Adventure PLUS - Winter Moon
NSMB11 NSMBW3 NSMBW3: The Final Levels
NSMB12 Vacation Super Mario Vacation
NSMB13 Frozen Super Mario Bros. Frozen Editon
NSMB14 Sykland Super Mario Skyland
NSMB15 RVLution RVLution Wii (NewSMB Mod)
NSMB16 Midi Midi's Super Mario Wii (Just A Little Adventure)
@ -120,6 +121,7 @@ NSMB9 RetroRemix Retro Remix.rar
NSMB10 WinterMoon WinterMoon.rar
NSMB11 NSMBW3 NSMBW3_The final levels.zip
NSMB12 Vacation Super_Mario_Vacation_v1.00.zip
NSMB13 Frozen SMBFrozenEdition.rar
NSMB14 Sykland Skyland.zip
NSMB15 RVLution RVLution Wii.zip
NSMB16 Midi MSMBWii.zip

79
scripts/nsmbw/frozen.sh Normal file
View File

@ -0,0 +1,79 @@
#!/bin/bash
WORKDIR=nsmb.d
DOL=${WORKDIR}/sys/main.dol
DOWNLOAD_LINK="https://www.dropbox.com/s/hxf7crqqmyj75xm/SMBFrozenEdition.rar"
RIIVOLUTION_ZIP="SMBFrozenEdition.rar"
RIIVOLUTION_DIR="SMBFrozenEdition/FrozenEdition"
GAMENAME="Super Mario Bros. Frozen Editon"
XML_SOURCE="${RIIVOLUTION_DIR}"
XML_FILE="${RIIVOLUTION_DIR}"/../Riivolution/FrozenEditionE.xml
GAME_TYPE=RIIVOLUTION
BANNER_LOCATION=${WORKDIR}/files/opening.bnr
WBFS_MASK="SMN[PEJ]01"
show_notes () {
echo -e \
"************************************************
${GAMENAME}
Source: http://rvlution.net/thread/4616-super-mario-bros-frozen-editon/
Base Image: New Super Mario Bros. Wii (SMN?01)
Supported Versions: EURv1, EURv2, USAv1, USAv2, JPNv1
************************************************"
}
detect_game_version () {
nsmbw_version
GAMEID=SFR${REG_LETTER}01
XML_FILE="${XML_FILE}"${REG_LETTER}.xml
}
place_files () {
case ${VERSION} in
EUR* )
LANGDIRS=( EngEU FraEU GerEU ItaEU SpaEU )
for dir in "${LANGDIRS[@]}"; do
cp "${RIIVOLUTION_DIR}"/MessageEN/Message.arc "${WORKDIR}"/files/EU/"${dir}"/Message/Message.arc
done
#cp "${RIIVOLUTION_DIR}"/OpeningP/openingTitle.arc "${WORKDIR}"/files/EU/Layout/openingTitle/
;;
USAv* )
LANGDIRS=( FraUS EngUS SpaUS )
for dir in "${LANGDIRS[@]}"; do
cp "${RIIVOLUTION_DIR}"/MessageEN/Message.arc "${WORKDIR}"/files/US/"${dir}"/Message/Message.arc
done
cp "${RIIVOLUTION_DIR}"/OpeningE/openingTitle.arc "${WORKDIR}"/files/US/Layout/openingTitle/
;;
JPNv1 )
cp "${RIIVOLUTION_DIR}"/MessageEN/Message.arc "${WORKDIR}"/files/JP/Message/Message.arc
cp "${RIIVOLUTION_DIR}"/OpeningJ/openingTitle.arc "${WORKDIR}"/files/JP/Layout/openingTitle/
;;
esac
cp -r "${RIIVOLUTION_DIR}"/Layout "${WORKDIR}"/files/
cp -r "${RIIVOLUTION_DIR}"/Object "${WORKDIR}"/files/
cp "${RIIVOLUTION_DIR}"/Sound/stream/*.brstm "${WORKDIR}"/files/Sound/stream/
cp "${RIIVOLUTION_DIR}"/Sound/*.brsar "${WORKDIR}"/files/Sound/
cp "${RIIVOLUTION_DIR}"/Stage/*.arc "${WORKDIR}"/files/Stage/
cp "${RIIVOLUTION_DIR}"/Stage/Texture/* "${WORKDIR}"/files/Stage/Texture/
cp "${RIIVOLUTION_DIR}"/WorldMap/* "${WORKDIR}"/files/WorldMap/
}
dolpatch() {
${WIT} dolpatch ${DOL} \
"802F148C=53756D6D53756E#7769696D6A3264" \
"802F118C=53756D6D53756E#7769696D6A3264" \
"802F0F8C=53756D6D53756E#7769696D6A3264" \
xml="${PATCHIMAGE_PATCH_DIR}/NSMBW_AP.xml" -q
}