modmii.github.io/Support/ModMiiSkin.bat
XFlak 2b0882eabc 6.6.3 Changelog - 2021:04-23:
*Fixed bug where the MMM's boot.elf was not being saved to SD root when appropriate (i.e. for HackMii Solutions Wizard, and for modding virgin Korean Wii's running system menu 4.2 or lower). This only occurred if MMM was not already saved to the SD card before downloading the HackMii Installer, and ModMii would fix itself if downloads were repeated. This bug was introduced when downloads were alphabetized and MMM became queued after the Hackmii Installer instead of before.
*Syscheck Updater now also accepts "hermes-v5.1" as a valid info tag for cIOS 202 & 224 (in addition to hermesrodries-v5.1, hermesrodries-v6 & hermesrodries-5.1). These are all the same cIOS but the info signature differs based on the installer used.
*Korean consoles now use v1.0 of the Photo Channel, since it has been reported that v1.1 does not work properly on Korean consoles.
*Other minor changes.
2021-04-23 22:02:37 +03:00

3337 lines
108 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.6.3
set currentversioncopy=%currentversion%
set agreedversion=
::check for write access
if exist "temp\test" goto:skip
mkdir "temp\test"
if not exist "temp\test" (goto:WriteError) else (goto:donecheck)
:skip
if not exist temp\test\test.txt goto:skip
del temp\test\test.txt>nul
if exist temp\test\test.txt (goto:WriteError) else (goto:donecheck)
:skip
echo test>temp\test\test.txt
if exist temp\test\test.txt goto:donecheck
:WriteError
::for skin mode, force screen to be visible
support\nircmd.exe win activate ititle "ModMiiSkinCMD"
support\nircmd.exe win trans ititle "ModMiiSkinCMD" 255
cls
echo ModMii needs to be run as an Administrator if saved to this directory.
echo Please either run ModMii from somewhere else like C:\ModMii or run as admin
echo.
echo Press any key to update shortcuts and run ModMii Skin as administrator...
pause>nul
set cmdinput=%*
if not "%cmdinput%"=="" set cmdinput=%cmdinput:"=%
if not "%cmdinput%"=="" support\nircmd.exe shortcut "%cd%\ModMiiSkin.exe" "%temp%" "ModMiiSkin" "%cmdinput%"
if "%cmdinput%"=="" support\nircmd.exe shortcut "%cd%\ModMiiSkin.exe" "%temp%" "ModMiiSkin"
support\hexalter.exe "%temp%\ModMiiSkin.lnk" 0x15=0x20>nul
if exist "%userprofile%\Desktop\ModMii.lnk" support\hexalter.exe "%userprofile%\Desktop\ModMii.lnk" 0x15=0x20>nul
if exist "%userprofile%\Desktop\ModMii Skin.lnk" support\hexalter.exe "%userprofile%\Desktop\ModMii Skin.lnk" 0x15=0x20>nul
if exist "%appdata%\Microsoft\Windows\Start Menu\Programs\ModMii\ModMii.lnk" support\hexalter.exe "%appdata%\Microsoft\Windows\Start Menu\Programs\ModMii\ModMii.lnk" 0x15=0x20>nul
if exist "%appdata%\Microsoft\Windows\Start Menu\Programs\ModMii\ModMii Skin.lnk" support\hexalter.exe "%appdata%\Microsoft\Windows\Start Menu\Programs\ModMii\ModMii Skin.lnk" 0x15=0x20>nul
cd "%temp%"
start ModMiiSkin.lnk
exit
:donecheck
if exist "temp\test" rd /s /q "temp\test"> nul
set SkinMode=Y
set PATH=%SystemRoot%\system32;%SystemRoot%\system32\wbem;%SystemRoot%
chcp 437>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 "%hermesOPTION%"=="" set hermesOPTION=off
IF "%FWDOPTION%"=="" set FWDOPTION=on
IF "%ExtraProtectionOPTION%"=="" set ExtraProtectionOPTION=on
IF "%Drive%"=="" set "Drive=%cd%\COPY_TO_SD"
IF "%DriveU%"=="" set "DRIVEU=%cd%\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
::convert drive to absolute path if applicable, and if second char is ":" check if drive exists
if /i "%DRIVE:~1,1%" NEQ ":" set "DRIVE=%cd%\%DRIVE%"
if not exist "%DRIVE:~0,2%" set "DRIVE=%cd%\COPY_TO_SD"
if /i "%DRIVEU:~1,1%" NEQ ":" set "DRIVEU=%cd%\%DRIVEU%"
if not exist "%DRIVEU:~0,2%" set "DRIVEU=%cd%\COPY_TO_USB"
::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
if exist support\skipscam.txt (set /p skipversion= <support\skipscam.txt) else (goto:dontskip)
if /i "%skipversion%" EQU "%currentversion%" goto:skip
:dontskip
::Bushing from Team Twizzers specifically requested ModMii include a scam warning
::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
if /i "%waoutput%" EQU "skipscam" goto:doit
if /i "%waoutput%" NEQ "skip scam" goto:dontdoit
:doit
if exist support\skipscam.txt attrib -r -h -s support\skipscam.txt
echo %currentversion%>Support\skipscam.txt
attrib +r +h +s support\skipscam.txt
goto:skip
:dontdoit
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
::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!);^&USB-Loader Setup +Guide;^&HackMii Solutions +Guide;^&Abstinence Wizard +Guide (Use Casper without mod);Region ^&Change +Guide;^&Load Download Queue;^&SNEEK Installation and EmuNAND Builder;^&Options;modmii.github.io for more ^&Info, Support or to Donate!;^&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=U) & (set wabmp=support\bmp\USB.bmp) & (goto:UPAGE1)
if /i "%waoutnum%" EQU "2" (set Menu1=H) & (set wabmp=support\bmp\HackMii.bmp) & (goto:WPAGE2)
if /i "%waoutnum%" EQU "3" (set Menu1=S) & (set SNEEKSELECT=3) & (set AbstinenceWiz=Y) & (set wabmp=support\bmp\ABSTINENCE.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 https://modmii.github.io) & (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
::double escape real carrots, but correct ^^& back to ^& (which is done by default by wizapp)
support\sfk filter -spat -quiet "%wabat%" -rep _\x5e_\x5e\x5e_ -rep _\x5e\x5e\x26_\x5e\x26_ -write -yes>nul
call "%wabat%"
set "DLQUEUE=%waoutput%"
::remove quotes (if applicable)
setlocal ENABLEDELAYEDEXPANSION
set DLQUEUE=!DLQUEUE:"=!
setlocal DISABLEDELAYEDEXPANSION
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 -spat "temp\temp.txt" -lsrep _\x22__ -lerep _\x22__ -write -yes>nul
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~~More options and info available in ModMii Classic Mode
if /i "%AudioOption%" EQU "on" set wainput= SD Card ^&Drive\Path; ^&USB HDD Drive\Path; ^&PC Programs Save Location: %PCSAVE%; ^&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: %PCSAVE%; ^&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 hermesOPTION=off
set FWDOPTION=on
set ExtraProtectionOPTION=on
set "DRIVE=%cd%\COPY_TO_SD"
set "DRIVEU=%cd%\COPY_TO_USB"
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 hermesOPTION=%hermesOPTION%>> Support\settings.bat
echo Set FWDOPTION=%FWDOPTION%>> Support\settings.bat
echo Set ExtraProtectionOPTION=%ExtraProtectionOPTION%>> Support\settings.bat
echo Set "Drive=%DRIVE%">> Support\settings.bat
echo Set "DriveU=%DRIVEU%">> Support\settings.bat
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"
if /i "%waoutnum%" EQU "7" goto:Options
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 recommended cIOSs; USB-Loader ^&Forwarder included in Wizard; ^&Update Active IOSs in Wizard/sysCheck-Updater; Include IOS3^&6 in Active IOS Updates; ^&Hermes cIOSs will also be recommended; ^&Extra Brick Protection in ModMii Wizard Guides; 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 recommended cIOSs
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 "%hermesOPTION%" EQU "on" set waoutput=%waoutput%; #Hermes cIOSs will also be recommended
if /i "%ExtraProtectionOPTION%" EQU "on" set waoutput=%waoutput%; #Extra Brick Protection in ModMii Wizard Guides
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 hermesOPTION=on) else (set hermesOPTION=off)
findStr /I /C:"6" "%wabat%" >nul
IF not ERRORLEVEL 1 (set ExtraProtectionOPTION=on) else (set ExtraProtectionOPTION=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
set watext=~~~~Select the exploit you would like to use to mod your Wii.
set wainput=
if /i "%FIRMSTART%" EQU "4.3" goto:list4.3
if /i "%REGION%" EQU "K" set wainput= ^&str2hax (no disc or SD needed, requires WiFi on Wii); ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; ^&All Above Exploits (decide later)
if /i "%REGION%" NEQ "K" set wainput= ^&str2hax (no disc or SD needed, requires WiFi on Wii); ^&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 (decide later)
goto:skip4.3
:list4.3
if /i "%REGION%" EQU "K" set wainput= ^&str2hax (no disc or SD needed, requires WiFi on Wii); ^&Wilbrand (no disc needed, but requires SD card); ^&Super Smash Brothers Brawl; ^&All Above Exploits (decide later)
if /i "%REGION%" NEQ "K" set wainput= ^&str2hax (no disc or SD needed, requires WiFi on Wii); ^&Wilbrand (no disc needed, but requires SD card); ^&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 (decide later)
: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:notKOR
::set wainput= ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; ^&All Above Exploits
if /i "%waoutnum%" EQU "0" set EXPLOIT=X
if /i "%waoutnum%" EQU "1" set EXPLOIT=T
if /i "%waoutnum%" EQU "2" set EXPLOIT=S
if /i "%waoutnum%" EQU "3" set EXPLOIT=?
goto:gotexploit
:notKOR
::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=X
if /i "%waoutnum%" EQU "1" set EXPLOIT=T
if /i "%waoutnum%" EQU "2" set EXPLOIT=S
if /i "%waoutnum%" EQU "3" set EXPLOIT=L
if /i "%waoutnum%" EQU "4" set EXPLOIT=LB
if /i "%waoutnum%" EQU "5" set EXPLOIT=LS
if /i "%waoutnum%" EQU "6" set EXPLOIT=Y
if /i "%waoutnum%" EQU "7" set EXPLOIT=TOS
if /i "%waoutnum%" EQU "8" 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=X
if /i "%waoutnum%" EQU "1" set EXPLOIT=W
if /i "%waoutnum%" EQU "2" set EXPLOIT=S
if /i "%waoutnum%" EQU "3" set EXPLOIT=?
goto:gotexploit
:KOR4.3
if /i "%waoutnum%" EQU "0" set EXPLOIT=X
if /i "%waoutnum%" EQU "1" set EXPLOIT=W
if /i "%waoutnum%" EQU "2" set EXPLOIT=S
if /i "%waoutnum%" EQU "3" set EXPLOIT=L
if /i "%waoutnum%" EQU "4" set EXPLOIT=LB
if /i "%waoutnum%" EQU "5" set EXPLOIT=LS
if /i "%waoutnum%" EQU "6" set EXPLOIT=Y
if /i "%waoutnum%" EQU "7" set EXPLOIT=TOS
if /i "%waoutnum%" EQU "8" set EXPLOIT=?
goto:gotexploit
:gotexploit
if /i "%FIRMSTART%" NEQ "4.3" goto:skip
if /i "%EXPLOIT%" EQU "W" (set beforemacaddy=WPAGE3C) & (goto:macaddress)
if /i "%EXPLOIT%" EQU "?" (set beforemacaddy=WPAGE3C) & (goto:macaddress)
:skip
::PICK UP HERE, also check 4.3K
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 , 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 (enter "Help" for an instructional video).~Or enter "S" to skip this for now and enter it later if you're not near your Wii
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
if /i "%waoutput%" EQU "S" goto:quickskip
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 your desired System Menu.~~* ModMii recommends unnecessarily changing system menus if already on 4.1 or higher.~* System Menu 4.2 and 4.3 add nothing except failed attempts to prevent homebrew.~* Even RiiConnect24 fully works on lower firmwares using ModMii's System Menu IOSs.
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 "%EXPLOIT%" EQU "?" goto:macaddress
if /i "%EXPLOIT%" EQU "W" goto:macaddress
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~~ ^^marked channels require RiiConnect24 to work~^^^^Wii Speak Channel requires RiiConnect24 and Wiimmfi to work.~ Check these out after finishing with ModMii at https://rc24.xyz
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; ^&Recommended cIOSs and cMIOS; ^&Priiloader v0.9.1 (and System Menu hacks); ^&System Menu Theme; ^&USB-Loader; ^&Active IOSs and patched System Menu IOSs
if /i "%CMIOSOPTION%" NEQ "on" set wainput= ^&Homebrew Channel and\or Bootmii; ^&Recommended cIOSs; ^&Priiloader v0.9.1 (and System Menu hacks); 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%"
set AdvancedMarked=%waoutnum%
if "%waoutnum%"=="" (set BACKB4DRIVE=WPAGE13) & (goto:DRIVECHANGE)
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 RECCIOS=Y
findStr /I /C:"2" "%wabat%" >nul
IF not ERRORLEVEL 1 set PRIQ=Y
findStr /I /C:"3" "%wabat%" >nul
IF not ERRORLEVEL 1 set THEMEQ=Y
findStr /I /C:"4" "%wabat%" >nul
IF not ERRORLEVEL 1 set USBGUIDE=Y
findStr /I /C:"5" "%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~~Note: if your SD Card is not already formatted as FAT32 (or if you are unsure), it may save some time to choose a location that is not your SD Card
set watext=Select where to save files for your SD Card~~* If your SD is not already FAT32 (or if you are unsure) it may save time choosing a different location for now.~* If your Wii's SD Card reader is broken, you can use a Hard Drive formatted as FAT32 in place of an SD Card to complete most ModMii functions (SD required for Bootmii, NAND backup ^& SNEEK).
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
::double escape real carrots, but correct ^^& back to ^& (which is done by default by wizapp)
support\sfk filter -spat -quiet "%wabat%" -rep _\x5e_\x5e\x5e_ -rep _\x5e\x5e\x26_\x5e\x26_ -write -yes>nul
call "%wabat%"
set "DRIVETEMP=%waoutput%"
::remove quotes (if applicable)
setlocal ENABLEDELAYEDEXPANSION
set Drivetemp=!Drivetemp:"=!
setlocal DISABLEDELAYEDEXPANSION
::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.)
echo "%DRIVETEMP:~0,2%" doesn't exist, please try again...
goto:DRIVECHANGE
:skipcheck
::try making directory, and if fails, don't use this setting
if not exist "%DRIVETEMP%" mkdir "%DRIVETEMP%"
if not exist "%DRIVETEMP%" (echo You Have Entered an Incorrect Key or need Admin rights for this location) & (if /i "%AudioOption%" NEQ "off" start support\nircmd.exe mediaplay 3000 "support\FAIL.mp3") & (goto:DRIVECHANGE)
::check for write access
if not exist "%DRIVETEMP%\test.txt" goto:skip
del "%DRIVETEMP%\test.txt">nul
if exist "%DRIVETEMP%\test.txt" (goto:WriteError) else (goto:donecheck)
:skip
echo test>"%DRIVETEMP%\test.txt"
if exist "%DRIVETEMP%\test.txt" goto:donecheck
:WriteError
echo You need Admin rights to use this location
if /i "%AudioOption%" NEQ "off" start support\nircmd.exe mediaplay 3000 "support\FAIL.mp3"
::@ping 127.0.0.1 -n 2 -w 1000> nul
goto:DRIVECHANGE
:donecheck
if exist "%DRIVETEMP%\test.txt" del "%DRIVETEMP%\test.txt">nul
set "DRIVE=%DRIVETEMP%"
::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
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~~Note: if your USB Hard Drive is not already formatted properly (or if you are unsure), it may save some time to choose a location that is not 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
::double escape real carrots, but correct ^^& back to ^& (which is done by default by wizapp)
support\sfk filter -spat -quiet "%wabat%" -rep _\x5e_\x5e\x5e_ -rep _\x5e\x5e\x26_\x5e\x26_ -write -yes>nul
call "%wabat%"
set "DRIVEUTEMP=%waoutput%"
::remove quotes (if applicable)
setlocal ENABLEDELAYEDEXPANSION
set DRIVEUTEMP=!DRIVEUTEMP:"=!
setlocal DISABLEDELAYEDEXPANSION
::if second char is ":" check if drive exists
if /i "%DRIVEUTEMP:~1,1%" NEQ ":" goto:skipcheck
if exist "%DRIVEUTEMP:~0,2%" (goto:skipcheck) else (echo.)
echo "%DRIVEUTEMP:~0,2%" doesn't exist, please try again...
goto:DRIVECHANGE
:skipcheck
::try making directory, and if fails, don't use this setting
if not exist "%DRIVEUTEMP%" mkdir "%DRIVEUTEMP%"
if not exist "%DRIVEUTEMP%" (echo You Have Entered an Incorrect Key or need Admin rights for this location) & (if /i "%AudioOption%" NEQ "off" start support\nircmd.exe mediaplay 3000 "support\FAIL.mp3") & (goto:DRIVEUCHANGE)
::check for write access
if not exist "%DRIVEUTEMP%\test.txt" goto:skip
del "%DRIVEUTEMP%\test.txt">nul
if exist "%DRIVEUTEMP%\test.txt" (goto:WriteError) else (goto:donecheck)
:skip
echo test>"%DRIVEUTEMP%\test.txt"
if exist "%DRIVEUTEMP%\test.txt" goto:donecheck
:WriteError
echo You need Admin rights to use this location
if /i "%AudioOption%" NEQ "off" start support\nircmd.exe mediaplay 3000 "support\FAIL.mp3"
::@ping 127.0.0.1 -n 2 -w 1000> nul
goto:DRIVEUCHANGE
:donecheck
if exist "%DRIVEUTEMP%\test.txt" del "%DRIVEUTEMP%\test.txt">nul
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
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
if exist "version.txt" del "version.txt">nul
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
::only if temp\currentversion.txt exists updater.bat will do start updating when called or started, otherwise will just get info and return to loader ::echo %currentversion%>>temp\currentversion.txt
if exist "temp\currentversion.txt" del "temp\currentversion.txt">nul
::comment these for local Updatetemp.bat for testing... (updater.bat is renamed to Updatetemp.bat for legacy purposes)
if exist Updatetemp.bat del Updatetemp.bat>nul
start %ModMiimin%/wait support\wget --no-check-certificate "https://raw.githubusercontent.com/modmii/modmii.github.io/master/temp/updater.bat" -O Updatetemp.bat
if not exist Updatetemp.bat goto:altlink
::DELETE IF NULL
for %%R in (Updatetemp.bat) do if %%~zR lss 1 del "Updatetemp.bat">nul
:altlink
if not exist "Updatetemp.bat" start %ModMiimin%/wait support\wget --no-check-certificate "http://tiny.cc/modmiiupdater" -O Updatetemp.bat
if not exist Updatetemp.bat goto:updatefail
::DELETE IF NULL
for %%R in (Updatetemp.bat) do if %%~zR lss 1 del "Updatetemp.bat">nul
::Call to get new version info and changelogURL
if exist Updatetemp.bat (call Updatetemp.bat) else (goto:updatefail)
if "%newversion%"=="" goto:updatefail
start support\wizapp PB UPDATE 100
start support\wizapp PB CLOSE
if %currentversion% LSS %newversion% goto:openchangelog
del Updatetemp.bat>nul
::----------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 %changelogURL%
: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
::launch updater with temp\currentversion.txt to do the update
::only if temp\currentversion.txt exists updater will do start updating when called or started
::updater runs in skin mode if temp\skin.txt detected
echo %currentversion%>>temp\currentversion.txt
echo %currentversion%>>temp\skin.txt
start /min 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 "%macaddress%" EQU "S" goto:skip
if /i "%EXPLOIT%" EQU "W" set wainput=%wainput%~* MAC Address: %macaddress%
:skip
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%
if /i "%macaddress%" EQU "S" goto:skip
if not "%macaddress%"=="" set wainput=%wainput%~* MAC Address - %macaddress%
:skip
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 "%UpdatesIOSQ%" EQU "Y" set wainput=%wainput%~* Install Active IOSs and patched System Menu IOSs
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 all USB-Loaders available in ModMii
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?~~ Note: pros and cons of each available in ModMii Classic
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
if /i "%VIRGIN%" NEQ "N" goto:WPAGE21
if /i "%THEMEQ%" EQU "Y" goto:WPAGE20
goto:WPAGE13
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?~~Note: The ^"Nintendont^" Gamecube plugin is supported by all of these loaders and will also be downloaded.
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
support\sfk filter -spat "temp\list.txt" -!"\x22" -!"n" -unique -no-empty-lines -no-blank-lines -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%
::double escape real carrots, but correct ^^& back to ^& (which is done by default by wizapp)
support\sfk filter -spat -quiet "%wabat%" -rep _\x5e_\x5e\x5e_ -rep _\x5e\x5e\x26_\x5e\x26_ -write -yes>nul
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?~~Note: neek2o rev93-96 will bypass Priiloader if detected on EmuNAND. To access Priiloader on your emulated NAND, hold reset just as your EmuNAND is booting up.
::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~~Make sure path does not contain & ( ) ^"
::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
::double escape real carrots, but correct ^^& back to ^& (which is done by default by wizapp)
support\sfk filter -spat -quiet "%wabat%" -rep _\x5e_\x5e\x5e_ -rep _\x5e\x5e\x26_\x5e\x26_ -write -yes>nul
call "%wabat%"
set "addwadfolder=%waoutput%"
::remove quotes (if applicable)
setlocal ENABLEDELAYEDEXPANSION
set addwadfolder=!addwadfolder:"=!
setlocal DISABLEDELAYEDEXPANSION
::fix so addwadfolder works without quotes
::set "addwadfolder=%addwadfolder:^=^^%"
::set "addwadfolder=%addwadfolder:&=^&%"
if not exist "%addwadfolder%\*.wad" goto:noWADserror
findStr /I /C:"^" "%wabat%" >nul
IF not ERRORLEVEL 1 (set "watext=~~Select a folder without special characters and try again.") & (start /w support\wizapp TB) & (goto:addwadfolder)
findStr /I /C:"(" "%wabat%" >nul
IF not ERRORLEVEL 1 (set "watext=~~Select a folder without special characters and try again.") & (start /w support\wizapp TB) & (goto:addwadfolder)
findStr /I /C:")" "%wabat%" >nul
IF not ERRORLEVEL 1 (set "watext=~~Select a folder without special characters and try again.") & (start /w support\wizapp TB) & (goto:addwadfolder)
::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 change guide assumes your Wii has already been softmodded and SD Card properly formatted by following either the ModMii Wizard or SysCheck Updater Wizard. If this is not the case please do so before going any further.~~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 "X" set "classicCMD=%classicCMD% str2hax"
if /i "%EXPLOIT%" NEQ "W" goto:skip
if /i "%macaddress%" NEQ "S" set "classicCMD=%classicCMD% MAC:%macaddress%"
if /i "%macaddress%" EQU "S" set "classicCMD=%classicCMD% LetterBomb"
:skip
if /i "%FIRMSTART%" EQU "4.3" goto:skipexploitcheck
if /i "%EXPLOIT%" EQU "?" 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
echo ModMii.exe %classicCMD% Skin:E
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 exist temp\ModMii_CMD_LINE_NEEK_Errors.txt goto:skip
echo %neekname% rev%CurrentRev% installed successfully>temp\ModMii_CMD_LINE_NEEK_Errors.txt
set wafile=temp\ModMii_CMD_LINE_NEEK_Errors.txt
goto:neeknotes
: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:neeknotes
set problematicDLs=1
echo.>>temp\nandinfotemp.txt
echo %neekname% rev%currentrev% not installed properly>>temp\nandinfotemp.txt
goto:skip
:neeknotes
::SNEEK notes & logic copied from ModMii and added display txt file
echo.>>%wafile%
echo CUSTOMIZED NOTES FOR YOUR BUILD OF NEEK:>>%wafile%
echo.>>%wafile%
echo * When launching any form of SNEEK for the first time, it could take a long time>>%wafile%
echo to load the System Menu, but it will be much quicker the second time around.>>%wafile%
echo.>>%wafile%
echo * If you have problems loading your Emulated NAND, copy cert.sys>>%wafile%
echo from an original nand dump to your emulated nand's sys folder.>>%wafile%
echo.>>%wafile%
echo * You can manually override Bootmii to launch neek by renaming>>%wafile%
echo your BootmiiNeek folder to SD:\Bootmii and launching "Bootmii">>%wafile%
echo.>>%wafile%
echo * You can launch uneek (or uneek+DI) without requiring an SD Card>>%wafile%
echo using USB-Loader GX. USB-Loader GX also has an option to copy>>%wafile%
echo a console's SYSCONF into your current emuNAND (channel) path,>>%wafile%
echo so if you add new controllers or a balance board to your NAND,>>%wafile%
echo use the copy SYSCONF feature to also put it into neek's emuNAND.>>%wafile%
echo.>>%wafile%
echo * SD:\Bootmii is not required to launch neek from USB-Loader GX.>>%wafile%
echo If you use USB-Loader GX's EmuNAND neek feature, you can have both SNEEK and>>%wafile%
echo UNEEK at the same time (with or without DI). ModMii will detect SNEEK when>>%wafile%
echo installing UNEEK and vice versa and ask if you want to overwrite SD files.>>%wafile%
echo For dual boot you will want only SNEEK files on SD and only UNEEK files on USB.>>%wafile%
echo The version of SNEEK\UNEEK that will be loaded is based on your EmuNAND>>%wafile%
echo location in USB-Loader GX's settings: Sneek if on SD, and Uneek if on USB.>>%wafile%
echo.>>%wafile%
if /i "%SNKS2U%" EQU "Y" goto:quickskip
echo * Install the neek2o channel using YAWMM then launch the channel in order to>>%wafile%
echo start NEEK. You can also use this channel to return to your real NAND.>>%wafile%
echo.>>%wafile%
:quickskip
if /i "%SNKS2U%" NEQ "Y" goto:quickskip
echo * Access UNEEK/UNEEK+DI by launching switch2uneek from the>>%wafile%
echo Homebrew Channel. Alternatively, can use YAWMM to install the>>%wafile%
echo switch2uneek forwarder channel that ModMii saved to your SD card.>>%wafile%
echo.>>%wafile%
:quickskip
if /i "%SNKcBC%" NEQ "DML" goto:skipDMLmsg
echo * Install the DML WAD using Yet Another WAD Manager Mod to your>>%wafile%
echo REAL NAND in order for your Emulated NAND to use DML. DML currently>>%wafile%
echo requires SNEEK+DI r157 or higher and neek2o has yet to support DML.>>%wafile%
echo.>>%wafile%
:skipDMLmsg
if /i "%SNEEKTYPE%" EQU "S" goto:skipDIComments
if /i "%SNEEKTYPE%" EQU "U" goto:skipDIComments
if /i "%neek2o%" EQU "on" goto:skipDiscexWarning
echo * Warning: you have disabled ModMii's neek2o option and have built a DI>>%wafile%
echo version of the original neek instead. At least 1 game must be saved to>>%wafile%
echo your usb:/games folder in extracted neek format or DI freezes and>>%wafile%
echo neek+di will not boot.>>%wafile%
echo.>>%wafile%
:skipDiscexWarning
echo * To add Games to the Game/DI Menu, you can use ModMii, WiiBackupManager>>%wafile%
echo or wit.exe to extract Wii Games in neek format to your FAT32 USB Hard Drive.>>%wafile%
if /i "%neek2o%" EQU "on" echo neek2o is also able to load standard game file formats from USB:\WBFS.>>%wafile%
echo.>>%wafile%
echo * When using SNEEK+DI or UNEEK+DI, you can access the Game/DI Menu>>%wafile%
echo by pressing "1" on the Wiimote. To access other settings>>%wafile%
echo (including Region Options), you must press "+" from within the DI Menu.>>%wafile%
echo.>>%wafile%
:skipDIComments
echo * ShowMiiWads can be used to decrypt your real Wii's Bootmii NAND>>%wafile%
echo dump (nand.bin) to use as an emulated NAND, and it can add custom>>%wafile%
echo channels/WADs to an emulated NAND. See ModMii's Download Page 2.>>%wafile%
echo.>>%wafile%
echo * For more SNEEK info, like formatting a USB Hard Drive for SNEEK,>>%wafile%
echo or installing the HBC to an emulated NAND, visit: tinyurl.com/SNEEK-DI>>%wafile%
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