mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-12-28 02:01:47 +01:00
make game type DELTA behave like other game types
This commit is contained in:
parent
16378b9172
commit
44c631cd09
@ -4,6 +4,8 @@ While the script executes you will see some status codes, below you will find th
|
|||||||
*** 1) 0 neither BASE.iso nor BASE.wbfs found
|
*** 1) 0 neither BASE.iso nor BASE.wbfs found
|
||||||
1 BASE.iso found in ${PWD}
|
1 BASE.iso found in ${PWD}
|
||||||
2 BASE.wbfs found in ${PWD}
|
2 BASE.wbfs found in ${PWD}
|
||||||
|
3 xdelta/cpk found based on interactive user-input
|
||||||
|
4 xdelta/cpk found based on non-interactive user-input
|
||||||
|
|
||||||
*** 2) 0 no <GAMEID>.iso/.wbfs found (or required if *** 1) exited with 1 or 2)
|
*** 2) 0 no <GAMEID>.iso/.wbfs found (or required if *** 1) exited with 1 or 2)
|
||||||
1 <GAMEID>.iso found in ${PWD}
|
1 <GAMEID>.iso found in ${PWD}
|
||||||
|
@ -285,7 +285,11 @@ case ${GAME_TYPE} in
|
|||||||
|
|
||||||
"DELTA" )
|
"DELTA" )
|
||||||
show_notes
|
show_notes
|
||||||
|
|
||||||
|
echo -e "\n*** 1) menu"
|
||||||
menu || exit 1
|
menu || exit 1
|
||||||
|
|
||||||
|
echo -e "\n*** 2) patch"
|
||||||
patch || exit 1
|
patch || exit 1
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
@ -20,16 +20,20 @@ Supported Versions: EUR, US
|
|||||||
|
|
||||||
menu () {
|
menu () {
|
||||||
|
|
||||||
echo -e "\nTokyo Mirage Sessions #FE restoration patcher\n"
|
echo -e "\nTokyo Mirage Sessions #FE restoration patcher"
|
||||||
|
|
||||||
|
status=3
|
||||||
|
|
||||||
if [[ ! ${XDELTA_PATH} ]]; then
|
if [[ ! ${XDELTA_PATH} ]]; then
|
||||||
echo -e "Enter path to the directory containing the delta patches:\n"
|
echo -e "\nEnter path to the directory containing the delta patches:\n"
|
||||||
read XDELTA_PATH || exit 75
|
read XDELTA_PATH || exit 75
|
||||||
|
else status=4
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! ${CPK_PATH} ]]; then
|
if [[ ! ${CPK_PATH} ]]; then
|
||||||
echo -e "\nEnter path to the directory containing the game files (cpk):\n"
|
echo -e "\nEnter path to the directory containing the game files (cpk):\n"
|
||||||
read CPK_PATH || exit 75
|
read CPK_PATH || exit 75
|
||||||
|
else status=4
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ ! -d ${XDELTA_PATH} ]]; then
|
if [[ ! -d ${XDELTA_PATH} ]]; then
|
||||||
@ -46,6 +50,8 @@ menu () {
|
|||||||
exit 15
|
exit 15
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
echo ">>> status: ${status}"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
patch () {
|
patch () {
|
||||||
|
Loading…
Reference in New Issue
Block a user