mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-28 03:54:22 +01:00
prepare for character customization in NSMBW
This commit is contained in:
parent
a1ab754b5e
commit
f263f98474
@ -1,5 +1,6 @@
|
||||
v5.5.0:
|
||||
-add support for MKWiimm 2015-05
|
||||
- update szs to version 1.40a
|
||||
- add support for MKWiimm 2015-05
|
||||
|
||||
v5.4.0:
|
||||
- fixed major bug creating MKWiimm: image was not saved to proper
|
||||
|
@ -127,6 +127,10 @@ case ${GAME} in
|
||||
source ${PATCHIMAGE_SCRIPT_DIR}/newsmbwotherworld.sh
|
||||
;;
|
||||
|
||||
NSMB99 | NSMBWCharacters )
|
||||
source ${PATCHIMAGE_SCRIPT_DIR}/nsmbw_characters.sh
|
||||
;;
|
||||
|
||||
MKW1 | Wiimmfi )
|
||||
source ${PATCHIMAGE_SCRIPT_DIR}/wiimmfi.sh
|
||||
;;
|
||||
|
@ -21,7 +21,7 @@ ask_game () {
|
||||
|
||||
echo -e \
|
||||
"************************************************
|
||||
patchimage v5.3.0
|
||||
patchimage v6.0.0
|
||||
|
||||
Enter ID for the Game you want to create:
|
||||
|
||||
@ -49,6 +49,8 @@ NSMB20 Newer: Falling Leaf
|
||||
NSMB21 Devil Mario Winter Special
|
||||
NSMB22 New Super Mario Bros. Wii - Other World
|
||||
|
||||
NSMB99 Customize Characters
|
||||
|
||||
<<<<<< Mario Kart Wii >>>>>>
|
||||
MKW1 Wiimfi Patcher. Patch Mario Kart to use Wiimm's server
|
||||
MKW2 Wiimfi Patcher. Patch WFC games to use Wiimm's server (exp)
|
||||
@ -248,6 +250,14 @@ check_input_image_mkwiimm () {
|
||||
|
||||
}
|
||||
|
||||
show_nsmbw_db () {
|
||||
|
||||
ID=${1:0:6}
|
||||
gawk -F \: "/^${ID}/"'{print $2}' \
|
||||
< ${PATCHIMAGE_SCRIPT_DIR}/nsmbw.db || echo "** Unknown **"
|
||||
|
||||
}
|
||||
|
||||
show_mkwiimm_db () {
|
||||
|
||||
ID=${1:4:2}
|
||||
@ -272,6 +282,22 @@ ask_input_image_mkwiimm () {
|
||||
|
||||
}
|
||||
|
||||
ask_input_image_nsmbw () {
|
||||
|
||||
echo "Choose New Super Mario Bros. Wii Image to modify
|
||||
|
||||
ALL patch all images"
|
||||
|
||||
for image in ${1}/MSN???.{iso,wbfs}; do
|
||||
if [[ -e ${image} ]]; then
|
||||
echo " ${image##*/} $(show_nsmbw_db ${image##*/})"
|
||||
fi
|
||||
done
|
||||
|
||||
echo ""
|
||||
|
||||
}
|
||||
|
||||
show_titles_db () {
|
||||
|
||||
ID=${1/.*}
|
||||
|
Loading…
Reference in New Issue
Block a user