mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2025-02-25 21:13:36 +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
|
||||
the ones supplied by patchimage. Use this if building Wiims Mario Kart Fun
|
||||
fails due to incompatible library versions being installed.
|
||||
- add batch mode for generating more than one mod at once
|
||||
|
||||
::bug fixes
|
||||
- several minor bugfixes and improvements
|
||||
|
@ -1,6 +1,7 @@
|
||||
*** General parameters ***
|
||||
--help | show this message
|
||||
--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
|
||||
|
||||
*** Wii game parameters ***
|
||||
|
@ -46,7 +46,9 @@ setup_tools
|
||||
|
||||
[[ ! ${GAME} ]] && ask_game
|
||||
|
||||
case ${GAME} in
|
||||
for game in ${GAME[@]}; do
|
||||
|
||||
case ${game} in
|
||||
|
||||
NSMB1 | NewerSMB )
|
||||
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
|
||||
;;
|
||||
|
||||
@ -413,3 +415,4 @@ case ${GAME_TYPE} in
|
||||
;;
|
||||
|
||||
esac
|
||||
done
|
||||
|
@ -96,7 +96,7 @@ ask_game () {
|
||||
echo -e \
|
||||
"${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
|
||||
@ -622,6 +622,7 @@ while [[ $xcount -lt $pcount ]]; do
|
||||
*** General parameters ***
|
||||
--help | show this message
|
||||
--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
|
||||
|
||||
*** Wii game parameters ***
|
||||
|
Loading…
x
Reference in New Issue
Block a user