2013-06-13 20:12:19 +02:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
2013-06-15 19:25:15 +02:00
|
|
|
# create wbfs image from riivolution patch
|
2013-06-13 20:12:19 +02:00
|
|
|
#
|
2014-05-16 20:39:01 +02:00
|
|
|
# Christopher Roy Bratusek <nano@jpberlin.de>
|
2013-06-13 20:12:19 +02:00
|
|
|
#
|
|
|
|
# License: GPL v3
|
|
|
|
|
2016-07-03 20:07:55 +02:00
|
|
|
basedir=$(readlink -m "${BASH_SOURCE[0]}")
|
|
|
|
basedir=$(dirname ${basedir})
|
|
|
|
|
2016-08-02 21:40:04 +02:00
|
|
|
PATCHIMAGE_DIR=${basedir}
|
|
|
|
|
2016-07-03 20:07:55 +02:00
|
|
|
if [[ -d ${basedir}/script.d ]]; then
|
|
|
|
PATCHIMAGE_SCRIPT_DIR=${basedir}/script.d
|
|
|
|
PATCHIMAGE_PATCH_DIR=${basedir}/patches
|
2016-07-26 23:16:49 +02:00
|
|
|
PATCHIMAGE_DATA_DIR=${basedir}/data
|
2016-07-03 20:07:55 +02:00
|
|
|
PATCHIMAGE_TOOLS_DIR=${basedir}/tools
|
2013-08-06 23:53:43 +02:00
|
|
|
else
|
|
|
|
PATCHIMAGE_SCRIPT_DIR=/usr/share/patchimage/script.d
|
|
|
|
PATCHIMAGE_PATCH_DIR=/usr/share/patchimage/patches
|
2016-07-26 23:16:49 +02:00
|
|
|
PATCHIMAGE_DATA_DIR=/usr/share/patchimage/data
|
2013-08-06 23:53:43 +02:00
|
|
|
PATCHIMAGE_TOOLS_DIR=/usr/share/patchimage/tools
|
|
|
|
fi
|
|
|
|
|
2016-07-03 20:07:55 +02:00
|
|
|
PATCHIMAGE_RIIVOLUTION_DIR=${basedir}
|
|
|
|
PATCHIMAGE_WBFS_DIR=${basedir}
|
|
|
|
PATCHIMAGE_AUDIO_DIR=${basedir}
|
|
|
|
PATCHIMAGE_GAME_DIR=${basedir}
|
|
|
|
PATCHIMAGE_COVER_DIR=${basedir}
|
2013-10-12 10:37:29 +02:00
|
|
|
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/common.sh
|
2016-07-01 20:11:25 +02:00
|
|
|
optparse "${@}"
|
|
|
|
|
2013-10-12 10:37:29 +02:00
|
|
|
check_directories
|
2013-06-15 19:58:07 +02:00
|
|
|
setup_tools
|
2013-06-13 20:12:19 +02:00
|
|
|
|
2016-07-03 20:12:22 +02:00
|
|
|
[[ ! ${GAME} ]] && ask_game
|
2013-06-13 20:12:19 +02:00
|
|
|
|
2013-06-15 19:25:15 +02:00
|
|
|
case ${GAME} in
|
2013-06-13 20:12:19 +02:00
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB1 | NewerSMB | NewerSMBW )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/newersmb.sh
|
2013-06-15 19:25:15 +02:00
|
|
|
;;
|
2013-06-13 20:12:19 +02:00
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB2 | NewerSummerSun )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/newersummersun.sh
|
2013-06-15 19:58:07 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB3 | ASMBW | AnotherSMBW )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/anothersmb.sh
|
2013-06-20 21:03:40 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB4 | HolidaySpecial | "Newer: Holiday Special" )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/newerholiday.sh
|
2013-06-20 21:22:39 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB5 | Cannon | "Cannon SMBW" )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/cannon.sh
|
2013-07-03 17:30:30 +02:00
|
|
|
;;
|
2013-06-22 19:30:30 +02:00
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB6 | ESBW | "Epic Super Bowser World" )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/epicbowserworld.sh
|
2013-07-02 20:20:20 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB7 | Koopa | "Koopa Country" )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/koopacountry.sh
|
2013-07-03 16:44:26 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB8 | "New Super Mario Bros. 4" )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/nsmbw4.sh
|
2013-07-07 09:42:41 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB9 | Retro | "Retro Remix" )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/retroremix.sh
|
2013-07-06 18:25:11 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB10 | WinterMoon | "Super Mario: Mushroom Adventure PLUS - Winter Moon" )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/wintermoon.sh
|
2013-08-06 09:17:05 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB11 | NSMBW3 | "NSMBW3: The Final Levels" )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/nsmbw3.sh
|
2013-08-06 09:34:30 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB12 | SMV | "Super Mario Vacation" )
|
2013-09-26 19:58:37 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/summervacation.sh
|
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB13 | ASLM | "Awesomer Super Luigi Mini" )
|
2013-10-12 10:37:29 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/awesomersuperluigi.sh
|
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
NSMB14 | Sykland )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/skyland.sh
|
|
|
|
;;
|
|
|
|
|
|
|
|
NSMB15 | RVLution )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/rvlution.sh
|
|
|
|
;;
|
|
|
|
|
2014-08-10 21:46:26 +02:00
|
|
|
NSMB16 | Midi )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/midissupermariowii.sh
|
|
|
|
;;
|
|
|
|
|
2014-08-10 21:59:28 +02:00
|
|
|
NSMB17 | DarkUmbra )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/darkumbrasmb.sh
|
|
|
|
;;
|
|
|
|
|
2014-08-10 22:12:50 +02:00
|
|
|
NSMB18 | NewerApocalypse )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/newerapocalypse.sh
|
|
|
|
;;
|
|
|
|
|
2015-01-20 20:50:53 +01:00
|
|
|
NSMB19 | LuigisSuperYoshiBros )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/luigissuperyoshibros.sh
|
|
|
|
;;
|
|
|
|
|
2015-01-20 21:01:45 +01:00
|
|
|
NSMB20 | NewerFallingLeaf )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/newerfallingleaf.sh
|
|
|
|
;;
|
|
|
|
|
2015-04-11 13:47:31 +02:00
|
|
|
NSMB21 | DevilMarioWinterSpecial )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/devilmariowinterspecial.sh
|
|
|
|
;;
|
|
|
|
|
2015-04-11 14:02:32 +02:00
|
|
|
NSMB22 | NewSMBWOtherWorld )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/newsmbwotherworld.sh
|
|
|
|
;;
|
|
|
|
|
2016-05-16 17:50:28 +02:00
|
|
|
NSMB23 | TheLegendOfYoshi )
|
2016-05-16 17:21:53 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/thelegendofyoshi.sh
|
|
|
|
;;
|
|
|
|
|
2016-05-16 17:50:28 +02:00
|
|
|
NSMB24 | RemixedSuperMarioBrosWii )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/remixedsupermariobroswii.sh
|
|
|
|
;;
|
|
|
|
|
2016-05-16 18:02:42 +02:00
|
|
|
NSMB25 | GhostlySuperGhostBoosWii )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/ghostlysuperghostbooswii.sh
|
|
|
|
;;
|
|
|
|
|
2015-07-11 19:58:10 +02:00
|
|
|
NSMB99 | NSMBWCharacters )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/nsmbw_characters.sh
|
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
MKW1 | Wiimmfi )
|
2014-05-11 19:26:58 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/wiimmfi.sh
|
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
MKW2 | Wiimmpatch )
|
2014-05-13 17:49:00 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/wiimmfi_generic.sh
|
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
MKW3 | Mkwiimm )
|
2014-05-14 20:38:48 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/mkwiimm.sh
|
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
MKW4 | MkwiimmItems )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/mkwiimm_items.sh
|
2014-05-13 19:32:54 +02:00
|
|
|
;;
|
|
|
|
|
2014-05-18 07:51:09 +02:00
|
|
|
MKW5 | MkwiimmFonts )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/mkwiimm_fonts.sh
|
|
|
|
;;
|
|
|
|
|
2015-04-11 21:01:24 +02:00
|
|
|
MKW6 | MkwiimmKarts )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/mkwiimm_karts.sh
|
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
KAW1 | Kirby )
|
2014-05-15 20:54:19 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/kirbywii.sh
|
|
|
|
;;
|
|
|
|
|
2016-07-03 20:12:22 +02:00
|
|
|
TMSFE | TokyoMirageSessions )
|
2016-07-01 20:07:53 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/tokyomiragesessionsfe.sh
|
|
|
|
;;
|
|
|
|
|
2016-07-26 23:16:49 +02:00
|
|
|
PKMN1 | NeoX )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/pokemonneox.sh
|
|
|
|
;;
|
|
|
|
|
|
|
|
PKMN2 | NeoY )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/pokemonneoy.sh
|
|
|
|
;;
|
|
|
|
|
2016-07-27 18:22:48 +02:00
|
|
|
PKMN3 | RutileRuby )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/pokemonrutileruby.sh
|
|
|
|
;;
|
|
|
|
|
|
|
|
PKMN4 | AlphaSapphire )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/pokemonstarsapphire.sh
|
|
|
|
;;
|
|
|
|
|
2016-08-02 21:40:04 +02:00
|
|
|
PKMN5 | EternalX )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/pokemoneternalx.sh
|
|
|
|
;;
|
|
|
|
|
|
|
|
PKMN6 | WiltingY )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/pokemonwiltingy.sh
|
|
|
|
;;
|
|
|
|
|
2016-08-03 20:13:23 +02:00
|
|
|
PKMN7 | RisingRuby )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/pokemonrisingruby.sh
|
|
|
|
;;
|
|
|
|
|
|
|
|
PKMN8 | SinkingSapphire )
|
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/pokemonsinkingsapphire.sh
|
|
|
|
;;
|
|
|
|
|
2014-05-17 10:07:15 +02:00
|
|
|
ZEL1 | ParallelWorlds | "The Legend of Zelda: Parallel Worlds" )
|
2013-08-06 23:53:43 +02:00
|
|
|
source ${PATCHIMAGE_SCRIPT_DIR}/parallelworlds.sh
|
2013-06-22 19:02:37 +02:00
|
|
|
;;
|
|
|
|
|
2013-06-15 19:25:15 +02:00
|
|
|
* )
|
|
|
|
echo -e "specified Game ${GAME} not recognized"
|
2013-10-12 10:37:29 +02:00
|
|
|
exit 9
|
2013-06-15 19:25:15 +02:00
|
|
|
;;
|
2013-06-13 20:12:19 +02:00
|
|
|
|
2013-06-15 19:25:15 +02:00
|
|
|
esac
|
2013-06-13 20:12:19 +02:00
|
|
|
|
2013-06-21 19:29:17 +02:00
|
|
|
case ${GAME_TYPE} in
|
|
|
|
"RIIVOLUTION" )
|
|
|
|
show_notes
|
2013-07-04 21:30:08 +02:00
|
|
|
rm -rf ${WORKDIR}
|
2014-05-11 21:57:19 +02:00
|
|
|
if [[ ${PATCHIMAGE_SOUNDTRACK_DOWNLOAD} == TRUE ]]; then
|
|
|
|
echo -e "\n*** A) download_soundtrack"
|
2013-10-12 10:37:29 +02:00
|
|
|
download_soundtrack
|
2014-05-11 21:57:19 +02:00
|
|
|
if [[ ${ONLY_SOUNDTRACK} == TRUE ]]; then
|
|
|
|
exit 0
|
|
|
|
fi
|
2013-10-12 10:37:29 +02:00
|
|
|
fi
|
2014-05-11 21:57:19 +02:00
|
|
|
|
2013-10-12 10:37:29 +02:00
|
|
|
echo -e "\n*** 1) check_input_image"
|
2013-06-21 19:29:17 +02:00
|
|
|
check_input_image
|
2013-10-12 10:37:29 +02:00
|
|
|
echo "*** 2) check_input_image_special"
|
2013-06-21 19:29:17 +02:00
|
|
|
check_input_image_special
|
2013-10-12 10:37:29 +02:00
|
|
|
echo "*** 3) check_riivolution_patch"
|
2013-06-21 19:29:17 +02:00
|
|
|
check_riivolution_patch
|
|
|
|
|
2013-10-12 10:37:29 +02:00
|
|
|
echo "*** 4) extract game"
|
|
|
|
${WIT} extract ${IMAGE} ${WORKDIR} --psel=DATA -q || exit 51
|
2013-06-21 19:29:17 +02:00
|
|
|
|
2013-10-12 10:37:29 +02:00
|
|
|
echo "*** 5) detect_game_version"
|
2013-06-21 19:29:17 +02:00
|
|
|
detect_game_version
|
2013-07-04 21:30:08 +02:00
|
|
|
rm -f ${GAMEID}.wbfs ${CUSTOMID}.wbfs
|
2013-10-12 10:37:29 +02:00
|
|
|
echo "*** 6) place_files"
|
|
|
|
place_files || exit 45
|
2013-07-01 22:36:09 +02:00
|
|
|
|
2013-10-12 10:37:29 +02:00
|
|
|
echo "*** 7) download_banner"
|
2013-07-01 22:23:32 +02:00
|
|
|
download_banner
|
2013-10-12 10:37:29 +02:00
|
|
|
echo "*** 8) apply_banner"
|
2013-07-01 22:23:32 +02:00
|
|
|
apply_banner
|
2013-06-21 19:29:17 +02:00
|
|
|
|
2013-10-12 10:37:29 +02:00
|
|
|
echo "*** 9) dolpatch"
|
2013-07-01 22:36:09 +02:00
|
|
|
dolpatch
|
2013-06-21 19:29:17 +02:00
|
|
|
|
|
|
|
if [[ ${CUSTOMID} ]]; then
|
2014-05-11 21:57:19 +02:00
|
|
|
GAMEID=${CUSTOMID}
|
2013-06-21 19:29:17 +02:00
|
|
|
fi
|
2013-07-07 22:36:04 +02:00
|
|
|
|
|
|
|
if [[ ${PATCHIMAGE_SHARE_SAVE} == "TRUE" ]]; then
|
|
|
|
TMD_OPTS=""
|
|
|
|
else
|
|
|
|
TMD_OPTS="--tt-id=K"
|
|
|
|
fi
|
|
|
|
|
2014-05-16 19:34:12 +02:00
|
|
|
echo "*** 10) rebuild and store game"
|
2014-05-16 20:30:36 +02:00
|
|
|
${WIT} cp -o -q --disc-id=${GAMEID} ${TMD_OPTS} --name "${GAMENAME}" \
|
|
|
|
-B ${WORKDIR} "${PATCHIMAGE_GAME_DIR}"/${GAMEID}.wbfs || exit 51
|
2013-07-07 22:36:04 +02:00
|
|
|
|
2013-10-12 10:37:29 +02:00
|
|
|
echo "*** 12) remove workdir"
|
2014-05-13 18:20:28 +02:00
|
|
|
rm -rf ${WORKDIR}
|
2013-10-12 10:37:29 +02:00
|
|
|
|
2014-05-16 19:34:12 +02:00
|
|
|
echo -e "\n >>> ${GAMENAME} saved as: ${PATCHIMAGE_GAME_DIR}/${GAMEID}.wbfs\n"
|
2013-07-07 22:36:04 +02:00
|
|
|
|
2014-05-11 21:57:19 +02:00
|
|
|
if [[ ${PATCHIMAGE_COVER_DOWNLOAD} == TRUE ]]; then
|
|
|
|
echo -e "\n*** Z) download_covers"
|
|
|
|
download_covers ${GAMEID}
|
|
|
|
fi
|
|
|
|
|
2013-06-21 19:29:17 +02:00
|
|
|
;;
|
2013-06-22 19:02:37 +02:00
|
|
|
|
2014-05-11 19:26:58 +02:00
|
|
|
"MKWIIMM")
|
|
|
|
show_notes
|
2014-05-11 21:57:19 +02:00
|
|
|
|
2014-05-11 19:26:58 +02:00
|
|
|
echo -e "\n*** 1) check_input_image"
|
|
|
|
check_input_image
|
|
|
|
echo -e "\n*** 2) check_input_image_special"
|
|
|
|
check_input_image_special
|
|
|
|
echo -e "\n*** 3) download_wiimm"
|
|
|
|
download_wiimm
|
|
|
|
echo -e "\n*** 4) patch_wiimm"
|
|
|
|
patch_wiimm
|
|
|
|
;;
|
|
|
|
|
2014-05-15 20:54:19 +02:00
|
|
|
"WII_GENERIC")
|
|
|
|
show_notes
|
|
|
|
|
|
|
|
echo -e "\n*** 1) check_input_image"
|
|
|
|
check_input_image
|
|
|
|
echo -e "\n*** 2) pi_action"
|
|
|
|
pi_action
|
|
|
|
;;
|
|
|
|
|
2013-06-22 19:02:37 +02:00
|
|
|
"IPS" )
|
|
|
|
show_notes
|
|
|
|
check_input_rom
|
|
|
|
|
2013-06-22 19:15:29 +02:00
|
|
|
if [[ -f ${PATCH} ]]; then
|
|
|
|
ext=${ROM/*.}
|
|
|
|
cp "${ROM}" "${GAMENAME}.${ext}"
|
2013-10-12 10:37:29 +02:00
|
|
|
${IPS} a "${PATCH}" "${GAMENAME}.${ext}" || exit 51
|
2013-06-22 19:15:29 +02:00
|
|
|
else
|
|
|
|
echo -e "error: patch (${PATCH}) could not be found"
|
2016-07-03 20:12:22 +02:00
|
|
|
exit 21
|
2013-06-22 19:15:29 +02:00
|
|
|
fi
|
2013-06-22 19:02:37 +02:00
|
|
|
;;
|
2014-05-19 21:54:00 +02:00
|
|
|
|
2016-07-26 23:16:49 +02:00
|
|
|
"HANS" )
|
|
|
|
show_notes
|
|
|
|
echo -e "\n*** 1) check_input_rom"
|
|
|
|
check_input_rom
|
|
|
|
|
|
|
|
rm -rf romfs/ romfs.bin ${RFS}
|
|
|
|
|
|
|
|
echo -e "\n*** 2) check_hans_files"
|
|
|
|
check_hans_files
|
|
|
|
|
|
|
|
echo -e "\n*** 3) unpack_3dsrom"
|
|
|
|
unpack_3dsrom "${CXI}" || exit 51
|
|
|
|
|
|
|
|
echo -e "\n*** 4) unpack_3dsromfs"
|
|
|
|
unpack_3dsromfs romfs.bin || exit 51
|
|
|
|
|
|
|
|
echo -e "\n*** 5) patch_romfs"
|
|
|
|
patch_romfs
|
|
|
|
|
|
|
|
echo -e "\n*** 6) repack_romfs"
|
|
|
|
repack_3dsromfs romfs/ "${RFS}" || exit 51
|
|
|
|
|
2016-08-02 22:33:05 +02:00
|
|
|
mv "${RFS}" "${PATCHIMAGE_ROM_DIR}"
|
2016-08-02 22:22:48 +02:00
|
|
|
|
2016-07-26 23:16:49 +02:00
|
|
|
echo "
|
2016-08-02 22:33:05 +02:00
|
|
|
*** succesfully created new romfs as \"${PATCHIMAGE_ROM_DIR}/${RFS}\"
|
2016-08-03 21:04:22 +02:00
|
|
|
"
|
2016-07-26 23:16:49 +02:00
|
|
|
|
2016-08-03 21:04:22 +02:00
|
|
|
[[ ${DATA} ]] && echo \
|
|
|
|
">> for Hans Banners / Launchers, place all files from
|
2016-07-26 23:16:49 +02:00
|
|
|
|
2016-08-03 20:13:23 +02:00
|
|
|
$(readlink -m "${DATA}")
|
2016-07-26 23:16:49 +02:00
|
|
|
|
|
|
|
into the root of your sd card
|
|
|
|
"
|
|
|
|
;;
|
|
|
|
|
2016-07-01 20:07:53 +02:00
|
|
|
"DELTA" )
|
|
|
|
show_notes
|
2016-07-01 22:06:13 +02:00
|
|
|
|
|
|
|
echo -e "\n*** 1) menu"
|
2016-07-03 20:12:22 +02:00
|
|
|
menu || exit 9
|
2016-07-01 22:06:13 +02:00
|
|
|
|
|
|
|
echo -e "\n*** 2) patch"
|
2016-07-03 20:12:22 +02:00
|
|
|
patch || exit 51
|
2016-07-01 20:07:53 +02:00
|
|
|
;;
|
|
|
|
|
2013-06-21 19:29:17 +02:00
|
|
|
esac
|