mirror of
https://github.com/modmii/modmii.github.io.git
synced 2024-11-10 18:45:05 +01:00
3091 lines
96 KiB
Batchfile
3091 lines
96 KiB
Batchfile
@echo off
|
|
setlocal
|
|
|
|
chdir /d "%~dp0"
|
|
if not exist support cd..
|
|
|
|
::PUSHD "%cd%"
|
|
::::PUSHD "%~dp0"
|
|
::POPD
|
|
|
|
title ModMiiSkinCMD
|
|
|
|
::make cmd window transparent and hidden
|
|
support\nircmd.exe win trans ititle "ModMiiSkinCMD" 0
|
|
support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
|
|
::-------------------CMD LINE SUPPORT----------------------
|
|
::pass all arguments to modmii classic
|
|
|
|
set one=%~1
|
|
if "%one%"=="" (goto:notcmd)
|
|
|
|
set cmdinput=%*
|
|
set cmdinput=%cmdinput:"=%
|
|
|
|
::ModMii.exe %cmdinput%
|
|
start ModMii.exe %cmdinput%
|
|
Exit
|
|
|
|
:notcmd
|
|
|
|
::----------------------------------------------------------
|
|
|
|
set currentversion=6.5.1
|
|
set currentversioncopy=%currentversion%
|
|
set agreedversion=
|
|
|
|
set SkinMode=Y
|
|
|
|
set PATH=%SystemRoot%\system32;%SystemRoot%\system32\wbem;%SystemRoot%
|
|
|
|
chcp 437>nul
|
|
::chcp 1252>nul
|
|
|
|
::if not exist temp mkdir temp
|
|
if not exist temp\DownloadQueues mkdir temp\DownloadQueues
|
|
if exist Support\DownloadQueues\* move /y Support\DownloadQueues\* temp\DownloadQueues>nul
|
|
if exist Support\DownloadQueues rd /s /q "Support\DownloadQueues">nul
|
|
|
|
set UPDATENAME=ModMii
|
|
::set UPDATENAME=ModMii_IT_
|
|
|
|
|
|
if exist Updatetemp.bat attrib -h Updatetemp.bat
|
|
if exist Updatetemp.bat del updatetemp.bat>nul
|
|
|
|
|
|
::------Check for old Windows Versions-------
|
|
::ver | findstr /i "5\.0\." > nul
|
|
::IF %ERRORLEVEL% EQU 0 set OSYS=2000
|
|
|
|
::ver | findstr /i "5\.1\." > nul
|
|
::IF %ERRORLEVEL% EQU 0 set OSYS=XP
|
|
|
|
::ver | findstr /i "5\.2\." > nul
|
|
::IF %ERRORLEVEL% EQU 0 set OSYS=2003
|
|
|
|
::::ver | findstr /i "6\.0\." > nul
|
|
::::IF %ERRORLEVEL% EQU 0 set OSYS=VISTA
|
|
|
|
::::ver | findstr /i "6\.1\." > nul
|
|
::::IF %ERRORLEVEL% EQU 0 set OSYS=SEVEN
|
|
|
|
|
|
|
|
|
|
:DefaultSettings
|
|
|
|
::----LOAD SETTINGS (if exist)----
|
|
if exist Support\settings.bat call Support\settings.bat
|
|
|
|
::-----default settings (default applies even if a single variable is missing from settings.bat)------
|
|
IF "%ROOTSAVE%"=="" set ROOTSAVE=off
|
|
IF "%GUIDEOnly%"=="" set GUIDEOnly=off
|
|
|
|
IF "%effect%"=="" set effect=No-Spin
|
|
IF "%PCSAVE%"=="" set PCSAVE=Auto
|
|
IF "%OPTION1%"=="" set OPTION1=off
|
|
IF "%OPTION36%"=="" set OPTION36=on
|
|
IF "%AudioOption%"=="" set AudioOption=on
|
|
IF "%CMIOSOPTION%"=="" set CMIOSOPTION=off
|
|
IF "%FWDOPTION%"=="" set FWDOPTION=on
|
|
IF "%Drive%"=="" set Drive=COPY_TO_SD
|
|
IF "%DriveU%"=="" set DriveU=COPY_TO_USB
|
|
IF "%ACTIVEIOS%"=="" set ACTIVEIOS=on
|
|
IF "%AUTOUPDATE%"=="" set AUTOUPDATE=on
|
|
IF "%ModMiiverbose%"=="" set ModMiiverbose=off
|
|
IF "%sneekverbose%"=="" set sneekverbose=off
|
|
IF "%neek2o%"=="" set neek2o=on
|
|
IF "%SSD%"=="" set SSD=off
|
|
::IF "%discexverify%"=="" set discexverify=off
|
|
IF "%SNKFONT%"=="" set SNKFONT=B
|
|
IF "%overwritecodes%"=="" set overwritecodes=off
|
|
IF "%cheatregion%"=="" set cheatregion=All
|
|
IF "%cheatlocation%"=="" set cheatlocation=B
|
|
|
|
IF "%wiicheat%"=="" set wiicheat=ON
|
|
IF "%WiiWarecheat%"=="" set WiiWarecheat=ON
|
|
IF "%VCArcadecheat%"=="" set VCArcadecheat=OFF
|
|
IF "%WiiChannelscheat%"=="" set WiiChannelscheat=ON
|
|
IF "%Gamecubecheat%"=="" set Gamecubecheat=ON
|
|
IF "%NEScheat%"=="" set NEScheat=ON
|
|
IF "%SNEScheat%"=="" set SNEScheat=ON
|
|
IF "%N64cheat%"=="" set N64cheat=ON
|
|
IF "%SMScheat%"=="" set SMScheat=ON
|
|
IF "%Segacheat%"=="" set Segacheat=ON
|
|
IF "%NeoGeocheat%"=="" set NeoGeocheat=ON
|
|
IF "%Commodorecheat%"=="" set Commodorecheat=ON
|
|
IF "%MSXcheat%"=="" set MSXcheat=ON
|
|
IF "%TurboGraFX-16cheat%"=="" set TurboGraFX-16cheat=ON
|
|
IF "%TurboGraFX-CDcheat%"=="" set TurboGraFX-CDcheat=ON
|
|
|
|
|
|
::check if drive folder exists--if second char is ":" check if drive exists
|
|
if /i "%DRIVE%" NEQ "COPY_TO_SD" goto:skip
|
|
set DRIVE="%cd%\COPY_TO_SD"
|
|
set DRIVE=%DRIVE:&=^&%
|
|
set DRIVE=%DRIVE:~1,-1%
|
|
:skip
|
|
|
|
if /i "%DRIVE:~1,1%" EQU ":" goto:skip
|
|
set DRIVE="%cd%\%DRIVE%"
|
|
set DRIVE=%DRIVE:&=^&%
|
|
set DRIVE=%DRIVE:~1,-1%
|
|
:skip
|
|
|
|
|
|
::check if DRIVEU folder exists--if second char is ":" check if DRIVEU exists
|
|
if /i "%DRIVEU%" NEQ "COPY_TO_USB" goto:skip
|
|
set DRIVEU="%cd%\COPY_TO_USB"
|
|
set DRIVEU=%DRIVEU:&=^&%
|
|
set DRIVEU=%DRIVEU:~1,-1%
|
|
:skip
|
|
|
|
if /i "%DRIVEU:~1,1%" EQU ":" goto:skip
|
|
set DRIVEU="%cd%\%DRIVEU%"
|
|
set DRIVEU=%DRIVEU:&=^&%
|
|
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
|
|
|
|
if /i "%ModMiiverbose%" EQU "off" (set ModMiimin=/min ) else (set ModMiimin=)
|
|
|
|
|
|
set watitle=ModMii Skin
|
|
set waico=support\icon.ico
|
|
set temp=temp
|
|
set wabat=%TEMP%\wabat.bat
|
|
set wasig=ModMii v%currentversion% by XFlak
|
|
|
|
::side bar - 150x300 pixels
|
|
set wabmp=support\bmp\default.bmp
|
|
|
|
|
|
|
|
::Bushing from Team Twizzers specifically requested ModMii include a scam warning
|
|
|
|
if exist support\skipscam.txt set AGREEDVERSION=%CURRENTVERSION%
|
|
|
|
::Splash Screen for Scam Warning
|
|
::if /i "%AGREEDVERSION%" EQU "%CURRENTVERSION%" goto:nosplash
|
|
|
|
|
|
::Splash Screen - 440x340 pixel bmp
|
|
set wabmp=support\bmp\ModMiiSplash.bmp
|
|
|
|
support\wizapp SPLASH OPEN
|
|
if /i "%AGREEDVERSION%" NEQ "%CURRENTVERSION%" support\nircmd.exe wait 6000
|
|
support\nircmd.exe wait 2000
|
|
support\wizapp SPLASH CLOSE
|
|
:nosplash
|
|
|
|
|
|
::side bar - 150x300 pixels
|
|
set wabmp=support\bmp\TERMS.bmp
|
|
|
|
set waoutput=
|
|
|
|
set watext=~Please type the word "I" followed by the word "Agree" with a space between those two words and then click Next to continue.~~If you can't follow those instructions, then you have no business modding anything.
|
|
|
|
|
|
start /w support\wizapp NOBACK EB
|
|
|
|
if errorlevel 2 Exit
|
|
|
|
call "%wabat%"
|
|
|
|
|
|
if /i "%waoutput%" EQU "I Agree" goto:skip
|
|
|
|
|
|
|
|
set watext=~~~~~You have entered an incorrect key, exiting ModMii...
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
|
|
start /w support\wizapp FINISH NOBACK NOCANCEL TB
|
|
|
|
Exit
|
|
:skip
|
|
:skipagreement
|
|
|
|
::Save version agreed to
|
|
if exist Support\settings.bat support\sfk filter -quiet Support\settings.bat -ls!"set AGREEDVERSION=" -write -yes
|
|
echo set AGREEDVERSION=%currentversion%>> Support\settings.bat
|
|
|
|
|
|
|
|
|
|
::.NET Framework 3.5 check+installation
|
|
if exist "%windir%\Microsoft.NET\Framework\v3.5" goto:skipframeworkinstallation
|
|
|
|
::side bar - 150x300 pixels
|
|
set wabmp=support\bmp\default.bmp
|
|
|
|
set watext=~ModMii requires .NET Framework 3.5...~~ModMii will download and start the installer for you, when you are finished installing .NET Framework 3.5 ModMii will continue.
|
|
|
|
start support\wizapp PB OPEN
|
|
|
|
set FrameworkAttempt=0
|
|
|
|
:NETFRAMEWORK
|
|
start support\wizapp PB UPDATE 10
|
|
SET /a FrameworkAttempt=%FrameworkAttempt%+1
|
|
|
|
if exist "temp\dotNetFx35setup.exe" goto:semiskip
|
|
|
|
start %ModMiimin%/wait support\wget -t 3 "http://download.microsoft.com/download/7/0/3/703455ee-a747-4cc8-bd3e-98a615c3aedb/dotNetFx35setup.exe"
|
|
|
|
if exist dotNetFx35setup.exe move /y dotNetFx35setup.exe temp\dotNetFx35setup.exe
|
|
:semiskip
|
|
|
|
start support\wizapp PB UPDATE 50
|
|
start /wait temp\dotNetFx35setup.exe
|
|
|
|
if exist "%windir%\Microsoft.NET\Framework\v3.5" (start support\wizapp PB UPDATE 100) & (start support\wizapp PB CLOSE) & (goto:skipframeworkinstallation)
|
|
|
|
if /i "%FrameworkAttempt%" EQU "3" goto:GiveUpOnFramework
|
|
goto:NETFRAMEWORK
|
|
|
|
:GiveUpOnFramework
|
|
set watext=~~.NET Framework 3.5 Installation Failed Multiple Times~~Alternatively, you can try installing .NET Framework 3.5 by performing a Windows Update~~Some ModMii features may not work properly without .NET Framework 3.5 installed~~Click "Next" to use ModMii anyways.
|
|
|
|
|
|
start support\wizapp PB CLOSE
|
|
|
|
start /w support\wizapp TB
|
|
if errorlevel 2 EXIT
|
|
:skipframeworkinstallation
|
|
|
|
|
|
|
|
|
|
|
|
if /i "%AUTOUPDATE%" EQU "on" goto:UpdateModMii
|
|
|
|
|
|
|
|
|
|
::-----------------------------Main Menu---------------------------------
|
|
:MENU
|
|
set MENU1=
|
|
set waoutnum=
|
|
set waoutput=
|
|
set wabmp=support\bmp\MAIN.bmp
|
|
set wafile=
|
|
set SNEEKTYPE=
|
|
set SNEEKSELECT=
|
|
set USBCONFIG=
|
|
SET UpdatesIOSQ=
|
|
set FORMAT=NONE
|
|
if /i "%ModMiiverbose%" EQU "off" (set ModMiimin=/min ) else (set ModMiimin=)
|
|
set VIRGIN=
|
|
set AbstinenceWiz=
|
|
set Advanced=
|
|
set HMInstaller=
|
|
set RECCIOS=
|
|
set yawmQ=
|
|
set PRIQ=
|
|
set IOS236InstallerQ=
|
|
set ThemeSelection=N
|
|
set MORE=
|
|
set PIC=
|
|
set NET=
|
|
set Weather=
|
|
set NEWS=
|
|
set MIIQ=
|
|
set Shop=
|
|
set Speak=
|
|
set USBGUIDE=
|
|
set LOADER=
|
|
set EXPLOIT=
|
|
set REGIONCHANGE=
|
|
set SNEEKSELECT=
|
|
set SNKS2U=
|
|
set PRIIFOUND=
|
|
set SNKSERIAL=
|
|
set addwadfolder=
|
|
set ChannelsMarked=
|
|
set SNKMarked=
|
|
set AdvancedMarked=
|
|
set virginMarked=
|
|
set FIRMSTARTMarked=
|
|
set SNKVERSIONMarked=
|
|
set REGIONMarked=
|
|
set SNKREGIONMarked=
|
|
set EXPLOITMarked=
|
|
set FIRMMarked=
|
|
set ThemeSelectionMarked=
|
|
set USBGUIDEMarked=
|
|
set FORMATMarked=
|
|
set LOADERMarked=
|
|
set USBCONFIGMarked=
|
|
set SNEEKSELECTMarked=
|
|
set SNEEKTYPEMarked=
|
|
set SNKcBCMarked=
|
|
set macaddress=
|
|
|
|
|
|
set watext= Choose an activity:~Most ModMii activities build a custom guide for you based on your answers to a few simple questions.~~ WARNING: Nintendo could shut down their servers! Download while you still can! After ModMii's downloaded~ files to its temp folder you can delete COPY_TO_SD~ (L)oad a prepared download queue to get started.
|
|
|
|
set wainput= ModMii ^&Wizard +Guide (Start Here to Mod Your Wii!); ^&Abstinence Wizard +Guide (Use Casper without mod); ^&USB-Loader Setup +Guide; ^&HackMii Solutions +Guide; R^&egion Change +Guide; ^&Load Download Queue; ^&SNEEK Installation and NAND Builder; ^&Options; Credi^&ts; ^&ModMii Classic Mode for more activities
|
|
|
|
start /w support\wizapp NOBACK RB
|
|
|
|
if errorlevel 2 exit
|
|
|
|
call "%wabat%"
|
|
|
|
if "%waoutnum%"=="" goto:MENU
|
|
|
|
if /i "%waoutnum%" EQU "0" (set Menu1=W) & (set wabmp=support\bmp\WIZARD.bmp) & (goto:WPAGE1)
|
|
|
|
if /i "%waoutnum%" EQU "1" (set Menu1=S) & (set SNEEKSELECT=3) & (set AbstinenceWiz=Y) & (set wabmp=support\bmp\ABSTINENCE.bmp) & (goto:WPAGE2)
|
|
|
|
if /i "%waoutnum%" EQU "2" (set Menu1=U) & (set wabmp=support\bmp\USB.bmp) & (goto:UPAGE1)
|
|
if /i "%waoutnum%" EQU "3" (set Menu1=H) & (set wabmp=support\bmp\HackMii.bmp) & (goto:WPAGE2)
|
|
if /i "%waoutnum%" EQU "4" (set Menu1=RC) & (set wabmp=support\bmp\RegionChange.bmp) & (goto:RCPAGE1)
|
|
if /i "%waoutnum%" EQU "5" (set Menu1=L) & (set wabmp=support\bmp\DLQUEUE.bmp) & (goto:PICKDOWNLOADQUEUE)
|
|
if /i "%waoutnum%" EQU "6" (set Menu1=S) & (set wabmp=support\bmp\SNEEK.bmp) & (goto:SNKPAGE1)
|
|
if /i "%waoutnum%" EQU "7" (set Menu1=O) & (set wabmp=support\bmp\OPTIONS.bmp) & (goto:OPTIONS)
|
|
|
|
|
|
if /i "%waoutnum%" EQU "8" (start http://modmii.comuf.com/credits.html) & (goto:MENU)
|
|
|
|
|
|
if /i "%waoutnum%" EQU "9" (set SkinMode=) & (start ModMii.exe) & (exit)
|
|
|
|
|
|
::...................................PICK Download Queue...............................
|
|
:PICKDOWNLOADQUEUE
|
|
set DLQUEUE=
|
|
set waoutnum=
|
|
::set waoutput=
|
|
if not exist temp\DownloadQueues mkdir temp\DownloadQueues
|
|
set waoutput=%cd:&=^&%\temp\DownloadQueues\YourQueueHere.bat
|
|
|
|
set watext=Select the ModMii Download Queue you want to download.~~Note, when you click Finish ModMii will begin downloading immediately. To view the contents of your queue before downloading it use ModMii Classic to load it.~~To create custom Download Queues use ModMii Classic.
|
|
|
|
set wainput=ModMii Download Queues (*.bat)
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp FINISH FB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:MENU
|
|
|
|
call "%wabat%"
|
|
|
|
|
|
|
|
set DLQUEUE=%waoutput:&=^&%
|
|
|
|
if not exist "%DLQUEUE%" goto:PICKDOWNLOADQUEUE
|
|
|
|
findStr /I /C:":endofqueue" "%DLQUEUE%" >nul
|
|
IF ERRORLEVEL 1 goto:PICKDOWNLOADQUEUE
|
|
|
|
copy /y "%DLQUEUE%" temp\DownloadQueues >nul
|
|
|
|
::get file name without path or extension
|
|
echo %DLQUEUE:&=^&% >temp\temp.txt
|
|
support\sfk filter -quiet temp\temp.txt -rep _*\__ -rep _.bat*__ -write -yes
|
|
set /p DLQUEUE= <temp\temp.txt
|
|
|
|
|
|
if not exist "%DRIVE:&=^&%" mkdir "%DRIVE:&=^&%"
|
|
|
|
set classicCMD=L %DLQUEUE:&=^&%
|
|
|
|
goto:StartModMiiClassic
|
|
|
|
|
|
|
|
::..................................................OPTIONS..................................................
|
|
.......
|
|
:OPTIONS
|
|
Set Options=
|
|
::set cheatoption=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
set watext=~~ Select an Option to review or change:~~ All Settings will be saved automatically~ when you click "Back"~~ Or click "Cancel" to discard changes
|
|
|
|
|
|
if /i "%AudioOption%" EQU "on" set wainput= SD Card ^&Drive\Path; ^&USB HDD Drive\Path; ^&PC Programs Save Location; ^&Other Miscellaneous Options; ^&SNEEK Options; Check for ModMii Updates ^&Now; Disable sound at ^&Finish (Currently Enabled); ^&Restore Default Settings
|
|
|
|
if /i "%AudioOption%" NEQ "on" set wainput= SD Card ^&Drive\Path; ^&USB HDD Drive\Path; ^&PC Programs Save Location; ^&Other Miscellaneous Options; ^&SNEEK Options; Check for ModMii Updates ^&Now; Enable sound at ^&Finish (Currently Disabled); ^&Restore Default Settings
|
|
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:SaveSettings
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
if "%waoutnum%"=="" goto:OPTIONS
|
|
|
|
if /i "%waoutnum%" EQU "0" goto:DriveChange
|
|
if /i "%waoutnum%" EQU "1" goto:DriveUChange
|
|
if /i "%waoutnum%" EQU "2" goto:PCSAVE
|
|
if /i "%waoutnum%" EQU "3" goto:OtherOptions
|
|
if /i "%waoutnum%" EQU "4" goto:SNEEKOptions
|
|
if /i "%waoutnum%" EQU "5" goto:UpdateModMii
|
|
if /i "%waoutnum%" EQU "7" goto:RestoreSettings
|
|
|
|
::if /i "%waoutnum%" NEQ "6" goto:OPTIONS
|
|
if /i "%AudioOption%" EQU "on" (set AudioOption=off) else (set AudioOption=on)
|
|
goto:OPTIONS
|
|
|
|
::--------------------Restore Default Settings---------------------
|
|
:RestoreSettings
|
|
set ROOTSAVE=off
|
|
set effect=No-Spin
|
|
set PCSAVE=Auto
|
|
set OPTION1=off
|
|
set OPTION36=on
|
|
set AudioOption=on
|
|
set CMIOSOPTION=off
|
|
set FWDOPTION=on
|
|
|
|
set DRIVE="%cd%\COPY_TO_SD"
|
|
set DRIVE=%DRIVE:&=^&%
|
|
set DRIVE=%DRIVE:~1,-1%
|
|
|
|
set DRIVEU="%cd%\COPY_TO_USB"
|
|
set DRIVEU=%DRIVEU:&=^&%
|
|
set DRIVEU=%DRIVEU:~1,-1%
|
|
|
|
set ACTIVEIOS=on
|
|
set AUTOUPDATE=on
|
|
Set ModMiiverbose=off
|
|
Set SSD=off
|
|
Set sneekverbose=off
|
|
Set neek2o=on
|
|
Set SNKFONT=B
|
|
|
|
:defaultcheatsettings
|
|
set overwritecodes=off
|
|
set cheatregion=All
|
|
set cheatlocation=B
|
|
|
|
:selectallcheats
|
|
set wiicheat=ON
|
|
set WiiWarecheat=ON
|
|
set VCArcadecheat=OFF
|
|
set WiiChannelscheat=ON
|
|
set Gamecubecheat=ON
|
|
set NEScheat=ON
|
|
set SNEScheat=ON
|
|
set N64cheat=ON
|
|
set SMScheat=ON
|
|
set Segacheat=ON
|
|
set NeoGeocheat=ON
|
|
set Commodorecheat=ON
|
|
set MSXcheat=ON
|
|
set TurboGraFX-16cheat=ON
|
|
set TurboGraFX-CDcheat=ON
|
|
set GuideOnly=off
|
|
|
|
goto:OPTIONS
|
|
|
|
|
|
::--------------------Save Settings---------------------
|
|
:SaveSettings
|
|
echo ::ModMii Settings > Support\settings.bat
|
|
echo ::ModMiiv%currentversion%>> Support\settings.bat
|
|
echo Set ROOTSAVE=%ROOTSAVE%>> Support\settings.bat
|
|
echo Set effect=%effect%>> Support\settings.bat
|
|
echo Set PCSAVE=%PCSAVE%>> Support\settings.bat
|
|
echo Set Option1=%Option1%>> Support\settings.bat
|
|
echo Set OPTION36=%OPTION36%>> Support\settings.bat
|
|
echo Set AudioOption=%AudioOption%>> Support\settings.bat
|
|
echo Set CMIOSOPTION=%CMIOSOPTION%>> Support\settings.bat
|
|
echo Set FWDOPTION=%FWDOPTION%>> Support\settings.bat
|
|
|
|
|
|
echo Set Drive=%DRIVE:&=^&%>>Support\settings.bat
|
|
echo Set DriveU=%DRIVEU:&=^&%>>Support\settings.bat
|
|
support\sfk filter -spat -quiet Support\settings.bat -rep _\x5e\x26_\x26_ -rep _\x26_\x5e\x26_ -write -yes>nul
|
|
|
|
support\sfk filter -spat -quiet Support\settings.bat -rep _\x5e\x26_\x26_ -rep _\x26_\x5e\x26_ -write -yes>nul
|
|
|
|
support\sfk filter -quiet Support\settings.bat -lerep _\__ -lerep _/__ -write -yes>nul
|
|
|
|
|
|
|
|
echo Set overwritecodes=%overwritecodes%>> Support\settings.bat
|
|
echo Set cheatregion=%cheatregion%>> Support\settings.bat
|
|
echo Set cheatlocation=%cheatlocation%>> Support\settings.bat
|
|
echo Set ACTIVEIOS=%ACTIVEIOS%>> Support\settings.bat
|
|
echo Set AUTOUPDATE=%AUTOUPDATE%>> Support\settings.bat
|
|
echo Set ModMiiverbose=%ModMiiverbose%>> Support\settings.bat
|
|
echo Set SSD=%SSD%>> Support\settings.bat
|
|
echo Set sneekverbose=%sneekverbose%>> Support\settings.bat
|
|
echo Set neek2o=%neek2o%>> Support\settings.bat
|
|
echo Set SNKFONT=%SNKFONT%>> Support\settings.bat
|
|
echo Set wiicheat=%wiicheat%>> Support\settings.bat
|
|
echo Set WiiWarecheat=%WiiWarecheat%>> Support\settings.bat
|
|
echo Set VCArcadecheat=%VCArcadecheat%>> Support\settings.bat
|
|
echo Set WiiChannelscheat=%WiiChannelscheat%>> Support\settings.bat
|
|
echo Set Gamecubecheat=%Gamecubecheat%>> Support\settings.bat
|
|
echo Set NEScheat=%NEScheat%>> Support\settings.bat
|
|
echo Set SNEScheat=%SNEScheat%>> Support\settings.bat
|
|
echo Set N64cheat=%N64cheat%>> Support\settings.bat
|
|
echo Set SMScheat=%SMScheat%>> Support\settings.bat
|
|
echo Set Segacheat=%Segacheat%>> Support\settings.bat
|
|
echo Set NeoGeocheat=%NeoGeocheat%>> Support\settings.bat
|
|
echo Set Commodorecheat=%Commodorecheat%>> Support\settings.bat
|
|
echo Set MSXcheat=%MSXcheat%>> Support\settings.bat
|
|
echo Set TurboGraFX-16cheat=%TurboGraFX-16cheat%>> Support\settings.bat
|
|
echo Set TurboGraFX-CDcheat=%TurboGraFX-CDcheat%>> Support\settings.bat
|
|
echo set AGREEDVERSION=%currentversion%>> Support\settings.bat
|
|
echo set GuideOnly=%GuideOnly%>> Support\settings.bat
|
|
|
|
::show\hide ModMiiSkinCMD
|
|
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
|
|
|
|
if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win trans ititle "ModMiiSkinCMD" 0
|
|
if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
goto:MENU
|
|
|
|
::..................................................PC SAVE..................................................
|
|
.......
|
|
:PCSAVE
|
|
::Set PCSAVE=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
set watext=~~ PC Programs Save Location~~If Auto is selected PC programs saved locally to %homedrive% with shortcuts if running ModMii from %homedrive% and PC programs saved portably if not running ModMii from %homedrive%
|
|
|
|
set wainput= ^&Auto; ^&Local; ^&Portable
|
|
|
|
|
|
::check current setting
|
|
if /i "%PCSAVE%" EQU "Auto" set waoutnum=0
|
|
if /i "%PCSAVE%" EQU "Local" set waoutnum=1
|
|
if /i "%PCSAVE%" EQU "Portable" set waoutnum=2
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
::if errorlevel 1 goto:OPTIONS
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
if "%waoutnum%"=="" goto:PCSAVE
|
|
|
|
if /i "%waoutnum%" EQU "0" set PCSAVE=Auto
|
|
if /i "%waoutnum%" EQU "1" set PCSAVE=Local
|
|
if /i "%waoutnum%" EQU "2" set PCSAVE=Portable
|
|
|
|
goto:Options
|
|
|
|
|
|
|
|
|
|
::..................................................OtherOptions..................................................
|
|
.......
|
|
:OtherOptions
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
set watext=~~~~ Other Miscellaneous Options
|
|
|
|
set wainput= ^&Auto-Update ModMii at program start; c^&MIOS included in Wizard/sysCheck-Updater; USB-Loader ^&Forwarder included in Wizard; ^&Update Active IOSs in Wizard/sysCheck-Updater; Include IOS3^&6 in Active IOS Updates; IOSs saved to ^&Root instead of WAD folder; ^&Verbose Output for ModMiiSkin\wget\Sneek Installer; Save 0000000^&1 folder for IOSs\SMs\etc; Save ^&NUS\00000001x folder for IOSs\SMs\etc; ^&Generate Guide Only (only for functions with guides)
|
|
|
|
|
|
::check correct boxes
|
|
set waoutput=
|
|
if /i "%AUTOUPDATE%" EQU "on" set waoutput=%waoutput%; #Auto-Update ModMii at program start
|
|
if /i "%CMIOSOPTION%" EQU "on" set waoutput=%waoutput%; c#MIOS included in Wizard/sysCheck-Updater
|
|
if /i "%FWDOPTION%" EQU "on" set waoutput=%waoutput%; USB-Loader #Forwarder included in Wizard
|
|
if /i "%ACTIVEIOS%" EQU "on" set waoutput=%waoutput%; #Update Active IOSs in Wizard/sysCheck-Updater
|
|
if /i "%OPTION36%" EQU "on" set waoutput=%waoutput%; Include IOS3#6 in Active IOS Updates
|
|
if /i "%ROOTSAVE%" EQU "on" set waoutput=%waoutput%; IOSs saved to #Root instead of WAD folder
|
|
if /i "%ModMiiverbose%" EQU "on" set waoutput=%waoutput%; #Verbose Output for ModMiiSkin\wget\Sneek Installer
|
|
|
|
if /i "%Option1%" EQU "on" set waoutput=%waoutput%; Save 0000000#1 folder for IOSs\SMs\etc
|
|
if /i "%Option1%" EQU "all" set waoutput=%waoutput%; Save 0000000#1 folder for IOSs\SMs\etc
|
|
|
|
if /i "%Option1%" EQU "nus" set waoutput=%waoutput%; Save #NUS\00000001x folder for IOSs\SMs\etc
|
|
if /i "%Option1%" EQU "all" set waoutput=%waoutput%; Save #NUS\00000001x folder for IOSs\SMs\etc
|
|
|
|
if /i "%GuideOnly%" EQU "on" set waoutput=%waoutput%; #Generate Guide Only (only for functions with guides)
|
|
|
|
echo set waoutput=%waoutput%>temp\temp.bat
|
|
support\sfk filter -quiet temp\temp.bat -rep _"#"_"^&"_ -write -yes
|
|
call temp\temp.bat
|
|
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp CL
|
|
|
|
if errorlevel 2 goto:MENU
|
|
::if errorlevel 1 goto:OPTIONS
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
|
|
::if "%waoutnum%"=="" goto:skipcheck
|
|
|
|
echo %waoutnum% >"%wabat%"
|
|
|
|
findStr /I /C:"0" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set AutoUpdate=on) else (set AutoUpdate=off)
|
|
|
|
findStr /I /C:"1" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set CMIOSOPTION=on) else (set CMIOSOPTION=off)
|
|
|
|
findStr /I /C:"2" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set FWDOPTION=on) else (set FWDOPTION=off)
|
|
|
|
findStr /I /C:"3" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set ACTIVEIOS=on) else (set ACTIVEIOS=off)
|
|
|
|
findStr /I /C:"4" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set OPTION36=on) else (set OPTION36=off)
|
|
|
|
findStr /I /C:"5" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set ROOTSAVE=on) else (set ROOTSAVE=off)
|
|
|
|
findStr /I /C:"6" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set ModMiiverbose=on) else (set ModMiiverbose=off)
|
|
|
|
findStr /I /C:"9" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set GuideOnly=on) else (set GuideOnly=off)
|
|
|
|
|
|
::turn 2 options into 1
|
|
findStr /I /C:"7" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set Option1=on) else (set Option1=off)
|
|
|
|
findStr /I /C:"8" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set Option1temp=nus) else (set Option1temp=)
|
|
|
|
if /i "%Option1%" NEQ "on" goto:skip
|
|
if /i "%Option1temp%" EQU "nus" (set Option1=all) else (set Option1=on)
|
|
goto:skipcheck
|
|
:skip
|
|
if /i "%Option1temp%" EQU "nus" (set Option1=nus) else (set Option1=off)
|
|
|
|
:skipcheck
|
|
|
|
goto:Options
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
::..................................................SNEEKOptions..................................................
|
|
.......
|
|
:SNEEKOptions
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
set watext=~~~~ SNEEK Options
|
|
|
|
set wainput= Build ^&neek2o instead of the original NEEK; ^&SD card access enabled for SNEEK\SNEEK+DI; SNEEK ^&Verbose Output; ^&White Font.bin for S\UNEEK+DI (instead of Black)
|
|
|
|
|
|
::check correct boxes
|
|
set waoutput=
|
|
if /i "%neek2o%" EQU "on" set waoutput=%waoutput%; Build #neek2o instead of the original NEEK
|
|
if /i "%SSD%" EQU "on" set waoutput=%waoutput%; #SD card access enabled for SNEEK\SNEEK+DI
|
|
if /i "%sneekverbose%" EQU "on" set waoutput=%waoutput%; SNEEK #Verbose Output
|
|
if /i "%SNKFONT%" EQU "W" set waoutput=%waoutput%; #White Font.bin for S\UNEEK+DI (instead of Black)
|
|
|
|
echo set waoutput=%waoutput%>temp\temp.bat
|
|
support\sfk filter -quiet temp\temp.bat -rep _"#"_"^&"_ -write -yes
|
|
call temp\temp.bat
|
|
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp CL
|
|
|
|
if errorlevel 2 goto:MENU
|
|
::if errorlevel 1 goto:OPTIONS
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
|
|
echo %waoutnum% >"%wabat%"
|
|
|
|
findStr /I /C:"0" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set neek2o=on) else (set neek2o=off)
|
|
|
|
findStr /I /C:"1" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set SSD=on) else (set SSD=off)
|
|
|
|
findStr /I /C:"2" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set sneekverbose=on) else (set sneekverbose=off)
|
|
|
|
findStr /I /C:"3" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set SNKFONT=W) else (set SNKFONT=B)
|
|
|
|
|
|
goto:Options
|
|
|
|
|
|
::...................................Wizard Page1 - Virgin?...............................
|
|
:WPAGE1
|
|
set waoutnum=
|
|
set waoutput=
|
|
set VIRGIN=
|
|
set Advanced=
|
|
set HMInstaller=
|
|
set RECCIOS=
|
|
set yawmQ=
|
|
set PRIQ=
|
|
set ThemeSelection=N
|
|
set IOS236InstallerQ=
|
|
|
|
::recall checked items
|
|
if not "%VIRGINMarked%"=="" set waoutnum=%VIRGINMarked%
|
|
|
|
|
|
set watext= Is this your first time softmodding your Wii?~ -or-~ Would you like to update ALL your existing softmods~ (aka re-hack your Wii)~~Note: Only answer No if you know specifically what you~ want to update
|
|
|
|
set wainput= ^&Yes; ^&No
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:MENU
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
set VIRGINMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" set Virgin=Y
|
|
if /i "%waoutnum%" EQU "1" set Virgin=N
|
|
|
|
if /i "%VIRGIN%" EQU "Y" goto:WPAGE2
|
|
if /i "%VIRGIN%" EQU "N" goto:WPAGE2
|
|
if "%Virgin%"=="" goto:WPAGE1
|
|
|
|
|
|
|
|
::...................................Wizard Page2 - Current System Menu...............................
|
|
:WPAGE2
|
|
set FIRMSTART=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items
|
|
if not "%FIRMSTARTMarked%"=="" set waoutnum=%FIRMSTARTMarked%
|
|
|
|
set watext=~~ What is your current System Menu version?~~Note: to check this, turn on your Wii, click the Wii button in the bottom left of the main system menu, click Wii Settings, then you should see the System Menu in the top right of the screen (ie. 4.2U, 4.1J, 3.2E, etc.)
|
|
|
|
|
|
|
|
set wainput= 4.^&3; 4.^&2; 4.^&1; 4.^&0; 3.^&x (3.0 - 3.5); ^&Other (^<2.2); ^&Instructional video to check System Menu Version
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if not errorlevel 1 goto:notback
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:MENU
|
|
if /i "%MENU1%" EQU "H" goto:MENU
|
|
goto:WPAGE1
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
set FIRMSTARTMarked=%waoutnum%
|
|
|
|
if /i "%AbstinenceWiz%" NEQ "Y" goto:NotAbstinenceWiz
|
|
if /i "%waoutnum%" EQU "0" (set FIRMSTART=4.3) & (goto:WPAGE3)
|
|
if /i "%waoutnum%" EQU "1" (set FIRMSTART=4.2) & (goto:NEEKrevSelect)
|
|
if /i "%waoutnum%" EQU "2" (set FIRMSTART=4.1) & (goto:NEEKrevSelect)
|
|
if /i "%waoutnum%" EQU "3" (set FIRMSTART=4.0) & (goto:NEEKrevSelect)
|
|
if /i "%waoutnum%" EQU "4" (set FIRMSTART=3.X) & (goto:NEEKrevSelect)
|
|
if /i "%waoutnum%" EQU "5" (set FIRMSTART=O) & (goto:WPAGE3)
|
|
:NotAbstinenceWiz
|
|
|
|
if /i "%waoutnum%" EQU "0" (set FIRMSTART=4.3) & (goto:WPAGE3)
|
|
if /i "%waoutnum%" EQU "1" (set FIRMSTART=4.2) & (goto:WPAGE3)
|
|
if /i "%waoutnum%" EQU "2" (set FIRMSTART=4.1) & (goto:WPAGE3)
|
|
if /i "%waoutnum%" EQU "3" (set FIRMSTART=4.0) & (goto:WPAGE3)
|
|
if /i "%waoutnum%" EQU "4" (set FIRMSTART=3.X) & (goto:WPAGE3)
|
|
if /i "%waoutnum%" EQU "5" (set FIRMSTART=O) & (goto:WPAGE3)
|
|
if /i "%waoutnum%" EQU "6" set FIRMSTART=HELP
|
|
|
|
if /i "%FIRMSTART%" NEQ "Help" goto:nohelp
|
|
start /D SUPPORT SMver.html
|
|
goto:WPAGE2
|
|
:nohelp
|
|
|
|
if "%FIRMSTART%"=="" goto:WPAGE2
|
|
|
|
|
|
|
|
::...................................Wizard Page3 - REGION...............................
|
|
:WPAGE3
|
|
|
|
if /i "%FIRMSTART%" EQU "4.3" goto:WPAGE3hard
|
|
if /i "%FIRMSTART%" EQU "o" goto:WPAGE3hard
|
|
if /i "%MENU1%" EQU "H" (set BACKB4DRIVE=WPAGE2) & (goto:DRIVECHANGE)
|
|
:WPAGE3hard
|
|
|
|
set REGION=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items
|
|
if not "%REGIONMarked%"=="" set waoutnum=%REGIONMarked%
|
|
|
|
|
|
set watext=~~ What is your System Menu Region?~~Note: to check this, turn on your Wii, click the Wii button in the bottom left of the main system menu, click Wii Settings, then you should see the System Menu in the top right of the screen (ie. 4.2U, 4.1J, 3.2E, etc.)
|
|
|
|
|
|
if /i "%MENU1%" EQU "RC" set watext=~~~~ What Region would you like to change to?
|
|
|
|
|
|
|
|
set wainput= ^&U (USA); ^&E (Euro\PAL); ^&J (JAP); ^&K (Korean); ^&Instructional video to check System Menu Region
|
|
|
|
if /i "%MENU1%" EQU "RC" set wainput= ^&U (USA); ^&E (Euro\PAL); ^&J (JAP); ^&K (Korean)
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
|
|
if not errorlevel 1 goto:notback
|
|
if /i "%MENU1%" EQU "RC" (goto:RCPAGE1) else (goto:WPAGE2)
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
set REGIONMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" set REGION=U
|
|
if /i "%waoutnum%" EQU "1" set REGION=E
|
|
if /i "%waoutnum%" EQU "2" set REGION=J
|
|
if /i "%waoutnum%" EQU "3" set REGION=K
|
|
|
|
if /i "%waoutnum%" EQU "4" set REGION=HELP
|
|
|
|
if "%REGION%"=="" goto:WPAGE3
|
|
|
|
if /i "%MENU1%" NEQ "RC" goto:notRC
|
|
if /i "%REGION%" EQU "U" goto:WPAGE4
|
|
if /i "%REGION%" EQU "E" goto:WPAGE4
|
|
if /i "%REGION%" EQU "K" goto:WPAGE4
|
|
if /i "%REGION%" EQU "J" goto:WPAGE4
|
|
:notRC
|
|
|
|
|
|
if /i "%REGION%" EQU "U" goto:WPAGE3C
|
|
if /i "%REGION%" EQU "E" goto:WPAGE3C
|
|
if /i "%REGION%" EQU "K" goto:WPAGE3C
|
|
if /i "%REGION%" EQU "J" goto:WPAGE3C
|
|
|
|
if /i "%REGION%" NEQ "Help" goto:nohelp
|
|
start /D SUPPORT SMver.html
|
|
goto:WPAGE3
|
|
:nohelp
|
|
|
|
|
|
|
|
|
|
::...................................Wizard Page3C - Exploit...............................
|
|
:WPAGE3C
|
|
set waoutnum=
|
|
set waoutput=
|
|
SET EXPLOIT=default
|
|
set exploitselection=
|
|
if /i "%VIRGIN%" EQU "N" goto:WPAGE4
|
|
|
|
|
|
if /i "%FIRMSTART%" EQU "4.3" goto:WPAGE3Cnext
|
|
if /i "%FIRMSTART%" EQU "o" goto:WPAGE3Cnext
|
|
goto:WPAGE4
|
|
:WPAGE3Cnext
|
|
|
|
|
|
::recall checked items
|
|
if not "%EXPLOITMarked%"=="" set waoutnum=%EXPLOITMarked%
|
|
|
|
|
|
::set backb4HACKMIISOLUTION=WPAGE3c
|
|
|
|
|
|
set exploitselection=yes
|
|
|
|
|
|
if /i "%FIRMSTART%" EQU "4.3" set watext=~~Select the exploit you would like to use to mod your Wii.~~~Note: Wilbrand is the only discless exploit for 4.3 Wii's.
|
|
if /i "%FIRMSTART%" EQU "o" set watext=~~Select the game you would like to use to mod your Wii.~~~Note: You can mod your Wii without one of the following games if you update to System Menu 3.0 or higher.
|
|
|
|
|
|
set wainput=
|
|
|
|
if /i "%FIRMSTART%" EQU "4.3" goto:list4.3
|
|
if /i "%REGION%" EQU "K" set wainput= ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; ^&All Above Exploits
|
|
if /i "%REGION%" NEQ "K" set wainput= ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; LEGO ^&Indiana Jones; LEGO ^&Batman; LEGO Star ^&Wars; ^&Yu-Gi-Oh! 5D's; Tales of Symphonia: ^&Dawn of the New World; ^&All Above Exploits
|
|
goto:skip4.3
|
|
|
|
:list4.3
|
|
if /i "%REGION%" EQU "K" set wainput= ^&Wilbrand (Discless); ^&Super Smash Brothers Brawl
|
|
if /i "%REGION%" NEQ "K" set wainput= ^&Wilbrand (Discless); ^&Super Smash Brothers Brawl; LEGO ^&Indiana Jones; LEGO ^&Batman; LEGO Star ^&Wars; ^&Yu-Gi-Oh! 5D's; ^&Tales of Symphonia: Dawn of the New World; ^&All Above Disc Based Exploits (not Wilbrand)
|
|
:skip4.3
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:WPAGE3
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
set EXPLOITMarked=%waoutnum%
|
|
|
|
if "%waoutnum%"=="" goto:WPAGE3c
|
|
|
|
|
|
if /i "%FIRMSTART%" EQU "4.3" goto:list4.3
|
|
|
|
if /i "%REGION%" NEQ "K" goto:KOR
|
|
::set wainput= ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; ^&All Above Exploits
|
|
if /i "%waoutnum%" EQU "0" set EXPLOIT=T
|
|
if /i "%waoutnum%" EQU "1" set EXPLOIT=S
|
|
if /i "%waoutnum%" EQU "2" set EXPLOIT=?
|
|
goto:gotexploit
|
|
|
|
|
|
:KOR
|
|
::set wainput= ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; ^&LEGO Indiana Jones; ^&LEGO Batman; ^&LEGO Star Wars; ^&Yu-Gi-Oh! 5D's; ^&Tales of Symphonia: Dawn of the New World; ^&All Above Exploits
|
|
if /i "%waoutnum%" EQU "0" set EXPLOIT=T
|
|
if /i "%waoutnum%" EQU "1" set EXPLOIT=S
|
|
if /i "%waoutnum%" EQU "2" set EXPLOIT=L
|
|
if /i "%waoutnum%" EQU "3" set EXPLOIT=LB
|
|
if /i "%waoutnum%" EQU "4" set EXPLOIT=LS
|
|
if /i "%waoutnum%" EQU "5" set EXPLOIT=Y
|
|
if /i "%waoutnum%" EQU "6" set EXPLOIT=TOS
|
|
if /i "%waoutnum%" EQU "7" set EXPLOIT=?
|
|
goto:gotexploit
|
|
|
|
|
|
:list4.3
|
|
if /i "%REGION%" NEQ "K" goto:KOR4.3
|
|
::set wainput= ^&Wilbrand (Discless); ^&Super Smash Brothers Brawl
|
|
if /i "%waoutnum%" EQU "0" set EXPLOIT=W
|
|
if /i "%waoutnum%" EQU "1" set EXPLOIT=S
|
|
goto:gotexploit
|
|
|
|
|
|
:KOR4.3
|
|
::set wainput= ^&Wilbrand (Discless); ^&Super Smash Brothers Brawl; ^&LEGO Indiana Jones; ^&LEGO Batman; ^&LEGO Star Wars; ^&Yu-Gi-Oh! 5D's; ^&Tales of Symphonia: Dawn of the New World; ^&All Above Disc Based Exploits (not Wilbrand)
|
|
if /i "%waoutnum%" EQU "0" set EXPLOIT=W
|
|
if /i "%waoutnum%" EQU "1" set EXPLOIT=S
|
|
if /i "%waoutnum%" EQU "2" set EXPLOIT=L
|
|
if /i "%waoutnum%" EQU "3" set EXPLOIT=LB
|
|
if /i "%waoutnum%" EQU "4" set EXPLOIT=LS
|
|
if /i "%waoutnum%" EQU "5" set EXPLOIT=Y
|
|
if /i "%waoutnum%" EQU "6" set EXPLOIT=TOS
|
|
if /i "%waoutnum%" EQU "7" set EXPLOIT=?
|
|
goto:gotexploit
|
|
|
|
|
|
:gotexploit
|
|
|
|
|
|
|
|
if /i "%EXPLOIT%" EQU "W" (set beforemacaddy=WPAGE3C) & (goto:macaddress)
|
|
|
|
if /i "%MENU1%" EQU "H" (set BACKB4DRIVE=WPAGE3C) & (goto:DRIVECHANGE)
|
|
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:NEEKrevSelect
|
|
|
|
goto:WPAGE4
|
|
|
|
|
|
|
|
::----------------------------------------MAC ADDRESS---------------------------------
|
|
:macaddress
|
|
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
if not "%macaddress%"=="" set waoutput=%macaddress%
|
|
|
|
set watext= Enter your Wii's MAC address~~Examples: AABBCCDDEEFF , AA BB CC DD EE FF~ AA:BB:CC:DD:EE:FF , 11-22-33-44-55-66~To find your MAC address, click the Wii button in the bottom left of the main system menu, then click Wii Settings, then Internet, then Console Information. Or enter "Help" for an instructional video.
|
|
|
|
start /w support\wizapp EB
|
|
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:%beforemacaddy%
|
|
|
|
call "%wabat%"
|
|
|
|
|
|
if "%waoutput%"=="" goto:macaddress
|
|
|
|
|
|
if /i "%waoutput%" NEQ "Help" goto:nohelp
|
|
start /D SUPPORT MAC.html
|
|
goto:macaddress
|
|
:nohelp
|
|
|
|
echo %waoutput% >temp\temp.txt
|
|
|
|
support\sfk filter "temp\temp.txt" -rep _" "__ -rep _"-"__ -rep _":"__ -write -yes>nul
|
|
|
|
set /p waoutput= <temp\temp.txt
|
|
|
|
::confirm 12 digits
|
|
if "%waoutput:~11%"=="" goto:macaddress
|
|
if not "%waoutput:~12%"=="" goto:macaddress
|
|
|
|
|
|
::confirm MAC addy is hex chars
|
|
|
|
echo.
|
|
echo Validating MAC address...
|
|
echo.
|
|
|
|
set digit=0
|
|
|
|
:confirmMACaddy
|
|
|
|
set /a digit=%digit%+1
|
|
set testme=
|
|
if /i "%digit%" EQU "1" set testme=%waoutput:~0,1%
|
|
if /i "%digit%" EQU "2" set testme=%waoutput:~1,1%
|
|
if /i "%digit%" EQU "3" set testme=%waoutput:~2,1%
|
|
if /i "%digit%" EQU "4" set testme=%waoutput:~3,1%
|
|
if /i "%digit%" EQU "5" set testme=%waoutput:~4,1%
|
|
if /i "%digit%" EQU "6" set testme=%waoutput:~5,1%
|
|
if /i "%digit%" EQU "7" set testme=%waoutput:~6,1%
|
|
if /i "%digit%" EQU "8" set testme=%waoutput:~7,1%
|
|
if /i "%digit%" EQU "9" set testme=%waoutput:~8,1%
|
|
if /i "%digit%" EQU "10" set testme=%waoutput:~9,1%
|
|
if /i "%digit%" EQU "11" set testme=%waoutput:~10,1%
|
|
if /i "%digit%" EQU "12" set testme=%waoutput:~11,1%
|
|
|
|
if "%testme%"=="" goto:quickskip
|
|
|
|
if /i "%testme%" EQU "0" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "1" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "2" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "3" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "4" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "5" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "6" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "7" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "8" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "9" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "a" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "b" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "c" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "d" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "e" goto:confirmMACaddy
|
|
if /i "%testme%" EQU "f" goto:confirmMACaddy
|
|
|
|
goto:macaddress
|
|
:quickskip
|
|
|
|
set macaddress=%waoutput%
|
|
::echo %macaddress%
|
|
|
|
|
|
if /i "%MENU1%" EQU "H" (set BACKB4DRIVE=macaddress) & (goto:DRIVECHANGE)
|
|
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:NEEKrevSelect
|
|
|
|
goto:WPAGE4
|
|
|
|
|
|
|
|
|
|
::...................................Wizard Page3D - Active IOSs...............................
|
|
::change WPAGE3D with WPAGE4
|
|
|
|
|
|
|
|
|
|
::...................................Wizard Page4 - New System Menu...............................
|
|
:WPAGE4
|
|
|
|
set FIRM=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
set watext=~~ Select the System Menu you would like~ to upgrade/downgrade to.
|
|
|
|
if /i "%MENU1%" NEQ "RC" set watext=%watext%~~Note: if your current System Menu is selected a~ System Menu is not downloaded
|
|
|
|
|
|
set wainput= 4.^&3; 4.^&2; 4.^&1 (Recommended)
|
|
::set default
|
|
set waoutnum=2
|
|
|
|
if /i "%MENU1%" EQU "RC" goto:miniskip
|
|
|
|
if /i "%FIRMSTART%" EQU "4.3" set wainput= 4.^&3 (Recommended); 4.^&2; 4.^&1
|
|
if /i "%FIRMSTART%" EQU "4.3" set waoutnum=0
|
|
|
|
if /i "%FIRMSTART%" EQU "4.2" set wainput= 4.^&3; 4.^&2 (Recommended); 4.^&1
|
|
if /i "%FIRMSTART%" EQU "4.2" set waoutnum=1
|
|
:miniskip
|
|
|
|
|
|
::recall checked items
|
|
if not "%FIRMMarked%"=="" set waoutnum=%FIRMMarked%
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
|
|
if not errorlevel 1 goto:notback
|
|
if /i "%MENU1%" EQU "RC" goto:WPAGE3
|
|
if /i "%VIRGIN%" EQU "N" goto:WPAGE3
|
|
if /i "%FIRMSTART%" EQU "o" goto:wpage3c
|
|
if /i "%FIRMSTART%" EQU "4.3" goto:wpage3c
|
|
goto:wpage3
|
|
:notback
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
set FIRMMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" set FIRM=4.3
|
|
if /i "%waoutnum%" EQU "1" set FIRM=4.2
|
|
if /i "%waoutnum%" EQU "2" set FIRM=4.1
|
|
|
|
if "%FIRM%"=="" goto:WPAGE4
|
|
|
|
if /i "%MENU1%" EQU "RC" (goto:WPAGE20) else (goto:WPAGE5)
|
|
|
|
|
|
|
|
::...................................Wizard Page5 - MORE Channels?...............................
|
|
:WPAGE5
|
|
set MORE=
|
|
set PIC=
|
|
set NET=
|
|
set Weather=
|
|
set NEWS=
|
|
set MIIQ=
|
|
set Shop=
|
|
set Speak=
|
|
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items
|
|
if not "%ChannelsMarked%"=="" set waoutnum=%ChannelsMarked%
|
|
|
|
|
|
set watext=~~~ Select which of the following channels~ you would like to install
|
|
|
|
set wainput= ^&Photo; ^&Mii; ^&Shop (with IOS56); ^&Internet; ^&Weather; ^&News; ^&Wii Speak
|
|
|
|
if /i "%MENU1%" EQU "S" (set REGIONTEMP=%SNKREGION%) else (set REGIONTEMP=%REGION%)
|
|
|
|
if /i "%REGIONTEMP%" EQU "K" set wainput= ^&Photo; ^&Mii; ^&Shop (with IOS56)
|
|
|
|
if /i "%MENU1%" NEQ "S" goto:notS
|
|
set wainput= ^&Photo; ^&Mii; ^&Shop; ^&Internet; ^&Weather; ^&News; ^&Wii Speak
|
|
if /i "%REGIONTEMP%" EQU "K" set wainput= ^&Photo; ^&Mii; ^&Shop
|
|
:notS
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp CL
|
|
|
|
if errorlevel 2 goto:MENU
|
|
|
|
if not errorlevel 1 goto:notback
|
|
if /i "%MENU1%" NEQ "S" goto:WPAGE4
|
|
::if /i "%SNEEKSELECT%" NEQ "5" goto:WPAGE20
|
|
::if "%SMTHEMEAPP%"=="" (goto:SNKPAGE4c) else (goto:WPAGE20)
|
|
goto:SNKPAGE5
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
set ChannelsMarked=%waoutnum%
|
|
|
|
if "%waoutnum%"=="" goto:skipcheck
|
|
|
|
echo %waoutnum% >"%wabat%"
|
|
|
|
findStr /I /C:"0" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set PIC=Y
|
|
|
|
findStr /I /C:"1" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set MIIQ=Y
|
|
|
|
findStr /I /C:"2" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set Shop=Y
|
|
|
|
findStr /I /C:"3" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set NET=Y
|
|
|
|
findStr /I /C:"4" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set Weather=Y
|
|
|
|
findStr /I /C:"5" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set NEWS=Y
|
|
|
|
findStr /I /C:"6" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set Speak=Y
|
|
|
|
:skipcheck
|
|
|
|
|
|
if /i "%MENU1%" NEQ "S" goto:notS
|
|
if /i "%THEMEQ%" EQU "Y" goto:WPAGE20
|
|
if /i "%THEMEQ%" NEQ "Y" (set backB4wpageLast=WPAGE5) & (goto:WPAGELAST)
|
|
:notS
|
|
|
|
|
|
if /i "%VIRGIN%" EQU "Y" (goto:WPAGE20) else (goto:WPAGE13)
|
|
|
|
|
|
|
|
::...................................Wizard Page13 - MORE Advanced Channels?...............................
|
|
:WPAGE13
|
|
|
|
|
|
::set Advanced=
|
|
|
|
set HMInstaller=
|
|
set IOS236InstallerQ=
|
|
set RECCIOS=
|
|
set PRIQ=
|
|
set yawmQ=
|
|
set THEMEQ=
|
|
set USBGUIDE=
|
|
SET UpdatesIOSQ=N
|
|
::set ThemeSelection=N
|
|
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items
|
|
if not "%AdvancedMarked%"=="" set waoutnum=%AdvancedMarked%
|
|
|
|
|
|
set watext=~~~~ Select which of the following to Install or Update
|
|
|
|
if /i "%CMIOSOPTION%" EQU "on" set wainput= ^&Homebrew Channel and\or BootMii; ^&IOS236; ^&Recommended cIOSs and cMIOS; ^&Priiloader v0.7 (and System Menu hacks); ^&Yet Another Wad Manager Mod (YAWMM); ^&System Menu Theme; ^&USB-Loader; ^&Active IOSs and patched System Menu IOSs
|
|
|
|
if /i "%CMIOSOPTION%" NEQ "on" set wainput= ^&Homebrew Channel and\or BootMii; ^&IOS236; ^&Recommended cIOSs; ^&Priiloader v0.7 (and System Menu hacks); ^&Yet Another Wad Manager Mod (YAWMM); System Menu ^&Theme; ^&USB-Loader; ^&Active IOSs and patched System Menu IOSs
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp CL
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:WPAGE5
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
|
|
if "%waoutnum%"=="" (set BACKB4DRIVE=WPAGE13) & (goto:DRIVECHANGE)
|
|
|
|
|
|
set AdvancedMarked=%waoutnum%
|
|
|
|
echo %waoutnum% >"%wabat%"
|
|
|
|
findStr /I /C:"0" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set HMInstaller=Y
|
|
|
|
findStr /I /C:"1" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set IOS236InstallerQ=Y
|
|
|
|
findStr /I /C:"2" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set RECCIOS=Y
|
|
|
|
findStr /I /C:"3" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set PRIQ=Y
|
|
|
|
findStr /I /C:"4" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set yawmQ=Y
|
|
|
|
findStr /I /C:"5" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set THEMEQ=Y
|
|
|
|
findStr /I /C:"6" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set USBGUIDE=Y
|
|
|
|
findStr /I /C:"7" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (set UpdatesIOSQ=Y) else (set UpdatesIOSQ=N)
|
|
|
|
|
|
if /i "%THEMEQ%" EQU "Y" goto:WPAGE20
|
|
if /i "%USBGUIDE%" EQU "Y" goto:UPAGE1
|
|
|
|
set BACKB4DRIVE=WPAGE13
|
|
goto:DRIVECHANGE
|
|
|
|
|
|
|
|
|
|
|
|
::...................................Wizard Page20 - Theme Selection...............................
|
|
:WPAGE20
|
|
set ThemeSelection=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
if /i "%SNEEKSELECT%" NEQ "5" goto:nocheck
|
|
if "%SMTHEMEAPP%"=="" goto:WPAGE5
|
|
:nocheck
|
|
|
|
|
|
::recall checked items
|
|
if not "%ThemeSelectionMarked%"=="" set waoutnum=%ThemeSelectionMarked%
|
|
|
|
|
|
set watext=~~~ Would you like to install a custom Theme on your Wii?~~ Choose from 3 effects: No-Spin, Spin and Fast-Spin
|
|
|
|
set wainput= View All Available Themes on ^&Youtube; Change Channel ^&Effect - Current Effect: %effect%; DarkWii ^&Red Theme - %effect%; DarkWii ^&Green Theme - %effect%; DarkWii ^&Blue Theme - %effect%; DarkWii ^&Orange Theme - %effect%; ^&No, I want the same old boring, boring System Menu
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
|
|
|
|
if not errorlevel 1 goto:notback
|
|
if /i "%MENU1%" EQU "RC" goto:WPAGE4
|
|
|
|
::if /i "%SNEEKSELECT%" EQU "5" goto:quickskip
|
|
::if /i "%MENU1%" EQU "S" goto:SNKPAGE5
|
|
:::quickskip
|
|
::if /i "%SNEEKSELECT%" EQU "5" goto:SNKPAGE4c
|
|
|
|
if /i "%MENU1%" EQU "S" goto:WPAGE5
|
|
if /i "%VIRGIN%" EQU "Y" (goto:WPAGE5) else (goto:WPAGE13)
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
::if blank, check "NO"
|
|
if "%waoutnum%"=="" set waoutnum=6
|
|
|
|
set ThemeSelectionMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" set ThemeSelection=WWW
|
|
if /i "%waoutnum%" EQU "1" set ThemeSelection=CE
|
|
if /i "%waoutnum%" EQU "2" set ThemeSelection=R
|
|
if /i "%waoutnum%" EQU "3" set ThemeSelection=G
|
|
if /i "%waoutnum%" EQU "4" set ThemeSelection=BL
|
|
if /i "%waoutnum%" EQU "5" set ThemeSelection=O
|
|
if /i "%waoutnum%" EQU "6" set ThemeSelection=N
|
|
|
|
if "%ThemeSelection%"=="" goto:WPAGE20
|
|
|
|
if /i "%ThemeSelection%" NEQ "WWW" goto:novid
|
|
start /D SUPPORT WiiThemes.html
|
|
goto:WPAGE20
|
|
:novid
|
|
|
|
if /i "%ThemeSelection%" NEQ "CE" goto:SkipOptionCEwizard
|
|
if /i "%effect%" EQU "no-spin" (set effect=Spin) & (support\sfk filter Support\settings.bat -!"Set effect=" -write -yes>nul) & (echo Set effect=Spin>>Support\settings.bat) & (goto:WPAGE20)
|
|
if /i "%effect%" EQU "spin" (set effect=Fast-Spin) & (support\sfk filter Support\settings.bat -!"Set effect=" -write -yes>nul) & (echo Set effect=Fast-Spin>>Support\settings.bat) & (goto:WPAGE20)
|
|
if /i "%effect%" EQU "fast-spin" (set effect=No-Spin) & (support\sfk filter Support\settings.bat -!"Set effect=" -write -yes>nul) & (echo Set effect=No-Spin>>Support\settings.bat) & (goto:WPAGE20)
|
|
:SkipOptionCEwizard
|
|
|
|
::next
|
|
if /i "%SNEEKSELECT%" NEQ "5" goto:miniskip
|
|
if /i "%ThemeSelection%" EQU "D" goto:WPAGE5
|
|
:miniskip
|
|
|
|
if /i "%MENU1%" EQU "RC" (set BACKB4DRIVE=WPAGE20) & (goto:DriveChange)
|
|
|
|
if /i "%MENU1%" EQU "S" (set backB4wpageLast=WPAGE20) & (goto:WPAGELAST)
|
|
|
|
::Wizard
|
|
if /i "%VIRGIN%" EQU "Y" goto:WPAGE21
|
|
if /i "%USBGUIDE%" EQU "Y" (goto:UPAGE1) else (goto:DRIVECHANGE)
|
|
|
|
|
|
|
|
::...................................Wizard Page21 - USB Loader Setup Q...............................
|
|
:WPAGE21
|
|
set USBGUIDE=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items
|
|
if not "%USBGUIDEMarked%"=="" set waoutnum=%USBGUIDEMarked%
|
|
|
|
set watext=~Would you like to set up a USB-Loader now?~~Notes:~A USB-Loader allows the Wii to play games off an external Hard Drive. This step can always be done by itself later on from ModMii's Main Menu.
|
|
|
|
set wainput= ^&Yes; ^&No
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:WPAGE20
|
|
|
|
call "%wabat%"
|
|
|
|
::if blank, check "NO"
|
|
if "%waoutnum%"=="" set waoutnum=1
|
|
|
|
set USBGUIDEMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" (set USBGUIDE=Y) & (goto:UPAGE1)
|
|
if /i "%waoutnum%" EQU "1" (set USBGUIDE=N) & (set BACKB4DRIVE=WPAGE21) & (goto:DRIVECHANGE)
|
|
|
|
if "%USBGUIDE%"=="" goto:WPAGE21
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
::...................................SD Card Location...............................
|
|
:DriveChange
|
|
set drivetemp=%DRIVE:&=^&%
|
|
set waoutnum=
|
|
set waoutput=%DRIVE:&=^&%
|
|
|
|
set wabmplast=%wabmp%
|
|
set wabmp=support\bmp\SDCARD.bmp
|
|
|
|
|
|
::makedrive if not exist
|
|
::if not exist "%DRIVE%" mkdir "%DRIVE%"
|
|
|
|
set watext=~~~Select where to save files for your SD Card
|
|
|
|
|
|
start /w support\wizapp FB DIR
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if not errorlevel 1 goto:notback
|
|
set wabmp=%wabmplast%
|
|
if /i "%MENU1%" EQU "O" goto:notback
|
|
goto:%BACKB4DRIVE%
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
set DRIVETEMP=%waoutput:&=^&%
|
|
|
|
|
|
|
|
::remove quotes from variable (if applicable)
|
|
echo "set DRIVETEMP=%DRIVETEMP%">temp\temp.txt
|
|
support\sfk filter -quiet temp\temp.txt -rep _""""__>temp\temp.bat
|
|
|
|
support\sfk filter -spat -quiet temp\temp.bat -rep _\x26_\x5e\x26_ -write -yes
|
|
|
|
call temp\temp.bat
|
|
del temp\temp.bat>nul
|
|
del temp\temp.txt>nul
|
|
|
|
|
|
::if second char is ":" check if drive exists
|
|
|
|
if /i "%DRIVETEMP:~1,1%" NEQ ":" goto:skipcheck
|
|
if exist "%DRIVETEMP:~0,2%" (goto:skipcheck) else (echo.)
|
|
goto:DRIVECHANGE
|
|
:skipcheck
|
|
|
|
|
|
set DRIVE=%DRIVETEMP:&=^&%
|
|
set REALDRIVE=%DRIVE:&=^&%
|
|
|
|
|
|
::autosave drive setting to settings.bat
|
|
support\sfk filter Support\settings.bat -!"Set Drive=" -write -yes>nul
|
|
echo Set Drive=%DRIVE:&=^&%>>Support\settings.bat
|
|
support\sfk filter -spat -quiet Support\settings.bat -rep _\x5e\x26_\x26_ -rep _\x26_\x5e\x26_ -write -yes>nul
|
|
support\sfk filter -quiet Support\settings.bat -lerep _\__ -lerep _/__ -write -yes>nul
|
|
::goto:
|
|
|
|
set wabmp=%wabmplast%
|
|
|
|
::if /i "%MENU1%" EQU "FC" goto:FileCleanup
|
|
|
|
if /i "%MENU1%" EQU "O" goto:options
|
|
|
|
if /i "%MENU1%" EQU "H" (set backB4wpageLast=DRIVECHANGE) & (goto:WPAGELAST)
|
|
|
|
if /i "%MENU1%" EQU "W" goto:noskip
|
|
if /i "%MENU1%" EQU "U" goto:noskip
|
|
goto:skip
|
|
:noskip
|
|
if /i "%USBCONFIG%" EQU "USB" (set backB4DRIVEU=DRIVECHANGE) & (goto:DRIVEUCHANGE)
|
|
if /i "%USBCONFIG%" NEQ "USB" (set backB4wpageLast=DRIVECHANGE) & (goto:WPAGELAST)
|
|
:skip
|
|
|
|
|
|
if /i "%MENU1%" EQU "RC" (set backB4wpageLast=DRIVECHANGE) & (goto:WPAGELAST)
|
|
|
|
if /i "%SNEEKTYPE%" EQU "U" (set BACKB4DRIVEU=DRIVECHANGE) & (goto:DRIVEUCHANGE)
|
|
|
|
if /i "%SNEEKTYPE%" EQU "UD" (set BACKB4DRIVEU=DRIVECHANGE) & (goto:DRIVEUCHANGE)
|
|
|
|
if /i "%SNEEKSELECT%" EQU "2" (set B4SNKPAGE3=DRIVECHANGE) & (goto:snkpage3)
|
|
|
|
if /i "%SNEEKSELECT%" EQU "3" (set B4SNKPAGE3=DRIVECHANGE) & (goto:snkpage3)
|
|
|
|
if /i "%SNEEKSELECT%" EQU "1" (set backB4wpageLast=DRIVECHANGE) & (goto:WPAGELAST)
|
|
|
|
|
|
|
|
|
|
|
|
::...................................USB Hard Drive Location...............................
|
|
:DriveUChange
|
|
set driveUtemp=%DRIVEU:&=^&%
|
|
set waoutnum=
|
|
set waoutput=%DRIVEU:&=^&%
|
|
|
|
set wabmplast=%wabmp%
|
|
set wabmp=support\bmp\USBDIR.bmp
|
|
|
|
::makedrive if not exist
|
|
::if not exist "%DRIVE:&=^&%" mkdir "%DRIVE:&=^&%"
|
|
|
|
set watext=~~~Select where to save files for your USB Hard Drive
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
|
|
start /w support\wizapp FB DIR
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if not errorlevel 1 goto:notback
|
|
set wabmp=%wabmplast%
|
|
if /i "%MENU1%" EQU "O" goto:notback
|
|
goto:%BACKB4DRIVEU%
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
set DRIVEUTEMP=%waoutput:&=^&%
|
|
|
|
|
|
|
|
::remove quotes from variable (if applicable)
|
|
echo "set DRIVEUTEMP=%DRIVEUTEMP%">temp\temp.txt
|
|
support\sfk filter -quiet temp\temp.txt -rep _""""__>temp\temp.bat
|
|
support\sfk filter -spat -quiet temp\temp.bat -rep _\x26_\x5e\x26_ -write -yes
|
|
call temp\temp.bat
|
|
del temp\temp.bat>nul
|
|
del temp\temp.txt>nul
|
|
|
|
|
|
::if second char is ":" check if drive exists
|
|
if /i "%DRIVEUTEMP:~1,1%" NEQ ":" goto:skipcheck
|
|
if exist "%DRIVEUTEMP:~0,2%" goto:skipcheck
|
|
goto:DRIVEUCHANGE
|
|
:skipcheck
|
|
|
|
|
|
set DRIVEU=%DRIVEUTEMP:&=^&%
|
|
|
|
|
|
::autosave drive setting to settings.bat
|
|
support\sfk filter Support\settings.bat -!"Set DriveU=" -write -yes>nul
|
|
echo Set DriveU=%DRIVEU:&=^&%>>Support\settings.bat
|
|
support\sfk filter -spat -quiet Support\settings.bat -rep _\x5e\x26_\x26_ -rep _\x26_\x5e\x26_ -write -yes>nul
|
|
support\sfk filter -quiet Support\settings.bat -lerep _\__ -lerep _/__ -write -yes>nul
|
|
|
|
::goto:
|
|
|
|
set wabmp=%wabmplast%
|
|
|
|
if /i "%MENU1%" EQU "O" goto:options
|
|
|
|
if /i "%MENU1%" EQU "W" goto:noskip
|
|
if /i "%MENU1%" EQU "U" goto:noskip
|
|
goto:skip
|
|
:noskip
|
|
if /i "%USBCONFIG%" EQU "USB" set BACKB4WPAGELAST=DRIVEUCHANGE
|
|
if /i "%USBCONFIG%" EQU "USB" goto:WPAGELAST
|
|
:skip
|
|
|
|
if /i "%SNEEKSELECT%" EQU "1" (set BACKB4WPAGELAST=DRIVEUCHANGE) & (goto:WPAGELAST)
|
|
if /i "%SNEEKSELECT%" EQU "2" (set B4SNKPAGE3=DRIVEUCHANGE) & (goto:snkpage3)
|
|
if /i "%SNEEKSELECT%" EQU "3" (set B4SNKPAGE3=DRIVEUCHANGE) & (goto:snkpage3)
|
|
if /i "%SNEEKSELECT%" EQU "4" goto:SNKDISCEX2
|
|
|
|
|
|
|
|
::...................................Check For Updates...............................
|
|
|
|
:UpdateModMii
|
|
|
|
set wabmplast=%wabmp%
|
|
set wabmp=support\bmp\UPDATECHECK.bmp
|
|
|
|
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://sourceforge.net/p/modmii/code/HEAD/tree/trunk/ModMii English/ModMiiSkin.bat?format=raw"
|
|
|
|
if exist "ModMiiSkin.bat@format=raw" (move /y "ModMiiSkin.bat@format=raw" temp\list.txt>nul) else (goto:updatefail)
|
|
|
|
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
|
|
|
|
|
|
|
|
if %currentversion% LSS %newversion% goto:openchangelog
|
|
|
|
|
|
::----------disable Splash for now------------
|
|
::if /i "%MENU1%" EQU "O" (set wabmp=%wabmplast%) & (goto:OPTIONS) else (goto:MENU)
|
|
|
|
if %currentversion% GTR %newversion% set watext=~This version is newer than the latest public release~~You got some crazy new beta shit!
|
|
|
|
if %currentversion% EQU %newversion% set watext=~This version is up to date
|
|
|
|
start support\wizapp PB OPEN
|
|
start support\wizapp PB UPDATE 100
|
|
|
|
support\nircmd.exe wait 2000
|
|
|
|
start support\wizapp PB CLOSE
|
|
|
|
set wabmp=%wabmplast%
|
|
|
|
if /i "%MENU1%" EQU "O" (goto:OPTIONS) else (goto:MENU)
|
|
|
|
|
|
|
|
|
|
:openchangelog
|
|
start http://modmii.comuf.com/changelog.html
|
|
|
|
:updateconfirm
|
|
::set updatenow=
|
|
|
|
set watext=~An Update is available, would you like to update to v%newversion% now?~~It is recommended you read the changelog that just opened in your browser.~~Click "Next" to update now otherwise click "Cancel".
|
|
|
|
|
|
start /w support\wizapp NOBACK TB
|
|
|
|
|
|
if not errorlevel 2 goto:notcancel
|
|
set wabmp=%wabmplast%
|
|
if /i "%MENU1%" EQU "O" (goto:OPTIONS) else (goto:MENU)
|
|
:notcancel
|
|
|
|
|
|
|
|
:updatenow
|
|
|
|
set wabmp=support\bmp\UPDATING.bmp
|
|
|
|
set watext=~Updating from v%currentversion% to v%newversion%~~Please Wait...
|
|
|
|
start support\wizapp PB OPEN
|
|
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 --no-check-certificate -t 3 http://sourceforge.net/projects/modmii/files/%UPDATENAME%%newversion%.zip
|
|
|
|
if not exist "%UPDATENAME%%newversion%.zip" goto:updatefail
|
|
|
|
copy /y support\7za.exe support\7za2.exe>nul
|
|
|
|
start support\wizapp PB UPDATE 60
|
|
|
|
|
|
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 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
|
|
start Updatetemp.bat
|
|
exit
|
|
|
|
|
|
:updatefail
|
|
|
|
start support\wizapp PB UPDATE 100
|
|
start support\wizapp PB CLOSE
|
|
|
|
|
|
set watext=~~Update check has failed, check your internet connection and firewall settings.
|
|
|
|
start /w support\wizapp NOBACK TB
|
|
|
|
set wabmp=%wabmplast%
|
|
|
|
if /i "%MENU1%" EQU "O" (goto:OPTIONS) else (goto:MENU)
|
|
|
|
|
|
|
|
|
|
|
|
::...................................Wizard Last Page - Confirmation...............................
|
|
:WPAGELAST
|
|
set WLAST=
|
|
set waoutnum=
|
|
set waoutput=
|
|
set wainput=
|
|
|
|
|
|
set watext=Confirm your settings are correct then click "Finish"
|
|
|
|
|
|
if /i "%MENU1%" NEQ "W" goto:notwizard
|
|
if /i "%USBCONFIG%" NEQ "USB" set watext=%watext%~~Save files to: %Drive:&=^&%
|
|
if /i "%USBCONFIG%" EQU "USB" set watext=%watext%~~Save files to: %Drive:&=^&%~and to: %DriveU:&=^&%
|
|
:notwizard
|
|
|
|
if /i "%MENU1%" NEQ "U" goto:notusb
|
|
if /i "%USBCONFIG%" EQU "USB" set watext=%watext%~~Save files to: %DriveU:&=^&%
|
|
if /i "%USBCONFIG%" NEQ "USB" set watext=%watext%~~Save files to: %Drive:&=^&%
|
|
:notusb
|
|
|
|
|
|
if /i "%MENU1%" NEQ "S" goto:notS
|
|
if /i "%SNEEKSELECT%" NEQ "2" goto:not2
|
|
if /i "%SNEEKTYPE:~0,1%" EQU "S" set watext=%watext%~~Save files to: %Drive:&=^&%
|
|
if /i "%SNEEKTYPE:~0,1%" NEQ "S" set watext=%watext%~~Save files to: %DriveU:&=^&%
|
|
goto:notS
|
|
:not2
|
|
if /i "%SNEEKTYPE:~0,1%" EQU "S" set watext=%watext%~~Save files to: %Drive:&=^&%
|
|
if /i "%SNEEKTYPE:~0,1%" NEQ "S" set watext=%watext%~~Save files to: %Drive:&=^&%~and to: %DriveU:&=^&%
|
|
:notS
|
|
|
|
if /i "%MENU1%" EQU "H" set watext=%watext%~~Save files to: %Drive:&=^&%
|
|
if /i "%MENU1%" EQU "RC" set watext=%watext%~~Save files to: %Drive:&=^&%
|
|
|
|
|
|
if /i "%MENU1%" EQU "H" set wainput=%wainput% HackMii Solutions Guide~
|
|
if /i "%MENU1%" EQU "w" set wainput=%wainput% ModMii Wizard~
|
|
if /i "%MENU1%" EQU "U" set wainput=%wainput% ModMii USB-Loader Setup Guide~
|
|
if /i "%MENU1%" EQU "RC" set wainput=%wainput% Region Change Guide~
|
|
|
|
|
|
if /i "%MENU1%" NEQ "S" goto:notS
|
|
if /i "%SNEEKSELECT%" EQU "1" set wainput=%wainput% SNEEK Installation~
|
|
if /i "%SNEEKSELECT%" EQU "2" set wainput=%wainput% Emulated NAND Builder~
|
|
if /i "%AbstinenceWiz%" EQU "Y" set wainput=%wainput% Abstinence Wizard~
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:notS
|
|
if /i "%SNEEKSELECT%" EQU "3" set wainput=%wainput% SNEEK Installation and Emulated NAND Builder~
|
|
:notS
|
|
|
|
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:guideavailable
|
|
if /i "%MENU1%" EQU "S" goto:guideNOTavailable
|
|
:guideavailable
|
|
if /i "%GUIDEONLY%" EQU "on" set wainput=%wainput%~* Generate Guide Only Option Enabled~
|
|
:guideNOTavailable
|
|
|
|
|
|
if /i "%EXPLOIT%" EQU "W" set wainput=%wainput%~* MAC Address: %macaddress%
|
|
|
|
|
|
if /i "%MENU1%" NEQ "S" goto:notS
|
|
if /i "%AbstinenceWiz%" NEQ "Y" goto:notabstinence
|
|
if /i "%FIRMSTART%" NEQ "o" set wainput=%wainput%~* Current System Menu is %FIRMSTART%%REGION%~
|
|
if /i "%FIRMSTART%" EQU "o" set wainput=%wainput%~* Current System Menu is less than 2.2%REGION%~
|
|
:notabstinence
|
|
|
|
if /i "%SNEEKSELECT%" EQU "2" goto:noSSDcomment
|
|
if /i "%SNEEKTYPE%" EQU "SD" set wainput=%wainput%~* Build %neekname%: SNEEK+DI Rev%CurrentRev%
|
|
if /i "%SNEEKTYPE%" EQU "UD" set wainput=%wainput%~* Build %neekname%: UNEEK+DI Rev%CurrentRev%
|
|
if /i "%SNEEKTYPE%" EQU "S" set wainput=%wainput%~* Build %neekname%: SNEEK Rev%CurrentRev%
|
|
if /i "%SNEEKTYPE%" EQU "U" set wainput=%wainput%~* Build %neekname%: UNEEK Rev%CurrentRev%
|
|
|
|
if /i "%neek2o%" EQU "on" set wainput=%wainput%~* neek2o Enabled (can be changed in options)
|
|
if /i "%neek2o%" NEQ "on" set wainput=%wainput%~* neek2o Disabled (can be changed in options)
|
|
|
|
if /i "%SNEEKTYPE:~0,1%" NEQ "S" goto:noSSDcomment
|
|
if /i "%SSD%" EQU "on" set wainput=%wainput%~* SD Access Enabled (can be changed in options)
|
|
if /i "%SSD%" NEQ "on" set wainput=%wainput%~* SD Access Disabled (can be changed in options)
|
|
:noSSDcomment
|
|
|
|
if /i "%SNEEKSELECT%" EQU "3" set wainput=%wainput%~
|
|
|
|
if /i "%SNEEKSELECT%" NEQ "1" set wainput=%wainput%~* Build a %SNKVERSION%%SNKREGION% Emulated NAND
|
|
|
|
if /i "%SNEEKSELECT%" NEQ "1" set wainput=%wainput%~* setting.txt created using serial #: %SNKSERIAL%
|
|
|
|
if /i "%SNKPLC%" EQU "Y" set wainput=%wainput%~* Install Post Loader Channel
|
|
|
|
if /i "%SNKCIOS%" EQU "Y" set wainput=%wainput%~* Install cIOS249 rev14
|
|
|
|
if /i "%SNKcBC%" EQU "NMM" set wainput=%wainput%~* Install NMM (No More Memory-Cards)
|
|
|
|
if /i "%SNKcBC%" EQU "DML" set wainput=%wainput%~* Install DML to Real NAND
|
|
|
|
if /i "%SNKPRI%" EQU "Y" set wainput=%wainput%~* Install Priiloader
|
|
|
|
if /i "%SNKFLOW%" EQU "Y" set wainput=%wainput%~* Install WiiFlow
|
|
|
|
IF not "%addwadfolder%"=="" set wainput=%wainput%~* Install wads from custom folder:~ %addwadfolder%
|
|
|
|
|
|
if /i "%ThemeSelection%" EQU "R" set wainput=%wainput%~* Install Dark Wii Red Theme - %effect%
|
|
if /i "%ThemeSelection%" EQU "G" set wainput=%wainput%~* Install Dark Wii Green Theme - %effect%
|
|
if /i "%ThemeSelection%" EQU "BL" set wainput=%wainput%~* Install Dark Wii Blue Theme - %effect%
|
|
if /i "%ThemeSelection%" EQU "O" set wainput=%wainput%~* Install Dark Wii Orange Theme - %effect%
|
|
|
|
|
|
set wainput=%wainput%~
|
|
if /i "%PIC%" EQU "Y" set wainput=%wainput%~* Install the Photo Channel
|
|
if /i "%NET%" EQU "Y" set wainput=%wainput%~* Install the Internet Channel
|
|
if /i "%WEATHER%" EQU "Y" set wainput=%wainput%~* Install the Weather Channel
|
|
if /i "%NEWS%" EQU "Y" set wainput=%wainput%~* Install the News Channel
|
|
if /i "%MIIQ%" EQU "Y" set wainput=%wainput%~* Install the Mii Channel
|
|
if /i "%Shop%" EQU "Y" set wainput=%wainput%~* Install the Shopping Channel
|
|
if /i "%Speak%" EQU "Y" set wainput=%wainput%~* Install the Wii Speak Channel
|
|
set wainput=%wainput%~
|
|
|
|
goto:skipusb
|
|
:notS
|
|
|
|
|
|
|
|
|
|
|
|
if /i "%MENU1%" EQU "H" set wainput=%wainput%~* Current System Menu is %FIRMSTART%%REGION%
|
|
if /i "%MENU1%" EQU "H" goto:skipusb
|
|
|
|
|
|
if /i "%MENU1%" EQU "U" goto:skipwizstuff
|
|
|
|
if /i "%VIRGIN%" EQU "Y" set wainput=%wainput%~* Install\Update all recommended softmods~
|
|
|
|
if /i "%MENU1%" EQU "RC" goto:skipcurrentSM
|
|
if /i "%FIRMSTART%" NEQ "o" set wainput=%wainput%~* Current System Menu is %FIRMSTART%%REGION%
|
|
if /i "%FIRMSTART%" EQU "o" set wainput=%wainput%~* Current System Menu is less than 2.2%REGION%
|
|
:skipcurrentSM
|
|
|
|
set wainput=%wainput%~* Desired System Menu is %FIRM%%REGION%
|
|
|
|
set wainput=%wainput%~
|
|
if /i "%PIC%" EQU "Y" set wainput=%wainput%~* Install the Photo Channel
|
|
if /i "%NET%" EQU "Y" set wainput=%wainput%~* Install the Internet Channel
|
|
if /i "%WEATHER%" EQU "Y" set wainput=%wainput%~* Install the Weather Channel
|
|
if /i "%NEWS%" EQU "Y" set wainput=%wainput%~* Install the News Channel
|
|
if /i "%MIIQ%" EQU "Y" set wainput=%wainput%~* Install the Mii Channel
|
|
if /i "%Shop%" EQU "Y" set wainput=%wainput%~* Install the Shopping Channel and IOS56
|
|
if /i "%Speak%" EQU "Y" set wainput=%wainput%~* Install the Wii Speak Channel
|
|
|
|
set wainput=%wainput%~
|
|
|
|
if /i "%HMInstaller%" EQU "Y" set wainput=%wainput%~* Install\Update the Homebrew Channel and BootMii
|
|
|
|
if /i "%RECCIOS%" NEQ "Y" goto:smallskip
|
|
if /i "%CMIOSOPTION%" EQU "on" (set wainput=%wainput%~* Install\Update recommended cIOSs and cMIOS) else (set wainput=%wainput%~* Install\Update recommended cIOSs)
|
|
:smallskip
|
|
|
|
if /i "%yawmQ%" EQU "Y" set wainput=%wainput%~* Download Yet Another Wad Manager Mod
|
|
if /i "%IOS236InstallerQ%" EQU "Y" set wainput=%wainput%~* Install IOS236
|
|
|
|
|
|
if /i "%PRIQ%" EQU "Y" set wainput=%wainput%~* Install\Update Priiloader
|
|
|
|
if /i "%ThemeSelection%" EQU "R" set wainput=%wainput%~* Install Dark Wii Red Theme - %effect%
|
|
if /i "%ThemeSelection%" EQU "G" set wainput=%wainput%~* Install Dark Wii Green Theme - %effect%
|
|
if /i "%ThemeSelection%" EQU "BL" set wainput=%wainput%~* Install Dark Wii Blue Theme - %effect%
|
|
if /i "%ThemeSelection%" EQU "O" set wainput=%wainput%~* Install Dark Wii Orange Theme - %effect%
|
|
|
|
if /i "%MENU1%" EQU "RC" goto:skipusb
|
|
::---------
|
|
:skipwizstuff
|
|
|
|
|
|
if /i "%MENU1%" EQU "U" set USBGUIDE=Y
|
|
if /i "%USBGUIDE%" NEQ "Y" goto:skipusb
|
|
if /i "%MENU1%" NEQ "U" set wainput=%wainput%~
|
|
|
|
if /i "%FORMAT%" EQU "1" set FORMATNAME=FAT32
|
|
if /i "%FORMAT%" EQU "2" set FORMATNAME=NTFS
|
|
if /i "%FORMAT%" EQU "3" set FORMATNAME=Part FAT32 and Part NTFS
|
|
if /i "%FORMAT%" EQU "4" set FORMATNAME=WBFS
|
|
if /i "%FORMAT%" EQU "5" set FORMATNAME=Part FAT32 and Part WBFS
|
|
|
|
if /i "%FORMAT%" EQU "4" goto:skip
|
|
if /i "%FORMAT%" EQU "5" goto:skip
|
|
|
|
if /i "%MENU1%" NEQ "U" set wainput=%wainput%~* External Hard Drive to be Formatted as %FORMATNAME%
|
|
if /i "%MENU1%" EQU "U" set wainput=%wainput%~* External Hard Drive to be Formatted as %FORMATNAME%
|
|
goto:skip2
|
|
:skip
|
|
set wainput=%wainput%~* External Hard Drive already Formatted as %FORMATNAME%
|
|
:skip2
|
|
|
|
if /i "%LOADER%" EQU "GX" set wainput=%wainput%~* Download USB-Loader GX
|
|
if /i "%LOADER%" EQU "CFG" set wainput=%wainput%~* Download Configurable USB-Loader
|
|
if /i "%LOADER%" EQU "FLOW" set wainput=%wainput%~* Download WiiFlow
|
|
if /i "%LOADER%" EQU "ALL" set wainput=%wainput%~* Download USB-Loader GX, Configurable USB-Loader and WiiFlow
|
|
if /i "%USBCONFIG%" EQU "USB" set wainput=%wainput%~* USB-Loader Settings\config-files saved to USB
|
|
if /i "%USBCONFIG%" NEQ "USB" set wainput=%wainput%~* USB-Loader Settings\config-files saved to SD Card
|
|
|
|
:skipusb
|
|
|
|
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
|
|
start /w support\wizapp FINISH FT
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:%BACKB4WPAGELAST%
|
|
|
|
|
|
set WLAST=Y
|
|
|
|
goto:StartModMiiClassic
|
|
|
|
|
|
|
|
|
|
|
|
|
|
::...................................USB-Loader Setup Page1 - Format?...............................
|
|
:UPAGE1
|
|
set FORMAT=NONE
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items or set default
|
|
if not "%FORMATMarked%"=="" (set waoutnum=%FORMATMarked%) else (set waoutnum=0)
|
|
|
|
set watext=~~~How would you like your external Hard Drive Formatted?
|
|
|
|
if /i "%AbstinenceWiz%" NEQ "Y" set wainput= ^&FAT32 (Recommended); ^&NTFS; ^&Partioned partially as FAT32 and partially as NTFS; HDD already ^&WBFS + I don't want to change; ^&HDD already FAT32/WBFS + I don't want to change
|
|
|
|
if /i "%AbstinenceWiz%" EQU "Y" set wainput= ^&FAT32 (Recommended); ^&Partioned partially as FAT32 and partially as NTFS
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if not errorlevel 1 goto:notback
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:SNKPAGE2
|
|
if /i "%MENU1%" EQU "U" goto:MENU
|
|
goto:WPAGE21
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
set FORMATMarked=%waoutnum%
|
|
|
|
SET /a FORMAT=%waoutnum%+1
|
|
|
|
|
|
if /i "%AbstinenceWiz%" NEQ "Y" goto:NotAbstinenceWiz
|
|
if /i "%FORMAT%" EQU "1" (set BACKB4DRIVE=UPAGE1) & (goto:DriveChange)
|
|
if /i "%FORMAT%" EQU "2" (set FORMAT=3) & (set BACKB4DRIVE=UPAGE1) & (goto:DriveChange)
|
|
:NotAbstinenceWiz
|
|
|
|
|
|
goto:UPAGE1b
|
|
|
|
|
|
|
|
|
|
|
|
::...................................USB-Loader Setup Page1b - Loader?...............................
|
|
:UPAGE1b
|
|
set LOADER=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
|
|
::recall checked items or set default
|
|
if not "%LOADERMarked%"=="" (set waoutnum=%LOADERMarked%) else (set waoutnum=0)
|
|
|
|
set watext=~~~~ What USB-Loader would you like to use?
|
|
|
|
set wainput= ^&USB-Loader GX (Recommended); ^&Configurable USB-Loader; ^&WiiFlow; ^&All of the above
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:UPAGE1
|
|
|
|
call "%wabat%"
|
|
|
|
set LOADERMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" set LOADER=GX
|
|
if /i "%waoutnum%" EQU "1" set LOADER=CFG
|
|
if /i "%waoutnum%" EQU "2" set LOADER=FLOW
|
|
if /i "%waoutnum%" EQU "3" set LOADER=ALL
|
|
|
|
|
|
if /i "%FORMAT%" EQU "1" goto:UPAGE2
|
|
if /i "%FORMAT%" EQU "3" goto:UPAGE2
|
|
if /i "%FORMAT%" EQU "5" goto:UPAGE2
|
|
|
|
if /i "%FORMAT%" EQU "2" (set BACKB4DRIVE=UPAGE1b) & (goto:DriveChange)
|
|
if /i "%FORMAT%" EQU "4" (set BACKB4DRIVE=UPAGE1b) & (goto:DriveChange)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
::...................................USB-Loader Setup Page2 - Config on USB vs SD?...............................
|
|
:UPAGE2
|
|
set USBCONFIG=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
|
|
::recall checked items or set default
|
|
if not "%USBCONFIGMarked%"=="" (set waoutnum=%USBCONFIGMarked%) else (set waoutnum=0)
|
|
|
|
set watext=~~~Where would you like to save your USB-Loader app, covers and config files?
|
|
|
|
set wainput= ^&USB (Recommended); ^&SD Card
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:UPAGE1b
|
|
|
|
call "%wabat%"
|
|
|
|
set USBCONFIGMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" set USBCONFIG=USB
|
|
if /i "%waoutnum%" EQU "1" set USBCONFIG=SD
|
|
|
|
|
|
::--goto--
|
|
|
|
::if using wizard+usb-loader setup, set up both drive letters
|
|
if /i "%MENU1%" EQU "W" (set BACKB4DRIVE=UPAGE2) & (set BACKB4DRIVEU=DRIVECHANGE) & (goto:DRIVECHANGE)
|
|
|
|
if /i "%USBCONFIG%" EQU "USB" (set BACKB4DRIVEU=UPAGE2) & (goto:DRIVEUCHANGE)
|
|
|
|
if /i "%USBCONFIG%" EQU "SD" (set BACKB4DRIVE=UPAGE2) & (goto:DRIVECHANGE)
|
|
|
|
|
|
|
|
::...................................SNEEK Page1 - SNEEK SELECT...............................
|
|
:SNKPAGE1
|
|
set SNEEKSELECT=
|
|
set SNKS2U=
|
|
set PRIIFOUND=
|
|
if /i "%neek2o%" EQU "on" (set neekURL=tinyurl.com/neeek2o) else (set neekURL=http://code.google.com/p/sneek)
|
|
set waoutnum=
|
|
set waoutput=
|
|
set wafile=
|
|
|
|
::recall checked items
|
|
if not "%SNEEKSELECTMarked%"=="" set waoutnum=%VIRGINMarked%
|
|
|
|
|
|
set watext=~~Which of the following SNEEK Actions would you like to perform?~~Note: Emulated NAND Modifer and SNEEK Game Bulk Extractor is currently only available in ModMii Classic
|
|
|
|
set wainput= ^&SNEEK Installation; ^&Emulated NAND Builder (for SNEEK); ^&All the above (Recommended for 1st time users)
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:MENU
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
if "%waoutnum%"=="" goto:SNKPAGE1
|
|
|
|
set SNEEKSELECTMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" (set SNEEKSELECT=1) & (goto:NEEKrevSelect)
|
|
if /i "%waoutnum%" EQU "1" (set SNEEKSELECT=2) & (goto:SNKPAGE2)
|
|
if /i "%waoutnum%" EQU "2" (set SNEEKSELECT=3) & (goto:NEEKrevSelect)
|
|
|
|
|
|
|
|
|
|
::...................................SNEEK Page - NEEK rev Selection...............................
|
|
:NEEKrevSelect
|
|
|
|
if exist temp\list.txt del temp\list.txt>nul
|
|
if exist temp\list2.txt del temp\list2.txt>nul
|
|
|
|
if /i "%neek2o%" EQU "ON" (set googlecode=neek2o) & (set neekname=neek2o)
|
|
if /i "%neek2o%" NEQ "ON" (set googlecode=sneeky-compiler-modmii) & (set neekname=neek)
|
|
|
|
::echo Checking which %neekname% versions are hosted online...
|
|
|
|
set watext=~~~Checking which %neekname% versions are hosted online...
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start support\wizapp PB OPEN
|
|
|
|
|
|
::get all list
|
|
start %ModMiimin%/wait support\wget --no-check-certificate -N "https://sourceforge.net/projects/%googlecode%/files/?source=navbar"
|
|
|
|
start support\wizapp PB UPDATE 20
|
|
|
|
if exist index.html* (move /y index.html* temp\list.txt>nul) else (goto:nowifi)
|
|
::copy /y "temp\list.txt" "temp\list2.txt">nul
|
|
|
|
support\sfk filter -spat "temp\list.txt" ++"/download\x22" ++"%neekname%-rev" -rep _"/download\x22"__ -rep _*"/"__ -rep _".zip*"__ -rep _"*files/"__ -rep _%neekname%-rev__ -rep _\x2528_\x28_ -rep _\x2529_\x29_ -rep _\x2520_\x20_ -rep _\x253B_\x3B_ -rep _\x252C_\x2C_ -write -yes>nul
|
|
|
|
start support\wizapp PB UPDATE 40
|
|
|
|
start support\wizapp PB UPDATE 60
|
|
|
|
:nowifi
|
|
|
|
::get local list
|
|
|
|
if not exist "temp\%neekname%\*.zip" goto:nolocallist
|
|
|
|
dir "temp\%neekname%\*.zip" /b /O:-N>>temp\list.txt
|
|
support\sfk filter "temp\list.txt" -rep _"%neekname%-rev"__ -rep _".zip"__ -write -yes>nul
|
|
support\sfk filter "temp\list.txt" -unique -write -yes>nul
|
|
|
|
start support\wizapp PB UPDATE 80
|
|
|
|
:nolocallist
|
|
|
|
|
|
::------actual page start----------
|
|
:NEEKrevSelect2
|
|
|
|
start support\wizapp PB UPDATE 100
|
|
|
|
::count # of folders in advance to set "mode"
|
|
setlocal ENABLEDELAYEDEXPANSION
|
|
SET neekTOTAL=0
|
|
if exist temp\list.txt for /f "delims=" %%i in (temp\list.txt) do set /a neekTOTAL=!neekTOTAL!+1
|
|
setlocal DISABLEDELAYEDEXPANSION
|
|
|
|
start support\wizapp PB CLOSE
|
|
|
|
|
|
::Error if no revs found
|
|
if /i "%neekTOTAL%" NEQ "0" goto:neekrevsfound
|
|
|
|
set watext=~~~~Unable to connect to the internet and no %neekname% versions saved locally
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
|
|
start /w support\wizapp TB
|
|
::set neekrev=B
|
|
goto:back
|
|
|
|
::-------------------
|
|
:neekrevsfound
|
|
Set neekrev=
|
|
set waoutnum=
|
|
set waoutput=
|
|
set wafile=
|
|
set wainput=
|
|
|
|
Set watext=~~~ Select the version of %neekname% you would like to build:
|
|
|
|
set FeaturedTag=
|
|
|
|
::Loop through the the following once for EACH line in *.txt
|
|
for /F "tokens=*" %%A in (temp\list.txt) do call :processNEEKlist %%A
|
|
goto:quickskip
|
|
:processNEEKlist
|
|
set CurrentRev=%*
|
|
|
|
|
|
if not exist temp\list2.txt goto:nofeaturedcheck
|
|
findStr /I /C:"%CurrentRev%" "temp\list2.txt" >nul
|
|
IF ERRORLEVEL 1 (set FeaturedTag=) else (set FeaturedTag= - Featured)
|
|
:nofeaturedcheck
|
|
|
|
|
|
if not exist "temp\%neekname%\%neekname%-rev%CurrentRev%.zip" set wainput=%wainput%%CurrentRev% (hosted online)%FeaturedTag%;
|
|
if exist "temp\%neekname%\%neekname%-rev%CurrentRev%.zip" set wainput=%wainput%%CurrentRev%%FeaturedTag%;
|
|
|
|
goto:EOF
|
|
:quickskip
|
|
|
|
::remove last ; to delete empty selection
|
|
set wainput=%wainput:~0,-1%
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp LB SINGLE
|
|
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if not errorlevel 1 goto:notback
|
|
:back
|
|
if /i "%AbstinenceWiz%" NEQ "Y" goto:NotAbstinenceWiz
|
|
::if /i "%neekrev%" NEQ "B" goto:NotAbstinenceWiz
|
|
if /i "%FIRMSTART%" EQU "4.3" goto:WPAGE3C
|
|
if /i "%FIRMSTART%" EQU "o" goto:WPAGE3C
|
|
goto:WPAGE2
|
|
:NotAbstinenceWiz
|
|
goto:SNKPAGE1
|
|
:notback
|
|
|
|
::remove featured\hosted tags before retrieving selection
|
|
support\sfk filter "%wabat%" -rep _" (hosted online)"__ -rep _" - Featured"__ -write -yes>nul
|
|
|
|
call "%wabat%"
|
|
|
|
if "%waoutput%"=="" goto:neekrevsfound
|
|
|
|
set CurrentRev=%waoutput%
|
|
|
|
goto:SNKPAGE2
|
|
|
|
|
|
::...................................SNEEK Page2 - SNEEK TYPE...............................
|
|
:SNKPAGE2
|
|
set SNEEKTYPE=
|
|
set FORMAT=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items or set default
|
|
if not "%SNEEKTYPEMarked%"=="" (set waoutnum=%SNEEKTYPEMarked%) else (set waoutnum=4)
|
|
|
|
if /i "%SNEEKSELECT%" NEQ "2" set watext=~~ What type of SNEEK would you like to install?
|
|
if /i "%SNEEKSELECT%" EQU "2" set watext=~~What type of SNEEK would you like to build an emulated NAND for?
|
|
|
|
if /i "%SNEEKSELECT%" NEQ "1" set watext=%watext%~~Note: NANDs built for any type of SNEEK work with any other type of SNEEK and ANY region Wii can use ANY region emulated NAND.
|
|
|
|
|
|
set wainput= UNEEK+^&DI; SNEEK+^&DI; ^&UNEEK; ^&SNEEK; ^&Information on the above types of NEEK
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if not errorlevel 1 goto:notback
|
|
if /i "%SNEEKSELECT%" EQU "1" goto:NEEKrevSelect2
|
|
if /i "%SNEEKSELECT%" EQU "3" goto:NEEKrevSelect2
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:NEEKrevSelect2
|
|
goto:SNKPAGE1
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
set SNEEKTYPEMarked=%waoutnum%
|
|
|
|
|
|
if /i "%waoutnum%" EQU "0" set SNEEKTYPE=UD
|
|
if /i "%waoutnum%" EQU "1" set SNEEKTYPE=SD
|
|
if /i "%waoutnum%" EQU "2" set SNEEKTYPE=U
|
|
if /i "%waoutnum%" EQU "3" set SNEEKTYPE=S
|
|
if /i "%waoutnum%" EQU "4" goto:neekinfo
|
|
|
|
|
|
if "%SNEEKTYPE%"=="" goto:SNKPAGE2
|
|
|
|
::goto
|
|
if /i "%AbstinenceWiz%" NEQ "Y" goto:NotAbstinenceWiz
|
|
if /i "%SNEEKTYPE%" EQU "U" goto:UPAGE1
|
|
if /i "%SNEEKTYPE%" EQU "UD" goto:UPAGE1
|
|
:NotAbstinenceWiz
|
|
|
|
if /i "%SNEEKTYPE%" EQU "S" set BACKB4DRIVE=SNKPAGE2
|
|
if /i "%SNEEKTYPE%" EQU "SD" set BACKB4DRIVE=SNKPAGE2
|
|
if /i "%SNEEKTYPE%" EQU "U" set BACKB4DRIVE=SNKPAGE2
|
|
if /i "%SNEEKTYPE%" EQU "UD" set BACKB4DRIVE=SNKPAGE2
|
|
|
|
if /i "%SNEEKTYPE%" EQU "SD" goto:DRIVECHANGE
|
|
if /i "%SNEEKTYPE%" EQU "S" goto:DRIVECHANGE
|
|
|
|
::if only building nand, no need to set drive, only driveU
|
|
if /i "%SNEEKSELECT%" EQU "2" goto:skip
|
|
if /i "%SNEEKTYPE%" EQU "UD" goto:DRIVECHANGE
|
|
if /i "%SNEEKTYPE%" EQU "U" goto:DRIVECHANGE
|
|
:skip
|
|
if /i "%SNEEKTYPE%" EQU "U" set BACKB4DRIVEU=SNKPAGE2
|
|
if /i "%SNEEKTYPE%" EQU "U" goto:DRIVEUCHANGE
|
|
if /i "%SNEEKTYPE%" EQU "UD" set BACKB4DRIVEU=SNKPAGE2
|
|
if /i "%SNEEKTYPE%" EQU "UD" goto:DRIVEUCHANGE
|
|
|
|
|
|
|
|
|
|
::------------------neek type info----------------
|
|
:neekinfo
|
|
|
|
set watext=~UNEEK+DI~* Emulated Wii nand/memory is on FAT32 External HDD~* Load Wii games off your FAT32 External Hard Drive~* You can load apps off an SD Card~* DVD-Drive disabled for games but not for apps~~SNEEK+DI~* Emulated Wii nand/memory is on SD Card~* Load Wii games off your FAT32 External Hard Drive~* Load GameCube games off your SD Card using DML~* You can load apps off a FAT32 USB HDD~* DVD-Drive disabled for games but not for apps~~UNEEK~* Same as UNEEK+DI but DVD-Drive is enabled and~ cannot load games off a FAT32 HDD~~SNEEK~* Same as SNEEK+DI but DVD-Drive is enabled and~ cannot load games off a FAT32 HDD
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
|
|
start /w support\wizapp TB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
|
|
goto:SNKPAGE2
|
|
|
|
|
|
::...................................SNEEK Page3 - SNEEK REGION...............................
|
|
:SNKPAGE3
|
|
|
|
if /i "%SNEEKTYPE:~0,1%" EQU "S" set nandpath=%DRIVE:&=^&%
|
|
if /i "%SNEEKTYPE:~0,1%" EQU "U" set nandpath=%DRIVEU:&=^&%
|
|
|
|
set DITYPE=off
|
|
if /i "%SNEEKTYPE%" EQU "UD" set DITYPE=on
|
|
if /i "%SNEEKTYPE%" EQU "SD" set DITYPE=on
|
|
|
|
set SNKREGION=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items
|
|
if not "%SNKREGIONMarked%"=="" set waoutnum=%SNKREGIONMarked%
|
|
|
|
set watext=~~~What Region would you like to make your Emulated NAND?
|
|
|
|
|
|
set wainput= ^&U (USA); ^&E (Euro\PAL); ^&J (JAP); ^&K (Korean)
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:%B4SNKPAGE3%
|
|
|
|
call "%wabat%"
|
|
|
|
set SNKREGIONMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" set SNKREGION=U
|
|
if /i "%waoutnum%" EQU "1" set SNKREGION=E
|
|
if /i "%waoutnum%" EQU "2" set SNKREGION=J
|
|
if /i "%waoutnum%" EQU "3" set SNKREGION=K
|
|
|
|
if "%SNKREGION%"=="" goto:SNKPAGE3
|
|
|
|
if /i "%SNKREGION%" EQU "U" set defaultserial=LU521175683
|
|
if /i "%SNKREGION%" EQU "E" set defaultserial=LEH133789940
|
|
if /i "%SNKREGION%" EQU "J" set defaultserial=LJM101175683
|
|
if /i "%SNKREGION%" EQU "K" set defaultserial=LJM101175683
|
|
|
|
goto:SNKPAGE4
|
|
|
|
|
|
::...................................SNEEK Page4 - SNEEK VERSION...............................
|
|
:SNKPAGE4
|
|
set SNKVERSION=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items
|
|
if not "%SNKVERSIONMarked%"=="" set waoutnum=%SNKVERSIONMarked%
|
|
|
|
set watext=~~~What System Menu Version would you like your emulated NAND to be?
|
|
|
|
set wainput= 4.^&3; 4.^&2; 4.^&1
|
|
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:SNKPAGE3
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
set SNKVERSIONMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" set SNKVERSION=4.3
|
|
if /i "%waoutnum%" EQU "1" set SNKVERSION=4.2
|
|
if /i "%waoutnum%" EQU "2" set SNKVERSION=4.1
|
|
|
|
if "%SNKVERSION%"=="" goto:SNKPAGE4
|
|
|
|
goto:SNKPAGE4a
|
|
|
|
|
|
|
|
::...................................SNEEK Page4a - Post Loader Channel...............................
|
|
::many modmii classic pages turned into one
|
|
:SNKPAGE4a
|
|
set THEMEQ=
|
|
set SNKPLC=
|
|
set SNKCIOS=
|
|
set SNKPRI=
|
|
set SNKcBC=
|
|
set SNKFLOW=
|
|
::set addwadfolder=
|
|
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
::recall checked items
|
|
if not "%SNKMarked%"=="" set waoutnum=%SNKMarked%
|
|
|
|
|
|
set watext=~~Select which of the following to install to your Emulated NAND?
|
|
|
|
|
|
::use question marks instead of ^&, will be replaced later
|
|
|
|
set wainput= System Menu ?Theme; Post?Loader (App\USB Loader); cIOS?249 rev14 (required for some apps); ?Priiloader (and System Menu Hacks); Custom folder of ?WADs
|
|
|
|
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:noNMMDML
|
|
if /i "%SNEEKTYPE%" EQU "SD" set wainput=%wainput%; ?Dios Mios Lite -OR- No More Memory-Cards
|
|
if /i "%SNEEKTYPE%" NEQ "SD" set wainput=%wainput%; No ?More Memory-Cards (NMM)
|
|
:noNMMDML
|
|
|
|
|
|
|
|
::if /i "%SNEEKTYPE:~0,1%" NEQ "U" goto:notUneek
|
|
set wainput=%wainput%; ?WiiFlow (USB-Loader)
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:notUneek
|
|
if /i "%neek2o%" EQU "off" set wainput=%wainput%; ?Switch2Uneek (launch different NANDs)
|
|
:notUneek
|
|
|
|
|
|
echo %wainput%>temp\temp.txt
|
|
|
|
support\sfk filter -spat temp\temp.txt -rep _"\x3f"_"\x5e\x26"_ -write -yes>nul
|
|
set /p wainput= <temp\temp.txt
|
|
set wainput=%wainput%
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp CL
|
|
|
|
if errorlevel 2 goto:MENU
|
|
|
|
if errorlevel 1 goto:SNKPAGE4
|
|
|
|
|
|
call "%wabat%"
|
|
|
|
set SNKMarked=%waoutnum%
|
|
|
|
if "%waoutnum%"=="" goto:skipcheck
|
|
|
|
::echo %waoutnum% >"%wabat%"
|
|
|
|
findStr /I /C:"Post^&Loader" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set SNKPLC=Y
|
|
|
|
findStr /I /C:"cIOS^&249 rev14" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set SNKCIOS=Y
|
|
|
|
findStr /I /C:"Priiloader" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set SNKPRI=Y
|
|
|
|
findStr /I /C:"System Menu ^&Theme" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set THEMEQ=Y
|
|
|
|
findStr /I /C:"No ^&More Memory-Cards (NMM)" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set SNKcBC=NMM
|
|
|
|
findStr /I /C:"^&WiiFlow" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set SNKFLOW=Y
|
|
|
|
findStr /I /C:"Switch2Uneek" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 set SNKS2U=Y
|
|
|
|
findStr /I /C:"^&Dios Mios Lite -OR- No More Memory-Cards" "%wabat%" >nul
|
|
::IF not ERRORLEVEL 1 goto:SNKPAGE4a3
|
|
IF not ERRORLEVEL 1 set SNKcBC=choose
|
|
|
|
findStr /I /C:"Custom folder of ^&WADs" "%wabat%" >nul
|
|
IF not ERRORLEVEL 1 (goto:addwadfolder) else (set addwadfolder=)
|
|
|
|
if /i "%SNKcBC%" EQU "choose" goto:SNKPAGE4a3
|
|
|
|
:skipcheck
|
|
|
|
goto:SNKPAGE5
|
|
|
|
|
|
|
|
::-----------------------------------Add WAD Folder to Install to emunand----------------------------------
|
|
:addwadfolder
|
|
::set addwadfolder=
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
|
|
::recall checked items
|
|
if not "%addwadfolder%"=="" set waoutput=%addwadfolder%
|
|
|
|
|
|
set watext=~~~Select the folder of WADs you'd like to install to your emulated NAND
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp FB DIR
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:SNKPAGE4a
|
|
|
|
call "%wabat%"
|
|
|
|
if not exist "%waoutput%\*.wad" goto:noWADserror
|
|
|
|
set addwadfolder=%waoutput%
|
|
|
|
|
|
::goto
|
|
if /i "%SNKcBC%" EQU "choose" goto:SNKPAGE4a3
|
|
goto:SNKPAGE5
|
|
|
|
|
|
::Error if no WADs found
|
|
:noWADserror
|
|
|
|
set watext=~~~~No Wads found in the specified folder, please try a different folder.
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
|
|
start /w support\wizapp TB
|
|
goto:addwadfolder
|
|
|
|
|
|
::...................................SNEEK Page4a3 - cBC...............................
|
|
:SNKPAGE4a3
|
|
set SNKcBC=
|
|
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
|
|
::recall checked items
|
|
if not "%SNKcBCMarked%"=="" set waoutnum=%SNKcBCMarked%
|
|
|
|
set watext= Would you like to use DML or NMM?~~DML is installed to real NAND and accessed via an emulated NAND (or NeoGamma) to allow you to play gamecube games off an SD Card.~~NMM allows you to save\load GameCube game saves using an SD Card instead of a GC Memory Card.
|
|
|
|
set wainput= ^&Dios Mios Lite (DML); ^&No More Memory-Cards (NMM)
|
|
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp RB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if not errorlevel 1 goto:notback
|
|
if "%addwadfolder%"=="" goto:SNKPAGE4a
|
|
goto:addwadfolder
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
set SNKcBCMarked=%waoutnum%
|
|
|
|
if /i "%waoutnum%" EQU "0" (set SNKcBC=DML)
|
|
if /i "%waoutnum%" EQU "1" set SNKcBC=NMM
|
|
|
|
if "%SNKcBC%"=="" goto:SNKPAGE4a3
|
|
|
|
goto:SNKPAGE5
|
|
|
|
|
|
|
|
::...................................SNEEK Page5 - SNEEK SERIAL...............................
|
|
:SNKPAGE5
|
|
set waoutnum=
|
|
set waoutput=
|
|
|
|
if /i "%SNEEKTYPE:~0,1%" EQU "S" set nandpath=%DRIVE:&=^&%
|
|
if /i "%SNEEKTYPE:~0,1%" EQU "U" set nandpath=%DRIVEU:&=^&%
|
|
|
|
if /i "%neek2o%" EQU "ON" goto:DOIT
|
|
if /i "%SNKS2U%" EQU "N" goto:quickskip
|
|
:DOIT
|
|
SET NANDcount=0
|
|
if /i "%SNKREGION%" EQU "U" set nandregion=us
|
|
if /i "%SNKREGION%" EQU "E" set nandregion=eu
|
|
if /i "%SNKREGION%" EQU "J" set nandregion=jp
|
|
if /i "%SNKREGION%" EQU "K" set nandregion=kr
|
|
if not exist "%nandpath:&=^&%\nands\pl_%nandregion%" set nandpath=%nandpath:&=^&%\nands\pl_%nandregion%
|
|
if not exist "%nandpath:&=^&%\nands\pl_%nandregion%" goto:quickskip
|
|
|
|
:NANDname
|
|
SET /a NANDcount=%NANDcount%+1
|
|
if not exist "%nandpath:&=^&%\nands\pl_%nandregion%%NANDcount%" set nandpath=%nandpath:&=^&%\nands\pl_%nandregion%%NANDcount%
|
|
if not exist "%nandpath:&=^&%\nands\pl_%nandregion%%NANDcount%" goto:quickskip
|
|
goto:NANDname
|
|
:quickskip
|
|
|
|
set watext=~~Enter the 11 or 12 digit serial number Would you like to use to create the setting.txt for your emulated NAND, or use the default number provided below.
|
|
|
|
set waoutput=%defaultserial%
|
|
|
|
::recall checked items
|
|
if not "%SNKSERIAL%"=="" set waoutput=%SNKSERIAL%
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
start /w support\wizapp EB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
|
|
if not errorlevel 1 goto:notback
|
|
if /i "%AbstinenceWiz%" EQU "Y" goto:SNKPAGE4a
|
|
if /i "%SNEEKTYPE%" NEQ "SD" goto:SNKPAGE4a
|
|
if "%SNKcBC%"=="" goto:SNKPAGE4a
|
|
if /i "%SNKcBC%" EQU "NMM" goto:SNKPAGE4a3
|
|
if /i "%SNKcBC%" EQU "DML" goto:SNKPAGE4a3
|
|
if /i "%SNEEKTYPE%" EQU "SD" goto:SNKPAGE4a3
|
|
goto:SNKPAGE4a
|
|
:notback
|
|
|
|
call "%wabat%"
|
|
|
|
set SNKSERIAL=%waoutput%
|
|
|
|
IF "%SNKSERIAL%"=="" set SNKSERIAL=9999999999999
|
|
|
|
::limit user input to X# of digits
|
|
if "%SNKSERIAL:~2%"=="" (goto:badkey)
|
|
if "%SNKSERIAL:~3%"=="" (goto:badkey)
|
|
if "%SNKSERIAL:~4%"=="" (goto:badkey)
|
|
if "%SNKSERIAL:~5%"=="" (goto:badkey)
|
|
if "%SNKSERIAL:~6%"=="" (goto:badkey)
|
|
if "%SNKSERIAL:~7%"=="" (goto:badkey)
|
|
if "%SNKSERIAL:~8%"=="" (goto:badkey)
|
|
if "%SNKSERIAL:~9%"=="" (goto:badkey)
|
|
if "%SNKSERIAL:~10%"=="" (goto:badkey)
|
|
if not "%SNKSERIAL:~12%"=="" (goto:badkey)
|
|
|
|
::next page
|
|
goto:WPAGE5
|
|
|
|
:badkey
|
|
set SNKSERIAL=
|
|
goto:SNKPAGE5
|
|
|
|
|
|
|
|
|
|
::------------------REGION CHANGE WARNING----------------
|
|
:RCPAGE1
|
|
|
|
set REGIONCHANGE=
|
|
|
|
|
|
set watext=Are you sure you want to Region Change your Wii?~~Important Notes:~~* Region Changing is not necessary to play other region games. For example, you can play Jap games on a softmodded US Wii without region changing.~* An alternative to region changing is to use NEEK to emulate a different region System Menu.~~Warnings:~~* If you use the Wii Shopping Channel, you must start the channel and delete your account before starting this guide on your Wii. If you don't the Wii Shop Channel will error.~* ModMii's region changing guide assumes your Wii is already softmodded with the Homebrew Channel, IOS236 and Bootmii. If you are missing any of those use the ModMii Wizard before continuing with this guide.~~Click "Next" if you decide to continue...
|
|
|
|
::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
|
|
start /w support\wizapp TB
|
|
|
|
if errorlevel 2 goto:MENU
|
|
if errorlevel 1 goto:MENU
|
|
|
|
goto:WPAGE3
|
|
|
|
|
|
|
|
|
|
::----------------------Start ModMii Classic----------------------
|
|
:StartModMiiClassic
|
|
|
|
::set watext=~~~ModMii Classic Working...
|
|
|
|
::::support\nircmd.exe win activate ititle "ModMiiSkinCMD"
|
|
::::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD"
|
|
::start support\wizapp PB OPEN
|
|
|
|
if /i "%MENU1%" EQU "L" goto:sendcmd
|
|
|
|
|
|
::---------ModMii Wizard-------------
|
|
if /i "%MENU1%" NEQ "W" goto:notwizard
|
|
|
|
set classicCMD=W %FIRMSTART% %REGION% %FIRM%
|
|
|
|
::THEMES
|
|
if /i "%ThemeSelection%" EQU "R" set classicCMD=%classicCMD% Red
|
|
if /i "%ThemeSelection%" EQU "G" set classicCMD=%classicCMD% Green
|
|
if /i "%ThemeSelection%" EQU "BL" set classicCMD=%classicCMD% Blue
|
|
if /i "%ThemeSelection%" EQU "O" set classicCMD=%classicCMD% Orange
|
|
|
|
::Wii CHANNELS
|
|
if /i "%PIC%" EQU "Y" set classicCMD=%classicCMD% PHOTO
|
|
if /i "%MIIQ%" EQU "Y" set classicCMD=%classicCMD% MII
|
|
if /i "%Shop%" EQU "Y" set classicCMD=%classicCMD% SHOP
|
|
if /i "%NET%" EQU "Y" set classicCMD=%classicCMD% NET
|
|
if /i "%Weather%" EQU "Y" set classicCMD=%classicCMD% WEATHER
|
|
if /i "%NEWS%" EQU "Y" set classicCMD=%classicCMD% NEWS
|
|
if /i "%Speak%" EQU "Y" set classicCMD=%classicCMD% SPEAK
|
|
|
|
|
|
::------USB-Loader Check---------
|
|
if /i "%USBGUIDE%" NEQ "Y" goto:nousb
|
|
|
|
set classicCMD=%classicCMD% USB
|
|
|
|
if /i "%FORMAT%" EQU "1" set classicCMD=%classicCMD% FAT32
|
|
if /i "%FORMAT%" EQU "2" set classicCMD=%classicCMD% NTFS
|
|
if /i "%FORMAT%" EQU "3" set classicCMD=%classicCMD% FAT32-NTFS
|
|
if /i "%FORMAT%" EQU "4" set classicCMD=%classicCMD% WBFS
|
|
if /i "%FORMAT%" EQU "5" set classicCMD=%classicCMD% WBFS-FAT32
|
|
|
|
if /i "%LOADER%" EQU "GX" set classicCMD=%classicCMD% GX
|
|
if /i "%LOADER%" EQU "CFG" set classicCMD=%classicCMD% CFG
|
|
if /i "%LOADER%" EQU "FLOW" set classicCMD=%classicCMD% FLOW
|
|
if /i "%LOADER%" EQU "ALL" set classicCMD=%classicCMD% CFG-FLOW-GX
|
|
|
|
if /i "%USBCONFIG%" EQU "USB" set classicCMD=%classicCMD% USBConfig
|
|
if /i "%USBCONFIG%" EQU "SD" set classicCMD=%classicCMD% SDConfig
|
|
:nousb
|
|
|
|
::---------EXPLOITCHECK-----------
|
|
if /i "%FIRMSTART%" EQU "4.3" goto:exploitcheck
|
|
if /i "%FIRMSTART%" EQU "o" goto:exploitcheck
|
|
goto:skipexploitcheck
|
|
|
|
:exploitcheck
|
|
if /i "%EXPLOIT%" EQU "T" set classicCMD=%classicCMD% Twilight
|
|
if /i "%EXPLOIT%" EQU "S" set classicCMD=%classicCMD% SmashStack
|
|
if /i "%EXPLOIT%" EQU "L" set classicCMD=%classicCMD% IndianaPwns
|
|
if /i "%EXPLOIT%" EQU "LB" set classicCMD=%classicCMD% Bathaxx
|
|
if /i "%EXPLOIT%" EQU "LS" set classicCMD=%classicCMD% ROTJ
|
|
if /i "%EXPLOIT%" EQU "Y" set classicCMD=%classicCMD% YuGiOwned
|
|
if /i "%EXPLOIT%" EQU "TOS" set classicCMD=%classicCMD% EriHakawai
|
|
if /i "%EXPLOIT%" EQU "?" set classicCMD=%classicCMD% AllExploits
|
|
if /i "%EXPLOIT%" EQU "W" set classicCMD=%classicCMD% MAC:%macaddress%
|
|
:skipexploitcheck
|
|
|
|
|
|
if /i "%GUIDEONLY%" EQU "on" set classicCMD=%classicCMD% Guide
|
|
|
|
|
|
::Non Virgin Minimal Update
|
|
if /i "%VIRGIN%" EQU "Y" goto:sendCMD
|
|
|
|
set classicCMD=%classicCMD% Min
|
|
|
|
|
|
if /i "%HMInstaller%" EQU "Y" set classicCMD=%classicCMD% HBC
|
|
if /i "%IOS236InstallerQ%" EQU "Y" set classicCMD=%classicCMD% 236
|
|
if /i "%RECCIOS%" EQU "Y" set classicCMD=%classicCMD% REC
|
|
if /i "%PRIQ%" EQU "Y" set classicCMD=%classicCMD% Pri
|
|
if /i "%yawmQ%" EQU "Y" set classicCMD=%classicCMD% YAWMM
|
|
|
|
if /i "%UpdatesIOSQ%" EQU "Y" set classicCMD=%classicCMD% UIOS:E
|
|
if /i "%UpdatesIOSQ%" EQU "N" set classicCMD=%classicCMD% UIOS:D
|
|
|
|
goto:sendCMD
|
|
|
|
:notwizard
|
|
|
|
|
|
|
|
::---------USB-Loader Setup Guide-------------
|
|
if /i "%MENU1%" NEQ "U" goto:notusb
|
|
|
|
set classicCMD=U
|
|
|
|
if /i "%FORMAT%" EQU "1" set classicCMD=%classicCMD% FAT32
|
|
if /i "%FORMAT%" EQU "2" set classicCMD=%classicCMD% NTFS
|
|
if /i "%FORMAT%" EQU "3" set classicCMD=%classicCMD% FAT32-NTFS
|
|
if /i "%FORMAT%" EQU "4" set classicCMD=%classicCMD% WBFS
|
|
if /i "%FORMAT%" EQU "5" set classicCMD=%classicCMD% WBFS-FAT32
|
|
|
|
if /i "%LOADER%" EQU "GX" set classicCMD=%classicCMD% GX
|
|
if /i "%LOADER%" EQU "CFG" set classicCMD=%classicCMD% CFG
|
|
if /i "%LOADER%" EQU "FLOW" set classicCMD=%classicCMD% FLOW
|
|
if /i "%LOADER%" EQU "ALL" set classicCMD=%classicCMD% CFG-FLOW-GX
|
|
|
|
if /i "%USBCONFIG%" EQU "USB" set classicCMD=%classicCMD% USBConfig
|
|
if /i "%USBCONFIG%" EQU "SD" set classicCMD=%classicCMD% SDConfig
|
|
|
|
if /i "%GUIDEONLY%" EQU "on" set classicCMD=%classicCMD% Guide
|
|
|
|
goto:sendCMD
|
|
|
|
:notusb
|
|
|
|
|
|
::-----------HackMii Solutions Wizard----------------
|
|
if /i "%MENU1%" NEQ "H" goto:nothackmiisolutions
|
|
|
|
set classicCMD=HS %FIRMSTART%
|
|
|
|
::---------EXPLOITCHECK-----------
|
|
if /i "%FIRMSTART%" EQU "4.3" goto:exploitcheck
|
|
if /i "%FIRMSTART%" EQU "o" goto:exploitcheck
|
|
goto:skipexploitcheck
|
|
|
|
:exploitcheck
|
|
if /i "%EXPLOIT%" EQU "T" set classicCMD=%classicCMD% Twilight
|
|
if /i "%EXPLOIT%" EQU "S" set classicCMD=%classicCMD% SmashStack
|
|
if /i "%EXPLOIT%" EQU "L" set classicCMD=%classicCMD% IndianaPwns
|
|
if /i "%EXPLOIT%" EQU "LB" set classicCMD=%classicCMD% Bathaxx
|
|
if /i "%EXPLOIT%" EQU "LS" set classicCMD=%classicCMD% ROTJ
|
|
if /i "%EXPLOIT%" EQU "Y" set classicCMD=%classicCMD% YuGiOwned
|
|
if /i "%EXPLOIT%" EQU "TOS" set classicCMD=%classicCMD% EriHakawai
|
|
if /i "%EXPLOIT%" EQU "?" set classicCMD=%classicCMD% AllExploits
|
|
if /i "%EXPLOIT%" EQU "W" set classicCMD=%classicCMD% MAC:%macaddress%
|
|
:skipexploitcheck
|
|
|
|
if /i "%GUIDEONLY%" EQU "on" set classicCMD=%classicCMD% Guide
|
|
|
|
goto:sendCMD
|
|
|
|
:nothackmiisolutions
|
|
|
|
|
|
::-----------SNEEK FUNCTIONS----------------
|
|
if /i "%MENU1%" NEQ "S" goto:notS
|
|
|
|
if /i "%SNEEKSELECT%" EQU "1" (set classicCMD=S %SNEEKTYPE% REV:%CurrentRev%) & (goto:sendCMD)
|
|
if /i "%SNEEKSELECT%" EQU "2" set classicCMD=E %SNEEKTYPE% %SNKVERSION% %SNKREGION% SN:%SNKSERIAL%
|
|
if /i "%SNEEKSELECT%" EQU "3" set classicCMD=SE %SNEEKTYPE% %SNKVERSION% %SNKREGION% REV:%CurrentRev% SN:%SNKSERIAL%
|
|
|
|
|
|
::------Abstinence only stuff------
|
|
if /i "%AbstinenceWiz%" NEQ "Y" goto:notAW
|
|
|
|
set classicCMD=AW %FIRMSTART% %SNEEKTYPE% %SNKVERSION% %SNKREGION% REV:%CurrentRev% SN:%SNKSERIAL%
|
|
|
|
|
|
::---------EXPLOITCHECK-----------
|
|
if /i "%FIRMSTART%" EQU "4.3" goto:exploitcheck
|
|
if /i "%FIRMSTART%" EQU "o" goto:exploitcheck
|
|
goto:skipexploitcheck
|
|
|
|
:exploitcheck
|
|
if /i "%EXPLOIT%" EQU "T" set classicCMD=%classicCMD% Twilight
|
|
if /i "%EXPLOIT%" EQU "S" set classicCMD=%classicCMD% SmashStack
|
|
if /i "%EXPLOIT%" EQU "L" set classicCMD=%classicCMD% IndianaPwns
|
|
if /i "%EXPLOIT%" EQU "LB" set classicCMD=%classicCMD% Bathaxx
|
|
if /i "%EXPLOIT%" EQU "LS" set classicCMD=%classicCMD% ROTJ
|
|
if /i "%EXPLOIT%" EQU "Y" set classicCMD=%classicCMD% YuGiOwned
|
|
if /i "%EXPLOIT%" EQU "TOS" set classicCMD=%classicCMD% EriHakawai
|
|
if /i "%EXPLOIT%" EQU "?" set classicCMD=%classicCMD% AllExploits
|
|
if /i "%EXPLOIT%" EQU "W" set classicCMD=%classicCMD% MAC:%macaddress%
|
|
:skipexploitcheck
|
|
|
|
if /i "%GUIDEONLY%" EQU "on" set classicCMD=%classicCMD% Guide
|
|
|
|
::goto:sendCMD
|
|
|
|
:notAW
|
|
|
|
::common for abstinence and emunand builder
|
|
|
|
::THEMES
|
|
if /i "%ThemeSelection%" EQU "R" set classicCMD=%classicCMD% Red
|
|
if /i "%ThemeSelection%" EQU "G" set classicCMD=%classicCMD% Green
|
|
if /i "%ThemeSelection%" EQU "BL" set classicCMD=%classicCMD% Blue
|
|
if /i "%ThemeSelection%" EQU "O" set classicCMD=%classicCMD% Orange
|
|
|
|
::Wii CHANNELS
|
|
if /i "%PIC%" EQU "Y" set classicCMD=%classicCMD% PHOTO
|
|
if /i "%MIIQ%" EQU "Y" set classicCMD=%classicCMD% MII
|
|
if /i "%Shop%" EQU "Y" set classicCMD=%classicCMD% SHOP
|
|
if /i "%NET%" EQU "Y" set classicCMD=%classicCMD% NET
|
|
if /i "%Weather%" EQU "Y" set classicCMD=%classicCMD% WEATHER
|
|
if /i "%NEWS%" EQU "Y" set classicCMD=%classicCMD% NEWS
|
|
if /i "%Speak%" EQU "Y" set classicCMD=%classicCMD% SPEAK
|
|
|
|
if not "%addwadfolder%"=="" set classicCMD=%classicCMD% WADdir:%addwadfolder%?
|
|
|
|
if /i "%SNKPLC%" EQU "Y" set classicCMD=%classicCMD% PLC
|
|
if /i "%SNKCIOS%" EQU "Y" set classicCMD=%classicCMD% 249
|
|
if /i "%SNKPRI%" EQU "Y" set classicCMD=%classicCMD% Pri
|
|
if /i "%SNKFLOW%" EQU "Y" set classicCMD=%classicCMD% FLOW
|
|
if /i "%SNKcBC%" EQU "NMM" set classicCMD=%classicCMD% NMM
|
|
if /i "%SNKcBC%" EQU "DML" set classicCMD=%classicCMD% DML
|
|
|
|
goto:sendCMD
|
|
|
|
:notS
|
|
|
|
|
|
::-----------Region Change Wizard----------------
|
|
if /i "%MENU1%" NEQ "RC" goto:notregionchange
|
|
|
|
set classicCMD=RC %FIRMSTART%%REGION%
|
|
|
|
::THEMES
|
|
if /i "%ThemeSelection%" EQU "R" set classicCMD=%classicCMD% Red
|
|
if /i "%ThemeSelection%" EQU "G" set classicCMD=%classicCMD% Green
|
|
if /i "%ThemeSelection%" EQU "BL" set classicCMD=%classicCMD% Blue
|
|
if /i "%ThemeSelection%" EQU "O" set classicCMD=%classicCMD% Orange
|
|
|
|
if /i "%GUIDEONLY%" EQU "on" set classicCMD=%classicCMD% Guide
|
|
|
|
|
|
|
|
goto:sendCMD
|
|
|
|
:notregionchange
|
|
|
|
|
|
|
|
|
|
::--------------------------Send CMD to ModMii Classic-------------------------------
|
|
:sendCMD
|
|
|
|
if exist temp\ModMii_Log.bat del temp\ModMii_Log.bat>nul
|
|
if exist temp\ModMii_Log_temp.txt del temp\ModMii_Log_temp.txt>nul
|
|
if exist temp\ModMii_CMD_LINE_Log.txt del temp\ModMii_CMD_LINE_Log.txt>nul
|
|
if exist temp\ModMii_CMD_LINE_Log_Errors.txt del temp\ModMii_CMD_LINE_Log_Errors.txt>nul
|
|
if exist temp\ModMii_CMD_LINE_NEEK_Errors.txt del temp\ModMii_CMD_LINE_NEEK_Errors.txt>nul
|
|
|
|
|
|
::if "%OSYS%"=="" (goto:skipforcewait)
|
|
::echo @echo off>temp\temp.bat
|
|
::echo setlocal>>temp\temp.bat
|
|
::echo call support\ModMii.bat %classicCMD% Skin:E>>temp\temp.bat
|
|
::start /wait temp\temp.bat
|
|
::start support\wizapp PB CLOSE
|
|
::goto:FINISH
|
|
:::skipforcewait
|
|
|
|
ModMii.exe %classicCMD:&=^&% Skin:E
|
|
start support\wizapp PB CLOSE
|
|
goto:FINISH
|
|
|
|
|
|
|
|
::--------------------------FINISH-------------------------------
|
|
:FINISH
|
|
|
|
if /i "%GUIDEONLY%" EQU "on" goto:MENU
|
|
|
|
|
|
set FINISH=
|
|
set waoutnum=
|
|
set waoutput=
|
|
set wainput=
|
|
|
|
|
|
|
|
if /i "%MENU1%" NEQ "S" goto:notS
|
|
|
|
if /i "%SNEEKSELECT%" NEQ "1" goto:not1
|
|
if exist temp\ModMii_CMD_LINE_NEEK_Errors.txt (set problematicDLs=1) else (set problematicDLs=0)
|
|
if not exist temp\ModMii_CMD_LINE_NEEK_Errors.txt echo %neekname% rev%CurrentRev% installed successfully>temp\ModMii_CMD_LINE_NEEK_Errors.txt
|
|
set wafile=temp\ModMii_CMD_LINE_NEEK_Errors.txt
|
|
goto:skip
|
|
:not1
|
|
|
|
copy /y "%nandpath%\nandinfo.txt" "temp\nandinfotemp.txt">nul
|
|
set wafile=temp\nandinfotemp.txt
|
|
findStr /I /C:"Errors " "%wafile%" >nul
|
|
IF not ERRORLEVEL 1 (set problematicDLs=1) else (set problematicDLs=0)
|
|
if not exist temp\ModMii_CMD_LINE_NEEK_Errors.txt goto:skip
|
|
set problematicDLs=1
|
|
echo.>>temp\nandinfotemp.txt
|
|
echo %neekname% rev%currentrev% not installed properly>>temp\nandinfotemp.txt
|
|
goto:skip
|
|
:notS
|
|
|
|
set wafile=temp\ModMii_CMD_LINE_Log.txt
|
|
|
|
findStr /I /C:"downloaded succcessfully" "temp\ModMii_CMD_LINE_Log.txt" >nul
|
|
IF ERRORLEVEL 1 (set problematicDLs=1) else (set problematicDLs=0)
|
|
:skip
|
|
|
|
|
|
|
|
if /i "%problematicDLs%" EQU "0" (set watext=~Download Log~~All Downloads Completed Successfully) & (set wabmp=support\bmp\SUCCESS.bmp)
|
|
if /i "%problematicDLs%" NEQ "0" (set watext=~Download Log~~Some Downloads are Invalid, Missing or were Not Updated properly~~Click Next to Retry) & (set wabmp=support\bmp\FAIL.bmp)
|
|
|
|
|
|
if /i "%AudioOption%" NEQ "on" goto:noaudio
|
|
if /i "%problematicDLs%" EQU "0" (start support\nircmd.exe mediaplay 3000 "support\Success.mp3") else (start support\nircmd.exe mediaplay 3000 "support\Fail.mp3")
|
|
:noaudio
|
|
|
|
|
|
if /i "%problematicDLs%" EQU "0" start /w support\wizapp NOBACK FINISH FT
|
|
if /i "%problematicDLs%" NEQ "0" start /w support\wizapp NOBACK FT
|
|
|
|
if errorlevel 2 goto:MENU
|
|
::if errorlevel 1 goto:%BACKB4WPAGELAST%
|
|
|
|
if /i "%problematicDLs%" EQU "0" goto:MENU
|
|
|
|
goto:sendCMD
|