mirror of
https://github.com/modmii/modmii.github.io.git
synced 2025-04-21 03:51:20 +02:00
Compare commits
4 Commits
Author | SHA1 | Date | |
---|---|---|---|
![]() |
f0a744cd1f | ||
![]() |
cc340b2dd6 | ||
![]() |
cc949c88c8 | ||
![]() |
10c6c18d57 |
@ -24,7 +24,7 @@ chcp 437>nul
|
||||
::::PUSHD "%~dp0"
|
||||
::POPD
|
||||
|
||||
set currentversion=8.0.1
|
||||
set currentversion=8.0.3
|
||||
set d2x-bundled=11-beta3
|
||||
set currentversioncopy=%currentversion%
|
||||
set agreedversion=
|
||||
@ -9812,6 +9812,7 @@ set DB=N
|
||||
::--followup--
|
||||
IF "%Drive%"=="" set Drive=COPY_TO_SD
|
||||
IF "%DriveU%"=="" set DriveU=COPY_TO_USB
|
||||
set DRIVErestore=
|
||||
|
||||
if /i "%cmdlinemode%" NEQ "Y" set USBCONFIG=
|
||||
::set USBCONFIG=
|
||||
@ -12727,13 +12728,15 @@ if exist support\d2x-beta\d2x-beta.bat call support\d2x-beta\d2x-beta.bat
|
||||
if "%newversion%"=="" goto:updatefail
|
||||
|
||||
|
||||
if /i "%MENU1%" EQU "O" goto:skip
|
||||
if %currentversion% LSS %newversion% goto:openchangelog
|
||||
|
||||
if /i "%debug%" EQU "on" goto:debugskip
|
||||
if exist Updatetemp.bat attrib -h Updatetemp.bat
|
||||
if exist Updatetemp.bat del Updatetemp.bat>nul
|
||||
:debugskip
|
||||
|
||||
if /i "%MENU1%" EQU "O" goto:skip
|
||||
|
||||
if %currentversion% GTR %newversion% (echo This version is newer than the latest public release) & (echo.) & (echo You got some crazy new beta shit!) & (@ping 127.0.0.1 -n 4 -w 1000> nul) & (goto:menu)
|
||||
if %currentversion% EQU %newversion% (echo This version is up to date) & (@ping 127.0.0.1 -n 4 -w 1000> nul) & (goto:menu)
|
||||
|
||||
@ -12746,7 +12749,7 @@ if %currentversion% EQU %newversion% (echo This ver
|
||||
::if you made it this far, there's an update!
|
||||
|
||||
|
||||
::openchangelog
|
||||
:openchangelog
|
||||
|
||||
|
||||
|
||||
@ -26821,12 +26824,21 @@ if /i "%MENU1%" EQU "FC" goto:skipchange
|
||||
if not "%REALDRIVE%"=="" set "DRIVE=%REALDRIVE%"
|
||||
if /i "%USBCONFIG%" NEQ "USB" goto:skipchange
|
||||
if /i "%WADNAME%" EQU "WiiBackupManager.zip" set "DRIVE=%DRIVEU%"
|
||||
|
||||
if /i "%name%" EQU "USB Loader GX" set "DRIVE=%DRIVEU%"
|
||||
if /i "%name%" EQU "Configurable USB-Loader" set "DRIVE=%DRIVEU%"
|
||||
if /i "%name%" EQU "WiiFlow" set "DRIVE=%DRIVEU%"
|
||||
if /i "%name%" EQU "CleanRip" set "DRIVE=%DRIVEU%"
|
||||
if /i "%name%" EQU "Nintendont" set "DRIVE=%DRIVEU%"
|
||||
|
||||
if /i "%PATH1%" EQU "Program Files\FAT32_GUI_Formatter\" set "DRIVE=%DRIVEU%"
|
||||
if /i "%PATH1%" EQU "Program Files\NKit\" set "DRIVE=%DRIVEU%"
|
||||
if /i "%PATH1%" EQU "Program Files\GCBM\" set "DRIVE=%DRIVEU%"
|
||||
|
||||
:skipchange
|
||||
|
||||
|
||||
|
||||
if /i "%MENU1%" EQU "S" set DRIVE=temp
|
||||
|
||||
if not exist "%Drive%" mkdir "%Drive%"
|
||||
@ -30298,22 +30310,17 @@ if exist index.html del index.html>nul
|
||||
|
||||
::if not exist temp\%wadname% support\wget --no-check-certificate -c -l1 -r -nd --retr-symlinks -t2 -T30 --random-wait --reject "*.html" --reject "index.html.tmp" --reject "%2A" --reject "get.php@file=hackmii_installer_v1.0*" %code2% -q --show-progress
|
||||
|
||||
if not exist temp\%wadname% support\wget --no-check-certificate -c -l1 -r -nd --retr-symlinks -t2 -T30 --random-wait --reject html,tmp --accept-regex ".*hackmii_installer_v1\.%name:~-1%.*" %code2% -q --show-progress
|
||||
|
||||
if not exist temp\%wadname% move /y "get.php@file=%wadname%*" temp\%wadname%>nul
|
||||
if exist get.* del /f /q get.*
|
||||
if not exist temp\%wadname% support\wget --no-check-certificate -t 3 %code2% -O temp\%wadname% -q --show-progress
|
||||
if not exist "%Drive%"\%path1% mkdir "%Drive%"\%path1%
|
||||
support\7za e -aoa temp\%wadname% -o"%Drive%"\%path1% *.%version% *.txt -r
|
||||
support\7za e -aoa temp\%wadname% -o"%Drive%" *.%version% -r
|
||||
if exist temp\%wadname% support\7za e -aoa temp\%wadname% -o"%Drive%"\%path1% *.%version% *.txt -r
|
||||
if exist temp\%wadname% support\7za e -aoa temp\%wadname% -o"%Drive%" *.%version% -r
|
||||
::disabled extracting outdated wiiload.exe
|
||||
::support\7za e -aoa temp\%wadname% -o"temp" wiiload.exe -r
|
||||
|
||||
::get custom icon and meta.xml
|
||||
|
||||
|
||||
if not exist "temp\%zipname%" support\wget --no-check-certificate %code3% -q --show-progress
|
||||
|
||||
if exist "%zipname%" move /y "%zipname%" "temp\%zipname%">nul
|
||||
if not exist "temp\%zipname%" support\wget --no-check-certificate %code3% -O temp\%zipname% -q --show-progress
|
||||
if exist "temp\%zipname%" support\7za e -aoa "temp\%zipname%" -o"%Drive%"\%path1% * -r
|
||||
|
||||
if /i "%name%" NEQ "Hackmii Installer v1.0" goto:skip
|
||||
|
@ -43,7 +43,7 @@ Exit
|
||||
|
||||
::----------------------------------------------------------
|
||||
|
||||
set currentversion=8.0.1
|
||||
set currentversion=8.0.3
|
||||
if exist Support\settings.bat call Support\settings.bat
|
||||
set d2x-bundled=11-beta3
|
||||
set d2x-beta-rev=%d2x-bundled%
|
||||
|
@ -1,4 +1,4 @@
|
||||
set DBversion=25.04.10
|
||||
set DBversion=25.04.15
|
||||
if "%CurrentDLNAME%"=="" goto:DBend
|
||||
call "Support\subscripts\ClearDB.bat"
|
||||
goto:%CurrentDLNAME%
|
||||
@ -2531,7 +2531,7 @@ goto:DBend
|
||||
:HM
|
||||
set name=HackMii Installer v1.2
|
||||
set code1=URL
|
||||
set code2="https://bootmii.org/download/"
|
||||
set code2="https://bootmii.org/hackmii_installer_v1.2.zip"
|
||||
set version=elf
|
||||
set wadname=hackmii_installer_v1.2.zip
|
||||
set filename=boot.elf
|
||||
@ -2545,7 +2545,7 @@ goto:DBend
|
||||
:HMOld
|
||||
set name=HackMii Installer v1.0
|
||||
set code1=URL
|
||||
set code2="https://bootmii.org/download/"
|
||||
set code2="https://bootmii.org/hackmii_installer_v1.0.zip"
|
||||
set version=elf
|
||||
set wadname=hackmii_installer_v1.0.zip
|
||||
set filename=boot.elf
|
||||
@ -2815,8 +2815,8 @@ set code1=yawmME
|
||||
set "dlname=%code1%.zip"
|
||||
set "wadname=%dlname%"
|
||||
::create wm_config if missing to set startup IOS to IOS36; does not apply if ahbprot enabled
|
||||
if not exist "%Drive%\WAD" mkdir "%Drive%\WAD"
|
||||
if not exist "%Drive%"\WAD\wm_config.txt echo cIOSVersion=36> "%Drive%"\WAD\wm_config.txt
|
||||
if /i "%MENU1%" EQU "H" if not exist "%Drive%\WAD" mkdir "%Drive%\WAD"
|
||||
if /i "%MENU1%" EQU "H" if not exist "%Drive%"\WAD\wm_config.txt echo cIOSVersion=36> "%Drive%"\WAD\wm_config.txt
|
||||
goto:DBend
|
||||
|
||||
:usbfolder
|
||||
|
@ -1,6 +1,6 @@
|
||||
::get info and return to caller UNLESS temp\currentversion.txt is detected, not currentversionInfo.txt
|
||||
@echo off
|
||||
set newversion=8.0.1
|
||||
set newversion=8.0.3
|
||||
set changelogURL=https://modmii.github.io/changelog.html
|
||||
set "wabmplast=%wabmp%"
|
||||
|
||||
@ -75,6 +75,11 @@ echo.
|
||||
|
||||
call Support/subscripts/DB.bat
|
||||
|
||||
::workaround for 8.0.1 & 8.0.2 autoupdate bug
|
||||
if /i "%updatermode%" NEQ "skin" if %currentversion% EQU 8.0.1 set debug=on
|
||||
if /i "%updatermode%" NEQ "skin" if %currentversion% EQU 8.0.2 set debug=on
|
||||
|
||||
|
||||
if %currentversion% NEQ 8.0.0 goto:skip
|
||||
if /i "%DBversion%" EQU "25.03.24" goto:skip
|
||||
echo.
|
||||
@ -236,7 +241,8 @@ set newversion=7.0.3
|
||||
|
||||
if not exist temp\currentversion.txt goto:ReturnToCaller
|
||||
|
||||
|
||||
::workaround for 8.0.1 & 8.0.2 autoupdate bug (reversal)
|
||||
set debug=
|
||||
|
||||
setlocal
|
||||
chcp 437>nul
|
||||
|
Loading…
x
Reference in New Issue
Block a user