mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-28 03:54:22 +01:00
add batch mode for generating more than one mod at once
This commit is contained in:
parent
cfd9eb47d2
commit
560c457efc
@ -16,6 +16,7 @@ v7.0.0:
|
|||||||
- add --override-szs to override Wiims Mario Kart Fun wit and szs with
|
- add --override-szs to override Wiims Mario Kart Fun wit and szs with
|
||||||
the ones supplied by patchimage. Use this if building Wiims Mario Kart Fun
|
the ones supplied by patchimage. Use this if building Wiims Mario Kart Fun
|
||||||
fails due to incompatible library versions being installed.
|
fails due to incompatible library versions being installed.
|
||||||
|
- add batch mode for generating more than one mod at once
|
||||||
|
|
||||||
::bug fixes
|
::bug fixes
|
||||||
- several minor bugfixes and improvements
|
- several minor bugfixes and improvements
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
*** General parameters ***
|
*** General parameters ***
|
||||||
--help | show this message
|
--help | show this message
|
||||||
--game=<ID/Short Name> | specify game you want to create
|
--game=<ID/Short Name> | specify game you want to create
|
||||||
|
--game="<ID1/Short Name1> <ID2/Short Name2>" | specify multiple games you want to create
|
||||||
--list-games | show possible options for --game
|
--list-games | show possible options for --game
|
||||||
|
|
||||||
*** Wii game parameters ***
|
*** Wii game parameters ***
|
||||||
|
@ -46,7 +46,9 @@ setup_tools
|
|||||||
|
|
||||||
[[ ! ${GAME} ]] && ask_game
|
[[ ! ${GAME} ]] && ask_game
|
||||||
|
|
||||||
case ${GAME} in
|
for game in ${GAME[@]}; do
|
||||||
|
|
||||||
|
case ${game} in
|
||||||
|
|
||||||
NSMB1 | NewerSMB )
|
NSMB1 | NewerSMB )
|
||||||
source "${PATCHIMAGE_SCRIPT_DIR}/nsmbw/newersmb.sh"
|
source "${PATCHIMAGE_SCRIPT_DIR}/nsmbw/newersmb.sh"
|
||||||
@ -229,7 +231,7 @@ case ${GAME} in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
* )
|
* )
|
||||||
echo -e "specified Game ${GAME} not recognized"
|
echo -e "specified Game ${game} not recognized"
|
||||||
exit 9
|
exit 9
|
||||||
;;
|
;;
|
||||||
|
|
||||||
@ -413,3 +415,4 @@ case ${GAME_TYPE} in
|
|||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
|
done
|
||||||
|
@ -96,7 +96,7 @@ ask_game () {
|
|||||||
echo -e \
|
echo -e \
|
||||||
"${SUPPORTED_GAMES}
|
"${SUPPORTED_GAMES}
|
||||||
|
|
||||||
Enter ID or Short Name for the Game you want to build:
|
Enter ID or Short Name for the Game you want to build (multiple separated by space):
|
||||||
"
|
"
|
||||||
|
|
||||||
read -r GAME
|
read -r GAME
|
||||||
@ -622,6 +622,7 @@ while [[ $xcount -lt $pcount ]]; do
|
|||||||
*** General parameters ***
|
*** General parameters ***
|
||||||
--help | show this message
|
--help | show this message
|
||||||
--game=<ID/Short Name> | specify game you want to create
|
--game=<ID/Short Name> | specify game you want to create
|
||||||
|
--game=\"<ID1/Short Name1> <ID2/Short Name2>\" | specify multiple games you want to create
|
||||||
--list-games | show possible options for --game
|
--list-games | show possible options for --game
|
||||||
|
|
||||||
*** Wii game parameters ***
|
*** Wii game parameters ***
|
||||||
|
Loading…
Reference in New Issue
Block a user