summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAdam Bird <Archez@users.noreply.github.com>2023-11-05 12:34:39 -0500
committerGitHub <noreply@github.com>2023-11-05 12:34:39 -0500
commit7e9efeeadb80a48279cc5744e323b1844a8cda95 (patch)
tree8f281b26e564382d16e83d9f9e269762d53f5ca1 /scripts
parent13a8a1a5ccd07d59c15d22468bbd608ac04ca2bc (diff)
[OTR Archive] Store soh version in OTR files and verify on launch/ask to regenerate (#3218)
* parse sohver arg and store version file in otr * parse args for soh.otr gen only * pass soh version from built in extractor * update launch scripts, cmake and extract steps to pass soh version * check otr versions and error or ask to regenerate * add wiiu core header for osfatal * review feedback * remove soh dummy version for lus change instead * only configure linux script for linux * change lus commit * rename soh version to port version * fix submodules * bump OTRExporter * clean up error messages for switch/wiiu * strings not char array * typo * init wiiu before otr detection * Add message for mac/linux extraction * remove unneeded exits * change version number types to u16 to fix 32bit devices * bump otrexporter
Diffstat (limited to 'scripts')
-rw-r--r--scripts/linux/appimage/soh.sh.in (renamed from scripts/linux/appimage/soh.sh)2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/linux/appimage/soh.sh b/scripts/linux/appimage/soh.sh.in
index 0e8414ac0..bfc3cfec6 100644
--- a/scripts/linux/appimage/soh.sh
+++ b/scripts/linux/appimage/soh.sh.in
@@ -171,7 +171,7 @@ while [[ (! -e "$SHIP_HOME"/oot.otr) || (! -e "$SHIP_HOME"/oot-mq.otr) ]]; do
else
echo "Processing..."
fi
- assets/extractor/ZAPD.out ed -eh -i assets/extractor/xmls/"${ROM}" -b tmp/rom.z64 -fl assets/extractor/filelists -o placeholder -osf placeholder -gsf 1 -rconf assets/extractor/Config_"${ROM}".xml -se OTR --otrfile "${OTRNAME}" > /dev/null 2>&1
+ assets/extractor/ZAPD.out ed -eh -i assets/extractor/xmls/"${ROM}" -b tmp/rom.z64 -fl assets/extractor/filelists -o placeholder -osf placeholder -gsf 1 -rconf assets/extractor/Config_"${ROM}".xml -se OTR --otrfile "${OTRNAME}" --portVer "@CMAKE_PROJECT_VERSION@" > /dev/null 2>&1
cp "$ASSETDIR"/"$OTRNAME" "$SHIP_HOME"
fi
else