mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2025-02-05 11:56:21 +01:00
add support for downloading riivolution files
This commit is contained in:
parent
fc5eb22321
commit
e34554d347
@ -58,7 +58,9 @@ check_input_image () {
|
|||||||
|
|
||||||
check_riivolution_patch () {
|
check_riivolution_patch () {
|
||||||
|
|
||||||
if [[ ! ${RIIVOLUTION}} ]]; then
|
if [[ ${DOWNLOAD} ]]; then
|
||||||
|
wget ${DOWNLOAD_LINK} -O ./${RIIVOLUTION_ZIP}
|
||||||
|
elif [[ ! ${RIIVOLUTION}} ]]; then
|
||||||
if [[ -e ./${RIIVOLUTION_ZIP} ]]; then
|
if [[ -e ./${RIIVOLUTION_ZIP} ]]; then
|
||||||
unzip ./${RIIVOLUTION_ZIP} >/dev/null
|
unzip ./${RIIVOLUTION_ZIP} >/dev/null
|
||||||
elif [[ ! -d ./${RIIVOLUTION_DIR} ]]; then
|
elif [[ ! -d ./${RIIVOLUTION_DIR} ]]; then
|
||||||
@ -108,6 +110,10 @@ while [[ $xcount -lt $pcount ]]; do
|
|||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
--download )
|
||||||
|
DOWNLOAD=TRUE
|
||||||
|
;;
|
||||||
|
|
||||||
--version=* )
|
--version=* )
|
||||||
VERSION=${1/*=}
|
VERSION=${1/*=}
|
||||||
case ${VERSION} in
|
case ${VERSION} in
|
||||||
@ -161,7 +167,8 @@ while [[ $xcount -lt $pcount ]]; do
|
|||||||
--version=EURv1,EURv2,USAv1,USAv2,JPNv1 | specify your game version
|
--version=EURv1,EURv2,USAv1,USAv2,JPNv1 | specify your game version
|
||||||
--customdid=SMNP02 | specify a custom ID to use for the game
|
--customdid=SMNP02 | specify a custom ID to use for the game
|
||||||
--sharesave | let modified game share savegame with original game
|
--sharesave | let modified game share savegame with original game
|
||||||
--clean | cleanup the build-directory"
|
--clean | cleanup the build-directory
|
||||||
|
--download | download riivolution patchfiles"
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
Loading…
x
Reference in New Issue
Block a user