prepare to support other stuff than just riivolution patching

This commit is contained in:
Christopher Roy Bratusek 2013-06-21 19:29:17 +02:00
parent e917557f2a
commit 936b6eca0d
5 changed files with 25 additions and 17 deletions

View File

@ -40,6 +40,8 @@ case ${GAME} in
esac esac
case ${GAME_TYPE} in
"RIIVOLUTION" )
show_notes show_notes
download_soundtrack download_soundtrack
cleanup_prebuild cleanup_prebuild
@ -61,3 +63,5 @@ if [[ ${CUSTOMID} ]]; then
else else
${WIT} cp -v -B ${WORKDIR} ${GAMEID}.wbfs -vv --disc-id=${GAMEID} ${TMD_OPTS} --name "${GAMENAME}" ${WIT} cp -v -B ${WORKDIR} ${GAMEID}.wbfs -vv --disc-id=${GAMEID} ${TMD_OPTS} --name "${GAMENAME}"
fi fi
;;
esac

View File

@ -10,6 +10,7 @@ RIIVOLUTION_DIR="Another"
GAMENAME="Another Super Mario Brothers Wii 2.0" GAMENAME="Another Super Mario Brothers Wii 2.0"
XML_SOURCE="${RIIVOLUTION_DIR}" XML_SOURCE="${RIIVOLUTION_DIR}"
XML_FILE="Riivolution/Another.xml" XML_FILE="Riivolution/Another.xml"
GAME_TYPE=RIIVOLUTION
show_notes () { show_notes () {

View File

@ -10,6 +10,7 @@ RIIVOLUTION_DIR="XmasNewer"
GAMENAME="Newer: Holiday Special" GAMENAME="Newer: Holiday Special"
XML_SOURCE="${RIIVOLUTION_DIR}" XML_SOURCE="${RIIVOLUTION_DIR}"
XML_FILE="riivolution/Xmas" XML_FILE="riivolution/Xmas"
GAME_TYPE=RIIVOLUTION
show_notes () { show_notes () {

View File

@ -10,6 +10,7 @@ RIIVOLUTION_DIR="NewerFiles"
GAMENAME="Newer SMB" GAMENAME="Newer SMB"
XML_SOURCE="${RIIVOLUTION_DIR}"/NewerSMBW/ XML_SOURCE="${RIIVOLUTION_DIR}"/NewerSMBW/
XML_FILE="${RIIVOLUTION_DIR}"/riivolution/NewerSMBW.xml XML_FILE="${RIIVOLUTION_DIR}"/riivolution/NewerSMBW.xml
GAME_TYPE=RIIVOLUTION
show_notes () { show_notes () {

View File

@ -10,6 +10,7 @@ RIIVOLUTION_DIR="Newer Summer Sun"
GAMENAME="Newer Summer Sun" GAMENAME="Newer Summer Sun"
XML_SOURCE="${RIIVOLUTION_DIR}"/SumSun/ XML_SOURCE="${RIIVOLUTION_DIR}"/SumSun/
XML_FILE="${RIIVOLUTION_DIR}"/riivolution/SumSun XML_FILE="${RIIVOLUTION_DIR}"/riivolution/SumSun
GAME_TYPE=RIIVOLUTION
show_notes () { show_notes () {