update docs, completely kill BASE.iso / BASE.wbfs stuff

This commit is contained in:
Christopher Roy Bratusek 2016-08-05 16:02:10 +02:00
parent 3c976d0f89
commit 01d5a67b27
4 changed files with 17 additions and 28 deletions

View File

@ -9,10 +9,8 @@ b) ${PATCHIMAGE_WBFS_DIR}
>> expected filenames
a) BASE.iso
b) BASE.wbfs
c) SMN?01.iso
d) SMN?01.wbfs
a) SMN?01.iso
b) SMN?01.wbfs
SLF?01 NSMBW3: The Final Levels
SMN?03 Newer Super Mario Bros. Wii
@ -50,10 +48,8 @@ b) ${PATCHIMAGE_WBFS_DIR}
>> expected filenames
a) BASE.iso
b) BASE.wbfs
c) RMC?01.iso
d) RMC?01.wbfs
a) RMC?01.iso
b) RMC?01.wbfs
RMC?06 Wiimms MKW Fun 2010-12
RMC?07 Wiimms MKW Retro 2011-02
@ -92,10 +88,8 @@ b) ${PATCHIMAGE_WBFS_DIR}
>> expected filenames
a) BASE.iso
b) BASE.wbfs
c) SUK?01.iso
d) SUK?01.wbfs
a) SUK?01.iso
b) SUK?01.wbfs
SUK?01 Kirby's Adventure Wii
* exchange first player's character

View File

@ -1,13 +1,8 @@
While the script executes you will see some status codes, below you will find the meaning:
phase code meaning
*** 1) 0 neither BASE.iso nor BASE.wbfs found
1 BASE.iso 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)
*** 1) 0 no <GAMEID>.iso/.wbfs found (or required if *** 1) exited with 1 or 2)
1 <GAMEID>.iso found in ${PWD}
2 <GAMEID>.wbfs found in ${PWD}
3 <GAMEID>.iso found in ${PATCHIMAGE_WBFS_DIR}
@ -15,8 +10,10 @@ While the script executes you will see some status codes, below you will find th
5 no <MASK>.cxi found (3DS ROM)
6 <MASK>.cxi found in ${PWD}
7 <MASK>.cxi found in ${PATCHIMAGE_3DS_DIR}
8 xdelta/cpk found based on interactive user-input
9 xdelta/cpk found based on non-interactive user-input
*** 3) 0 no riivolution files found unpacked in ${PWD}
*** 2) 0 no riivolution files found unpacked in ${PWD}
1 riivolution files/archive not found in ${PWD}
2 riivolution archive found in ${PWD}
3 riivolution archive found in ${PATCHIMAGE_RIIVOLUTION_DIR}

View File

@ -450,9 +450,8 @@ while [[ $xcount -lt $pcount ]]; do
ISO_PATH=${1/*=}
ISO_EXT=${ISO_PATH//*./}
if [[ -e "${ISO_PATH}" ]]; then
ln -sf "${ISO_PATH}" BASE.${ISO_EXT}
IMAGE=BASE.${ISO_EXT}
if [[ -f "${ISO_PATH}" ]]; then
IMAGE="${ISO_PATH}"
else
echo -e "ISO not found"
exit 15
@ -463,9 +462,8 @@ while [[ $xcount -lt $pcount ]]; do
ROM_PATH=${1/*=}
ROM_EXT=${ROM_PATH//*./}
if [[ -e "${ROM_PATH}" ]]; then
ln -sf "${ROM_PATH}" BASE.${ROM_EXT}
IMAGE=BASE.${ROM_EXT}
if [[ -f "${ROM_PATH}" ]]; then
IMAGE="${ROM_PATH}"
else
echo -e "ROM not found"
exit 15

View File

@ -22,18 +22,18 @@ menu () {
echo -e "\nTokyo Mirage Sessions #FE restoration patcher"
status=3
status=8
if [[ ! ${XDELTA_PATH} ]]; then
echo -e "\nEnter path to the directory containing the delta patches:\n"
read XDELTA_PATH || exit 75
else status=4
else status=9
fi
if [[ ! ${CPK_PATH} ]]; then
echo -e "\nEnter path to the directory containing the game files (cpk):\n"
read CPK_PATH || exit 75
else status=4
else status=9
fi
if [[ ! -d ${XDELTA_PATH} ]]; then