diff --git a/SMT1_create.bat b/SMT1_create.bat index 5318a44..256503f 100644 --- a/SMT1_create.bat +++ b/SMT1_create.bat @@ -2,11 +2,24 @@ SET orig=%1 SET ios=%2 +IF NOT DEFINED orig ( +ECHO GBA rom not provide +CALL :printInstruction +EXIT /B +) + +IF NOT DEFINED ios ( +ECHO iOS rom not provide +CALL :printInstruction +EXIT /B +) + ECHO Recived values: ECHO Orginal GBA ROM: %orig% ECHO Orginal iOS ROM: %ios% + ECHO Testing accessibility to Original file IF NOT EXIST %orig% ( ECHO File not found diff --git a/SMT1_create.sh b/SMT1_create.sh index e3766d1..0a747ed 100755 --- a/SMT1_create.sh +++ b/SMT1_create.sh @@ -35,7 +35,7 @@ then then echo 'Downloading multiPatch' downloadedZip='./bin/multiPatch.zip' - curl 'https://projects.sappharad.com/tools/multiPatch171_cmd.zip' -o $downloadedZip + curl -L 'https://github.com/Sappharad/MultiPatch/releases/download/2.0/multipatch20_cmd.zip' -o $downloadedZip echo "Decompressing multiPatch" unzip $downloadedZip -d "bin/"