mirror of
https://github.com/modmii/modmii.github.io.git
synced 2024-11-13 03:45:13 +01:00
6.3.1 Update:
Updated autoit download link. Updated md5 of fat32 gui formatter. Changed auto update code as googlecode will soon cease support for hosting new downloads. I don't expect there to be many updates going forward (if any), but at least the capability is there just in case.
This commit is contained in:
parent
234ca1e88f
commit
3d851c0d50
@ -9,7 +9,7 @@ if not exist support cd..
|
||||
::::PUSHD "%~dp0"
|
||||
::POPD
|
||||
|
||||
set currentversion=6.3.0
|
||||
set currentversion=6.3.1
|
||||
set currentversioncopy=%currentversion%
|
||||
set agreedversion=
|
||||
|
||||
@ -2238,6 +2238,11 @@ if not exist support\sfk.exe (echo One or more of ModMii's supporting files are
|
||||
if not exist support\nusd.exe (echo One or more of ModMii's supporting files are missing, redownloading...) & (set currentversion=0.0.0) & (@ping 127.0.0.1 -n 2 -w 1000> nul) & (goto:UpdateModMii)
|
||||
|
||||
|
||||
::Special update
|
||||
::if /i "%AGREEDVERSION%" GEQ "6.3.2" goto:nospecialupdate
|
||||
:::nospecialupdate
|
||||
|
||||
|
||||
if /i "%cmdlinemode%" EQU "Y" goto:noupdateincmdlinemode
|
||||
if /i "%AUTOUPDATE%" EQU "on" goto:UpdateModMii
|
||||
:noupdateincmdlinemode
|
||||
@ -3806,20 +3811,13 @@ echo Checking for updates...
|
||||
echo.
|
||||
|
||||
|
||||
if exist temp\list.txt del temp\list.txt>nul
|
||||
start %ModMiimin%/wait support\wget --no-check-certificate -N "https://modmii.googlecode.com/svn/trunk/ModMii English/ModMiiSkin.bat"
|
||||
|
||||
start %ModMiimin%/wait support\wget --no-check-certificate -N "http://code.google.com/p/modmii/downloads/list?can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount"
|
||||
if exist "ModMiiSkin.bat" (move /y "ModMiiSkin.bat" temp\ModMiiSkin.bat>nul) else (goto:updatefail)
|
||||
|
||||
if exist "list@can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount" (move /y "list@can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount" temp\list.txt>nul) else (goto:updatefail)
|
||||
copy /y "temp\ModMiiSkin.bat" temp\list.txt>nul
|
||||
|
||||
support\sfk filter -quiet "temp\list.txt" ++"ModMii" ++"zip" ++"modmii.googlecode.com/files/" -rep _*"files/ModMii"__ -rep _".zip"*__ -write -yes
|
||||
|
||||
|
||||
if /i "%UPDATENAME%" NEQ "ModMii" support\sfk filter -quiet "temp\list.txt" ++"%UPDATENAME:~-3%" -write -yes
|
||||
|
||||
if /i "%UPDATENAME%" EQU "ModMii" support\sfk filter -quiet "temp\list.txt" -!"_" -write -yes
|
||||
|
||||
support\sfk filter -spat -quiet "temp\list.txt" -rep _*"\x5f"__ -write -yes
|
||||
support\sfk filter -quiet "temp\list.txt" ++"set currentversion=" -rep _"set currentversion="__ -write -yes
|
||||
|
||||
set /p newversion= <temp\list.txt
|
||||
|
||||
@ -3868,6 +3866,7 @@ echo.
|
||||
echo.
|
||||
set /p updatenow= Enter Selection Here:
|
||||
|
||||
|
||||
if /i "%updatenow%" NEQ "N" goto:skip
|
||||
if /i "%MENU1%" EQU "O" (goto:OPTIONS) else (goto:MENU)
|
||||
:skip
|
||||
@ -3893,12 +3892,10 @@ echo.
|
||||
echo Please Wait...
|
||||
echo.
|
||||
|
||||
if not exist "%UPDATENAME%%newversion%.zip" start %ModMiimin%/wait support\wget --no-check-certificate -t 3 http://modmii.googlecode.com/files/%UPDATENAME%%newversion%.zip
|
||||
|
||||
if not exist "%UPDATENAME%%newversion%.zip" goto:updatefail
|
||||
|
||||
copy /y support\7za.exe support\7za2.exe>nul
|
||||
start %ModMiimin%/wait support\wget --no-check-certificate -N "https://modmii.googlecode.com/svn/trunk/ModMii English/ModMii.bat"
|
||||
|
||||
if exist "ModMii.bat" (move /y "ModMii.bat" temp\ModMii.bat>nul) else (goto:updatefail)
|
||||
|
||||
echo @echo off>Updatetemp.bat
|
||||
echo mode con cols=85 lines=54 >>Updatetemp.bat
|
||||
@ -3916,16 +3913,18 @@ echo echo.>>Updatetemp.bat
|
||||
|
||||
echo if exist "support\ModMii.bat" ren "support\ModMii.bat" "ModMii-v%currentversion%.bat">>Updatetemp.bat
|
||||
echo if exist "support\ModMiiSkin.bat" ren "support\ModMiiSkin.bat" "ModMiiSkin-v%currentversion%.bat">>Updatetemp.bat
|
||||
echo support\7za2 x %UPDATENAME%%newversion%.zip -aoa>>Updatetemp.bat
|
||||
echo del %UPDATENAME%%newversion%.zip^>nul>>Updatetemp.bat
|
||||
echo del support\7za2.exe^>nul>>Updatetemp.bat
|
||||
|
||||
echo move /y "temp\ModMii.bat" "Support\ModMii.bat"^>nul>>Updatetemp.bat
|
||||
echo move /y "temp\ModMiiSkin.bat" "Support\ModMiiSkin.bat"^>nul>>Updatetemp.bat
|
||||
|
||||
echo Start ModMii.exe>>Updatetemp.bat
|
||||
echo exit>>Updatetemp.bat
|
||||
|
||||
|
||||
start Updatetemp.bat
|
||||
exit
|
||||
|
||||
|
||||
|
||||
:updatefail
|
||||
echo Update check has failed, check your internet connection and firewall settings.
|
||||
@ping 127.0.0.1 -n 4 -w 1000> nul
|
||||
@ -21942,9 +21941,9 @@ if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 15
|
||||
|
||||
echo Downloading Autoit
|
||||
if exist temp\autoit3.exe goto:AlreadyinTemp
|
||||
if not exist autoit-v3-sfx.exe start %ModMiimin%/wait support\wget --no-check-certificate -t 3 http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-sfx.exe
|
||||
if exist autoit-v3-sfx.exe support\7za e -aoa autoit-v3-sfx.exe -otemp autoit3.exe -r
|
||||
if exist autoit-v3-sfx.exe del autoit-v3-sfx.exe>nul
|
||||
if not exist autoit-v3.zip start %ModMiimin%/wait support\wget --no-check-certificate -t 3 http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3.zip
|
||||
if exist autoit-v3.zip support\7za e -aoa autoit-v3.zip -otemp autoit3.exe -r
|
||||
if exist autoit-v3.zip del autoit-v3.zip>nul
|
||||
if not exist temp\autoit3.exe goto:sneekwarning
|
||||
:AlreadyinTemp
|
||||
echo.
|
||||
@ -25553,7 +25552,7 @@ set version=*
|
||||
set dlname=guiformat.exe
|
||||
set wadname=FAT32_GUI_Formatter.exe
|
||||
set filename=FAT32_GUI_Formatter.exe
|
||||
set md5=daf2d9aa422c3d065c6f4e8823644944
|
||||
set md5=2459a629ace148286360b860442221a2
|
||||
set path1=FAT32_GUI_Formatter\
|
||||
goto:downloadstart
|
||||
|
||||
|
@ -31,7 +31,7 @@ Exit
|
||||
|
||||
::----------------------------------------------------------
|
||||
|
||||
set currentversion=6.3.0
|
||||
set currentversion=6.3.1
|
||||
set currentversioncopy=%currentversion%
|
||||
set agreedversion=
|
||||
|
||||
@ -146,6 +146,11 @@ set DRIVEU=%DRIVEU:~1,-1%
|
||||
:skip
|
||||
|
||||
|
||||
::Special update
|
||||
::if /i "%AGREEDVERSION%" GEQ "6.3.2" goto:nospecialupdate
|
||||
:::nospecialupdate
|
||||
|
||||
|
||||
if /i "%ModMiiverbose%" EQU "on" support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
||||
if /i "%ModMiiverbose%" EQU "on" support\nircmd.exe win trans ititle "ModMiiSkinCMD" 255
|
||||
|
||||
@ -199,45 +204,6 @@ call "%wabat%"
|
||||
if /i "%waoutput%" EQU "I Agree" goto:skip
|
||||
|
||||
|
||||
if /i "%waoutput%" NEQ "skipscam" goto:miniskip
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
set waoutput=
|
||||
::Enter Your Password Now
|
||||
set watext= ENTER YOUR PASSWORD NOW~Note: To set-up or change your password send instructions using the same email address you used to send your donation to xflak40@gmail.com~Passwords should be at least 8 characters long and use a combination of letters and numbers. It may take a few hours to process new passwords. Lastly note that an internet connection is required to validate your password.
|
||||
|
||||
|
||||
|
||||
|
||||
start /w support\wizapp NOBACK EB
|
||||
|
||||
if errorlevel 2 Exit
|
||||
|
||||
call "%wabat%"
|
||||
|
||||
echo %waoutput% >temp\key.txt
|
||||
support\sfk filter -quiet temp\key.txt -lerep _" "__ -write -yes
|
||||
|
||||
::echo modmii>temp\modmii.txt
|
||||
if exist temp\modmii.txt del temp\modmii.txt>nul
|
||||
|
||||
|
||||
if exist sxf.exe del sxf.exe>nul
|
||||
start /min /wait support\wget -t 3 "http://dl.dropbox.com/u/74562700/sxf.exe"
|
||||
if exist sxf.exe move /y sxf.exe temp\sxf.exe>nul
|
||||
|
||||
if not exist temp\sxf.exe goto:skip
|
||||
|
||||
cd temp
|
||||
start sxf.exe
|
||||
|
||||
exit
|
||||
|
||||
:miniskip
|
||||
|
||||
|
||||
set watext=~~~~~You have entered an incorrect key, exiting ModMii...
|
||||
|
||||
@ -1702,30 +1668,19 @@ set watext=~~Checking for Updates...~~Current version is %currentversion%
|
||||
start support\wizapp PB OPEN
|
||||
start support\wizapp PB UPDATE 20
|
||||
|
||||
start %ModMiimin%/wait support\wget --no-check-certificate -N "https://modmii.googlecode.com/svn/trunk/ModMii English/ModMiiSkin.bat"
|
||||
|
||||
if exist temp\list.txt del temp\list.txt>nul
|
||||
if exist "ModMiiSkin.bat" (move /y "ModMiiSkin.bat" temp\ModMiiSkin.bat>nul) else (goto:updatefail)
|
||||
|
||||
start %ModMiimin%/wait support\wget -N "http://code.google.com/p/modmii/downloads/list?can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount"
|
||||
copy /y "temp\ModMiiSkin.bat" temp\list.txt>nul
|
||||
|
||||
if exist "list@can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount" (move /y "list@can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount" temp\list.txt>nul) else (goto:updatefail)
|
||||
|
||||
start support\wizapp PB UPDATE 70
|
||||
|
||||
support\sfk filter -quiet "temp\list.txt" ++"ModMii" ++"zip" ++"modmii.googlecode.com/files/" -rep _*"files/ModMii"__ -rep _".zip"*__ -write -yes
|
||||
|
||||
|
||||
if /i "%UPDATENAME%" NEQ "ModMii" support\sfk filter -quiet "temp\list.txt" ++"%UPDATENAME:~-3%" -write -yes
|
||||
|
||||
if /i "%UPDATENAME%" EQU "ModMii" support\sfk filter -quiet "temp\list.txt" -!"_" -write -yes
|
||||
|
||||
support\sfk filter -spat -quiet "temp\list.txt" -rep _*"\x5f"__ -write -yes
|
||||
support\sfk filter -quiet "temp\list.txt" ++"set currentversion=" -rep _"set currentversion="__ -write -yes
|
||||
|
||||
set /p newversion= <temp\list.txt
|
||||
|
||||
del temp\list.txt>nul
|
||||
|
||||
|
||||
|
||||
start support\wizapp PB UPDATE 100
|
||||
start support\wizapp PB CLOSE
|
||||
|
||||
@ -1786,22 +1741,20 @@ start support\wizapp PB UPDATE 20
|
||||
::Kill ModMiiSkin.exe process so it can be updated
|
||||
taskkill /im ModMiiSkin.exe /f >nul
|
||||
|
||||
if not exist "%UPDATENAME%%newversion%.zip" start %ModMiimin%/wait support\wget -t 3 http://modmii.googlecode.com/files/%UPDATENAME%%newversion%.zip
|
||||
start %ModMiimin%/wait support\wget --no-check-certificate -N "https://modmii.googlecode.com/svn/trunk/ModMii English/ModMii.bat"
|
||||
|
||||
if not exist "%UPDATENAME%%newversion%.zip" goto:updatefail
|
||||
if exist "ModMii.bat" (move /y "ModMii.bat" temp\ModMii.bat>nul) else (goto:updatefail)
|
||||
|
||||
start support\wizapp PB UPDATE 60
|
||||
|
||||
copy /y support\7za.exe support\7za2.exe>nul
|
||||
|
||||
|
||||
echo @echo off>Updatetemp.bat
|
||||
echo if exist "support\ModMii.bat" ren "support\ModMii.bat" "ModMii-v%currentversion%.bat">>Updatetemp.bat
|
||||
echo if exist "support\ModMiiSkin.bat" ren "support\ModMiiSkin.bat" "ModMiiSkin-v%currentversion%.bat">>Updatetemp.bat
|
||||
echo support\7za2 x %UPDATENAME%%newversion%.zip -aoa>>Updatetemp.bat
|
||||
echo move /y "temp\ModMii.bat" "Support\ModMii.bat"^>nul>>Updatetemp.bat
|
||||
echo move /y "temp\ModMiiSkin.bat" "Support\ModMiiSkin.bat"^>nul>>Updatetemp.bat
|
||||
echo start support\wizapp PB UPDATE 100 >>Updatetemp.bat
|
||||
echo del %UPDATENAME%%newversion%.zip^>nul>>Updatetemp.bat
|
||||
echo del support\7za2.exe^>nul>>Updatetemp.bat
|
||||
echo start support\wizapp PB CLOSE>>Updatetemp.bat
|
||||
echo Start ModMiiSkin.exe>>Updatetemp.bat
|
||||
echo exit>>Updatetemp.bat
|
||||
@ -1809,7 +1762,6 @@ start Updatetemp.bat
|
||||
exit
|
||||
|
||||
|
||||
|
||||
:updatefail
|
||||
|
||||
start support\wizapp PB UPDATE 100
|
||||
|
Loading…
Reference in New Issue
Block a user