mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-24 10:09:22 +01:00
retro remix support
This commit is contained in:
parent
80d8f23068
commit
7c8020c25d
12
ChangeLog
12
ChangeLog
@ -1,3 +1,15 @@
|
||||
v2.4:
|
||||
- fixed downloading NewerSMBW
|
||||
- added support for New Super Mario Bros. Wii Retro Remix
|
||||
- add savegame hack to Epic Super Bowser World
|
||||
- add savegame hack to Newer: Holiday Special
|
||||
- add savegame hack to New Super Mario Bros. 4
|
||||
- leave a message where the file was created
|
||||
- removed patches/03-06.arc.LH (NewerSMBW 1.02 includes it)
|
||||
- moved NSMBW detection in a function (no more duplicated code)
|
||||
- fixed pre-requisite checking for Koopa Country
|
||||
- fixed handling .zip/.rar files with spaces in the name
|
||||
|
||||
v2.3:
|
||||
- add support for New Super Mario Bros. 4
|
||||
- fixed building JPN version of NewerHoliday
|
||||
|
2
GAMEIDS
2
GAMEIDS
@ -11,3 +11,5 @@ SMN?08 Epic Super Bowser World
|
||||
SMN?09 ?
|
||||
SMN?10 Koopa Country
|
||||
SMN?11 New Super Mario Bros. 4
|
||||
|
||||
MRR?01 New Super Mario Bros. Wii Retro Remix
|
||||
|
1
README
1
README
@ -21,6 +21,7 @@ Supported Games
|
||||
* Epic Super Bower World (riivolution) [SMN?08]
|
||||
* Koopa Country (riivolution) [SMN?10]
|
||||
* New Super Mario Bros. 4 (riivolution) [SMN?11]
|
||||
* New Super Mario Bros. Wii Retro Remix [MRR?01]
|
||||
* The Legend of Zelda: Parallel Worlds (ips)
|
||||
|
||||
Default Searchpaths:
|
||||
|
@ -49,6 +49,10 @@ case ${GAME} in
|
||||
source script.d/nsmbw4.sh
|
||||
;;
|
||||
|
||||
i | I | Retro | "Retro Remix" )
|
||||
source script.d/retroremix.sh
|
||||
;;
|
||||
|
||||
1 | ParallelWorlds | "The Legend of Zelda: Parallel Worlds" )
|
||||
source script.d/parallelworlds.sh
|
||||
;;
|
||||
|
@ -41,6 +41,7 @@ E Cannon Super Mario Bros.
|
||||
F Epic Super Bowser World
|
||||
G Koopa Country
|
||||
H New Super Mario Bros. 4
|
||||
I New Super Mario Bros. Wii Retro Remix
|
||||
|
||||
1 The Legend of Zelda: Parallel Worlds
|
||||
"
|
||||
|
88
script.d/retroremix.sh
Normal file
88
script.d/retroremix.sh
Normal file
@ -0,0 +1,88 @@
|
||||
#!/bin/bash
|
||||
|
||||
WORKDIR=nsmb.d
|
||||
DOL=${WORKDIR}/sys/main.dol
|
||||
DOWNLOAD_LINK="http://www.nanolx.org/riivolution/Retro%20Remix.rar"
|
||||
RIIVOLUTION_ZIP="Retro Remix.rar"
|
||||
RIIVOLUTION_DIR="Retro Remix"
|
||||
GAMENAME="New Super Mario Bros. Wii Retro Remix"
|
||||
GAME_TYPE=RIIVOLUTION
|
||||
BANNER_LOCATION=${WORKDIR}/files/opening.bnr
|
||||
|
||||
show_notes () {
|
||||
|
||||
echo -e \
|
||||
"************************************************
|
||||
${GAMENAME}
|
||||
|
||||
The Original Adventure is back!
|
||||
Join Mario in his Bowser-bashing classic quest - Again!
|
||||
Bowser has once again invaded the Mushroom Kingdom
|
||||
and kidnapped Princess Peach. It's up to you to save her.
|
||||
|
||||
Source: ?
|
||||
Base Image: New Super Mario Bros. Wii (SMN?01)
|
||||
Supported Versions: EURv1, EURv2, USAv1, USAv2, JPNv1
|
||||
************************************************"
|
||||
|
||||
}
|
||||
|
||||
check_input_image_special () {
|
||||
|
||||
if [[ ! ${IMAGE} ]]; then
|
||||
if test -f SMN?01.wbfs; then
|
||||
IMAGE=SMN?01.wbfs
|
||||
elif test -f SMN?01.iso; then
|
||||
IMAGE=SMN?01.iso
|
||||
else
|
||||
echo -e "please specify image to use with --iso=<path>"
|
||||
exit 1
|
||||
fi
|
||||
fi
|
||||
|
||||
}
|
||||
|
||||
detect_game_version () {
|
||||
|
||||
nsmbw_version
|
||||
|
||||
GAMEID=MRR${REG_LETTER}01
|
||||
|
||||
}
|
||||
|
||||
place_files () {
|
||||
|
||||
case ${VERSION} in
|
||||
EURv* )
|
||||
LANGDIRS=( EngEU FraEU GerEU ItaEU SpaEU NedEU )
|
||||
for dir in ${LANGDIRS[@]}; do
|
||||
cp -r "${RIIVOLUTION_DIR}"/US/EngUS/Message/ ${WORKDIR}/files/EU/${dir}/
|
||||
done
|
||||
cp "${RIIVOLUTION_DIR}"/US/Layout/openingTitle/openingTitle.arc ${WORKDIR}/files/EU/Layout/openingTitle/
|
||||
;;
|
||||
|
||||
USAv* )
|
||||
LANGDIRS=( FraUS EngUS SpaUS )
|
||||
for dir in ${LANGDIRS[@]}; do
|
||||
cp -r "${RIIVOLUTION_DIR}"/US/EngUS/Message/ ${WORKDIR}/files/US/${dir}/
|
||||
done
|
||||
cp "${RIIVOLUTION_DIR}"/US/Layout/openingTitle/openingTitle.arc ${WORKDIR}/files/US/Layout/openingTitle/
|
||||
;;
|
||||
|
||||
JPNv* )
|
||||
cp "${RIIVOLUTION_DIR}"/US/EngUS/Message/* ${WORKDIR}/files/JP/Message/
|
||||
cp "${RIIVOLUTION_DIR}"/US/Layout/openingTitle/openingTitle.arc ${WORKDIR}/files/JP/Layout/openingTitle/
|
||||
;;
|
||||
esac
|
||||
|
||||
cp "${RIIVOLUTION_DIR}"/Layout/MultiCorseSelect/MultiCorseSelect.arc ${WORKDIR}/files/Layout/MultiCourseSelect/MultiCourseSelect.arc
|
||||
cp -r "${RIIVOLUTION_DIR}"/{Layout,MovieDemo,Object,Sound,Stage,WorldMap}/ ${WORKDIR}/files/
|
||||
rm -rf ${WORKDIR}/files/Layout/MultiCorseSelect/
|
||||
|
||||
}
|
||||
|
||||
dolpatch () {
|
||||
|
||||
echo
|
||||
|
||||
}
|
Loading…
Reference in New Issue
Block a user