add support for Cliff Super Mario Bros. Wii

This commit is contained in:
Christopher Roy Bratusek 2016-08-19 21:36:03 +02:00
parent aa3d93c950
commit f3494d25d3
5 changed files with 92 additions and 0 deletions

View File

@ -13,6 +13,11 @@ v7.2.0:
::bug fixes
- Pokemon Star Sapphire was accidently called Alpha Sapphire in the menu,
also had wrong Short ID
- fixed that Opening Title for US version was applied to EU version in
MLG Super Mario Bros. Wii (fixes black screen on start)
- fixed regression from version 7.1.0 that made it impossible to patch
US version of New Super Mario Bros. Wii because it was looking for wrong
ID SMNU01 instead of correct ID SMNE01
::command line parameters
- add batch building short cuts for --game parameter:
@ -40,6 +45,9 @@ v7.2.0:
::game additions
:::New Super Mario Bros. Wii
- add support for Cliff Super Mario Bros. Wii (SCL[PUJ]01)
:::Pokemon
- add support for Pokemon Red Ruby
- supply HANS configuration files for Red Ruby

View File

@ -12,6 +12,7 @@ b) ${PATCHIMAGE_WBFS_DIR}
a) SMN?01.iso
b) SMN?01.wbfs
SCL?01 Cliff Super Mario Bros. Wii
SLB?01 MLG Super Luigi Bros. Wii
SLF?01 NSMBW3: The Final Levels
SMN?03 Newer Super Mario Bros. Wii

View File

@ -25,6 +25,7 @@ NSMB24:RemixedSuperMarioBros:nsmbw/remixedsupermariobroswii.sh
NSMB25:GhostlySuperGhostBoos:nsmbw/ghostlysuperghostbooswii.sh
NSMB26:RevisedSuperMarioBros:nsmbw/revisedsupermariobroswii.sh
NSMB27:MLGSuperLuigi:nsmbw/mlgsuperluigibroswii.sh
NSMB28:Cliff:nsmbw/cliffsmb.sh
NSMB99:NSMBWCharacters:nsmbw/nsmbw_characters.sh
MKW1:Wiimmfi:mkwii/wiimmfi.sh
MKW2:Wiimmpatch:wiimmfi_generic.sh

View File

@ -33,6 +33,7 @@ NSMB24 RemixedSuperMarioBros Remixed Super Mario Bros. Wii
NSMB25 GhostlySuperGhostBoos Ghostly Super Ghost Boos. Wii
NSMB26 RevisedSuperMarioBros Revised Super Mario Bros. Wii
NSMB27 MLGSuperLuigi MLG Super Luigi Bros. Wii
NSMB28 Cliff Cliff Super Mario Bros. Wii
NSMB99 NSMBWCharacters Customize Characters
@ -134,6 +135,7 @@ NSMB24 RemixedSuperMarioBros Remixed v1.5.zi
NSMB25 GhostlySuperGhostBoos GSGBW v1.0.2.zip
NSMB26 RevisedSuperMarioBros RSMBW Version 1.0.zip
NSMB27 MLGSuperLuigi MLGLuigiWii.zip
NSMB28 Cliff Cliff_Super_Mario_Brothers_Wiiv1.0b.zip
NSMB99 NSMBWCharacters Alternative Character Files are supplied
"

80
scripts/nsmbw/cliffsmb.sh Normal file
View File

@ -0,0 +1,80 @@
#!/bin/bash
WORKDIR=nsmb.d
DOL=${WORKDIR}/sys/main.dol
DOWNLOAD_LINK="http://www.mediafire.com/download/tmjzbyf3q7v3u7f/Cliff_Super_Mario_Brothers_Wiiv1.0b.zip"
RIIVOLUTION_ZIP="Cliff_Super_Mario_Brothers_Wiiv1.0b.zip"
RIIVOLUTION_DIR="Cliff"
GAMENAME="Cliff Super Mario Bros. Wii"
XML_SOURCE="${RIIVOLUTION_DIR}"
XML_FILE="${RIIVOLUTION_DIR}"/../Cliff
GAME_TYPE=RIIVOLUTION
BANNER_LOCATION=${WORKDIR}/files/opening.bnr
WBFS_MASK="SMN[PEJ]01"
show_notes () {
echo -e \
"************************************************
${GAMENAME}
Source: http://rvlution.net/thread/4042-cliff-super-mario-bros-wii/
Base Image: New Super Mario Bros. Wii (SMN?01)
Supported Versions: EURv1, EURv2, USAv1, USAv2, JPNv1
************************************************"
}
detect_game_version () {
nsmbw_version
GAMEID=SCL${REG_LETTER}01
XML_FILE="${XML_FILE}"${REG_LETTER}.xml
}
place_files () {
case ${VERSION} in
EUR* )
LANGDIRS=( EngEU FraEU GerEU ItaEU SpaEU NedEU PolEU )
for dir in "${LANGDIRS[@]}"; do
cp "${RIIVOLUTION_DIR}"/MessageEN/Message.arc "${WORKDIR}"/files/EU/"${dir}"/Message/Message.arc
done
cp -r "${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 -r "${RIIVOLUTION_DIR}"/OpeningE/openingTitle.arc "${WORKDIR}"/files/US/Layout/openingTitle/
;;
JPNv1 )
cp "${RIIVOLUTION_DIR}"/MessageEN/Message.arc "${WORKDIR}"/files/JP/Message/Message.arc
cp -r "${RIIVOLUTION_DIR}"/OpeningJ/openingTitle.arc "${WORKDIR}"/files/JP/Layout/openingTitle/
;;
esac
cp -r "${RIIVOLUTION_DIR}"/Env "${WORKDIR}"/files/
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
}