mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-01 07:15:06 +01:00
add support for zelda parallel worlds
This commit is contained in:
parent
82dfc856c2
commit
224a697c52
@ -33,7 +33,9 @@ case ${GAME} in
|
|||||||
source script.d/newerholiday.sh
|
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
|
source script.d/parallelworlds.sh
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -32,6 +32,10 @@ cleanup () {
|
|||||||
|
|
||||||
ask_game () {
|
ask_game () {
|
||||||
|
|
||||||
|
# ####
|
||||||
|
# E: preserved for Canon SMBW
|
||||||
|
# ###
|
||||||
|
|
||||||
echo -e \
|
echo -e \
|
||||||
"************************************************
|
"************************************************
|
||||||
patchimage.sh
|
patchimage.sh
|
||||||
@ -41,6 +45,8 @@ A NewerSMB
|
|||||||
B Newer Summer Sun
|
B Newer Summer Sun
|
||||||
C AnotherSMB
|
C AnotherSMB
|
||||||
D Newer: Holiday Special
|
D Newer: Holiday Special
|
||||||
|
|
||||||
|
F The Legend of Zelda: Parallel Worlds
|
||||||
"
|
"
|
||||||
|
|
||||||
read GAME
|
read GAME
|
||||||
|
36
script.d/parallelworlds.sh
Normal file
36
script.d/parallelworlds.sh
Normal 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
|
||||||
|
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user