mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-24 10:09:22 +01:00
final touches for mkwiimm
This commit is contained in:
parent
824d72012d
commit
3fbe60fc41
@ -47,6 +47,8 @@ build_mkwiimm () {
|
|||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
rm -rf ${FILENAME/.7z}
|
||||||
|
|
||||||
if [[ -f ${PATCHIMAGE_RIIVOLUTION_DIR}/${FILENAME} ]]; then
|
if [[ -f ${PATCHIMAGE_RIIVOLUTION_DIR}/${FILENAME} ]]; then
|
||||||
${UNP} ${PATCHIMAGE_RIIVOLUTION_DIR}/${FILENAME} >/dev/null
|
${UNP} ${PATCHIMAGE_RIIVOLUTION_DIR}/${FILENAME} >/dev/null
|
||||||
elif [[ -f ${PWD}/${FILENAME} ]]; then
|
elif [[ -f ${PWD}/${FILENAME} ]]; then
|
||||||
@ -58,8 +60,14 @@ build_mkwiimm () {
|
|||||||
|
|
||||||
cd ${FILENAME/.7z}
|
cd ${FILENAME/.7z}
|
||||||
ln -s ${IMAGE} .
|
ln -s ${IMAGE} .
|
||||||
REG=${IMAGE##*/}
|
|
||||||
REG=${REG:3:1}
|
REG=$(gawk '/^RMC/{print $3}' <(wit ll /media/chris/WiiHDDX/wbfs/RMCP01.wbfs))
|
||||||
|
|
||||||
|
case $REG in
|
||||||
|
PAL) REG=P ;;
|
||||||
|
NTSC-J) REG=J ;;
|
||||||
|
NTSC-U) REG=E ;;
|
||||||
|
esac
|
||||||
chmod +x *.sh
|
chmod +x *.sh
|
||||||
|
|
||||||
cp -r ${PATCHIMAGE_SCRIPT_DIR}/../override/* ${PWD}/bin/
|
cp -r ${PATCHIMAGE_SCRIPT_DIR}/../override/* ${PWD}/bin/
|
||||||
@ -84,7 +92,7 @@ PRIV_SAVEGAME=${MKWIIMM_OWN_SAVE}" > ${PWD}/config.def
|
|||||||
|
|
||||||
if [[ ${PATCHIMAGE_COVER_DOWNLOAD} == TRUE ]]; then
|
if [[ ${PATCHIMAGE_COVER_DOWNLOAD} == TRUE ]]; then
|
||||||
echo "\n*** Z) download_covers"
|
echo "\n*** Z) download_covers"
|
||||||
download_covers ${ID/.*}
|
download_covers RMC${REG}${ID}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "*** SUCCESS ***"
|
echo "*** SUCCESS ***"
|
||||||
|
Loading…
Reference in New Issue
Block a user