mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2025-01-13 09:19:06 +01:00
fixup parallel worlds patcher
This commit is contained in:
parent
d94d77c08d
commit
d521071e05
@ -397,7 +397,8 @@ check_riivolution_patch () {
|
||||
if [[ ! -f "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}" ]]; then
|
||||
x=5
|
||||
echo "*** >> downloading"
|
||||
${GDOWN} "${DOWNLOAD_LINK}" "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp >/dev/null || exit 57
|
||||
${GDOWN} "${DOWNLOAD_LINK}" \
|
||||
"${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp >/dev/null || exit 57
|
||||
mv "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"
|
||||
echo "*** >> unpacking"
|
||||
unpack "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"
|
||||
@ -418,7 +419,8 @@ check_riivolution_patch () {
|
||||
if [[ ! -f "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}" ]]; then
|
||||
x=5
|
||||
echo "*** >> downloading"
|
||||
wget -q --no-check-certificate "${DOWNLOAD_LINK}" -O "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp >/dev/null || exit 57
|
||||
wget -q --no-check-certificate "${DOWNLOAD_LINK}" \
|
||||
-O "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp >/dev/null || exit 57
|
||||
mv "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"__tmp "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"
|
||||
echo "*** >> unpacking"
|
||||
unpack "${PATCHIMAGE_RIIVOLUTION_DIR}/${RIIVOLUTION_ZIP}"
|
||||
|
@ -2,7 +2,7 @@
|
||||
|
||||
ROM_MASK="*[Ll]ink*[Pp]ast*smc"
|
||||
DOWNLOAD_LINK="https://sites.google.com/site/zeldaparallelworlds/lozpw110.rar"
|
||||
DOWNLOAD_ZIP="lozpw110.rar"
|
||||
RIIVOLUTION_ZIP="lozpw110.rar"
|
||||
PATCH="ZPW_1.1.ips"
|
||||
GAMENAME="The Legend of Zelda - Parallel Worlds"
|
||||
GAME_TYPE=IPS
|
||||
@ -22,15 +22,3 @@ Supported Versions: US
|
||||
************************************************"
|
||||
|
||||
}
|
||||
|
||||
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 15
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user