mirror of
https://gitlab.com/Nanolx/patchimage.git
synced 2024-11-24 10:09:22 +01:00
update wit dolpatch calls
This commit is contained in:
parent
39b574b972
commit
6f80c2f9c5
@ -59,12 +59,11 @@ case ${GAME_TYPE} in
|
||||
|
||||
detect_game_version
|
||||
place_files
|
||||
|
||||
download_banner
|
||||
apply_banner
|
||||
|
||||
prepare_xml
|
||||
${WIT} dolpatch ${DOL} xml="${XML_FILE}" --source "${XML_SOURCE}" -q
|
||||
dolpatch_extra
|
||||
dolpatch
|
||||
|
||||
if [[ ${CUSTOMID} ]]; then
|
||||
${WIT} cp -v -B ${WORKDIR} ${CUSTOMID}.wbfs -vv --disc-id=${CUSTOMID} ${TMD_OPTS} --name "${GAMENAME}"
|
||||
|
@ -133,17 +133,13 @@ place_files () {
|
||||
|
||||
}
|
||||
|
||||
prepare_xml () {
|
||||
dolpatch () {
|
||||
|
||||
cp "${XML_FILE}" "${XML_FILE}".new
|
||||
sed -e 's/80001800/803482C0/g' -i "${XML_FILE}".new
|
||||
XML_FILE="${XML_FILE}".new
|
||||
|
||||
}
|
||||
|
||||
dolpatch_extra () {
|
||||
|
||||
${WIT} dolpatch ${DOL} xml="patches/AnotherSMB-Loader.xml" -q
|
||||
${WIT} dolpatch ${DOL} xml="${XML_FILE}" -s "${XML_SOURCE}" xml="patches/AnotherSMB-Loader.xml" -q
|
||||
${WIT} dolpatch ${DOL} xml="patches/NSMBW_AP.xml" -q
|
||||
|
||||
}
|
||||
|
@ -115,15 +115,9 @@ place_files () {
|
||||
|
||||
}
|
||||
|
||||
prepare_xml () {
|
||||
dolpatch () {
|
||||
|
||||
echo -ne
|
||||
|
||||
}
|
||||
|
||||
dolpatch_extra () {
|
||||
|
||||
${WIT} dolpatch ${DOL} xml="patches/HolidaySpecial-Loader.xml" -q
|
||||
${WIT} dolpatch ${DOL} xml="${XML_FILE}" -s "${XML_SOURCE}" xml="patches/HolidaySpecial-Loader.xml" -q
|
||||
${WIT} dolpatch ${DOL} xml="patches/NSMBW_AP.xml" -q
|
||||
|
||||
}
|
||||
|
@ -149,17 +149,13 @@ place_files () {
|
||||
|
||||
}
|
||||
|
||||
prepare_xml () {
|
||||
dolpatch () {
|
||||
|
||||
cp "${XML_FILE}" "${XML_FILE}".new
|
||||
sed -e 's/80001800/803482C0/g' -i "${XML_FILE}".new
|
||||
XML_FILE="${XML_FILE}".new
|
||||
|
||||
}
|
||||
|
||||
dolpatch_extra () {
|
||||
|
||||
${WIT} dolpatch ${DOL} xml="patches/NewerSMBW-Loader.xml" -q
|
||||
${WIT} dolpatch ${DOL} xml="${XML_FILE}" -s "${XML_SOURCE}" xml="patches/NewerSMBW-Loader.xml" -q
|
||||
${WIT} dolpatch ${DOL} xml="patches/NSMBW_AP.xml" -q
|
||||
|
||||
}
|
||||
|
@ -117,20 +117,18 @@ place_files () {
|
||||
|
||||
}
|
||||
|
||||
prepare_xml () {
|
||||
dolpatch () {
|
||||
|
||||
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" \
|
||||
xml="patches/SummerSun-Loader.xml" -q
|
||||
|
||||
dolpatch_extra () {
|
||||
|
||||
${WIT} dolpatch ${DOL} "802F148C=53756D6D53756E#7769696D6A3264" -q
|
||||
${WIT} dolpatch ${DOL} "802F118C=53756D6D53756E#7769696D6A3264" -q
|
||||
${WIT} dolpatch ${DOL} "802F0F8C=53756D6D53756E#7769696D6A3264" -q
|
||||
${WIT} dolpatch ${DOL} xml="patches/SummerSun-Loader.xml" -q
|
||||
${WIT} dolpatch ${DOL} xml="patches/NSMBW_AP.xml" -q
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user