add support for zelda parallel worlds

This commit is contained in:
Christopher Roy Bratusek 2013-06-22 19:30:30 +02:00
parent 82dfc856c2
commit 224a697c52
3 changed files with 45 additions and 1 deletions

View File

@ -33,7 +33,9 @@ case ${GAME} in
source script.d/newerholiday.sh
;;
e | E | ParallelWorlds | "The Legend of Zelda: Parallel Worlds" )
# e preserved for canon smbw
f | F | ParallelWorlds | "The Legend of Zelda: Parallel Worlds" )
source script.d/parallelworlds.sh
;;

View File

@ -32,6 +32,10 @@ cleanup () {
ask_game () {
# ####
# E: preserved for Canon SMBW
# ###
echo -e \
"************************************************
patchimage.sh
@ -41,6 +45,8 @@ A NewerSMB
B Newer Summer Sun
C AnotherSMB
D Newer: Holiday Special
F The Legend of Zelda: Parallel Worlds
"
read GAME

View File

@ -0,0 +1,36 @@
#!/bin/bash
ROM_MASK="*[Ll]ink*[Pp]ast*smc"
DOWNLOAD_LINK="https://sites.google.com/site/zeldaparallelworlds/lozpw110.rar"
DOWNLOAD_ZIP="lozpw110.rar"
PATCH="ZPW_1.1.ips"
GAMENAME="The Legend of Zelda - Parallel Worlds"
GAME_TYPE=IPS
show_notes () {
echo -e \
"************************************************
${GAMENAME}
Parallel Worlds is a complete overhaul of A Link to the Past,
new world, new dungeons... and much more difficult.
Source: https://sites.google.com/site/zeldaparallelworlds/
Base ROM: The Legend of Zelda: A Link to the Past
Supported Versions: ?
************************************************"
}
check_input_rom () {
if [[ ! ${ROM} ]]; then
ROM=$(find . -name ${ROM_MASK} | sed -e 's,./,,')
if [[ ${ROM} == "" ]]; then
echo -e "error: could not find suitable ROM, specify using --rom"
exit 1
fi
fi
}