mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2025-01-27 07:45:31 +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 () {
|
||||
|
||||
if [[ ! ${RIIVOLUTION}} ]]; then
|
||||
if [[ ${DOWNLOAD} ]]; then
|
||||
wget ${DOWNLOAD_LINK} -O ./${RIIVOLUTION_ZIP}
|
||||
elif [[ ! ${RIIVOLUTION}} ]]; then
|
||||
if [[ -e ./${RIIVOLUTION_ZIP} ]]; then
|
||||
unzip ./${RIIVOLUTION_ZIP} >/dev/null
|
||||
elif [[ ! -d ./${RIIVOLUTION_DIR} ]]; then
|
||||
@ -108,6 +110,10 @@ while [[ $xcount -lt $pcount ]]; do
|
||||
fi
|
||||
;;
|
||||
|
||||
--download )
|
||||
DOWNLOAD=TRUE
|
||||
;;
|
||||
|
||||
--version=* )
|
||||
VERSION=${1/*=}
|
||||
case ${VERSION} in
|
||||
@ -161,7 +167,8 @@ while [[ $xcount -lt $pcount ]]; do
|
||||
--version=EURv1,EURv2,USAv1,USAv2,JPNv1 | specify your game version
|
||||
--customdid=SMNP02 | specify a custom ID to use for the 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
|
||||
;;
|
||||
esac
|
||||
|
Loading…
x
Reference in New Issue
Block a user