mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-12-26 01:01:50 +01:00
add batch-building shortcuts
This commit is contained in:
parent
2daa9f71a4
commit
031b74dfb2
@ -31,3 +31,12 @@
|
||||
*** Other game parameters ***
|
||||
--rom=/home/test/MyGame.rom | specify path to ROM to use for building
|
||||
--patch=/home/test/MyModdedGame.ips | specify path to IPS Patch file
|
||||
|
||||
*** Batch-Building shortcuts ***
|
||||
--game=NSMB_ALL | build all mods of New Super Mario Bros. Wii
|
||||
--game=PKMN_ALL | build all mods of Pokemon X, Y, Omega Ruby, Alpha Sapphire
|
||||
--game=PKMN_X | build all mods of Pokemon X
|
||||
--game=PKMN_Y | build all mods of Pokemon Y
|
||||
--game=PKMN_OR | build all mods of Pokemon Omega Ruby
|
||||
--game=PKMN_AS | build all mods of Pokemon Alpha Sapphire
|
||||
|
||||
|
@ -269,6 +269,36 @@ patchimage_delta () {
|
||||
|
||||
[[ ! ${GAME} ]] && ask_game
|
||||
|
||||
for game in ${GAME[@]}; do
|
||||
case ${game} in
|
||||
NSMB_ALL )
|
||||
NEW_GAME=(${NEW_GAME[@]} NSMB{1..12} NSMB{13..27})
|
||||
;;
|
||||
|
||||
PKMN_ALL )
|
||||
NEW_GAME=(${NEW_GAME[@]} PKMN{1..9})
|
||||
;;
|
||||
|
||||
PKMN_Y )
|
||||
NEW_GAME=(${NEW_GAME[@]} PKMN2 PKMN6)
|
||||
;;
|
||||
|
||||
PKMN_X )
|
||||
NEW_GAME=(${NEW_GAME[@]} PKMN1 PKMN5)
|
||||
;;
|
||||
|
||||
PKMN_OR )
|
||||
NEW_GAME=(${NEW_GAME[@]} PKMN3 PKMN7)
|
||||
;;
|
||||
|
||||
PKMN_AS )
|
||||
NEW_GAME=(${NEW_GAME[@]} PKMN4 PKMN8 PKMN9)
|
||||
;;
|
||||
esac
|
||||
|
||||
[[ ${NEW_GAME} ]] && GAME=(${NEW_GAME[@]})
|
||||
done
|
||||
|
||||
for game in ${GAME[@]}; do
|
||||
|
||||
case ${game} in
|
||||
|
@ -24,6 +24,9 @@ setup_tools () {
|
||||
|
||||
}
|
||||
|
||||
ALL_NSMB=(NSMB{1..12} NSMB{13..27})
|
||||
ALL_PKMN=(PKMN{1..9})
|
||||
|
||||
SUPPORTED_GAMES="************************************************
|
||||
patchimage v${PATCHIMAGE_VERSION}
|
||||
|
||||
@ -60,6 +63,8 @@ NSMB27 MLGSuperLuigi MLG Super Luigi Bros. Wii
|
||||
|
||||
NSMB99 NSMBWCharacters Customize Characters
|
||||
|
||||
NSMB_ALL All Mods of New Super Mario Bros. Wii
|
||||
|
||||
<<<<<< Mario Kart Wii >>>>>>
|
||||
MKW1 Wiimmfi Wiimfi Patcher. Patch Mario Kart to use Wiimm's server
|
||||
MKW2 Wiimmpatch Wiimfi Patcher. Patch WFC games to use Wiimm's server (exp)
|
||||
@ -85,6 +90,12 @@ PKMN7 RisingRuby Pokemon Rising Ruby
|
||||
PKMN8 SinkingSapphire Pokemon Sinking Sapphire
|
||||
PKMN9 DeltaEmeraldAS Pokemon Delta Emerald (Alpha Sapphire)
|
||||
|
||||
PKMN_ALL All Mods of Pokemon X, Y, Omega Ruy, Alpha Sapphire
|
||||
PKMN_X All Mods of Pokemon X
|
||||
PKMN_Y All Mods of Pokemon Y
|
||||
PKMN_OR All Mods of Pokemon Omega Ruby
|
||||
PKMN_AS All Mods of Pokemon Alpha Sapphire
|
||||
|
||||
BSECU BravelySecondUncensored Bravely Second Uncensored
|
||||
|
||||
<<<<<< ROMS >>>>>>
|
||||
@ -704,6 +715,14 @@ while [[ $xcount -lt $pcount ]]; do
|
||||
*** Other game parameters ***
|
||||
--rom=/home/test/MyGame.rom | specify path to ROM to use for building
|
||||
--patch=/home/test/MyModdedGame.ips | specify path to IPS Patch file
|
||||
|
||||
*** Batch-Building shortcuts ***
|
||||
--game=NSMB_ALL | build all mods of New Super Mario Bros. Wii
|
||||
--game=PKMN_ALL | build all mods of Pokemon X, Y, Omega Ruby, Alpha Sapphire
|
||||
--game=PKMN_X | build all mods of Pokemon X
|
||||
--game=PKMN_Y | build all mods of Pokemon Y
|
||||
--game=PKMN_OR | build all mods of Pokemon Omega Ruby
|
||||
--game=PKMN_AS | build all mods of Pokemon Alpha Sapphire
|
||||
"
|
||||
exit 0
|
||||
;;
|
||||
|
Loading…
Reference in New Issue
Block a user