diff --git a/script.d/common.sh b/script.d/common.sh index 92c239f..8c04d07 100644 --- a/script.d/common.sh +++ b/script.d/common.sh @@ -3,7 +3,7 @@ TMP_FILES=(Another nsmb.d XmasNewer NewerFiles "Newer*Summer*Sun" \ ZPW_1.1.ips Epic_Super_Bowser_World_v1.00 Riivolution Koopa \ Cannon_Super_Mario_Bros._Wii_v1.1 riivolution "Readme*" "*.txt" "*.rtf" \ -"*.dol" "*.elf" nsmb "Retro Remix" WinterMoon WMManual.rtf) +"*.dol" "*.elf" nsmb "Retro Remix" WinterMoon WMManual.rtf NSMBW3 ) PATCHIMAGE_RIIVOLUTION_DIR="." PATCHIMAGE_WBFS_DIR="." diff --git a/script.d/nsmbw3.sh b/script.d/nsmbw3.sh index eaf9fd5..0e5883e 100644 --- a/script.d/nsmbw3.sh +++ b/script.d/nsmbw3.sh @@ -87,16 +87,16 @@ place_files () { dolpatch() { - cp "${XML_FILE}" "${XML_FILE}".new - sed -e 's/80001800/803482C0/g' -i "${XML_FILE}".new - XML_FILE="${XML_FILE}".new +# cp "${XML_FILE}" "${XML_FILE}".new +# sed -e 's/80001800/803482C0/g' -i "${XML_FILE}".new +# XML_FILE="${XML_FILE}".new - ${WIT} dolpatch ${DOL} xml="${XML_FILE}" -s "${XML_SOURCE}" #\ -# "802F148C=53756D6D53756E#7769696D6A3264" \ -# "802F118C=53756D6D53756E#7769696D6A3264" \ -# "802F0F8C=53756D6D53756E#7769696D6A3264" \ + ${WIT} dolpatch ${DOL} \ + "802F148C=53756D6D53756E#7769696D6A3264" \ + "802F118C=53756D6D53756E#7769696D6A3264" \ + "802F0F8C=53756D6D53756E#7769696D6A3264" \ # xml="patches/KoopaCountry-Loader.xml" -q - ${WIT} dolpatch ${DOL} xml="patches/NSMBW_AP.xml" -q +# ${WIT} dolpatch ${DOL} xml="patches/NSMBW_AP.xml" -q }