From c014439fd4af05432e1bcf21fd01c9833479c5b2 Mon Sep 17 00:00:00 2001 From: xflak40 <11338309+xflak@users.noreply.github.com> Date: Fri, 3 Feb 2012 06:04:20 +0000 Subject: [PATCH] 6.0.0 Changelog: ModMii now comes bundled with ModMii Skin, a GUI wrapper that uses\requires "ModMii Classic". Not all features of ModMii Classic are supported in ModMii Skin. ModMii Skin supports the following functions: ModMii Wizard, Abstinence Wizard, USB-Loader Setup, HackMii Solutions, Region Change, Load a Download Queue, SNEEK Installation and NAND builder and Options (including updates). Hot Keys are also supported in ModMii Skin for that "ModMii Classic" feel. For example, you can switch between ModMii Skin and ModMii Classic by typing "M" at either Main Menu then hitting Enter. ModMii Installer updated to v6.0. It is able to install ModMii v6.0.0 and above. It too has a "Skin" and gives you the option of making shortcuts to ModMii or ModMii Skin on the Desktop and\or the Start Menu. Older versions of the installer will install ModMii v5.5.2, then it will automatically run ModMii after installation and prompt you to update to the most recent version. wizapp.exe is now bundled with ModMii and the ModMii Installer in order to support Skin Mode. Added play sound at finish option and it's enabled by default. If enabled, it will play a success sound when downloads are successful and an error sound if there are errors. Thanks to my cuz Violator for making these unique short tracks for me on such short notice. Updated WiiFlow on ModMii's Download Page 2. It is now an autoupdating download that will grab the most recent release of WiiFlow. Updated how the latest hosted version of postloader is detected to support recent changes that were made to the googlecode webpage. Updated md5 of postloader channel forwarder so the updated version isn't considered "invalid". You may have noticed reading this changelog somewhere new. ModMii has a new official website, modmii.zzl.org. Some highlights include a support page with links to the official ModMii forum as well as the new official ModMii IRC channel. Thanks goes out to DeadlyFoez who pretty much put the whole thing together by himself. Also thanks to RobGee789 for graphics and CaseyOmah for helping DeadlyFoez out with some html code. Big thanks to person66 for updating his script to launch ModMii and ModMii Skin with an icon, arguments and other useful functions. I also want to thank RobGee789 and M3RK for the awesome graphics they made for ModMii Skin. No animals were harmed in the making of this skin. Other minor changes. --- ModMii English/Credits.html | 240 -- ModMii English/ModMii.bat | 1238 +++---- ModMii English/ModMiiSkin.bat | 3193 +++++++++++++++++ ModMii Installer/ModMii Installer.bat | 292 +- .../ModMii Installer__SOURCE.au3 | 76 +- ModMii Shortcut-er/ModMii.au3 | 29 +- ModMii Shortcut-er/ModMiiSkin__SOURCE.au3 | 81 + 7 files changed, 3879 insertions(+), 1270 deletions(-) delete mode 100644 ModMii English/Credits.html create mode 100644 ModMii English/ModMiiSkin.bat create mode 100644 ModMii Shortcut-er/ModMiiSkin__SOURCE.au3 diff --git a/ModMii English/Credits.html b/ModMii English/Credits.html deleted file mode 100644 index 4b5653a..0000000 --- a/ModMii English/Credits.html +++ /dev/null @@ -1,240 +0,0 @@ - - - - -ModMii's credits, supporting apps, and Sources - - - - -
ModMii for Windows
by XFlak
-
-
This software is not for sale. If you paid for this software or a "bundle" you have been scammed.

- -THIS PACKAGE COMES WITH ABSOLUTELY NO WARRANTY, NEITHER STATED NOR IMPLIED.
-NO ONE BUT YOURSELF IS TO BE HELD RESPONSIBLE FOR ANY DAMAGE THIS MAY CAUSE TO YOUR NINTENDO WII CONSOLE!
-USE THIS AT YOUR OWN RISK!


- - -Support XFlak
-XFlak
-If ModMii worked for you, please vote in favour of the program HERE
-Check out my Top Channels
-Check out my Crazy Intro Videos
-Donations can optionally be made via paypal to XFlak40@hotmail.com
-If you donate $1 or more to XFlak40@hotmail.com, as my way of saying thanks I'll reply to you via email with a functional Easter Egg guaranteed to be helpful every time you use ModMii.
-I will still email you ModMii's Easter Egg if you prefer to donate to someone else listed in the credits ONLY IF you ask THEM to send confirmation of your donation to XFlak40@hotmail.com. -
-
- - -Credits
-ModMii was written entirely by me, XFlak; however, without the help of many other very talented people ModMii would not exist.
-Some people have contributed supporting files or programs, others have shared their knowledge, some have provided ideas and others have given their time.
-I have tried my best to recognize everyone's contribution to ModMii regardless of how big or small it is. If I've forgotten someone, please notify me and I'll add them to the credits as quickly as possible.
-Throughout the Credits there will be links to make donations to some other very worthy developers. This will allow you to send donations to support the author of your favourite tools.

-
- - -Supporting Apps and Sources
- -ModMii source code available for download HERE.
-If you would like to contribute to the project, or have ideas, please send me a message\email and we can discuss it further in private.
- - - - \ No newline at end of file diff --git a/ModMii English/ModMii.bat b/ModMii English/ModMii.bat index 70c7454..0449133 100644 --- a/ModMii English/ModMii.bat +++ b/ModMii English/ModMii.bat @@ -1,7 +1,7 @@ @echo off setlocal :top -set currentversion=5.5.2 +set currentversion=6.0.0 set currentversioncopy=%currentversion% set agreedversion= if exist Support\settings.bat call Support\settings.bat @@ -15,6 +15,8 @@ chcp 437>nul ::chcp 850>nul ::chcp 1252>nul +if not exist temp mkdir temp + set UPDATENAME=ModMii ::set UPDATENAME=ModMii_IT_ @@ -99,7 +101,7 @@ echo. echo Functions: echo. echo W Wizard -echo AW Abstinence Wizard +echo AW Abstinence Wizard echo U USB-Loader Set-up echo HS HackMii Solutions echo SU sysCheck Updater @@ -599,6 +601,16 @@ echo. echo Where; echo E = Enabled and D = Disabled echo. + +support\sfk echo [Cyan]Play Sound at Finish + +echo ModMii.exe [base command] SOUND:E +echo ModMii.exe [base command] SOUND:D +echo. +echo Where; +echo E = Enabled and D = Disabled +echo. + support\sfk echo [Cyan]Include USB-Loader Forwarder Channel in ModMii Wizard Downloads echo ModMii.exe [base command] FWD:E @@ -939,6 +951,28 @@ support\sfk filter temp\cmdinput.txt -rep _" IOS36:%removeme%"__ -write -yes>nul :noIOS36cmd + +::-----------SOUND: Option--------------- +findStr /I " SOUND:" temp\cmdinput.txt >nul +IF ERRORLEVEL 1 (goto:noSOUNDcmd) else (copy /y temp\cmdinput.txt temp\cmdinput2.txt>nul) + +support\sfk filter -spat temp\cmdinput2.txt -rep _"* SOUND:"__ -rep _\x20*__ -write -yes>nul + +set /p AudioOptioncmd= nul +:noSOUNDcmd + + ::-----------CMIOS: Option--------------- findStr /I " CMIOS:" temp\cmdinput.txt >nul IF ERRORLEVEL 1 (goto:noCMIOScmd) else (copy /y temp\cmdinput.txt temp\cmdinput2.txt>nul) @@ -1100,6 +1134,20 @@ set /p SkinModecmd= nul @@ -1764,6 +1812,9 @@ if exist "temp\DML\DMLr%CurrentDMLRev%.zip" goto:noDMLRevcmd ::set googlecode=dios-mios-lite-source-project +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" goto:noDMLRevcmd + start /min /wait support\wget -t 3 "http://dios-mios-lite-source-project.googlecode.com/files/DMLr%CurrentDMLRev%.zip" if not exist "DMLr%CurrentDMLRev%.zip" (echo "%CurrentDMLRev%" is not a valid input, try again...) & (echo check this URL for available versions: http://code.google.com/p/dios-mios-lite-source-project/downloads/list) & (if exist support\settings.bak move /y support\settings.bak support\settings.bat>nul) & (@ping 127.0.0.1 -n 5 -w 1000> nul) & (exit) @@ -1777,8 +1828,6 @@ move /y "DMLr%CurrentDMLRev%.zip" "temp\DML\DMLr%CurrentDMLRev%.zip">nul ::-----------Rev:#--------------- set neekrev=1 - - findStr /I " Rev:" temp\cmdinput.txt >nul IF ERRORLEVEL 1 (goto:noRevcmd) else (copy /y temp\cmdinput.txt temp\cmdinput2.txt>nul) set neekrev= @@ -1794,6 +1843,9 @@ support\sfk -spat filter temp\cmdinput.txt -rep _" Rev:%removeme%"__ -write -yes if /i "%neek2o%" EQU "ON" (set googlecode=custom-di) & (set neekname=neek2o) if /i "%neek2o%" NEQ "ON" (set googlecode=sneeky-compiler) & (set neekname=neek) +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" goto:noRevcmd + if exist "temp\%neekname%\%neekname%-rev%CurrentRev%.zip" goto:noRevcmd start /min /wait support\wget -t 3 "http://%googlecode%.googlecode.com/files/%neekname%-rev%CurrentRev%.zip" @@ -1887,9 +1939,10 @@ if /i "%SNEEKTYPE%" NEQ "SD" goto:skipDMLcmd findStr /I " DML" temp\cmdinput.txt >nul IF ERRORLEVEL 1 (set SNKcBC=N) else (set SNKcBC=DML) +if /i "%SNKcBC%" NEQ "DML" set DMLRev= + ::set default DML rev if not specified if /i "%DMLRev%" EQU "1" goto:CurrentDMLRevSelect - :skipDMLcmd findStr /I " Pri" temp\cmdinput.txt >nul @@ -1948,8 +2001,11 @@ color 1f ::SET PATHNAME=%0 //this returns the filename but also with absolute path -if exist support\skipscam.txt goto:DefaultSettings -if exist support\ipromisetodonate.txt goto:DefaultSettings +if not exist support\skipscam.txt goto:nocheck +findStr /I /C:"%USERPROFILE%" "support\skipscam.txt" >nul +IF ERRORLEVEL 1 (set Trigger=) else (set Trigger=1) +if /i "%Trigger%" EQU "1" goto:DefaultSettings +:nocheck set warning= echo ModMii @@ -1996,13 +2052,14 @@ if /i "%AGREEDVERSION%" NEQ "%CURRENTVERSION%" @ping 127.0.0.1 -n 5 -w 1000> nul set /p warning= Enter Selection Here: -if /i "%warning%" EQU "skipscam" echo Ea$ter Egg.>support\skipscam.txt -if /i "%warning%" EQU "skipscam" attrib +r +h +s support\skipscam.txt -if /i "%warning%" EQU "skipscam" goto:DefaultSettings +if /i "%warning%" NEQ "skipscam" goto:miniskip +if exist support\skipscam.txt attrib -r -h -s support\skipscam.txt +echo "%USERPROFILE%">support\skipscam.txt +attrib +r +h +s support\skipscam.txt +set Trigger=1 +goto:DefaultSettings +:miniskip -if /i "%warning%" EQU "ipromisetodonate" echo Ea$ter Egg.>support\ipromisetodonate.txt -if /i "%warning%" EQU "ipromisetodonate" attrib +r +h +s support\ipromisetodonate.txt -if /i "%warning%" EQU "ipromisetodonate" goto:DefaultSettings if /i "%warning%" EQU "I Agree" goto:skip @@ -2029,6 +2086,7 @@ IF "%effect%"=="" set effect=No-Spin IF "%PCSAVE%"=="" set PCSAVE=Auto IF "%OPTION1%"=="" set OPTION1=off IF "%OPTION36%"=="" set OPTION36=on +IF "%AudioOption%"=="" set AudioOption=on IF "%CMIOSOPTION%"=="" set CMIOSOPTION=off IF "%FWDOPTION%"=="" set FWDOPTION=on IF "%Drive%"=="" set Drive=COPY_TO_SD @@ -2094,7 +2152,7 @@ start %ModMiimin%/wait support\wget -t 3 "http://download.microsoft.com/download ::start %ModMiimin%/wait support\wget -c -l1 -r -nd --retr-symlinks -t10 -T30 --random-wait "http://download.microsoft.com/download/7/0/3/703455ee-a747-4cc8-bd3e-98a615c3aedb/dotNetFx35setup.exe" -if not exist temp mkdir temp + if exist dotNetFx35setup.exe move /y dotNetFx35setup.exe temp\dotNetFx35setup.exe :semiskip @@ -2150,6 +2208,7 @@ if /i "%AUTOUPDATE%" EQU "on" goto:UpdateModMii :MENU + if exist temp\ModMii_Log.bat del temp\ModMii_Log.bat>nul if exist temp\DLgotos-copy.txt del temp\DLgotos-copy.txt>nul @@ -2640,7 +2699,7 @@ SET COUNT7=1 SET COUNT8=1 SET CURRENTDL=0 -if not exist temp mkdir temp + :Clear simplelog if exist temp\ModMii_Log.bat del temp\ModMii_Log.bat>nul @@ -2685,11 +2744,13 @@ 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%) & goto:quickskip +if not exist "%nandpath%\nands\pl_%nandregion%" set nandpath=%nandpath%\nands\pl_%nandregion% +if not exist "%nandpath%\nands\pl_%nandregion%" goto:quickskip :NANDnamecmd SET /a NANDcount=%NANDcount%+1 -if not exist "%nandpath%\nands\pl_%nandregion%%NANDcount%" (set nandpath=%nandpath%\nands\pl_%nandregion%%NANDcount%) & goto:quickskip +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:NANDnamecmd :quickskip @@ -2735,8 +2796,8 @@ echo 4 = Download Page 4 (cIOSs and cMIOSs) echo. echo A = Advanced Downloads and Forwarder DOL\ISO Builder echo. -if exist temp\DownloadQueues\*.bat echo L = Load Download Queue -if exist temp\DownloadQueues\*.bat echo. +echo L = Load Download Queue +echo. echo. echo C = Build Config Files for BootMii, Wad Manager or Multi-Mod Manager echo. @@ -2745,13 +2806,14 @@ echo. echo. echo O = Options CR = Credits E = Exit echo. -echo *********MORE INFO********* -support\sfk echo -spat \x20 \x20 [RED] WWW = Open tinyurl.com/ModMiiNow to ask questions, provide feedback or vote +echo M = ModMii Skin Mode: use your mouse instead of your keyboard! echo. -echo Use the ModMii Wizard to automatically set-up your SD card with all you need -echo to fully softmod your Wii and/or upgrade/downgrade your Wii and much more. -echo When using the ModMii Wizard, a custom guide is built based on your answers -echo to a few simple questions. +echo *********MORE INFO********* +support\sfk echo -spat \x20 \x20 [RED] WWW = Open http://modmii.zzl.org to ask questions, provide feedback or vote +echo. +echo Use the ModMii Wizard to set-up your SD card with all you need to softmod +echo your Wii or up/downgrade it and much more. When using the ModMii Wizard, +echo a custom guide is built based on your answers to a few simple questions. echo. support\sfk echo -spat \x20 \x20 [RED] Donations are optional and can be made via paypal.com to XFlak40@hotmail.com echo *************************** @@ -2769,692 +2831,39 @@ if /i "%MENU1%" EQU "2" goto:OLDLIST if /i "%MENU1%" EQU "3" goto:LIST3 if /i "%MENU1%" EQU "4" goto:LIST4 if /i "%MENU1%" EQU "A" goto:ADVANCED -if /i "%MENU1%" EQU "E" goto:exitnow +if /i "%MENU1%" EQU "E" EXIT if /i "%MENU1%" EQU "O" goto:OPTIONS if /i "%MENU1%" EQU "H" goto:WPAGE2 if /i "%MENU1%" EQU "FC" set BACKB4DRIVE=Menu if /i "%MENU1%" EQU "FC" goto:DRIVECHANGE if /i "%MENU1%" EQU "C" goto:CONFIGFILEMENU - +if /i "%MENU1%" EQU "M" (start ModMiiSKin.exe) & (exit) if /i "%MENU1%" EQU "AW" (set MENU1=S) & (set SNEEKSELECT=3) & (set AbstinenceWiz=Y) & (goto:WPAGE2) -::if /i "%MENU1%" EQU "CR" goto:Credit1 -if /i "%MENU1%" NEQ "CR" goto:skipcred -cd /d SUPPORT -start Credits.html -cd /d %ModMiipath% -goto:MENU -:skipcred +if /i "%MENU1%" EQU "CR" (start http://modmii.zzl.org/credits.html) & (goto:MENU) + +if /i "%MENU1%" EQU "WWW" (start http://89d89449.miniurls.co) & (goto:MENU) -if /i "%MENU1%" EQU "WWW" goto:openwebpage - - -if not exist temp\DownloadQueues\*.bat goto:noload +::if not exist temp\DownloadQueues\*.bat goto:noload if /i "%MENU1%" NEQ "L" goto:noload -if exist temp\DLnameDV.txt del temp\DLnamesADV.txt>nul +if exist temp\DLnamesADV.txt del temp\DLnamesADV.txt>nul if exist temp\DLgotosADV.txt del temp\DLgotosADV.txt>nul set BACKB4QUEUE=Menu goto:PICKDOWNLOADQUEUE :noload -:EasterEggs + if /i "%MENU1%" EQU "help" echo Google is your friend echo You Have Entered an Incorrect Key @ping 127.0.0.1 -n 2 -w 1000> nul goto:MENU -:openwebpage -start www.tinyurl.com/ModMiiNow -goto:MENU - -:exitnow -EXIT - -::..................................................Credits......................................................... -:Credit1 -cls -::mode con cols=85 lines=65 - -SET CREDIT1= - -echo ModMii v%currentversion% -echo by XFlak -echo. -if /i "%MENU1%" NEQ "CR" (support\sfk echo -spat \x20 \x20 \x20 \x20 [Yellow]Non-Donators must view the Credits before seeing their Download Log) & (echo.) -echo CREDITS -echo =========== -echo. -echo ModMii was written entirely by me, XFlak; however, without the help of many -echo other very talented people ModMii would not exist. -echo. -echo. -echo Some people have contributed supporting files\programs, others have shared -echo their knowledge, some have provided ideas and others have given their time. -echo. -echo. -echo I have tried my best to recognize everyone's contribution to ModMii regardless -echo of how big or small it is. If I've forgotten someone, please notify me and -echo I'll add them to the credits as quickly as possible. -echo. -echo. -echo Throughout the Credits there will be links to make donations to some other very -echo worthy developers. This will allow you to send donations to support the author -echo of your favourite tools. -echo. -echo. - -support\sfk echo -spat \x20 [Green]ModMii Donations can be sent via paypal to: \x20 XFlak40@hotmail.com -echo. -::support\sfk echo -spat \x20 [Red]Anyone who donates $1 or more to ModMii will get a functional ModMii Easter Egg! - - -support\sfk echo -spat \x20 [Red]If you donate $1 or more to XFlak40@hotmail.com, as my way of saying thanks I'll -support\sfk echo -spat \x20 [Red]reply to you via email with a functional Easter Egg guaranteed to be helpful -support\sfk echo -spat \x20 [Red]every time you use ModMii. -echo. -support\sfk echo -spat \x20 [Red]I will still email you ModMii's Easter Egg if you prefer to donate to someone else -support\sfk echo -spat \x20 [Red]listed in the credits ONLY IF you ask THEM to send confirmation of your donation -support\sfk echo -spat \x20 [Red]to XFlak40@hotmail.com. - - -echo. -support\sfk echo -spat \x20 [Green]$ = Open ModMii's donation webpage (paypal) and get your Easter Egg! -echo. -echo. -echo. -echo. -echo. -echo. -echo. -echo. -echo. -echo. -if /i "%MENU1%" NEQ "CR" (echo Wait a few seconds to proceed...) & (@ping 127.0.0.1 -n 5 -w 1000> nul) -set /p CREDIT1= Press the "Enter" Key to continue: - - -::add ^ before problematic chars like & and % -if /i "%CREDIT1%" EQU "$" start https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick^&hosted_button_id=DDHSQJPHDDXVW -if /i "%CREDIT1%" EQU "$" goto:Credit1 - -if /i "%MENU1%" NEQ "CR" goto:credit2 -if /i "%CREDIT1%" EQU "B" goto:menu -if /i "%CREDIT1%" EQU "M" goto:menu - -::------------ -:Credit2 -cls - -SET CREDIT2= - -echo ModMii v%currentversion% -echo by XFlak -echo. -echo CREDITS -echo =========== -echo. -support\sfk echo -spat \x20 [Red]Team Twiizers -echo ============= -echo Thanks to Team Twiizers for creating the revolutionary HackMii Installer. -echo Without their hard work, the Wii might never have been unlocked. -echo Many Team Twiizer Members went on to join Team Fail Overflow; -echo a team that played a vital role in unlocking the PS3. -echo. -echo I especially want to thank Bushing, who gave ModMii his blessing to -echo download and use the HackMii Installer. -echo. -support\sfk echo -spat \x20 [Red]Giantpune -echo ========= -echo Giantpune is a legend in the Wii Scene and I consider him to be a good friend -echo of mine. He created many exploits, including the Smash Stack exploit for PAL -echo and KOR Wii's (which is still the only method to fix 003 bricked Wii's), -echo the Channel Forwarder dol, USB Loader GX, and many other computer programs -echo to repair or virginize Wii's. -echo. -echo He's contributed code to more projects than I even know about, so its -echo impossible for me to truly convey his impact on the scene. He even took -echo the time to explain a few things to me about cIOSs when ModMii was -echo in its early stages and still known as NUS Auto Downloader. -echo. -support\sfk echo -spat \x20 [Green]You can send Giantpune donations via paypal: giantpune@gmail.com -echo. -support\sfk echo -spat \x20 [Red]Crediar, Daco Taco and Phpgeek -echo ============================== -echo The above people all had a hand in creating Priiloader. This was another -echo revolutionary tool mainly because it was the first to offer some level -echo of protection to newer Wii's that were unable to install BootMii at boot2. -echo Crediar developed the original preloader as well as s\uneek, NMM, DML, etc. -echo. -support\sfk echo -spat \x20 [Green]You can send Crediar donations via paypal: sven.tathoff@t-online.de -support\sfk echo -spat \x20 [Green]You can send Daco Taco donations via paypal: daco_65@hotmail.com -echo. -support\sfk echo -spat \x20 [Red]Comex -echo ===== -echo In addition to being a member of Team Twiizers and contributing to the HackMii -echo Installer, Comex created the heavily utilized bannerbomb exploit. This exploit -echo is what allows Wii's on firmwares 3.0-4.2 to be softmodded with only an SD Card -echo instead of needing one of a few specific Wii Games (like the 4.3 System Menu). -echo. -support\sfk echo -spat \x20 [Green]You can send Comex donations via paypal: comexk@gmail.com -echo. -if /i "%MENU1%" NEQ "CR" (echo Wait a few seconds to proceed...) & (@ping 127.0.0.1 -n 5 -w 1000> nul) -set /p CREDIT2= Press the "Enter" Key to continue: - -if /i "%CREDIT2%" EQU "B" goto:credit1 -if /i "%MENU1%" NEQ "CR" goto:credit3 -if /i "%CREDIT2%" EQU "M" goto:menu - -::------------ -:Credit3 -cls - -SET CREDIT3= - -echo ModMii v%currentversion% -echo by XFlak -echo. -echo CREDITS -echo =========== -echo. -support\sfk echo -spat \x20 [Red]Waninkoko -echo ========= -echo Waninkoko was the first to publicly release a cIOS and other excellent apps -echo like WAD manager, Save Game Manager, USB loader, etc. I also want to thank -echo him for giving ModMii permission to recreate his cIOSs in WAD form. -echo. -support\sfk echo -spat \x20 [Red]Hermes -echo ====== -echo Hermes is well known for his cIOS 222/223/224 and for his usbloader "uloader". -echo For a time his cIOSs were the only ones to work with RockBand type games -echo and they are still highly utlized today. -echo. -support\sfk echo -spat \x20 [Red]davebaol and XFlak -echo ================== -echo These developers worked together to modify Waninkoko's rev21 cIOS and created -echo a new "d2x" cIOS. This cIOS is currently considered the ultimate cIOS because -echo it corrected many bugs and added features that were previously thought to be -echo impossible (ie. Support for IOS Reloading Games). WiiPower was also heavily -echo influential in achieving IOS Reload Support. -echo. -support\sfk echo -spat \x20 [Red]WiiGator -echo ======== -echo WiiGator created a cMIOS and Gamecube Backup Launcher. Any GameCube fans -echo owe a big thank you to WiiGator for his work. -echo. - -support\sfk echo -spat \x20 [Red]DeadlyFoez -echo ========== -echo DeadlyFoez is legendary for his Wii Repairs and infectus tutorial. -echo Anyone who's broken their Wii can email deadlyfoez@yahoo.com to have it fixed. -echo. -echo DeadlyFoez played a key role in the ModMii v5.0.0 update not only by helping come -echo up with the idea for using html guides but also creating the template for ModMii's -echo custom guides and recording almost all of the videos and images they use. Within -echo 1.5 weeks since our initial conversation we were able to collaborate and bring the -echo idea to life in time to release it for Christmas. Working with him on this was a -echo truly rewarding and fun experience. -echo. -echo What can I say about THE "DeadlyFoez" on a personal level. He's always -echo getting me into trouble but his friendship is worth every fiasco! It's -echo unreal how he became one of my best friends. Just goes to show you not -echo everyone you meet online is totally crazy; in his case... just a little crazy. -echo But seriously, thanks to DeadlyFoez for always being there for me to bounce -echo ModMii ideas off of, for hosting the first two Team Your Mom meetings and -echo for introducing me to his awesome family and friends. There's no one else -echo I'd rather geek out with and I'll always have your back. -echo. -if /i "%MENU1%" NEQ "CR" (echo Wait a few seconds to proceed...) & (@ping 127.0.0.1 -n 5 -w 1000> nul) -set /p CREDIT3= Press the "Enter" Key to continue: - -if /i "%CREDIT3%" EQU "B" goto:credit2 -if /i "%MENU1%" NEQ "CR" goto:credit4 -if /i "%CREDIT3%" EQU "M" goto:menu - - - -::------------ -:Credit4 -cls - -SET CREDIT4= - -echo ModMii v%currentversion% -echo by XFlak -echo. -echo CREDITS -echo =========== -echo. -support\sfk echo -spat \x20 [Red]cwstjdenobs -echo =========== -echo cwstjdenobs is one of the few people I've encountered in the Wii scene that -echo I would love to treat to a beer. He was always very supportive of me and -echo encouraged me to ask him as many questions as I'd like. He is probably most -echo well known for YAWMM (Yet Another Wad Manager Mod) which was the first Wad -echo Manager to add brick protection by restricting users from making silly -echo mistakes like uninstalling or stubbing a crucial file. He's also made and -echo modified apps specifically for ModMii. For example, he modified WadMii so it -echo doesn't timestamp WADs and he also made a setting.txt builder for ModMii's -echo NAND builder. -echo. -support\sfk echo -spat \x20 [Red]Leathl -echo ====== -echo Leathl is another awesome developer who supported me before I became well -echo known by expanding upon his apps to further support ModMii. Leathl has created -echo many Wii apps including ShowMiiWads, CustomizeMii, libwiisharp, patchios, -echo nusfilegrabber, etc. Despite his recent inactivity, his apps are still highly -echo used today... just goes to show you that quality work never gets old. -echo I also want to thank RetroHead for him Mod of ShowMiiWads which ModMii uses -echo to build emulated nands without requiring any input from the user. -echo libwiisharp.dll is based on wii.py, the wii.py devs are Megazig, Omega, -echo Xuzz, SquidMan, Matt_P and The Lemon Man. Also thanks to Daeken for writing -echo Struct.py and marcan for his LZ77 code. -echo. -support\sfk echo -spat \x20 [Green]You can send Leathl donations via paypal: leathl@gmail.com -echo. -support\sfk echo -spat \x20 [Red]scooby74029 -echo =========== -echo scooby74029's most well known for sneeky compiler, which is able to -echo build multiple different versions of s\uneek. ModMii will always construct -echo the latest version of s\uneek available on his sneeky compiler google code -echo webpage. This means he has total control over what version of s\uneek ModMii -echo will construct. He also created modifications of Leathl's libwiisharp.dll -echo and patchios.exe to further support ModMii. Additionally, he's modified -echo other apps like JoyFlow, JoyLoader GX, JoyLoader CFG, etc. On top of all that, -echo he's an all around awesome person and I'm proud to be on his friends list. -echo. -support\sfk echo -spat \x20 [Green]You can send scooby74029 donations via paypal: scooby74029@yahoo.com -echo. -if /i "%MENU1%" NEQ "CR" (echo Wait a few seconds to proceed...) & (@ping 127.0.0.1 -n 5 -w 1000> nul) -set /p CREDIT4= Press the "Enter" Key to continue: - -if /i "%CREDIT4%" EQU "B" goto:credit3 -if /i "%MENU1%" NEQ "CR" goto:credit5 -if /i "%CREDIT4%" EQU "M" goto:menu - - - -::------------ -:Credit5 -cls - -SET CREDIT5= - -echo ModMii v%currentversion% -echo by XFlak -echo. -echo CREDITS -echo =========== -echo. -support\sfk echo -spat \x20 [Red]OverjoY and obcd -echo ================ -echo OverjoY created JoyFlow, a modification of WiiFlow that runs on s\uneek. -echo He then teamed up with obcd to accomplish some seriously amazing things, -echo like building their mod of s\uneek, neek2o, that allows it to load games -echo in wbfs format and select from multiple emulated NANDs. -echo. -support\sfk echo -spat \x20 [Red]Arikado and the Dop-Mii Team -echo ============================ -echo They created Dop-Mii; a lot of apps borrow code from Dop-Mii, so even if you -echo have never used Dop-Mii but used MMM or WiiMod then you owe a thank you -echo to these people. -echo. -support\sfk echo -spat \x20 [Green]You can send Arikado donations via paypal: r0szsoft@gmail.com -echo. - -support\sfk echo -spat \x20 [Red]WiiWu -echo ===== -echo He made Multi-Mod Manager (MMM) which has the functions of many different -echo Wii modding tools all in one user friendly app. -echo. -support\sfk echo -spat \x20 [Green]You can send WiiWi donations via paypal: wiiwu2@yahoo.com - -echo. -support\sfk echo -spat \x20 [Red]WB3000 and WiiNinja -echo =================== -echo Thanks to WB3000 for creating NUS Downloader and to WiiNinja for making a -echo cmd line version of NUS Downloader. NUS Downloader is one of ModMii's vital -echo supporting apps. -echo. -support\sfk echo -spat \x20 [Green]You can send WB3000 donations via bitcoin: 16cziXAdmLJwwSvgfKkfk6sSknvGqyf3VU - -echo. -support\sfk echo -spat \x20 [Red]WiiCrazy -echo ======== -echo WiiCrazy is most famous for "Wii Game Shortcut Creator" (formerly known as -echo "Crap"), Crazy Intro and Crazy Intro Video. He also contributed to -echo usb-loaders by bypassing some game specific security. WiiCrazy is another -echo person who's always been willing to do everything in his power to help me, -echo or anyone else for that matter. -echo. -support\sfk echo -spat \x20 [Red]oggzee, usptactical, gannon and Dr.Clipper -echo ========================================== -echo Together the above people compose the Configurable USB Loader Team. -echo This usb-loader has always been the first to add new features and -echo in my opinion it's the best usb-loader out there. -echo. -support\sfk echo -spat \x20 [Green]You can send The CFG USB Loader team donations via paypal: donate@wiitdb.com -echo. -if /i "%MENU1%" NEQ "CR" (echo Wait a few seconds to proceed...) & (@ping 127.0.0.1 -n 5 -w 1000> nul) -set /p CREDIT5= Press the "Enter" Key to continue: - -if /i "%CREDIT5%" EQU "B" goto:credit4 -if /i "%MENU1%" NEQ "CR" goto:credit6 -if /i "%CREDIT5%" EQU "M" goto:menu - - -::------------ -:Credit6 -cls - -SET CREDIT6= - -echo ModMii v%currentversion% -echo by XFlak -echo. -echo CREDITS -echo =========== -echo. -support\sfk echo -spat \x20 [Red]Wiimm -echo ===== -echo Thanks to Wiimm for creating Wiimms ISO Tools, including wit.exe which -echo ModMii uses to convert Wii Games to s/uneek format as well as build -echo forwarder ISOs. -echo. -support\sfk echo -spat \x20 [Red]jskyboo -echo ======= -echo Thanks to jskyboo for creating WiiMod. His app can do a lot of different -echo things, and it was the first ahbprot enabled WAD Manager to incorporate -echo davebaol's ahbprot bugfix. -echo. -support\sfk echo -spat \x20 [Red]diddy81 and symular syn of the Wii Theme Team -echo ============================================= -echo The Wii Theme Team has created some of the best Wii Themes ever made! -echo All of the alternative themes available in ModMii were created by them. -echo I want to thank diddy81 in particular for working with me to ensure that -echo all his themes worked perfectly for all regions. -echo. -support\sfk echo -spat \x20 [Red]FIX94, Narolez and the WiiXplorer Team -echo ====================================== -echo Thanks to all these people for their contributions in making the best -echo SD\USB forwarder. I want to thank FIX94 in particular who spent a lot -echo of time testing ModMii's Forwarder Builder... he might be young, -echo but he is wise beyond his years; just imagine what he'll be capable of -echo when he's old enought to vote! -echo. -support\sfk echo -spat \x20 [Green]You can send The WiiXplorer team donations via paypal: dimok@gmx.de -echo. -support\sfk echo -spat \x20 [Red]ModMii's Translators -echo ==================== -echo Tranlating ModMii is an enormous amount of work. It's very challenging -echo to get special characters to display correctly in a cmd window, not to -echo mention keeping everything formatted properly. But probably the most -echo difficult part of translating ModMii is keeping up with the updates. -echo If you use a translated version of ModMii, I encourage you to thank -echo your translator because it truly is a LOT of work to do. -echo. -echo French Translators: mamule, xav91 and ketufe -echo Dutch Translator: Hielkenator -echo Italian Translators: Wasabi, Step and Robylin -echo Spanish Translators: ledebene and Burton -echo. -if /i "%MENU1%" NEQ "CR" (echo Wait a few seconds to proceed...) & (@ping 127.0.0.1 -n 5 -w 1000> nul) -set /p CREDIT6= Press the "Enter" Key to continue: - -if /i "%CREDIT6%" EQU "B" goto:credit5 -if /i "%MENU1%" NEQ "CR" goto:credit7 -if /i "%CREDIT6%" EQU "M" goto:menu - -::------------ -:Credit7 -cls - -SET CREDIT7= - -echo ModMii v%currentversion% -echo by XFlak -echo. -echo CREDITS -echo =========== -echo. -support\sfk echo -spat \x20 [Red]Fig2k4 -echo ====== -echo Thanks Fig2k4 for WiiBackupManager. It was a pleasure beta testing it for you -echo and sharing my ideas with you. I hope to you around the forums again and that -echo you continue working on your amazing program. -echo. -support\sfk echo -spat \x20 [Green]You can send Fig2k4 donations via paypal: Fig2k4@googlemail.com -echo. -support\sfk echo -spat \x20 [Red]WiiShizzza and pepxl -echo ==================== -echo Thanks to WiiShizzza for creating ModMii's new icon and to pepxl for -echo creating ModMii's original icon. I want to thank everyone who created -echo a ModMii icon and submitted it into ModMii's new icon competition. -echo Type "icon" to open your browser to the icon submissions webpage and -echo see over 30 creative icons that people made. -echo. -support\sfk echo -spat \x20 [Red]My Fellow Guide Writers -echo ======================= -echo Thanks to tj_cool, xzxero, burritoboy9984, ChokeD and mauifrog for their -echo awesome Guides. I especially want to thank tj_cool and xzxero for inviting -echo me to join "The Crew" at the Complete Softmod Guide. I'll never forget how -echo great it felt to be relatively new to the scene and to be invited to join -echo you all as equals. -echo. -support\sfk echo -spat \x20 [Red]JoostinOnline -echo ============= -echo Thanks for determining the best cIOS configuration and for all his jokes; -echo I'll never get tired of our endless patriotic "debates". -echo. -support\sfk echo -spat \x20 [Red]DaMysteryMan -echo ============ -echo Thanks for helping me understand the structure of a cIOS so I could better -echo recreate it in WAD form. For those of you who don't know him, DaMysteryMan is -echo most well known for his ever controversial app - DarkCorp (formerly cIOSCorp). -echo. -support\sfk echo -spat \x20 [Red]person66 -echo ======== -echo Thanks for trading little bits of batch coding knowledge with me. It's great -echo having a fellow batch coder for a friend; we are a dying breed, so keep up -echo the great work with Universal Forwarder Creator and all your other projects. -echo. -if /i "%MENU1%" NEQ "CR" (echo Wait a few seconds to proceed...) & (@ping 127.0.0.1 -n 5 -w 1000> nul) -set /p CREDIT7= Press the "Enter" Key to continue: - -if /i "%CREDIT7%" EQU "icon" start http://gbatemp.net/index.php?showtopic=296772 -if /i "%CREDIT7%" EQU "icon" goto:Credit1 - -if /i "%CREDIT7%" EQU "B" goto:credit6 -if /i "%MENU1%" NEQ "CR" goto:credit8 -if /i "%CREDIT7%" EQU "M" goto:menu - -::------------ -:Credit8 -cls - -SET CREDIT8= - -echo ModMii v%currentversion% -echo by XFlak -echo. -echo CREDITS -echo =========== -echo. -support\sfk echo -spat \x20 [Red]Gannon -echo ====== -echo Thanks to Gannon for bootopera, which I was able to mod to create the URL -echo loader base dol. -echo. -support\sfk echo -spat \x20 [Red]Violator -echo ======== -echo He's my bro, my cuz, my best man and the reason I ever bought or modded a Wii. -echo "XFlak" would have died many years ago if not for him. Thanks Violator, for -echo getting me interested in this stuff, and for all the awesome music you -echo recorded for my Top Wii Channels! -echo. -support\sfk echo -spat \x20 [Red]WiiPower -echo ======== -echo WiiPower created Neogamma, hands down the best backup disc loader for the Wii. -echo He also modified WiiGators cMIOS and created what is today considered the -echo ultimate cMIOS. Furthermore he's contributed code to many other popular -echo usb-loaders and had a hand in adding IOS Reloading support to the d2x cIOSs. -echo. -support\sfk echo -spat \x20 [Red]Rodries -echo ======= -echo Thanks to Rodries for improving upon Hermes v5.1 cIOSs. -echo. -support\sfk echo -spat \x20 [Red]All My Beta Testers! -echo ==================== -echo It's because of you guys that ModMii is as stable as it is. Considering that -echo ModMii is developed entirely in notepad without any kind of debugger or -echo developer tools; it's pretty remarkable that ModMii has always been bug-free -echo (albeit with a couple minor exceptions). Thanks for your never-ending -echo devotion to quality control! -echo. -echo Here's a list of ModMii's current beta testing group (in no particular order): -echo scooby74029, DeadlyFoez, redia, Etheboss, JoostinOnline, person66, brausm08, -echo geovalley, undeadsquirrel, mauifrog, FIX94 and wolf. -echo. -support\sfk echo -spat \x20 [Red]You! -echo ==== -echo Without you, there would be no reason for ModMii to exist. -echo Thanks for using ModMii for all your Wii softmodding needs! -echo. -if /i "%MENU1%" NEQ "CR" (echo Wait a few seconds to proceed...) & (@ping 127.0.0.1 -n 5 -w 1000> nul) -set /p CREDIT8= Press the "Enter" Key to continue: - -if /i "%CREDIT8%" EQU "B" goto:credit7 -if /i "%MENU1%" NEQ "CR" goto:credit9 -if /i "%CREDIT8%" EQU "M" goto:menu - - - - -::------------ -:Credit9 -cls - -SET CREDIT9= - -echo ModMii v%currentversion% -echo by XFlak -echo. -echo CREDITS -echo =========== -echo. -echo SUPPORTING APPS -echo ------------------- -echo. -echo Below is a list of all the supporting apps bundled with ModMii. -echo Enter an app's number to open your browser to its webpage. -echo. -echo. -echo. -echo 1 = Ascii2All.bat (freeware) -echo 2 = 7za.exe (freeware) -echo 3 = d2x cIOS Modules (davebaol, xabby666, XFlak) -echo 4 = fvc.exe (freeware) -echo 5 = Hermes cIOS v4 mload Module -echo 6 = Hermes cIOS v5 mload Module -echo 7 = Hermes\Rodries cIOS v5.1R mload Module -echo 8 = Hexalter.exe (by kuwanger) -echo 9 = ISO template (by spayrosam) -echo 10 = jptch.exe (freeware) -echo 11 = libWiiSharp.dll (by Leathl, Mod by scooby74029) -echo 12 = nircmd.exe (freeware) -echo 13 = nusd.exe (by WiiNinja, original GUI code by WB3000) -echo 14 = NusFileGrabber.exe (by Leathl, Mod by XFlak) -echo 15 = patchIOS.exe (by Leathl, Mod by scooby74029) -echo 16 = sfk.exe (freeware) -echo 17 = ShowMiiWads_Sneek_Mod.exe (by Leathl, Mod by RetroHead) -echo 18 = settings.exe (by cwstjdenobs) -echo 19 = WadMii.exe (by cwstjdenobs) -echo 20 = Waninkoko's cIOS Modules -echo 21 = wget.exe (freeware) -echo 22 = wit.exe (by Wiimm) -echo 23 = writecbd.exe (by scooby74029) -echo. -echo All = Bundle of ModMii's Supporting App Sources -echo. -echo. - -if /i "%MENU1%" NEQ "CR" (echo Wait a few seconds to proceed...) & (@ping 127.0.0.1 -n 5 -w 1000> nul) -::set /p CREDIT9= Press the "Enter" Key to Return to the Main Menu: - -if /i "%MENU1%" NEQ "CR" (set /p CREDIT9= Press the "Enter" Key to View Your Download Log: ) else (set /p CREDIT9= Press the "Enter" Key to Return to the Main Menu: ) - -if /i "%CREDIT9%" EQU "B" goto:credit8 -::if /i "%CREDIT9%" EQU "M" goto:menu - - -if /i "%CREDIT9%" EQU "1" start www.batchlog.pytalhost.com -if /i "%CREDIT9%" EQU "1" goto:Credit9 - -if /i "%CREDIT9%" EQU "2" start http://sourceforge.net/projects/sevenzip -if /i "%CREDIT9%" EQU "2" goto:Credit9 - -if /i "%CREDIT9%" EQU "3" start http://gbatemp.net/t277659-ciosx-rev21d2x-v2-yet-another-hot-fix -if /i "%CREDIT9%" EQU "3" goto:Credit9 - -if /i "%CREDIT9%" EQU "4" start http://sourceforge.net/projects/fileverifier/files/fileverifier/0.6.3.5830 -if /i "%CREDIT9%" EQU "4" goto:Credit9 - -if /i "%CREDIT9%" EQU "5" start http://mods.elotrolado.net/~hermes/wii/cios_mload_source_install_3.6.rar -if /i "%CREDIT9%" EQU "5" goto:Credit9 - -if /i "%CREDIT9%" EQU "6" start http://mods.elotrolado.net/~hermes/wii/cios_mload_source_install_4.0.rar -if /i "%CREDIT9%" EQU "6" goto:Credit9 - -if /i "%CREDIT9%" EQU "7" start http://gbatemp.net/t298741-hermes-cios-installer-v5-1-mod-by-rodries -if /i "%CREDIT9%" EQU "7" goto:Credit9 - -if /i "%CREDIT9%" EQU "8" start http://goo.gl/XTT2Y -if /i "%CREDIT9%" EQU "8" goto:Credit9 - -if /i "%CREDIT9%" EQU "9" start http://goo.gl/0L40U -if /i "%CREDIT9%" EQU "9" goto:Credit9 - -if /i "%CREDIT9%" EQU "10" start http://sourceforge.net/projects/jojodiff -if /i "%CREDIT9%" EQU "10" goto:Credit9 -if /i "%CREDIT9%" EQU "11" start http://code.google.com/p/libwiisharp/source/browse -if /i "%CREDIT9%" EQU "11" goto:Credit9 -if /i "%CREDIT9%" EQU "12" start http://www.nirsoft.net/utils/nircmd.html -if /i "%CREDIT9%" EQU "12" goto:Credit9 -if /i "%CREDIT9%" EQU "13" start http://gbatemp.net/index.php?showtopic=153341 -if /i "%CREDIT9%" EQU "13" goto:Credit9 -if /i "%CREDIT9%" EQU "14" start http://code.google.com/p/libwiisharp/source/browse/#svn/branches/NusFileGrabber -if /i "%CREDIT9%" EQU "14" goto:Credit9 -if /i "%CREDIT9%" EQU "15" start http://code.google.com/p/libwiisharp/source/browse/#svn/branches/patchIOS -if /i "%CREDIT9%" EQU "15" goto:Credit9 -if /i "%CREDIT9%" EQU "16" start http://sourceforge.net/projects/swissfileknife/files/1-swissfileknife -if /i "%CREDIT9%" EQU "16" goto:Credit9 -if /i "%CREDIT9%" EQU "17" (echo Source included with ModMii's Supporting App Sources "All"...) & (@ping 127.0.0.1 -n 2 -w 1000> nul) & (goto:Credit9) -if /i "%CREDIT9%" EQU "18" (echo Source included with ModMii's Supporting App Sources "All"...) & (@ping 127.0.0.1 -n 2 -w 1000> nul) & (goto:Credit9) -if /i "%CREDIT9%" EQU "19" start http://www.mediafire.com/?bogjind5oe3 -if /i "%CREDIT9%" EQU "19" goto:Credit9 -if /i "%CREDIT9%" EQU "20" start http://github.com/waninkoko -if /i "%CREDIT9%" EQU "20" goto:Credit9 -if /i "%CREDIT9%" EQU "21" start http://ftp.gnu.org/gnu/wget/ -if /i "%CREDIT9%" EQU "21" goto:Credit9 -if /i "%CREDIT9%" EQU "22" start http://wit.wiimm.de -if /i "%CREDIT9%" EQU "22" goto:Credit9 - -if /i "%CREDIT9%" EQU "23" (echo Source included with ModMii's Supporting App Sources "All"...) & (@ping 127.0.0.1 -n 2 -w 1000> nul) & (goto:Credit9) - -if /i "%CREDIT9%" EQU "All" start http://code.google.com/p/modmii/downloads/list?can=2^&q=rar^&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount -if /i "%CREDIT9%" EQU "All" goto:Credit9 - - -if /i "%MENU1%" EQU "CR" goto:menu -if /i "%MENUREAL%" EQU "S" goto:finishsneekinstall3 -if /i "%MENU1%" EQU "S" goto:finishsneekinstall3 -goto:Finish2 - ::..................................................OPTIONS.................................................. @@ -3534,6 +2943,10 @@ if /i "%FWDOPTION%" EQU "OFF" echo FWD = Install USB-Loader Forwarder in if /i "%FWDOPTION%" EQU "ON" echo FWD = Install USB-Loader Forwarder in ModMii Wizard Guides (Enabled) echo. +if /i "%AudioOption%" EQU "OFF" echo SO = Play sound at at Finish (Disabled) +if /i "%AudioOption%" EQU "ON" echo SO = Play sound at at Finish (Enabled) +echo. + if /i "%ModMiiverbose%" EQU "off" echo V = Verbose Output maximized when using wget or Sneek Installer (Disabled) if /i "%ModMiiverbose%" EQU "on" echo V = Verbose Output maximized when using wget or Sneek Installer (Enabled) echo. @@ -3568,7 +2981,7 @@ if exist Custom.md5 echo C3 = Delete Custom.md5 echo. if /i "%AUTOUPDATE%" EQU "OFF" echo A = Auto-Update ModMii at program start (Disabled) if /i "%AUTOUPDATE%" EQU "ON" echo A = Auto-Update ModMii at program start (Enabled) -echo. +::echo. echo N = Check for New versions of ModMii right now echo. echo S = Save Settings R = Restore Default Settings M = Main Menu @@ -3584,6 +2997,7 @@ if /i "%OPTIONS%" EQU "1" goto:Option1 if /i "%OPTIONS%" EQU "N" goto:UpdateModMii if /i "%OPTIONS%" EQU "A" goto:AutoUpdate if /i "%OPTIONS%" EQU "36" goto:Option36 +if /i "%OPTIONS%" EQU "36" goto:AudioOption if /i "%OPTIONS%" EQU "CM" goto:CMIOSOPTION if /i "%OPTIONS%" EQU "FWD" goto:FWDOPTION if /i "%OPTIONS%" EQU "sv" goto:OptionSneekverbose @@ -3654,6 +3068,7 @@ set effect=No-Spin set PCSAVE=Auto set OPTION1=off set OPTION36=on +set AudioOption=on set CMIOSOPTION=off set FWDOPTION=on set Drive=COPY_TO_SD @@ -3708,6 +3123,7 @@ echo Set effect=%effect%>> Support\settings.bat echo Set PCSAVE=%PCSAVE%>> Support\settings.bat echo Set Option1=%Option1%>> Support\settings.bat echo Set OPTION36=%OPTION36%>> Support\settings.bat +echo Set AudioOption=%AudioOption%>> Support\settings.bat echo Set CMIOSOPTION=%CMIOSOPTION%>> Support\settings.bat echo Set FWDOPTION=%FWDOPTION%>> Support\settings.bat echo Set Drive=%DRIVE%>> Support\settings.bat @@ -3789,6 +3205,12 @@ goto:OPTIONS Set OPTION36=OFF goto:OPTIONS + +:AudioOption +if /i "%AudioOption%" EQU "ON" (set AudioOption=OFF) else (set AudioOption=ON) +goto:options + + :CMIOSOPTION if /i "%CMIOSOPTION%" EQU "ON" goto:CMIOSOPTIONoff Set CMIOSOPTION=ON @@ -4154,11 +3576,11 @@ echo. set /p Drivetemp= Enter Selection Here: ::remove quotes from variable (if applicable) -echo "set DRIVETEMP=%DRIVETEMP%">temp.txt -support\sfk filter -quiet temp.txt -rep _""""__>temp.bat -call temp.bat -del temp.bat>nul -del temp.txt>nul +echo "set DRIVETEMP=%DRIVETEMP%">temp\temp.txt +support\sfk filter -quiet temp\temp.txt -rep _""""__>temp\temp.bat +call temp\temp.bat +del temp\temp.bat>nul +del temp\temp.txt>nul @@ -4277,11 +3699,11 @@ set /p DriveUtemp= Enter Selection Here: ::remove quotes from variable (if applicable) -echo "set DRIVEUTEMP=%DRIVEUTEMP%">temp.txt -support\sfk filter -quiet temp.txt -rep _""""__>temp.bat -call temp.bat -del temp.bat>nul -del temp.txt>nul +echo "set DRIVEUTEMP=%DRIVEUTEMP%">temp\temp.txt +support\sfk filter -quiet temp\temp.txt -rep _""""__>temp\temp.bat +call temp\temp.bat +del temp\temp.bat>nul +del temp\temp.txt>nul if /i "%DRIVEUTEMP%" EQU "M" goto:MENU @@ -4390,7 +3812,8 @@ if %currentversion% EQU %newversion% (echo This ver ::openchangelog -start http://5dca4ce5.miniurls.co/ +if /i "%Trigger%" EQU "1" (start http://modmii.zzl.org/changelog.html) else (start http://5dca4ce5.miniurls.co/) + :updateconfirm set updatenow= @@ -4486,7 +3909,6 @@ if /i "%MENU1%" EQU "O" (goto:OPTIONS) else (goto:menu) - ::-------------------------------File Cleanup------------------------------------ :FileCleanup cls @@ -7072,6 +6494,9 @@ if exist temp\list2.txt del temp\list2.txt>nul if /i "%neek2o%" EQU "ON" (set googlecode=custom-di) & (set neekname=neek2o) if /i "%neek2o%" NEQ "ON" (set googlecode=sneeky-compiler) & (set neekname=neek) +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" goto:quickskip2 + echo Checking which %neekname% versions are hosted online... @@ -7180,25 +6605,24 @@ if %neekrev% LSS 1 goto:badkey if /i %neekrev% GTR %RevCount% goto:badkey - :getcurrentrev ::---------------CMD LINE MODE------------- if /i "%cmdlinemode%" NEQ "Y" goto:cmdskip -if "%neekrev%"=="" goto:quickskip +if "%neekrev%"=="" goto:quickskip2 :cmdskip ::----get selected %currentrev%---- set RevCount2=0 ::Loop through the the following once for EACH line in *.txt for /F "tokens=*" %%A in (temp\list.txt) do call :processlist2 %%A -goto:quickskip +goto:quickskip2 :processlist2 set CurrentRev=%* set /a RevCount2=%RevCount2%+1 -if /i "%RevCount2%" EQU "%neekrev%" goto:quickskip +if /i "%RevCount2%" EQU "%neekrev%" goto:quickskip2 goto:EOF -:quickskip +:quickskip2 ::---------------CMD LINE MODE------------- @@ -8193,9 +7617,9 @@ if /i "%SNEEKSELECT%" EQU "5" echo You are about to make the following chan if /i "%SNEEKSELECT%" NEQ "3" goto:notalsoinstalling if /i "%SNEEKTYPE%" EQU "SD" echo You are about to install %neekname%: SNEEK+DI Rev%CurrentRev% and build a %SNKVERSION%%SNKREGION% Emulated Nand -if /i "%SNEEKTYPE%" EQU "UD" echo You are about to install UNEEK+DI Rev%CurrentRev% and build a %SNKVERSION%%SNKREGION% Emulated Nand -if /i "%SNEEKTYPE%" EQU "S" echo You are about to install SNEEK Rev%CurrentRev% and build a %SNKVERSION%%SNKREGION% Emulated Nand -if /i "%SNEEKTYPE%" EQU "U" echo You are about to install UNEEK Rev%CurrentRev% and build a %SNKVERSION%%SNKREGION% Emulated Nand +if /i "%SNEEKTYPE%" EQU "UD" echo You are about to install %neekname%: UNEEK+DI Rev%CurrentRev% and build a %SNKVERSION%%SNKREGION% Emulated Nand +if /i "%SNEEKTYPE%" EQU "S" echo You are about to install %neekname%: SNEEK Rev%CurrentRev% and build a %SNKVERSION%%SNKREGION% Emulated Nand +if /i "%SNEEKTYPE%" EQU "U" echo You are about to install %neekname%: UNEEK Rev%CurrentRev% and build a %SNKVERSION%%SNKREGION% Emulated Nand echo. if /i "%neek2o%" EQU "on" echo neek2o Enabled (can be changed in options) @@ -8364,10 +7788,10 @@ if /i "%SNKNANDCONFIRM%" EQU "M" goto:MENU if /i "%AbstinenceWiz%" NEQ "Y" goto:NotAbstinenceWiz if /i "%SNKNANDCONFIRM%" EQU "G" (set secondrun=) & (set SETTINGS=G) & (goto:Download) -if /i "%SNKNANDCONFIRM%" EQU "Y" (set secondrun=) & (set SETTINGS=) & (goto:Download) +if /i "%SNKNANDCONFIRM%" EQU "Y" (set secondrun=) & (set SETTINGS=) & (goto:creditcheck) :NotAbstinenceWiz -if /i "%SNEEKSELECT%" EQU "1" goto:skip +if /i "%SNEEKSELECT%" EQU "1" goto:skip5 if /i "%SNKNANDCONFIRM%" EQU "A" goto:addwadfolder if /i "%SNKNANDCONFIRM%" EQU "R" (set addwadfolder=) & (goto:SNKNANDCONFIRM) @@ -8375,10 +7799,7 @@ if /i "%SNEEKSELECT%" NEQ "5" goto:skip5 if /i "%emuitems%" EQU "0" goto:badkey :skip5 -if /i "%SNEEKSELECT%" EQU "3" goto:skip -if /i "%SNKNANDCONFIRM%" EQU "Y" goto:SNKNANDBUILDER -:skip -if /i "%SNKNANDCONFIRM%" EQU "Y" goto:SNEEKINSTALLER +if /i "%SNKNANDCONFIRM%" EQU "Y" goto:creditcheck :badkey @@ -8387,6 +7808,69 @@ echo You Have Entered an Incorrect Key goto:SNKNANDCONFIRM + + +:creditcheck +::force non-donators to view credits (but not in cmd line mode) +if /i "%Trigger%" EQU "1" goto:skipcreditcheck +if /i "%cmdlinemode%" EQU "Y" goto:skipcreditcheck + +start http://99acb462.miniurls.co + +cls + +echo ModMii v%currentversion% +echo by XFlak +echo. +echo. +support\sfk echo -spat \x20 \x20 \x20 \x20 [Yellow]Non-Donators must view the Credits for 60 seconds before downloading +echo. +echo. +echo If you donate $1 or more to XFlak40@hotmail.com, as my way of saying thanks I'll +echo reply to you via email with a functional Easter Egg guaranteed to be helpful +echo every time you use ModMii. +echo. +echo I will still email you ModMii's Easter Egg if you prefer to donate to someone else +echo listed in the credits ONLY IF you ask THEM to send confirmation of your donation +echo to XFlak40@hotmail.com. +echo. +echo. +support\sfk echo -spat \x20 [Green]ModMii Donations can be sent via paypal to: \x20 XFlak40@hotmail.com +echo. +echo. + +echo 60 seconds remaining... +support\nircmd.exe wait 10000 + +echo. +echo 50 seconds remaining... +support\nircmd.exe wait 10000 + +echo. +echo 40 seconds remaining... +support\nircmd.exe wait 10000 + +echo. +echo 30 seconds remaining... +support\nircmd.exe wait 10000 + +echo. +echo 20 seconds remaining... +support\nircmd.exe wait 10000 + +echo. +echo 10 seconds remaining... +support\nircmd.exe wait 10000 +:skipcreditcheck + + +if /i "%AbstinenceWiz%" EQU "Y" goto:Download +if /i "%SNEEKSELECT%" EQU "1" goto:SNEEKINSTALLER +if /i "%SNEEKSELECT%" EQU "3" goto:SNEEKINSTALLER +if /i "%SNEEKSELECT%" EQU "2" goto:SNKNANDBUILDER +goto:DLSETTINGS + + ::-----------------------------------Add WAD Folder to Install to emunand---------------------------------- :addwadfolder set addwadfolder= @@ -8958,7 +8442,7 @@ if exist "%DRIVETEMP%\title\00000001\00000002\content\1%SMAPP:~1%.app" (set PRII ::check for current nswitch channel set nSwitchFOUND=NO set nswitchmd5=9f5ee8d0ea57c144c07d685ef0dee4da -if exist "temp\DBUPDATE%currentversion%.bat" call "temp\DBUPDATE%currentversion%.bat" +::if exist "temp\DBUPDATE%currentversion%.bat" call "temp\DBUPDATE%currentversion%.bat" if not exist "%DRIVETEMP%\title\00010001\4e4b324f\content\00000001.app" goto:nonswitchcheck support\sfk md5 -quiet -verify %nswitchmd5% "%DRIVETEMP%\title\00010001\4e4b324f\content\00000001.app" if not errorlevel 1 set nSwitchFOUND=YES @@ -8972,7 +8456,7 @@ set BCtype= set BCmd5=eb1b69f3d747145651aa834078c2aacd set DMLmd5=88720d0de8c7db7bf00f5053b76ae66b set NMMmd5=8663c24ab33540af6a818920a3a47c4a -if exist "temp\DBUPDATE%currentversion%.bat" call "temp\DBUPDATE%currentversion%.bat" +::if exist "temp\DBUPDATE%currentversion%.bat" call "temp\DBUPDATE%currentversion%.bat" if not exist "%DRIVETEMP%\title\00000001\00000100\content\00000008.app" (set BCtype=None) & (goto:noBCcheck) @@ -10426,7 +9910,7 @@ echo %usbfolder% CFG = CFG-Loader (Full v249) %WiiMC% WMC = WiiMC echo %cfg249% CFG249 = CFG-Loader (Beta v249) %fceugx% NES = FCEUGX (NES Emulator) echo %cfg222% CFG222 = CFG-Loader (Beta v222) %snes9xgx% SNES = SNES9xGX (SNES Emulator) echo %cfgr% CFGR = Configurator-CFG-Loader %vbagx% VBA = VBAGX (GB/GBA Emulator) -echo %FLOW% FLOW = WiiFlow %WII64% W64 = Wii64 beta1.1 (N64 Emulator) +echo %FLOW% FLOW = WiiFlow %WII64% W64 = Wii64 beta1.1 (N64 Emulator) echo %USBX% USBX = USB-Loader Fwdr Chnl %WIISX% WSX = WiiSX beta2.1 (PS1 Emulator) echo %neogamma% NEO = Neogamma Backup Disc Loader %HBB% HBB = Homebrew Browser echo %CheatCodes% CC = %cheatregion% Region Cheat Codes %SGM% SGM = SaveGame Manager GX @@ -15148,7 +14632,8 @@ echo Enter the path\name of your sysCheck.csv log that you want to analyze. echo. echo. echo You can do this by dragging and dropping the file onto this window -echo then hitting Enter. +echo then hitting Enter. Or you can just drag and drop it onto ModMii.exe +echo or a shortcut to ModMii. echo. echo. echo. @@ -16235,7 +15720,7 @@ SET DLQUEUEtotal=0 for /f "delims=" %%i in (temp\list.txt) do set /a DLQUEUEtotal=!DLQUEUEtotal!+1 setlocal DISABLEDELAYEDEXPANSION -SET /a LINES=%DLQUEUEtotal%+27 +SET /a LINES=%DLQUEUEtotal%+29 if %LINES% LEQ 54 goto:noresize mode con cols=85 lines=%LINES% :noresize @@ -16252,7 +15737,31 @@ echo. echo. -if /i "%DLQUEUEtotal%" EQU "0" (echo No Download Queues were found, returning to Main Menu...) & (@ping 127.0.0.1 -n 2 -w 1000> nul) & (goto:MENU) +if /i "%DLQUEUEtotal%" NEQ "0" goto:notzero + +echo No Download Queues Found +echo. +echo Before you can load a queue you have to save one using ModMii +echo Or if loading a queue a friend has shared with you, just drag +echo and drop it onto ModMii.exe or a shortcut to ModMii. +echo. +echo. +echo Note: Download Queues are saved to "temp\DownloadQueues" +echo and can be shared amongst different ModMii users. +echo. +echo You can drag and drop a download queue onto ModMii.exe +echo to load it and save a copy to "temp\DownloadQueues" +echo for future use. To delete a queue from the above list +echo just delete the appropriate file from "temp\DownloadQueues" +echo. +echo. +echo Press any key to return to the Main Menu. +echo. +pause>nul +goto:MENU + +:notzero + echo. set DLQUEUEnum=0 @@ -16271,7 +15780,10 @@ echo. echo. echo Note: Download Queues are saved to "temp\DownloadQueues" echo and can be shared amongst different ModMii users. -echo If you want to delete a queue from the above list +echo. +echo You can drag and drop a download queue onto ModMii.exe +echo to load it and save a copy to "temp\DownloadQueues" +echo for future use. To delete a queue from the above list echo just delete the appropriate file from "temp\DownloadQueues" echo. echo. @@ -16305,6 +15817,12 @@ goto:EOF :quickskip del temp\list.txt>nul + + +findStr /I /C:":endofqueue" "temp\DownloadQueues\%CurrentQueue%" >nul +IF ERRORLEVEL 1 (echo Not a valid download queue...) & (goto:badkey) + + mode con cols=85 lines=54 :forcmdlineL call "temp\DownloadQueues\%CurrentQueue%" @@ -16628,7 +16146,7 @@ if /i "%usbfolder%" EQU "*" (echo "Configurable USB-Loader (Most recent Full 249 if /i "%cfg249%" EQU "*" (echo "Configurable USB Loader (Most recent 249 version)">>temp\DLnames.txt) & (echo "cfg249">>temp\DLgotos.txt) if /i "%cfg222%" EQU "*" (echo "Configurable USB Loader (Most recent 222 version)">>temp\DLnames.txt) & (echo "cfg222">>temp\DLgotos.txt) if /i "%cfgr%" EQU "*" (echo "Configurator for Configurable USB Loader (Most recent version)">>temp\DLnames.txt) & (echo "cfgr">>temp\DLgotos.txt) -if /i "%FLOW%" EQU "*" (echo "WiiFlow">>temp\DLnames.txt) & (echo "FLOW">>temp\DLgotos.txt) +if /i "%FLOW%" EQU "*" (echo "WiiFlow (Most recent version)">>temp\DLnames.txt) & (echo "FLOW">>temp\DLgotos.txt) if /i "%neogamma%" EQU "*" (echo "Neogamma Backup Disc Loader">>temp\DLnames.txt) & (echo "neogamma">>temp\DLgotos.txt) if /i "%AccioHacks%" EQU "*" (echo "Accio Hacks">>temp\DLnames.txt) & (echo "AccioHacks">>temp\DLgotos.txt) if /i "%CheatCodes%" EQU "*" (echo "%cheatregion% Region Cheat Codes: txtcodes from geckocodes.org">>temp\DLnames.txt) & (echo "CheatCodes">>temp\DLgotos.txt) @@ -16997,7 +16515,7 @@ if /i "%MENU1%" NEQ "L" goto:notbatch if /i "%SETTINGS%" EQU "A" mode con cols=85 lines=54 if /i "%SETTINGS%" EQU "A" goto:LIST if /i "%DLTOTAL%" EQU "0" goto:badkey -if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:DLSETTINGS) +if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:creditcheck) :notbatch @@ -17005,7 +16523,7 @@ if /i "%MENU1%" NEQ "1" goto:notbatch if /i "%SETTINGS%" EQU "A" mode con cols=85 lines=54 if /i "%SETTINGS%" EQU "A" goto:%BACKB4QUEUE% if /i "%DLTOTAL%" EQU "0" goto:badkey -if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:DLSETTINGS) +if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:creditcheck) :notbatch if /i "%MENU1%" NEQ "2" goto:notoldbatch @@ -17013,7 +16531,7 @@ if /i "%SETTINGS%" EQU "A" mode con cols=85 lines=54 if /i "%SETTINGS%" EQU "A" set lines=54 if /i "%SETTINGS%" EQU "A" goto:%BACKB4QUEUE% if /i "%DLTOTAL%" EQU "0" goto:badkey -if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:DLSETTINGS) +if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:creditcheck) :notoldbatch if /i "%MENU1%" NEQ "3" goto:NotBatchApp @@ -17021,7 +16539,7 @@ if /i "%SETTINGS%" EQU "A" mode con cols=85 lines=54 if /i "%SETTINGS%" EQU "A" set lines=54 if /i "%SETTINGS%" EQU "A" goto:%BACKB4QUEUE% if /i "%DLTOTAL%" EQU "0" goto:badkey -if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:DLSETTINGS) +if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:creditcheck) :NotBatchApp if /i "%MENU1%" NEQ "4" goto:NotLIST4 @@ -17029,7 +16547,7 @@ if /i "%SETTINGS%" EQU "A" mode con cols=85 lines=54 if /i "%SETTINGS%" EQU "A" set lines=54 if /i "%SETTINGS%" EQU "A" goto:%BACKB4QUEUE% if /i "%DLTOTAL%" EQU "0" goto:badkey -if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:DLSETTINGS) +if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:creditcheck) :NotLIST4 if /i "%MENU1%" NEQ "A" goto:NotAdv @@ -17037,7 +16555,7 @@ if /i "%SETTINGS%" EQU "A" mode con cols=85 lines=54 if /i "%SETTINGS%" EQU "A" set lines=54 if /i "%SETTINGS%" EQU "A" goto:%BACKB4QUEUE% if /i "%DLTOTAL%" EQU "0" goto:badkey -if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:DLSETTINGS) +if /i "%SETTINGS%" EQU "Y" (mode con cols=85 lines=54) & (goto:creditcheck) :NotAdv if /i "%DLTOTAL%" EQU "0" goto:badkey @@ -17596,9 +17114,9 @@ if /i "%FINISH%" EQU "S+" goto:FINISH ::...................................Copy (rename %Drive%\wad if applicable)............................... :COPY -if not exist "%Drive%"\WAD goto:DLSettings -if /i "%USBCONFIG%" EQU "USB" goto:DLSettings -::if /i "%DRIVE%" NEQ "COPY_TO_SD" goto:DLSettings +if not exist "%Drive%"\WAD goto:creditcheck +if /i "%USBCONFIG%" EQU "USB" goto:creditcheck +::if /i "%DRIVE%" NEQ "COPY_TO_SD" goto:creditcheck Set COPY= @@ -17620,7 +17138,7 @@ echo E = Exit echo. set /p COPY= Enter Selection Here: -if /i "%COPY%" EQU "M" goto:DLSettings +if /i "%COPY%" EQU "M" goto:creditcheck if /i "%COPY%" EQU "E" EXIT if /i "%COPY%" EQU "C" goto:MENU @@ -17631,13 +17149,14 @@ if /i "%COPY%" NEQ "R" goto:COPY :COPY2 SET /a COUNT=%COUNT%+1 if exist "%Drive%"\WAD%COUNT% goto:COPY2 -move "%Drive%"\WAD "%Drive%"\WAD%COUNT%>nul -::rename "%Drive%"\WAD WAD%COUNT% +::move "%Drive%"\WAD "%Drive%"\WAD%COUNT%>nul +rename "%Drive%"\WAD WAD%COUNT% + if /i "%LIST%" EQU "R" goto:LIST if /i "%OLDLIST%" EQU "R" goto:OLDLIST if /i "%list3%" EQU "R" goto:LIST3 if /i "%list4%" EQU "R" goto:LIST4 -goto:DLSETTINGS +goto:creditcheck ::.................................................ACTUAL DOWNLOAD CODE........................................................................... @@ -17651,7 +17170,7 @@ set attempt=1 ::DBUPDATE.bat check (added in v4.5.0) ::instead of putting out ModMii updates for minor things, the update check can be used to create\download a DBUPDATE.bat file to modify variables like "wadname", "md5", etc. -if exist "temp\DBUPDATE%currentversion%.bat" call "temp\DBUPDATE%currentversion%.bat" +::if exist "temp\DBUPDATE%currentversion%.bat" call "temp\DBUPDATE%currentversion%.bat" @@ -17682,7 +17201,8 @@ echo. ::---------------SKIN MODE------------- if /i "%SkinMode%" NEQ "Y" goto:notskin -if "%percent%"=="" set percent=0 +if /i "%CURRENTDL%" EQU "1" set percent=0 +::if "%percent%"=="" set percent=0 set percentlast=%percent% set /a percent=%CURRENTDL%00/%DLTOTAL% if %percent% LSS %percentlast% set percent=%percentlast% @@ -19148,7 +18668,7 @@ echo. set ThemeMiiZip=thememii_cmd_3.5NetFramework.zip set md5TMCL=641eadbcbb9970f066d7852286f03133 -if exist "temp\DBUPDATE%currentversion%.bat" call "temp\DBUPDATE%currentversion%.bat" +::if exist "temp\DBUPDATE%currentversion%.bat" call "temp\DBUPDATE%currentversion%.bat" ::----if exist and fails md5 check, delete and redownload---- @@ -19877,12 +19397,15 @@ echo This app already exists... ::get current version if app already exists, skip if its the most recent version support\sfk filter -quiet "%DRIVE%\%path1%\meta.xml" -+"version" >temp\currentcode.txt -if /i "%path1%" NEQ "apps\postloader\" support\sfk filter -quiet temp\currentcode.txt -!"app version" -write -yes -support\sfk filter -quiet temp\currentcode.txt -+"version" -!"xml version" -rep _"*rev"__ -rep _"*R"__ -rep _""*__ -write -yes + +support\sfk filter -quiet temp\currentcode.txt -+"version" -!"app version" -!"xml version" -rep _"*rev"__ -rep _"*R"__ -rep _""*__ -rep _*"\x3e"__ -write -yes + set /p currentcode= nul @@ -19908,16 +19433,15 @@ goto:skippostloaderfilter :WiiFlowfilter -support\sfk filter -spat -quiet code.bat -+"feature" -!"deprec" -rep _"*open-wiiflow-mod.googlecode.com/files/Wiiflow\x5fMod\x5fsvn\x5fr"_"set newcode="_ -rep _".zip*"__ -write -yes -support\sfk filter -spat -quiet code.bat -ls+"set newcode" -rep _*\x3d__ -write -yes -support\sfk filter -quiet code.bat -unique -write -yes +support\sfk filter -quiet code.bat ++"zip" -rep _.zip*__ -write -yes +support\sfk filter -spat -quiet code.bat -rep _*r__ -write -yes set /p newcode= nul +if not exist "Wiiflow_svn_r%newcode%%code2%" goto:miniskip +support\7za X -aoa "Wiiflow_svn_r%newcode%%code2%" -o"%Drive%" -r +del "Wiiflow_svn_r%newcode%%code2%">nul goto:skip :miniskip @@ -20029,9 +19553,11 @@ goto:DOWNLOADSTART2 :checkexisting ::get current version from meta.xml support\sfk filter -quiet "%DRIVE%\%path1%\meta.xml" -+"version" >temp\currentcode.txt -if /i "%path1%" NEQ "apps\postloader\" support\sfk filter -quiet temp\currentcode.txt -!"app version" -write -yes -support\sfk filter -quiet temp\currentcode.txt -+"version" -!"xml version" -rep _"*rev"__ -rep _"*R"__ -rep _""*__ -write -yes + +support\sfk filter -quiet temp\currentcode.txt -+"version" -!"app version" -!"xml version" -rep _"*rev"__ -rep _"*R"__ -rep _""*__ -rep _*"\x3e"__ -write -yes + set /p currentcode= temp\%wadname:~0,-4%\sinst.ini echo. +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 15 + + + echo Downloading Autoit if exist temp\autoit3.exe goto:AlreadyinTemp if not exist autoit-v3-sfx.exe start %ModMiimin%/wait support\wget -t 3 http://www.autoitscript.com/cgi-bin/getfile.pl?autoit3/autoit-v3-sfx.exe if exist autoit-v3-sfx.exe support\7za e -aoa autoit-v3-sfx.exe -otemp autoit3.exe -r if exist autoit-v3-sfx.exe del autoit-v3-sfx.exe>nul +if not exist temp\autoit3.exe goto:sneekwarning :AlreadyinTemp echo. +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 30 + + echo Downloading 0000000e.app from IOS80 if exist temp\0000000e_IOS80.app goto:AlreadyinTemp @@ -22053,6 +21589,12 @@ copy /Y temp\0000000e_IOS80.app temp\0000000e.app>nul if not exist temp\0000000e.app goto:sneekwarning echo. + + +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 45 + + if /i "%SNEEKTYPE%" EQU "SD" goto:DL01 if /i "%SNEEKTYPE%" EQU "UD" goto:DL01 goto:skipDL01 @@ -22069,6 +21611,11 @@ echo. :skipDL01 +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 60 + + + ::FONT.BIN if /i "%SNKFONT%" EQU "B" echo Downloading Black font.bin (this can be changed to White in Options) if /i "%SNKFONT%" EQU "W" echo Downloading White font.bin (this can be changed to Black in Options) @@ -22113,6 +21660,8 @@ findStr /I /C:"Everything is Ok" "temp\7zalog.txt" >nul IF ERRORLEVEL 1 (Corrupted archive detected and deleted, please try again..) & (del temp\7zalog.txt>nul) & (del "temp\%neekname%\%neekname%-rev%CurrentRev%.zip">nul) & (goto:sneekwarning) del temp\7zalog.txt>nul +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 75 ::Sneek SD Card Access if /i "%SSD%" EQU "on" move /y "temp\esmodule-sdon.elf" "temp\esmodule.elf">nul @@ -22178,6 +21727,11 @@ taskkill /im SneekInstaller.exe /f >nul del custom.au3>nul +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 100 + + + if /i "%AbstinenceWiz%" EQU "Y" move /y "%DRIVE%\bootmii\armboot.bin" "%DRIVE%\bootmii_ios.bin">nul if /i "%AbstinenceWiz%" EQU "Y" rd /s /q "%DRIVE%\bootmii" if /i "%AbstinenceWiz%" EQU "Y" goto:norename @@ -22284,20 +21838,29 @@ goto:finishsneekinstall3 ::---------------CMD LINE MODE------------- if /i "%cmdlinemode%" NEQ "Y" goto:notcmdfinish + +echo Some files required for %neekname% installation >temp\ModMii_CMD_LINE_NEEK_Errors.txt +echo are missing. Aborting %neekname% installation, >>temp\ModMii_CMD_LINE_NEEK_Errors.txt +echo check your internet connection then try again. >>temp\ModMii_CMD_LINE_NEEK_Errors.txt + +if /i "%SKINmode%" NEQ "Y" start notepad "temp\ModMii_CMD_LINE_NEEK_Errors.txt" + +if /i "%SNEEKSELECT%" EQU "3" goto:SNKNANDBUILDER + if exist support\settings.bak move /y support\settings.bak support\settings.bat>nul -echo WARNING: Some files Required for the SNEEK install are missing. >temp\ModMii_CMD_LINE_Log_Errors.txt -echo Aborting SNEEK Installation, check your internet connection >>temp\ModMii_CMD_LINE_Log_Errors.txt -echo Then repeat the SNEEK Installation to try again. >>temp\ModMii_CMD_LINE_Log_Errors.txt -start notepad "temp\ModMii_CMD_LINE_Log_Errors.txt" exit :notcmdfinish echo. -support\sfk echo -spat \x20 [Yellow] WARNING: Some files Required for the SNEEK install are missing. -support\sfk echo -spat \x20 \x20 \x20 \x20 [Yellow] Aborting SNEEK Installation, check your internet connection -support\sfk echo -spat \x20 \x20 \x20 \x20 [Yellow] Then repeat the SNEEK Installation to try again. +support\sfk echo -spat \x20 [Yellow] WARNING: Some files Required for the %neekname% install are missing. +support\sfk echo -spat \x20 \x20 \x20 \x20 [Yellow] Aborting %neekname% Installation, check your internet connection +support\sfk echo -spat \x20 \x20 \x20 \x20 [Yellow] Then repeat the Installation to try again. echo. +if /i "%SKINmode%" EQU "Y" goto:noaudio +if /i "%AudioOption%" NEQ "on" goto:noaudio +start support\nircmd.exe mediaplay 3000 "support\FAIL.mp3" +:noaudio echo Press any key to return to the Main Menu. pause>nul @@ -22408,6 +21971,14 @@ if /i "%SNEEKSELECT%" NEQ "5" goto:tinyskip if /i "%emuwadcount%" EQU "0" goto:skipSMWall :tinyskip + + +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 10 + + + + echo Loading ShowMiiWads echo. echo installing wads from: temp\WAD\ @@ -22426,6 +21997,11 @@ SMW-Mod.exe cd.. :skipSMWall + +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 50 + + ::---delete non-temp files--- if exist temp\WAD\JoyFlowHNv11c-HBJF.wad del temp\WAD\JoyFlowHNv11c-HBJF.wad>nul if exist temp\WAD\switch2uneek(emulators)-4EMUNand-v11c-S2RL.wad del temp\WAD\switch2uneek(emulators)-4EMUNand-v11c-S2RL.wad>nul @@ -22483,6 +22059,11 @@ if exist "%nandpath%"\title\00000001\00000002\data\setting.txt (echo setting.txt :skip + +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 60 + + if "%ThemeSelection%"=="" goto:quickskip2 if /i "%ThemeSelection%" EQU "N" goto:quickskip if /i "%ThemeSelection%" EQU "D" goto:quickskip @@ -22532,6 +22113,10 @@ if not exist "%DRIVEU%\wbfs" mkdir "%DRIVEU%\wbfs" >nul :notDI +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 70 + + if /i "%SNEEKSELECT%" EQU "5" goto:skip ::---------building cdf.vff---------- echo. @@ -22544,6 +22129,10 @@ if exist support\cdb.vff move /y support\cdb.vff "%nandpath%"\title\00000001\000 :skip +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 80 + + if /i "%PRIIFOUND%" EQU "Yes" goto:skipSNKpri if /i "%SNKPRI%" NEQ "Y" goto:skipSNKpri echo. @@ -22636,9 +22225,11 @@ if exist temp\JoyFlow(emulators)-v11.dol del temp\JoyFlow(emulators)-v11.dol>nul copy /y temp\ModMii_Log.bat temp\ModMii_Log_SNK.bat>nul +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 100 ::small pause -@ping 127.0.0.1 -n 2 -w 1000> nul +::@ping 127.0.0.1 -n 2 -w 1000> nul goto:finishsneekinstall @@ -22708,24 +22299,20 @@ SET /a LINES=%problematicDLs%+56 if %LINES% LEQ 54 set lines=54 mode con cols=85 lines=%LINES% - -::---------------CMD LINE MODE------------- -if /i "%cmdlinemode%" NEQ "Y" goto:notcmdfinish -if exist support\settings.bak move /y support\settings.bak support\settings.bat>nul - - -if /i "%problematicDLs%" EQU "0" exit -support\sfk filter -quiet "temp\ModMii_Log.bat" -rep _"support\sfk echo "__ -rep _"echo "__ -rep _"[Red]"__ -write -yes -move /y "temp\ModMii_Log.bat" "temp\ModMii_CMD_LINE_Log_Errors.txt">nul -start notepad "temp\ModMii_CMD_LINE_Log_Errors.txt" -exit -:notcmdfinish +if /i "%SKINmode%" EQU "Y" goto:noaudio +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 :nocheck -if /i "%cmdlinemode%" EQU "Y" exit - +if /i "%SKINmode%" EQU "Y" goto:noaudio +if /i "%SNEEKSELECT%" NEQ "1" goto:noaudio +if /i "%AudioOption%" NEQ "on" goto:noaudio +start support\nircmd.exe mediaplay 3000 "support\Success.mp3" +:noaudio +if /i "%cmdlinemode%" EQU "Y" goto:problemlog set MENUREAL= @@ -22781,22 +22368,24 @@ if /i "%SNEEKTYPE%" EQU "S" echo Successfully installed SNEEK neek2o rev%Curr ::only build nand if /i "%SNEEKSELECT%" NEQ "2" goto:skip -if /i "%SNEEKTYPE%" EQU "SD" echo %snksuccess% built a %SNKVERSION%%SNKREGION% Emulated Nand%snkfailure% -if /i "%SNEEKTYPE%" EQU "UD" echo %snksuccess% built a %SNKVERSION%%SNKREGION% Emulated Nand%snkfailure% -if /i "%SNEEKTYPE%" EQU "U" echo %snksuccess% built a %SNKVERSION%%SNKREGION% Emulated Nand%snkfailure% -if /i "%SNEEKTYPE%" EQU "S" echo %snksuccess% built a %SNKVERSION%%SNKREGION% Emulated Nand%snkfailure% +if /i "%SNEEKTYPE%" EQU "SD" echo %snksuccess% Built a %SNKVERSION%%SNKREGION% Emulated Nand%snkfailure% +if /i "%SNEEKTYPE%" EQU "UD" echo %snksuccess% Built a %SNKVERSION%%SNKREGION% Emulated Nand%snkfailure% +if /i "%SNEEKTYPE%" EQU "U" echo %snksuccess% Built a %SNKVERSION%%SNKREGION% Emulated Nand%snkfailure% +if /i "%SNEEKTYPE%" EQU "S" echo %snksuccess% Built a %SNKVERSION%%SNKREGION% Emulated Nand%snkfailure% :skip if /i "%SNEEKSELECT%" EQU "5" echo Emulated Nand has been modified %snkfailure% +:problemlog ::list problematic Download if /i "%SNEEKSELECT%" EQU "1" goto:noproblems if /i "%problematicDLs%" EQU "0" goto:noproblems -echo. -echo The following file(s) failed to download properly: -call temp\ModMii_Log.bat + +if /i "%cmdlinemode%" NEQ "Y" echo. +if /i "%cmdlinemode%" NEQ "Y" echo The following file(s) failed to download properly: +if /i "%cmdlinemode%" NEQ "Y" call temp\ModMii_Log.bat support\sfk filter -quiet "temp\ModMii_Log.bat" -rep _[Red]__ -rep _"support\sfk echo "__ -rep _"echo "__ >temp\ModMii_Log_temp.txt @@ -22809,6 +22398,20 @@ copy "%nandpath%\nandinfo.txt"+"temp\ModMii_Log_temp.txt" "temp\nandinfo.txt">nu move /y "temp\nandinfo.txt" "%nandpath%\nandinfo.txt">nul :noproblems + +::---------------CMD LINE MODE------------- +if /i "%cmdlinemode%" NEQ "Y" goto:notcmdfinish +if exist support\settings.bak move /y support\settings.bak support\settings.bat>nul + + +if /i "%problematicDLs%" EQU "0" exit +support\sfk filter -quiet "temp\ModMii_Log.bat" -rep _"support\sfk echo "__ -rep _"echo "__ -rep _"[Red]"__ -write -yes +move /y "temp\ModMii_Log.bat" "temp\ModMii_CMD_LINE_Log_Errors.txt">nul +if /i "%SKINmode%" NEQ "Y" start notepad "temp\ModMii_CMD_LINE_Log_Errors.txt" +exit +:notcmdfinish + + echo. if /i "%SNEEKSELECT%" NEQ "2" goto:skip if /i "%SNEEKTYPE%" EQU "U" goto:skipsdmsg @@ -22917,13 +22520,12 @@ goto:MENU if exist temp\DLnames.txt del temp\DLnames.txt>nul if exist temp\DLgotos.txt del temp\DLgotos.txt>nul +set played= + if /i "%MENU1%" EQU "S" goto:wad2nand -::force non-donators to view credits (but not in cmd line mode) -if exist support\skipscam.txt goto:finish2 -if exist support\ipromisetodonate.txt goto:finish2 -if /i "%cmdlinemode%" EQU "Y" goto:FINISH2 -goto:credit1 + + :FINISH2 if /i "%MENUREAL%" EQU "S" goto:finishsneekinstall3 @@ -22971,6 +22573,14 @@ if /i "%ActualDriveU%" EQU "%ActualDrive%" goto:skip set DrivesNeedingFreeSpace=%DrivesNeedingFreeSpace% and %ActualDriveU% :skip +if /i "%DB%" EQU "C" goto:noaudio +if /i "%SKINmode%" EQU "Y" goto:noaudio +if /i "%AudioOption%" NEQ "on" goto:noaudio +if /i "%played%" EQU "yes" 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") +set played=yes +:noaudio + ::---------------CMD LINE MODE------------- if /i "%cmdlinemode%" NEQ "Y" goto:notcmdfinish @@ -23012,6 +22622,8 @@ if exist temp\ModMii_Log.bat (call temp\ModMii_Log.bat) if /i "%DB%" EQU "C" goto:skipcopytoSDmsg echo. + + if /i "%problematicDLs%" EQU "0" (support\sfk echo -spat \x20 \x20[Green]* %DLTOTAL% file\x28s\x29 downloaded succcessfully) & (goto:noproblems) :problems @@ -23092,39 +22704,39 @@ if /i "%FINISH%" NEQ "CC" goto:miniskip if not exist CUSTOM_COPY_TO_SD goto:miniskip if not exist "%DRIVE%" mkdir "%DRIVE%" >nul xcopy /y /e "CUSTOM_COPY_TO_SD" "%DRIVE%" -goto:FINISH +goto:FINISH2 :miniskip if /i "%FINISH%" NEQ "CCU" goto:miniskip if not exist CUSTOM_COPY_TO_USB goto:miniskip if not exist "%DRIVEU%" mkdir "%DRIVEU%" >nul xcopy /y /e "CUSTOM_COPY_TO_USB" "%DRIVEU%" -goto:FINISH +goto:FINISH2 :miniskip if /i "%FINISH%" EQU "M" goto:MENU -if /i "%FINISH%" EQU "E" goto:exitnow +if /i "%FINISH%" EQU "E" EXIT if not exist "%DRIVE%" goto:drivedoesnotexist2 if /i "%FINISH%" EQU "O" explorer "%DRIVE%" -if /i "%FINISH%" EQU "O" goto:Finish +if /i "%FINISH%" EQU "O" goto:Finish2 :drivedoesnotexist2 if /i "%DB%" NEQ "C" goto:nolog if not exist "custom.md5" goto:nolog if /i "%FINISH%" EQU "L" start notepad "custom.md5" -if /i "%FINISH%" EQU "L" goto:Finish +if /i "%FINISH%" EQU "L" goto:Finish2 :nolog if not exist Custom.md5 goto:skip if /i "%FINISH%" EQU "C" SET DB=C -if /i "%FINISH%" EQU "C" goto:Finish +if /i "%FINISH%" EQU "C" goto:Finish2 :skip if not exist temp\ModMii_Log.bat goto:skip if /i "%FINISH%" EQU "N" SET DB=N -if /i "%FINISH%" EQU "N" goto:FINISH +if /i "%FINISH%" EQU "N" goto:FINISH2 :skip if /i "%DLTOTAL%" EQU "0" goto:dltotaliszero2 @@ -25423,35 +25035,21 @@ set path1=usb-loader\ goto:downloadstart - :FLOW -set name=WiiFlow r304-249 -set code1=URL -set code2=http://wiiflow.googlecode.com/files/r304-249.zip -set version=* -set dlname=r304-249.zip -set wadname=r304-249.zip -set filename=boot.dol -set md5=33cef493e5be4a22e7f0af0fed6f4683 +set name=WiiFlow (Most Recent Release) +set category=GOOGLEUPDATE set path1=apps\WiiFlow\ +set updateurl="http://tiny.cc/WiiflowModMii" +set updatedlname="index.html" +set code1="http://dl.dropbox.com/u/25620767/WiiflowModMii/Wiiflow_svn_r" +set code2=.zip +set iconurl= +set metaurl= +set wadname1=R +set wadname2=.dol goto:downloadstart -:::FLOW -::set name=WiiFlow (Most Recent Release) -::set category=GOOGLEUPDATE -::set path1=apps\WiiFlow\ -::set updateurl="http://code.google.com/p/open-wiiflow-mod/downloads/list?can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount" -::set updatedlname="list?can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount" -::set code1="http://open-wiiflow-mod.googlecode.com/files/Wiiflow_Mod_svn_r" -::set code2=.zip -::set iconurl= -::set metaurl= -::set wadname1=R -::set wadname2=.dol -::goto:downloadstart - - :CheatCodes set name=%cheatregion% Region Cheat Codes: txtcodes from geckocodes.org @@ -25560,7 +25158,7 @@ set version=* set dlname="plforwarder.wad" set wadname=plforwarder.wad set filename=plforwarder.wad -set md5=1ab9b719a05ba9ff3b7274ae1fb87cf7 +set md5=136163e2bcae838b0f7b20fec154f000 set md5alt=%md5% set category=fullextract set path1=WAD\ @@ -28575,6 +28173,12 @@ cls if /i "%SETTINGS%" EQU "G" echo Generating Guide, please wait. if /i "%SETTINGS%" NEQ "G" echo Generating Guide, please wait, your downloads will begin shortly. + +::---------------SKIN MODE------------- +if /i "%SkinMode%" EQU "Y" start support\wizapp PB UPDATE 50 + + + if not exist "%DRIVE%" mkdir "%DRIVE%" >nul if not exist "%Drive%"\%guidename% goto:norename SET /a COUNT6=%COUNT6%+1 diff --git a/ModMii English/ModMiiSkin.bat b/ModMii English/ModMiiSkin.bat new file mode 100644 index 0000000..e6fd173 --- /dev/null +++ b/ModMii English/ModMiiSkin.bat @@ -0,0 +1,3193 @@ +@echo off +setlocal + +if not exist support cd.. +set ModMiipath=%cd% + +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 cmdinput=%* +::if not "%cmdinput%"=="" ModMii.exe %cmdinput% +if not "%cmdinput%"=="" start ModMii.exe %cmdinput% +if not "%cmdinput%"=="" Exit +::---------------------------------------------------------- + +set currentversion=6.0.0 +set currentversioncopy=%currentversion% +set agreedversion= + +set SkinMode=Y + +set PATH=%SystemRoot%\system32;%SystemRoot%\system32\wbem;%SystemRoot% + +chcp 437>nul +::chcp 1252>nul + +if not exist temp mkdir temp + +set UPDATENAME=ModMii +::set UPDATENAME=ModMii_IT_ + + + +: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 "%DMLDebug%"=="" set DMLDebug= +IF "%GUIDEOnly%"=="" set GUIDEOnly=off + +IF "%effect%"=="" set effect=No-Spin +IF "%PCSAVE%"=="" set PCSAVE=Auto +IF "%OPTION1%"=="" set OPTION1=off +IF "%OPTION36%"=="" set OPTION36=on +IF "%AudioOption%"=="" set AudioOption=on +IF "%CMIOSOPTION%"=="" set CMIOSOPTION=off +IF "%FWDOPTION%"=="" set FWDOPTION=on +IF "%Drive%"=="" set Drive=%MODMIIPATH%\COPY_TO_SD +IF "%DriveU%"=="" set DriveU=%MODMIIPATH%\COPY_TO_USB + +IF "%ACTIVEIOS%"=="" set ACTIVEIOS=on +IF "%AUTOUPDATE%"=="" set AUTOUPDATE=on +IF "%ModMiiverbose%"=="" set ModMiiverbose=off +IF "%sneekverbose%"=="" set sneekverbose=off +IF "%neek2o%"=="" set neek2o=on +IF "%SSD%"=="" set SSD=off +::IF "%discexverify%"=="" set discexverify=off +IF "%SNKFONT%"=="" set SNKFONT=B +IF "%overwritecodes%"=="" set overwritecodes=off +IF "%cheatregion%"=="" set cheatregion=All +IF "%cheatlocation%"=="" set cheatlocation=B + +IF "%wiicheat%"=="" set wiicheat=ON +IF "%WiiWarecheat%"=="" set WiiWarecheat=ON +IF "%VCArcadecheat%"=="" set VCArcadecheat=OFF +IF "%WiiChannelscheat%"=="" set WiiChannelscheat=ON +IF "%Gamecubecheat%"=="" set Gamecubecheat=ON +IF "%NEScheat%"=="" set NEScheat=ON +IF "%SNEScheat%"=="" set SNEScheat=ON +IF "%N64cheat%"=="" set N64cheat=ON +IF "%SMScheat%"=="" set SMScheat=ON +IF "%Segacheat%"=="" set Segacheat=ON +IF "%NeoGeocheat%"=="" set NeoGeocheat=ON +IF "%Commodorecheat%"=="" set Commodorecheat=ON +IF "%MSXcheat%"=="" set MSXcheat=ON +IF "%TurboGraFX-16cheat%"=="" set TurboGraFX-16cheat=ON +IF "%TurboGraFX-CDcheat%"=="" set TurboGraFX-CDcheat=ON + + +::check if drive folder exists--if second char is ":" check if drive exists +if /i "%DRIVE:~1,1%" NEQ ":" set DRIVE=%MODMIIPATH%\%DRIVE% +if /i "%DRIVE%" EQU "COPY_TO_SD" set DRIVE=%MODMIIPATH%\COPY_TO_SD +if /i "%DRIVE:~1,1%" NEQ ":" goto:skipcheck +if exist "%DRIVE:~0,2%" goto:skipcheck +set DRIVE=%MODMIIPATH%\COPY_TO_SD +:skipcheck + + +::check if DRIVEU folder exists--if second char is ":" check if DRIVEU exists +if /i "%DRIVEU:~1,1%" NEQ ":" set DRIVEU=%MODMIIPATH%\%DRIVEU% +if /i "%DRIVEU:~1,1%" NEQ ":" goto:skipcheck +if exist "%DRIVEU:~0,2%" goto:skipcheck +set DRIVEU=%MODMIIPATH%\COPY_TO_USB +:skipcheck + + +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 wabat=%TEMP%\wabat.bat +set wasig=ModMii v%currentversion% by XFlak + +::side bar - 150x300 pixels +set wabmp=support\bmp\default.bmp + + + + + +if not exist support\skipscam.txt goto:nocheck +findStr /I /C:"%USERPROFILE%" "support\skipscam.txt" >nul +IF ERRORLEVEL 1 (set Trigger=) else (set Trigger=1) +if /i "%Trigger%" EQU "1" goto:skip +:nocheck + + +::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 8000 +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%" NEQ "skipscam" goto:miniskip +if exist support\skipscam.txt attrib -r -h -s support\skipscam.txt +echo "%USERPROFILE%">support\skipscam.txt +attrib +r +h +s support\skipscam.txt +set Trigger=1 +goto:skip +:miniskip + + +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 watext=~~ Choose an activity:~~Most ModMii activities build a custom guide for you based on your answers to a few simple questions. + +set wainput= ModMii ^&Wizard +Guide (Start Here to Mod Your Wii!); ^&Abstinence Wizard +Guide (Use Casper without mod); ^&USB-Loader Setup +Guide; ^&HackMii Solutions +Guide; R^&egion Change +Guide; ^&Load Download Queue; ^&SNEEK Installation and NAND Builder; ^&Options; Credi^&ts; ^&ModMii Classic Mode for more activities + +start /w support\wizapp NOBACK RB + +if errorlevel 2 exit + +call "%wabat%" + +if "%waoutnum%"=="" goto:MENU + +if /i "%waoutnum%" EQU "0" (set Menu1=W) & (set wabmp=support\bmp\WIZARD.bmp) & (goto:WPAGE1) + +if /i "%waoutnum%" EQU "1" (set Menu1=S) & (set SNEEKSELECT=3) & (set AbstinenceWiz=Y) & (set wabmp=support\bmp\ABSTINENCE.bmp) & (goto:WPAGE2) + +if /i "%waoutnum%" EQU "2" (set Menu1=U) & (set wabmp=support\bmp\USB.bmp) & (goto:UPAGE1) +if /i "%waoutnum%" EQU "3" (set Menu1=H) & (set wabmp=support\bmp\HackMii.bmp) & (goto:WPAGE2) +if /i "%waoutnum%" EQU "4" (set Menu1=RC) & (set wabmp=support\bmp\RegionChange.bmp) & (goto:RCPAGE1) +if /i "%waoutnum%" EQU "5" (set Menu1=L) & (set wabmp=support\bmp\DLQUEUE.bmp) & (goto:PICKDOWNLOADQUEUE) +if /i "%waoutnum%" EQU "6" (set Menu1=S) & (set wabmp=support\bmp\SNEEK.bmp) & (goto:SNKPAGE1) +if /i "%waoutnum%" EQU "7" (set Menu1=O) & (set wabmp=support\bmp\OPTIONS.bmp) & (goto:OPTIONS) + + +if /i "%waoutnum%" EQU "8" (start http://modmii.zzl.org/credits.html) & (goto:MENU) + + +if /i "%waoutnum%" EQU "9" (start ModMii.exe) & (exit) + + +::...................................PICK Download Queue............................... +:PICKDOWNLOADQUEUE +set DLQUEUE= +set waoutnum= +::set waoutput= +if not exist temp\DownloadQueues mkdir temp\DownloadQueues +set waoutput=%ModMiiPath%\temp\DownloadQueues\YourQueueHere.bat + +set watext=Select the ModMii Download Queue you want to download.~~Note, when you click Finish ModMii will begin downloading immediately. To view the contents of your queue before downloading it use ModMii Classic to load it.~~To create custom Download Queues use ModMii Classic. + +set wainput=ModMii Download Queues (*.bat) + + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp FINISH FB + +if errorlevel 2 goto:MENU +if errorlevel 1 goto:MENU + +call "%wabat%" + + + +set DLQUEUE=%waoutput% + +if not exist "%DLQUEUE%" goto:PICKDOWNLOADQUEUE + +findStr /I /C:":endofqueue" "%DLQUEUE%" >nul +IF ERRORLEVEL 1 goto:PICKDOWNLOADQUEUE + +copy /y %DLQUEUE% temp\DownloadQueues >nul + +::get file name without path or extension +echo %DLQUEUE% >temp\temp.txt +support\sfk filter -quiet temp\temp.txt -rep _*\__ -rep _.bat*__ -write -yes +set /p DLQUEUE= Support\settings.bat +echo ::ModMiiv%currentversion%>> Support\settings.bat +echo Set ROOTSAVE=%ROOTSAVE%>> Support\settings.bat +echo Set DMLDebug=%DMLDebug%>> Support\settings.bat +echo Set effect=%effect%>> Support\settings.bat +echo Set PCSAVE=%PCSAVE%>> Support\settings.bat +echo Set Option1=%Option1%>> Support\settings.bat +echo Set OPTION36=%OPTION36%>> Support\settings.bat +echo Set AudioOption=%AudioOption%>> Support\settings.bat +echo Set CMIOSOPTION=%CMIOSOPTION%>> Support\settings.bat +echo Set FWDOPTION=%FWDOPTION%>> Support\settings.bat +echo Set Drive=%DRIVE%>> Support\settings.bat +echo Set DriveU=%DRIVEU%>> Support\settings.bat +echo Set overwritecodes=%overwritecodes%>> Support\settings.bat +echo Set cheatregion=%cheatregion%>> Support\settings.bat +echo Set cheatlocation=%cheatlocation%>> Support\settings.bat +echo Set ACTIVEIOS=%ACTIVEIOS%>> Support\settings.bat +echo Set AUTOUPDATE=%AUTOUPDATE%>> Support\settings.bat +echo Set ModMiiverbose=%ModMiiverbose%>> Support\settings.bat +echo Set SSD=%SSD%>> Support\settings.bat +echo Set sneekverbose=%sneekverbose%>> Support\settings.bat +echo Set neek2o=%neek2o%>> Support\settings.bat +echo Set SNKFONT=%SNKFONT%>> Support\settings.bat +echo Set wiicheat=%wiicheat%>> Support\settings.bat +echo Set WiiWarecheat=%WiiWarecheat%>> Support\settings.bat +echo Set VCArcadecheat=%VCArcadecheat%>> Support\settings.bat +echo Set WiiChannelscheat=%WiiChannelscheat%>> Support\settings.bat +echo Set Gamecubecheat=%Gamecubecheat%>> Support\settings.bat +echo Set NEScheat=%NEScheat%>> Support\settings.bat +echo Set SNEScheat=%SNEScheat%>> Support\settings.bat +echo Set N64cheat=%N64cheat%>> Support\settings.bat +echo Set SMScheat=%SMScheat%>> Support\settings.bat +echo Set Segacheat=%Segacheat%>> Support\settings.bat +echo Set NeoGeocheat=%NeoGeocheat%>> Support\settings.bat +echo Set Commodorecheat=%Commodorecheat%>> Support\settings.bat +echo Set MSXcheat=%MSXcheat%>> Support\settings.bat +echo Set TurboGraFX-16cheat=%TurboGraFX-16cheat%>> Support\settings.bat +echo Set TurboGraFX-CDcheat=%TurboGraFX-CDcheat%>> Support\settings.bat +echo set AGREEDVERSION=%currentversion%>> Support\settings.bat +echo set GuideOnly=%GuideOnly%>> Support\settings.bat + +::show\hide ModMiiSkinCMD +if /i "%ModMiiverbose%" EQU "on" support\nircmd.exe win activate ititle "ModMiiSkinCMD" +if /i "%ModMiiverbose%" EQU "on" support\nircmd.exe win trans ititle "ModMiiSkinCMD" 255 + +if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win trans ititle "ModMiiSkinCMD" 0 +if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +goto:MENU + +::..................................................PC SAVE.................................................. +....... +:PCSAVE +::Set PCSAVE= +set waoutnum= +set waoutput= + +set watext=~~ PC Programs Save Location~~If Auto is selected PC programs saved locally to %homedrive% with shortcuts if running ModMii from %homedrive% and PC programs saved portably if not running ModMii from %homedrive% + +set wainput= ^&Auto; ^&Local; ^&Portable + + +::check current setting +if /i "%PCSAVE%" EQU "Auto" set waoutnum=0 +if /i "%PCSAVE%" EQU "Local" set waoutnum=1 +if /i "%PCSAVE%" EQU "Portable" set waoutnum=2 + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp RB + +if errorlevel 2 goto:MENU +::if errorlevel 1 goto:OPTIONS + + +call "%wabat%" + +if "%waoutnum%"=="" goto:PCSAVE + +if /i "%waoutnum%" EQU "0" set PCSAVE=Auto +if /i "%waoutnum%" EQU "1" set PCSAVE=Local +if /i "%waoutnum%" EQU "2" set PCSAVE=Portable + +goto:Options + + + + +::..................................................OtherOptions.................................................. +....... +:OtherOptions +set waoutnum= +set waoutput= + +set watext=~~~~ Other Miscellaneous Options + +set wainput= ^&Auto-Update ModMii at program start; c^&MIOS included in Wizard/sysCheck-Updater; USB-Loader ^&Forwarder included in Wizard; ^&Update Active IOSs in Wizard/sysCheck-Updater; Include IOS3^&6 in Active IOS Updates; IOSs saved to ^&Root instead of WAD folder; ^&Verbose Output for ModMiiSkin\wget\Sneek Installer; Save 0000000^&1 folder for IOSs\SMs\etc; Save ^&NUS\00000001x folder for IOSs\SMs\etc; ^&Generate Guide Only (only for functions with guides) + + +::check correct boxes +set waoutput= +if /i "%AUTOUPDATE%" EQU "on" set waoutput=%waoutput%; #Auto-Update ModMii at program start +if /i "%CMIOSOPTION%" EQU "on" set waoutput=%waoutput%; c#MIOS included in Wizard/sysCheck-Updater +if /i "%FWDOPTION%" EQU "on" set waoutput=%waoutput%; USB-Loader #Forwarder included in Wizard +if /i "%ACTIVEIOS%" EQU "on" set waoutput=%waoutput%; #Update Active IOSs in Wizard/sysCheck-Updater +if /i "%OPTION36%" EQU "on" set waoutput=%waoutput%; Include IOS3#6 in Active IOS Updates +if /i "%ROOTSAVE%" EQU "on" set waoutput=%waoutput%; IOSs saved to #Root instead of WAD folder +if /i "%ModMiiverbose%" EQU "on" set waoutput=%waoutput%; #Verbose Output for ModMiiSkin\wget\Sneek Installer + +if /i "%Option1%" EQU "on" set waoutput=%waoutput%; Save 0000000#1 folder for IOSs\SMs\etc +if /i "%Option1%" EQU "all" set waoutput=%waoutput%; Save 0000000#1 folder for IOSs\SMs\etc + +if /i "%Option1%" EQU "nus" set waoutput=%waoutput%; Save #NUS\00000001x folder for IOSs\SMs\etc +if /i "%Option1%" EQU "all" set waoutput=%waoutput%; Save #NUS\00000001x folder for IOSs\SMs\etc + +if /i "%GuideOnly%" EQU "on" set waoutput=%waoutput%; #Generate Guide Only (only for functions with guides) + +echo set waoutput=%waoutput%>temp\temp.bat +support\sfk filter -quiet temp\temp.bat -rep _"#"_"^&"_ -write -yes +call temp\temp.bat + + + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp CL + +if errorlevel 2 goto:MENU +::if errorlevel 1 goto:OPTIONS + + +call "%wabat%" + + +::if "%waoutnum%"=="" goto:skipcheck + +echo %waoutnum% >"%wabat%" + +findStr /I /C:"0" "%wabat%" >nul +IF not ERRORLEVEL 1 (set AutoUpdate=on) else (set AutoUpdate=off) + +findStr /I /C:"1" "%wabat%" >nul +IF not ERRORLEVEL 1 (set CMIOSOPTION=on) else (set CMIOSOPTION=off) + +findStr /I /C:"2" "%wabat%" >nul +IF not ERRORLEVEL 1 (set FWDOPTION=on) else (set FWDOPTION=off) + +findStr /I /C:"3" "%wabat%" >nul +IF not ERRORLEVEL 1 (set ACTIVEIOS=on) else (set ACTIVEIOS=off) + +findStr /I /C:"4" "%wabat%" >nul +IF not ERRORLEVEL 1 (set OPTION36=on) else (set OPTION36=off) + +findStr /I /C:"5" "%wabat%" >nul +IF not ERRORLEVEL 1 (set ROOTSAVE=on) else (set ROOTSAVE=off) + +findStr /I /C:"6" "%wabat%" >nul +IF not ERRORLEVEL 1 (set ModMiiverbose=on) else (set ModMiiverbose=off) + +findStr /I /C:"9" "%wabat%" >nul +IF not ERRORLEVEL 1 (set GuideOnly=on) else (set GuideOnly=off) + + +::turn 2 options into 1 +findStr /I /C:"7" "%wabat%" >nul +IF not ERRORLEVEL 1 (set Option1=on) else (set Option1=off) + +findStr /I /C:"8" "%wabat%" >nul +IF not ERRORLEVEL 1 (set Option1temp=nus) else (set Option1temp=) + +if /i "%Option1%" NEQ "on" goto:skip +if /i "%Option1temp%" EQU "nus" (set Option1=all) else (set Option1=on) +goto:skipcheck +:skip +if /i "%Option1temp%" EQU "nus" (set Option1=nus) else (set Option1=off) + +:skipcheck + +goto:Options + + + + + + + +::..................................................SNEEKOptions.................................................. +....... +:SNEEKOptions +set waoutnum= +set waoutput= + +set watext=~~~~ SNEEK Options + +set wainput= Build ^&neek2o instead of the original NEEK; ^&SD card access enabled for SNEEK\SNEEK+DI; SNEEK ^&Verbose Output; ^&DML Debug Mode; ^&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 "%DMLDebug%" EQU "debug" set waoutput=%waoutput%; #DML Debug Mode +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 DMLDebug=debug) else (set DMLDebug=) + +findStr /I /C:"4" "%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 +cd /d SUPPORT +start SMver.html +cd /d %ModMiipath% +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 +cd /d SUPPORT +start SMver.html +cd /d %ModMiipath% +goto:WPAGE3 +:nohelp + + + + +::...................................Wizard Page3C - Exploit............................... +:WPAGE3C +set waoutnum= +set waoutput= +SET EXPLOIT=default +set exploitselection= +if /i "%VIRGIN%" EQU "N" goto:WPAGE4 + + +if /i "%FIRMSTART%" EQU "4.3" goto:WPAGE3Cnext +if /i "%FIRMSTART%" EQU "o" goto:WPAGE3Cnext +goto:WPAGE4 +:WPAGE3Cnext + + +::recall checked items +if not "%EXPLOITMarked%"=="" set waoutnum=%EXPLOITMarked% + + +::set backb4HACKMIISOLUTION=WPAGE3c + + +set exploitselection=yes + + +if /i "%FIRMSTART%" EQU "4.3" set watext=~~Select the exploit you would like to use to mod your Wii.~~~Note: LetterBomb is the only discless exploit for 4.3 Wii's. +if /i "%FIRMSTART%" EQU "o" set watext=~~Select the game you would like to use to mod your Wii.~~~Note: You can mod your Wii without one of the following games if you update to System Menu 3.0 or higher. + + +set wainput= + +if /i "%FIRMSTART%" EQU "4.3" goto:list4.3 +if /i "%REGION%" EQU "K" set wainput= ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; ^&All Above Exploits +if /i "%REGION%" NEQ "K" set wainput= ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; LEGO ^&Indiana Jones; LEGO ^&Batman; LEGO Star ^&Wars; ^&Yu-Gi-Oh! 5D's; Tales of Symphonia: ^&Dawn of the New World; ^&All Above Exploits +goto:skip4.3 + +:list4.3 +if /i "%REGION%" EQU "K" set wainput= ^&LetterBomb (Discless); ^&Super Smash Brothers Brawl +if /i "%REGION%" NEQ "K" set wainput= ^&LetterBomb (Discless); ^&Super Smash Brothers Brawl; LEGO ^&Indiana Jones; LEGO ^&Batman; LEGO Star ^&Wars; ^&Yu-Gi-Oh! 5D's; ^&Tales of Symphonia: Dawn of the New World; ^&All Above Disc Based Exploits (not LetterBomb) +:skip4.3 + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp RB + +if errorlevel 2 goto:MENU +if errorlevel 1 goto:WPAGE3 + + +call "%wabat%" + +set EXPLOITMarked=%waoutnum% + +if "%waoutnum%"=="" goto:WPAGE3c + + +if /i "%FIRMSTART%" EQU "4.3" goto:list4.3 + +if /i "%REGION%" NEQ "K" goto:KOR +::set wainput= ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; ^&All Above Exploits +if /i "%waoutnum%" EQU "0" set EXPLOIT=T +if /i "%waoutnum%" EQU "1" set EXPLOIT=S +if /i "%waoutnum%" EQU "2" set EXPLOIT=? +goto:gotexploit + + +:KOR +::set wainput= ^&Twilight Princess: The Legend of Zelda; ^&Super Smash Brothers Brawl; ^&LEGO Indiana Jones; ^&LEGO Batman; ^&LEGO Star Wars; ^&Yu-Gi-Oh! 5D's; ^&Tales of Symphonia: Dawn of the New World; ^&All Above Exploits +if /i "%waoutnum%" EQU "0" set EXPLOIT=T +if /i "%waoutnum%" EQU "1" set EXPLOIT=S +if /i "%waoutnum%" EQU "2" set EXPLOIT=L +if /i "%waoutnum%" EQU "3" set EXPLOIT=LB +if /i "%waoutnum%" EQU "4" set EXPLOIT=LS +if /i "%waoutnum%" EQU "5" set EXPLOIT=Y +if /i "%waoutnum%" EQU "6" set EXPLOIT=TOS +if /i "%waoutnum%" EQU "7" set EXPLOIT=? +goto:gotexploit + + +:list4.3 +if /i "%REGION%" NEQ "K" goto:KOR4.3 +::set wainput= ^&LetterBomb (Discless); ^&Super Smash Brothers Brawl +if /i "%waoutnum%" EQU "0" set EXPLOIT=BOMB +if /i "%waoutnum%" EQU "1" set EXPLOIT=S +goto:gotexploit + + +:KOR4.3 +::set wainput= ^&LetterBomb (Discless); ^&Super Smash Brothers Brawl; ^&LEGO Indiana Jones; ^&LEGO Batman; ^&LEGO Star Wars; ^&Yu-Gi-Oh! 5D's; ^&Tales of Symphonia: Dawn of the New World; ^&All Above Disc Based Exploits (not LetterBomb) +if /i "%waoutnum%" EQU "0" set EXPLOIT=BOMB +if /i "%waoutnum%" EQU "1" set EXPLOIT=S +if /i "%waoutnum%" EQU "2" set EXPLOIT=L +if /i "%waoutnum%" EQU "3" set EXPLOIT=LB +if /i "%waoutnum%" EQU "4" set EXPLOIT=LS +if /i "%waoutnum%" EQU "5" set EXPLOIT=Y +if /i "%waoutnum%" EQU "6" set EXPLOIT=TOS +if /i "%waoutnum%" EQU "7" set EXPLOIT=? +goto:gotexploit + + +:gotexploit + + + +if /i "%EXPLOIT%" EQU "BOMB" (set beforebomb=WPAGE3C) & (goto:bombinfo) + +if /i "%MENU1%" EQU "H" (set BACKB4DRIVE=WPAGE3C) & (goto:DRIVECHANGE) + +if /i "%AbstinenceWiz%" EQU "Y" goto:NEEKrevSelect + +goto:WPAGE4 + + + +::------------------letterbomb info---------------- +:bombinfo + +cd /d SUPPORT +start LetterBombFrames.html +cd /d %ModMiipath% + + +set watext=~ModMii should have just opened your browser to http://please.hackmii.com~~An instructional video on properly downloading Letterbomb can be found in the panel next to the webpage.~~On this webpage, enter your System Menu region and MAC address. To find your Wii's MAC address, turn on your Wii, click the Wii button in the bottom left of the main system menu, then click Wii Settings, then Internet, then Console Information.~~Uncheck "Bundle the HackMii Installer for Me", fill in the captcha and cut either wire. It will download a small ZIP file, open this file, and you will see a private folder, copy and paste it into the root of the SD card.~~ModMii will generate a guide for your assuming you've done this correctly.~~Click "Next" when you're ready 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:%beforebomb% + +if /i "%MENU1%" EQU "H" (set BACKB4DRIVE=bombinfo) & (goto:DRIVECHANGE) + +if /i "%AbstinenceWiz%" EQU "Y" goto:NEEKrevSelect + +goto:WPAGE4 + + + + +::...................................Wizard Page3D - Active IOSs............................... +::change WPAGE3D with WPAGE4 + + + + +::...................................Wizard Page4 - New System Menu............................... +:WPAGE4 + +set FIRM= +set waoutnum= +set waoutput= + +set watext=~~ Select the System Menu you would like~ to upgrade/downgrade to. + +if /i "%MENU1%" NEQ "RC" set watext=%watext%~~Note: if your current System Menu is selected a~ System Menu is not downloaded + + +set wainput= 4.^&3; 4.^&2; 4.^&1 (Recommended) +::set default +set waoutnum=2 + +if /i "%MENU1%" EQU "RC" goto:miniskip + +if /i "%FIRMSTART%" EQU "4.3" set wainput= 4.^&3 (Recommended); 4.^&2; 4.^&1 +if /i "%FIRMSTART%" EQU "4.3" set waoutnum=0 + +if /i "%FIRMSTART%" EQU "4.2" set wainput= 4.^&3; 4.^&2 (Recommended); 4.^&1 +if /i "%FIRMSTART%" EQU "4.2" set waoutnum=1 +:miniskip + + +::recall checked items +if not "%FIRMMarked%"=="" set waoutnum=%FIRMMarked% + + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp RB + +if errorlevel 2 goto:MENU + +if not errorlevel 1 goto:notback +if /i "%MENU1%" EQU "RC" goto:WPAGE3 +if /i "%VIRGIN%" EQU "N" goto:WPAGE3 +if /i "%FIRMSTART%" EQU "o" goto:wpage3c +if /i "%FIRMSTART%" EQU "4.3" goto:wpage3c +goto:wpage3 +:notback + + +call "%wabat%" + +set FIRMMarked=%waoutnum% + +if /i "%waoutnum%" EQU "0" set FIRM=4.3 +if /i "%waoutnum%" EQU "1" set FIRM=4.2 +if /i "%waoutnum%" EQU "2" set FIRM=4.1 + +if "%FIRM%"=="" goto:WPAGE4 + +if /i "%MENU1%" EQU "RC" (goto:WPAGE20) else (goto:WPAGE5) + + + +::...................................Wizard Page5 - MORE Channels?............................... +:WPAGE5 +set MORE= +set PIC= +set NET= +set Weather= +set NEWS= +set MIIQ= +set Shop= +set Speak= + +set waoutnum= +set waoutput= + +::recall checked items +if not "%ChannelsMarked%"=="" set waoutnum=%ChannelsMarked% + + +set watext=~~~ Select which of the following channels~ you would like to install + +set wainput= ^&Photo; ^&Mii; ^&Shop (with IOS56); ^&Internet; ^&Weather; ^&News; ^&Wii Speak + +if /i "%MENU1%" EQU "S" (set REGIONTEMP=%SNKREGION%) else (set REGIONTEMP=%REGION%) + +if /i "%REGIONTEMP%" EQU "K" set wainput= ^&Photo; ^&Mii; ^&Shop (with IOS56) + +if /i "%MENU1%" NEQ "S" goto:notS +set wainput= ^&Photo; ^&Mii; ^&Shop; ^&Internet; ^&Weather; ^&News; ^&Wii Speak +if /i "%REGIONTEMP%" EQU "K" set wainput= ^&Photo; ^&Mii; ^&Shop +:notS + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp CL + +if errorlevel 2 goto:MENU + +if not errorlevel 1 goto:notback +if /i "%MENU1%" NEQ "S" goto:WPAGE4 +::if /i "%SNEEKSELECT%" NEQ "5" goto:WPAGE20 +::if "%SMTHEMEAPP%"=="" (goto:SNKPAGE4c) else (goto:WPAGE20) +goto:SNKPAGE5 +:notback + +call "%wabat%" + +set ChannelsMarked=%waoutnum% + +if "%waoutnum%"=="" goto:skipcheck + +echo %waoutnum% >"%wabat%" + +findStr /I /C:"0" "%wabat%" >nul +IF not ERRORLEVEL 1 set PIC=Y + +findStr /I /C:"1" "%wabat%" >nul +IF not ERRORLEVEL 1 set MIIQ=Y + +findStr /I /C:"2" "%wabat%" >nul +IF not ERRORLEVEL 1 set Shop=Y + +findStr /I /C:"3" "%wabat%" >nul +IF not ERRORLEVEL 1 set NET=Y + +findStr /I /C:"4" "%wabat%" >nul +IF not ERRORLEVEL 1 set Weather=Y + +findStr /I /C:"5" "%wabat%" >nul +IF not ERRORLEVEL 1 set NEWS=Y + +findStr /I /C:"6" "%wabat%" >nul +IF not ERRORLEVEL 1 set Speak=Y + +:skipcheck + + +if /i "%MENU1%" NEQ "S" goto:notS +if /i "%THEMEQ%" EQU "Y" goto:WPAGE20 +if /i "%THEMEQ%" NEQ "Y" (set backB4wpageLast=WPAGE5) & (goto:WPAGELAST) +:notS + + +if /i "%VIRGIN%" EQU "Y" (goto:WPAGE20) else (goto:WPAGE13) + + + +::...................................Wizard Page13 - MORE Advanced Channels?............................... +:WPAGE13 + + +::set Advanced= + +set HMInstaller= +set IOS236InstallerQ= +set RECCIOS= +set PRIQ= +set yawmQ= +set THEMEQ= +set USBGUIDE= +SET UpdatesIOSQ=N +::set ThemeSelection=N + +set waoutnum= +set waoutput= + +::recall checked items +if not "%AdvancedMarked%"=="" set waoutnum=%AdvancedMarked% + + +set watext=~~~~ Select which of the following to Install or Update + +if /i "%CMIOSOPTION%" EQU "on" set wainput= ^&Homebrew Channel and\or BootMii; ^&IOS236; ^&Recommended cIOSs and cMIOS; ^&Priiloader v0.7 (and System Menu hacks); ^&Yet Another Wad Manager Mod (YAWMM); ^&System Menu Theme; ^&USB-Loader; ^&Active IOSs and patched System Menu IOSs + +if /i "%CMIOSOPTION%" NEQ "on" set wainput= ^&Homebrew Channel and\or BootMii; ^&IOS236; ^&Recommended cIOSs; ^&Priiloader v0.7 (and System Menu hacks); ^&Yet Another Wad Manager Mod (YAWMM); System Menu ^&Theme; ^&USB-Loader; ^&Active IOSs and patched System Menu IOSs + + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp CL + +if errorlevel 2 goto:MENU +if errorlevel 1 goto:WPAGE5 + + +call "%wabat%" + + +if "%waoutnum%"=="" (set BACKB4DRIVE=WPAGE13) & (goto:DRIVECHANGE) + + +set AdvancedMarked=%waoutnum% + +echo %waoutnum% >"%wabat%" + +findStr /I /C:"0" "%wabat%" >nul +IF not ERRORLEVEL 1 set HMInstaller=Y + +findStr /I /C:"1" "%wabat%" >nul +IF not ERRORLEVEL 1 set IOS236InstallerQ=Y + +findStr /I /C:"2" "%wabat%" >nul +IF not ERRORLEVEL 1 set RECCIOS=Y + +findStr /I /C:"3" "%wabat%" >nul +IF not ERRORLEVEL 1 set PRIQ=Y + +findStr /I /C:"4" "%wabat%" >nul +IF not ERRORLEVEL 1 set yawmQ=Y + +findStr /I /C:"5" "%wabat%" >nul +IF not ERRORLEVEL 1 set THEMEQ=Y + +findStr /I /C:"6" "%wabat%" >nul +IF not ERRORLEVEL 1 set USBGUIDE=Y + +findStr /I /C:"7" "%wabat%" >nul +IF not ERRORLEVEL 1 (set UpdatesIOSQ=Y) else (set UpdatesIOSQ=N) + + +if /i "%THEMEQ%" EQU "Y" goto:WPAGE20 +if /i "%USBGUIDE%" EQU "Y" goto:UPAGE1 + +et 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 +cd /d SUPPORT +start WiiThemes.html +cd /d %ModMiipath% +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 + +::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:%BACKB4DRIVE% +:notback + +call "%wabat%" + +set DRIVETEMP=%waoutput% + +::remove quotes from variable (if applicable) +echo "set DRIVETEMP=%DRIVETEMP%">temp\temp.txt +support\sfk filter -quiet temp\temp.txt -rep _""""__>temp\temp.bat +call temp\temp.bat +del temp\temp.bat>nul +del temp\temp.txt>nul + + +:doublecheck +set fixslash= +if /i "%DRIVETEMP:~-1%" EQU "\" set fixslash=yes +if /i "%DRIVETEMP:~-1%" EQU "/" set fixslash=yes +if /i "%fixslash%" EQU "yes" set DRIVETEMP=%DRIVETEMP:~0,-1% +if /i "%fixslash%" EQU "yes" goto:doublecheck + + +::if second char is ":" check if drive exists +if /i "%DRIVETEMP:~1,1%" NEQ ":" goto:skipcheck +if exist "%DRIVETEMP:~0,2%" (goto:skipcheck) else (echo.) +goto:DRIVECHANGE +:skipcheck + + +set DRIVE=%DRIVETEMP% +set REALDRIVE=%DRIVE% + + +::autosave drive setting to settings.bat +support\sfk filter Support\settings.bat -!"Set Drive=" -write -yes>nul +echo Set Drive=%DRIVE%>>Support\settings.bat + + +::goto: + +set wabmp=%wabmplast% + +::if /i "%MENU1%" EQU "FC" goto:FileCleanup + +if /i "%MENU1%" EQU "O" goto:options + +if /i "%MENU1%" EQU "H" (set backB4wpageLast=DRIVECHANGE) & (goto:WPAGELAST) + +if /i "%MENU1%" EQU "W" goto:noskip +if /i "%MENU1%" EQU "U" goto:noskip +goto:skip +:noskip +if /i "%USBCONFIG%" EQU "USB" (set backB4DRIVEU=DRIVEUCHANGE) & (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 "%DRIVEU%" mkdir "%DRIVEU%" + +set watext=~~~Select where to save files for your USB Hard Drive + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" + +start /w support\wizapp FB DIR + +if errorlevel 2 goto:MENU +if not errorlevel 1 goto:notback +set wabmp=%wabmplast% +if /i "%MENU1%" EQU "O" goto:notback +goto:%BACKB4DRIVEU% +:notback + +call "%wabat%" + +set DRIVEUTEMP=%waoutput% + + +::remove quotes from variable (if applicable) +echo "set DRIVEUTEMP=%DRIVEUTEMP%">temp\temp.txt +support\sfk filter -quiet temp\temp.txt -rep _""""__>temp\temp.bat +call temp\temp.bat +del temp\temp.bat>nul +del temp\temp.txt>nul + + +:doublecheckU +set fixslash= +if /i "%DRIVEUTEMP:~-1%" EQU "\" set fixslash=yes +if /i "%DRIVEUTEMP:~-1%" EQU "/" set fixslash=yes +if /i "%fixslash%" EQU "yes" set DRIVEUTEMP=%DRIVEUTEMP:~0,-1% +if /i "%fixslash%" EQU "yes" goto:doublecheckU + + + +::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... +@ping 127.0.0.1 -n 2 -w 1000> nul +goto:DRIVEUCHANGE +:skipcheck + + +set DRIVEU=%DRIVEUTEMP% + + +::autosave drive setting to settings.bat +support\sfk filter Support\settings.bat -!"Set DriveU=" -write -yes>nul +echo Set DriveU=%DRIVEU%>>Support\settings.bat + + +::goto: + +set wabmp=%wabmplast% + +if /i "%MENU1%" EQU "O" goto:options + +if /i "%MENU1%" EQU "W" goto:noskip +if /i "%MENU1%" EQU "U" goto:noskip +goto:skip +:noskip +if /i "%USBCONFIG%" EQU "USB" set BACKB4WPAGELAST=DRIVEUCHANGE +if /i "%USBCONFIG%" EQU "USB" goto:WPAGELAST +:skip + +if /i "%SNEEKSELECT%" EQU "1" (set BACKB4WPAGELAST=DRIVEUCHANGE) & (goto:WPAGELAST) +if /i "%SNEEKSELECT%" EQU "2" (set B4SNKPAGE3=DRIVEUCHANGE) & (goto:snkpage3) +if /i "%SNEEKSELECT%" EQU "3" (set B4SNKPAGE3=DRIVEUCHANGE) & (goto:snkpage3) +if /i "%SNEEKSELECT%" EQU "4" goto:SNKDISCEX2 + + + +::...................................Check For Updates............................... + +:UpdateModMii + +set wabmplast=%wabmp% +set wabmp=support\bmp\UPDATECHECK.bmp + +set watext=~~Checking for Updates...~~Current version is %currentversion% +start support\wizapp PB OPEN +start support\wizapp PB UPDATE 20 + + +if exist temp\list.txt del temp\list.txt>nul + +start %ModMiimin%/wait support\wget -N "http://code.google.com/p/modmii/downloads/list?can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount" + +if exist list* (move /y list* temp\list.txt>nul) else (goto:updatefail) + +start support\wizapp PB UPDATE 70 + +support\sfk filter -quiet "temp\list.txt" ++"ModMii" ++"zip" ++"modmii.googlecode.com/files/" -rep _*"files/ModMii"__ -rep _".zip"*__ -write -yes + + +if /i "%UPDATENAME%" NEQ "ModMii" support\sfk filter -quiet "temp\list.txt" ++"%UPDATENAME:~-3%" -write -yes + +if /i "%UPDATENAME%" EQU "ModMii" support\sfk filter -quiet "temp\list.txt" -!"_" -write -yes + +support\sfk filter -spat -quiet "temp\list.txt" -rep _*"\x5f"__ -write -yes + +set /p newversion= nul + + + +start support\wizapp PB UPDATE 100 +start support\wizapp PB CLOSE + + + +if %currentversion% LSS %newversion% goto:openchangelog + + +::----------disable Splash for now------------ +::if /i "%MENU1%" EQU "O" (set wabmp=%wabmplast%) & (goto:OPTIONS) else (goto:MENU) + +if %currentversion% GTR %newversion% set watext=~This version is newer than the latest public release~~You got some crazy new beta shit! + +if %currentversion% EQU %newversion% set watext=~This version is up to date + +start support\wizapp PB OPEN +start support\wizapp PB UPDATE 100 + +support\nircmd.exe wait 2000 + +start support\wizapp PB CLOSE + +set wabmp=%wabmplast% + +if /i "%MENU1%" EQU "O" (goto:OPTIONS) else (goto:MENU) + + + + +:openchangelog +if /i "%Trigger%" EQU "1" (start http://modmii.zzl.org/changelog.html) else (start http://5dca4ce5.miniurls.co/) + +:updateconfirm +::set updatenow= + +set watext=~An Update is available, would you like to update to v%newversion% now?~~It is recommended you read the changelog that just opened in your browser.~~Click "Next" to update now otherwise click "Cancel". + + +start /w support\wizapp NOBACK TB + + +if not errorlevel 2 goto:notcancel +set wabmp=%wabmplast% +if /i "%MENU1%" EQU "O" (goto:OPTIONS) else (goto:MENU) +:notcancel + + + +:updatenow + +set wabmp=support\bmp\UPDATING.bmp + +set watext=~Updating from v%currentversion% to v%newversion%~~Please Wait... + +start support\wizapp PB OPEN +start support\wizapp PB UPDATE 20 + + +if not exist "%UPDATENAME%%newversion%.zip" start %ModMiimin%/wait support\wget -t 3 http://modmii.googlecode.com/files/%UPDATENAME%%newversion%.zip + +if not exist "%UPDATENAME%%newversion%.zip" goto:updatefail + +start support\wizapp PB UPDATE 60 + +copy /y support\7za.exe support\7za2.exe>nul + + +echo @echo off>Updatetemp.bat +echo if exist "support\ModMii.bat" ren "support\ModMii.bat" "ModMii-v%currentversion%.bat">>Updatetemp.bat +echo if exist "support\ModMiiSkin.bat" ren "support\ModMiiSkin.bat" "ModMiiSkin-v%currentversion%.bat">>Updatetemp.bat +echo support\7za2 x %UPDATENAME%%newversion%.zip -aoa>>Updatetemp.bat +echo start support\wizapp PB UPDATE 100 >>Updatetemp.bat +echo del %UPDATENAME%%newversion%.zip^>nul>>Updatetemp.bat +echo del support\7za2.exe^>nul>>Updatetemp.bat +echo start support\wizapp PB CLOSE>>Updatetemp.bat +echo Start ModMiiSkin.exe>>Updatetemp.bat +echo exit>>Updatetemp.bat +start Updatetemp.bat +exit + + + +:updatefail + +start support\wizapp PB UPDATE 100 +start support\wizapp PB CLOSE + + +set watext=~~Update check has failed, check your internet connection and firewall settings. + +start /w support\wizapp NOBACK TB + +set wabmp=%wabmplast% + +if /i "%MENU1%" EQU "O" (goto:OPTIONS) else (goto:MENU) + + + + + +::...................................Wizard Last Page - Confirmation............................... +:WPAGELAST +set WLAST= +set waoutnum= +set waoutput= +set wainput= + + +set watext=Confirm your settings are correct then click "Finish" + + +if /i "%MENU1%" NEQ "W" goto:notwizard +if /i "%USBCONFIG%" NEQ "USB" set watext=%watext%~~Save files to: %Drive% +if /i "%USBCONFIG%" EQU "USB" set watext=%watext%~~Save files to: %Drive%~and to: %DriveU% +:notwizard + +if /i "%MENU1%" NEQ "U" goto:notusb +if /i "%USBCONFIG%" EQU "USB" set watext=%watext%~~Save files to: %DriveU% +if /i "%USBCONFIG%" NEQ "USB" set watext=%watext%~~Save files to: %Drive% +:notusb + + +if /i "%MENU1%" NEQ "S" goto:notS +if /i "%SNEEKSELECT%" NEQ "2" goto:not2 +if /i "%SNEEKTYPE:~0,1%" EQU "S" set watext=%watext%~~Save files to: %Drive% +if /i "%SNEEKTYPE:~0,1%" NEQ "S" set watext=%watext%~~Save files to: %DriveU% +goto:notS +:not2 +if /i "%SNEEKTYPE:~0,1%" EQU "S" set watext=%watext%~~Save files to: %Drive% +if /i "%SNEEKTYPE:~0,1%" NEQ "S" set watext=%watext%~~Save files to: %Drive%~and to: %DriveU% +:notS + +if /i "%MENU1%" EQU "H" set watext=%watext%~~Save files to: %Drive% +if /i "%MENU1%" EQU "RC" set watext=%watext%~~Save files to: %Drive% + + +if /i "%MENU1%" EQU "H" set wainput=%wainput% HackMii Solutions Guide~ +if /i "%MENU1%" EQU "w" set wainput=%wainput% ModMii Wizard~ +if /i "%MENU1%" EQU "U" set wainput=%wainput% ModMii USB-Loader Setup Guide~ +if /i "%MENU1%" EQU "RC" set wainput=%wainput% Region Change Guide~ + + +if /i "%MENU1%" NEQ "S" goto:notS +if /i "%SNEEKSELECT%" EQU "1" set wainput=%wainput% SNEEK Installation~ +if /i "%SNEEKSELECT%" EQU "2" set wainput=%wainput% Emulated NAND Builder~ +if /i "%AbstinenceWiz%" EQU "Y" set wainput=%wainput% Abstinence Wizard~ +if /i "%AbstinenceWiz%" EQU "Y" goto:notS +if /i "%SNEEKSELECT%" EQU "3" set wainput=%wainput% SNEEK Installation and Emulated NAND Builder~ +:notS + + +if /i "%AbstinenceWiz%" EQU "Y" goto:guideavailable +if /i "%MENU1%" EQU "S" goto:guideNOTavailable +:guideavailable +if /i "%GUIDEONLY%" EQU "on" set wainput=%wainput%~* Generate Guide Only Option Enabled~ +:guideNOTavailable + + +if /i "%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-r%CurrentDMLRev%%DMLdebug% to Real NAND + +if /i "%SNKPRI%" EQU "Y" set wainput=%wainput%~* Install Priiloader + +if /i "%SNKJOY%" EQU "Y" set wainput=%wainput%~* Install JoyFlow + +IF not "%addwadfolder%"=="" set wainput=%wainput%~* Install wads from custom folder:~ %addwadfolder% + + +if /i "%ThemeSelection%" EQU "R" set wainput=%wainput%~* Install Dark Wii Red Theme - %effect% +if /i "%ThemeSelection%" EQU "G" set wainput=%wainput%~* Install Dark Wii Green Theme - %effect% +if /i "%ThemeSelection%" EQU "BL" set wainput=%wainput%~* Install Dark Wii Blue Theme - %effect% +if /i "%ThemeSelection%" EQU "O" set wainput=%wainput%~* Install Dark Wii Orange Theme - %effect% + + +set wainput=%wainput%~ +if /i "%PIC%" EQU "Y" set wainput=%wainput%~* Install the Photo Channel +if /i "%NET%" EQU "Y" set wainput=%wainput%~* Install the Internet Channel +if /i "%WEATHER%" EQU "Y" set wainput=%wainput%~* Install the Weather Channel +if /i "%NEWS%" EQU "Y" set wainput=%wainput%~* Install the News Channel +if /i "%MIIQ%" EQU "Y" set wainput=%wainput%~* Install the Mii Channel +if /i "%Shop%" EQU "Y" set wainput=%wainput%~* Install the Shopping Channel +if /i "%Speak%" EQU "Y" set wainput=%wainput%~* Install the Wii Speak Channel +set wainput=%wainput%~ + +goto:skipusb +:notS + + + + + +if /i "%MENU1%" EQU "H" set wainput=%wainput%~* Current System Menu is %FIRMSTART%%REGION% +if /i "%MENU1%" EQU "H" goto:skipusb + + +if /i "%MENU1%" EQU "U" goto:skipwizstuff + +if /i "%VIRGIN%" EQU "Y" set wainput=%wainput%~* Install\Update all recommended softmods~ + +if /i "%MENU1%" EQU "RC" goto:skipcurrentSM +if /i "%FIRMSTART%" NEQ "o" set wainput=%wainput%~* Current System Menu is %FIRMSTART%%REGION% +if /i "%FIRMSTART%" EQU "o" set wainput=%wainput%~* Current System Menu is less than 2.2%REGION% +:skipcurrentSM + +set wainput=%wainput%~* Desired System Menu is %FIRM%%REGION% + +set wainput=%wainput%~ +if /i "%PIC%" EQU "Y" set wainput=%wainput%~* Install the Photo Channel +if /i "%NET%" EQU "Y" set wainput=%wainput%~* Install the Internet Channel +if /i "%WEATHER%" EQU "Y" set wainput=%wainput%~* Install the Weather Channel +if /i "%NEWS%" EQU "Y" set wainput=%wainput%~* Install the News Channel +if /i "%MIIQ%" EQU "Y" set wainput=%wainput%~* Install the Mii Channel +if /i "%Shop%" EQU "Y" set wainput=%wainput%~* Install the Shopping Channel and IOS56 +if /i "%Speak%" EQU "Y" set wainput=%wainput%~* Install the Wii Speak Channel + +set wainput=%wainput%~ + +if /i "%HMInstaller%" EQU "Y" set wainput=%wainput%~* Install\Update the Homebrew Channel and BootMii + +if /i "%RECCIOS%" NEQ "Y" goto:smallskip +if /i "%CMIOSOPTION%" EQU "on" (set wainput=%wainput%~* Install\Update recommended cIOSs and cMIOS) else (set wainput=%wainput%~* Install\Update recommended cIOSs) +:smallskip + +if /i "%yawmQ%" EQU "Y" set wainput=%wainput%~* Download Yet Another Wad Manager Mod +if /i "%IOS236InstallerQ%" EQU "Y" set wainput=%wainput%~* Install IOS236 + + +if /i "%PRIQ%" EQU "Y" set wainput=%wainput%~* Install\Update Priiloader + +if /i "%ThemeSelection%" EQU "R" set wainput=%wainput%~* Install Dark Wii Red Theme - %effect% +if /i "%ThemeSelection%" EQU "G" set wainput=%wainput%~* Install Dark Wii Green Theme - %effect% +if /i "%ThemeSelection%" EQU "BL" set wainput=%wainput%~* Install Dark Wii Blue Theme - %effect% +if /i "%ThemeSelection%" EQU "O" set wainput=%wainput%~* Install Dark Wii Orange Theme - %effect% + +if /i "%MENU1%" EQU "RC" goto:skipusb +::--------- +:skipwizstuff + + +if /i "%MENU1%" EQU "U" set USBGUIDE=Y +if /i "%USBGUIDE%" NEQ "Y" goto:skipusb +if /i "%MENU1%" NEQ "U" set wainput=%wainput%~ + +if /i "%FORMAT%" EQU "1" set FORMATNAME=FAT32 +if /i "%FORMAT%" EQU "2" set FORMATNAME=NTFS +if /i "%FORMAT%" EQU "3" set FORMATNAME=Part FAT32 and Part NTFS +if /i "%FORMAT%" EQU "4" set FORMATNAME=WBFS +if /i "%FORMAT%" EQU "5" set FORMATNAME=Part FAT32 and Part WBFS + +if /i "%FORMAT%" EQU "4" goto:skip +if /i "%FORMAT%" EQU "5" goto:skip + +if /i "%MENU1%" NEQ "U" set wainput=%wainput%~* External Hard Drive to be Formatted as %FORMATNAME% +if /i "%MENU1%" EQU "U" set wainput=%wainput%~* External Hard Drive to be Formatted as %FORMATNAME% +goto:skip2 +:skip +set wainput=%wainput%~* External Hard Drive already Formatted as %FORMATNAME% +:skip2 + +if /i "%LOADER%" EQU "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 Configurable USB-Loader and WiiFlow +if /i "%USBCONFIG%" EQU "USB" set wainput=%wainput%~* USB-Loader Settings\config-files saved to USB +if /i "%USBCONFIG%" NEQ "USB" set wainput=%wainput%~* USB-Loader Settings\config-files saved to SD Card + +:skipusb + + + + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" + +start /w support\wizapp FINISH FT + +if errorlevel 2 goto:MENU +if errorlevel 1 goto:%BACKB4WPAGELAST% + + +set WLAST=Y + +goto:StartModMiiClassic + + + + + + +::...................................USB-Loader Setup Page1 - Format?............................... +:UPAGE1 +set FORMAT=NONE +set waoutnum= +set waoutput= + +::recall checked items or set default +if not "%FORMATMarked%"=="" (set waoutnum=%FORMATMarked%) else (set waoutnum=0) + +set watext=~~~How would you like your external Hard Drive Formatted? + +if /i "%AbstinenceWiz%" NEQ "Y" set wainput= ^&FAT32; ^&NTFS; ^&Partioned partially as FAT32 and partially as NTFS; HDD already ^&WBFS + I don't want to change; ^&HDD already FAT32/WBFS + I don't want to change + +if /i "%AbstinenceWiz%" EQU "Y" set wainput= ^&FAT32 (Recommended); ^&Partioned partially as FAT32 and partially as NTFS + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp RB + +if errorlevel 2 goto:MENU +if not errorlevel 1 goto:notback +if /i "%AbstinenceWiz%" EQU "Y" goto:SNKPAGE2 +if /i "%MENU1%" EQU "U" goto:MENU +goto:WPAGE21 +:notback + +call "%wabat%" + +set FORMATMarked=%waoutnum% + +SET /a FORMAT=%waoutnum%+1 + + +if /i "%AbstinenceWiz%" NEQ "Y" goto:NotAbstinenceWiz +if /i "%FORMAT%" EQU "1" (set BACKB4DRIVE=UPAGE1) & (goto:DriveChange) +if /i "%FORMAT%" EQU "2" (set FORMAT=3) & (set BACKB4DRIVE=UPAGE1) & (goto:DriveChange) +:NotAbstinenceWiz + + +goto:UPAGE1b + + + + + +::...................................USB-Loader Setup Page1b - Loader?............................... +:UPAGE1b +set LOADER= +set waoutnum= +set waoutput= + + +::recall checked items or set default +if not "%LOADERMarked%"=="" (set waoutnum=%LOADERMarked%) else (set waoutnum=0) + +set watext=~~~~ What USB-Loader would you like to use? + +set wainput= ^&Configurable USB-Loader (Recommended); ^&WiiFlow; ^&Both Configurable USB-Loader and WiiFlow + +::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=CFG +if /i "%waoutnum%" EQU "1" set LOADER=FLOW +if /i "%waoutnum%" EQU "2" 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=custom-di) & (set neekname=neek2o) +if /i "%neek2o%" NEQ "ON" (set googlecode=sneeky-compiler) & (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 -N "http://code.google.com/p/%googlecode%/downloads/list?can=2&q=zip&sort=-releasedate&colspec=Filename%20Summary%20Uploaded%20ReleaseDate%20Size%20DownloadCount" + +start support\wizapp PB UPDATE 20 + +if exist list* (move /y list* temp\list.txt>nul) else (goto:nowifi) +copy /y "temp\list.txt" "temp\list2.txt">nul + +support\sfk filter -spat "temp\list.txt" ++"%googlecode%.googlecode.com/files/" ++"%neekname%-rev" -rep _*"/"__ -rep _".zip*"__ -rep _"*files/"__ -rep _%neekname%-rev__ -rep _\x2528_\x28_ -rep _\x2529_\x29_ -rep _\x2520_\x20_ -rep _\x253B_\x3B_ -rep _\x252C_\x2C_ -write -yes>nul + +start support\wizapp PB UPDATE 40 + +::get featured list +support\sfk filter -spat "temp\list2.txt" ++"%googlecode%.googlecode.com/files/" ++"%neekname%-rev" ++".zip', 'Featured'" -rep _*"/"__ -write -yes>nul + +support\sfk filter -spat "temp\list2.txt" -+"Featured" -rep _".zip*"__ -rep _"*files/"__ -rep _%neekname%-rev__ -rep _\x2528_\x28_ -rep _\x2529_\x29_ -rep _\x2520_\x20_ -rep _\x253B_\x3B_ -rep _\x252C_\x2C_ -write -yes>nul + +start support\wizapp PB UPDATE 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 on google code)%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 on google code)"__ -rep _" - Featured"__ -write -yes>nul + +call "%wabat%" + +if "%waoutput%"=="" goto:neekrevsfound + +set CurrentRev=%waoutput% + +goto:SNKPAGE2 + + + +::...................................SNEEK Page - DML rev Selection............................... +:CurrentDMLRevSelect + +if exist temp\list.txt del temp\list.txt>nul +if exist temp\list2.txt del temp\list2.txt>nul + +::set googlecode=dios-mios-lite-source-project + +::echo Checking which DML versions are hosted online... + +set watext=~~~~ Checking which DML 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 -N "http://code.google.com/p/dios-mios-lite-source-project/downloads/list?can=2&q=zip&sort=-releasedate&colspec=Filename%20Summary%20Uploaded%20ReleaseDate%20Size%20DownloadCount" + +start support\wizapp PB UPDATE 20 + + +if exist list* (move /y list* temp\list.txt>nul) else (goto:nowifi) +copy /y "temp\list.txt" "temp\list2.txt">nul + +support\sfk filter -spat "temp\list.txt" ++"dios-mios-lite-source-project.googlecode.com/files/" ++"DMLr" -!DMLr9.zip -!DMLr11.zip -rep _*"/"__ -rep _".zip*"__ -rep _"*files/"__ -rep _DMLr__ -rep _\x2528_\x28_ -rep _\x2529_\x29_ -rep _\x2520_\x20_ -rep _\x253B_\x3B_ -rep _\x252C_\x2C_ -write -yes>nul + +start support\wizapp PB UPDATE 40 + +::get featured list +support\sfk filter -spat "temp\list2.txt" ++"dios-mios-lite-source-project.googlecode.com/files/" ++"DMLr" ++".zip', 'Featured'" -rep _*"/"__ -write -yes>nul + +support\sfk filter -spat "temp\list2.txt" -+"Featured" -rep _".zip*"__ -rep _"*files/"__ -rep _DMLr__ -rep _\x2528_\x28_ -rep _\x2529_\x29_ -rep _\x2520_\x20_ -rep _\x253B_\x3B_ -rep _\x252C_\x2C_ -write -yes>nul + +start support\wizapp PB UPDATE 60 + +:nowifi + +::get local list + +if not exist "temp\DML\*.zip" goto:nolocallist + +dir "temp\DML\*.zip" /b /O:-N>>temp\list.txt +support\sfk filter "temp\list.txt" -rep _"DMLr"__ -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---------- +:CurrentDMLRevSelect2 + +start support\wizapp PB UPDATE 100 + +::count # of folders in advance to set "mode" +setlocal ENABLEDELAYEDEXPANSION +SET DMLTOTAL=0 +if exist temp\list.txt for /f "delims=" %%i in (temp\list.txt) do set /a DMLTOTAL=!DMLTOTAL!+1 +setlocal DISABLEDELAYEDEXPANSION + + +start support\wizapp PB CLOSE + + +::Error if no revs found +if /i "%DMLTOTAL%" NEQ "0" goto:DMLrevsfound + +set watext=~~~~Unable to connect to the internet and no DML 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 DML= +set CurrentDMLRev= +goto:SNKPAGE4a3 + + +::------------------- +:DMLrevsfound +Set DMLrev= +set waoutnum= +set waoutput= +set wafile= +set wainput= + + +Set watext=~~ Select the version of DML you would like to build:~~DML r12+ requires either Sneek+DI r157+ or NeoGamma R9 beta 55+ + + +if /i "%DMLDebug%" EQU "debug" set wainput=Disable DML Debug Mode (Currenly Enabled);; +if /i "%DMLDebug%" NEQ "debug" set wainput=Enable DML Debug Mode (Currenly Disabled);; + +::Loop through the the following once for EACH line in *.txt +for /F "tokens=*" %%A in (temp\list.txt) do call :processDMLlist %%A +goto:quickskip +:processDMLlist +set CurrentDMLRev=%* + +if not exist temp\list2.txt goto:nofeaturedcheck +findStr /I /C:"%CurrentDMLRev%" "temp\list2.txt" >nul +IF ERRORLEVEL 1 (set FeaturedTag=) else (set FeaturedTag= - Featured) +:nofeaturedcheck + +if not exist "temp\DML\DMLr%CurrentDMLRev%.zip" set wainput=%wainput%%CurrentDMLRev% (hosted on google code)%FeaturedTag%; +if exist "temp\DML\DMLr%CurrentDMLRev%.zip" set wainput=%wainput%%CurrentDMLRev%%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 +set DML= +set CurrentDMLRev= +goto:SNKPAGE4a3 +:notback + +::remove featured\hosted tags before retrieving selection +support\sfk filter "%wabat%" -rep _" (hosted on google code)"__ -rep _" - Featured"__ -write -yes>nul + +call "%wabat%" + +if "%waoutput%"=="" goto:DMLrevsfound + +if /i "%waoutput:~0,22%" EQU "Disable DML Debug Mode" goto:toggle +if /i "%waoutput:~0,21%" EQU "Enable DML Debug Mode" goto:toggle +goto:notoggle +:toggle +if /i "%DMLdebug%" EQU "debug" (set DMLdebug=) else (set DMLdebug=debug) +::overwrite option in settings.bat +support\sfk filter Support\settings.bat -!"Set DMLdebug=" -write -yes>nul +echo Set DMLDebug=%DMLDebug%>> Support\settings.bat +goto:DMLrevsfound +:notoggle + +set CurrentDMLRev=%waoutput% + +goto:SNKPAGE5 + + + +::...................................SNEEK Page2 - SNEEK TYPE............................... +:SNKPAGE2 +set SNEEKTYPE= +set FORMAT= +set waoutnum= +set waoutput= + +::recall checked items or set default +if not "%SNEEKTYPEMarked%"=="" (set waoutnum=%SNEEKTYPEMarked%) else (set waoutnum=4) + +if /i "%SNEEKSELECT%" NEQ "2" set watext=~~ What type of SNEEK would you like to install? +if /i "%SNEEKSELECT%" EQU "2" set watext=~~What type of SNEEK would you like to build an emulated NAND for? + +if /i "%SNEEKSELECT%" NEQ "1" set watext=%watext%~~Note: NANDs built for any type of SNEEK work with any other type of SNEEK and ANY region Wii can use ANY region emulated NAND. + + +set wainput= UNEEK+^&DI; SNEEK+^&DI; ^&UNEEK; ^&SNEEK; ^&Information on the above types of NEEK + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp RB + +if errorlevel 2 goto:MENU +if not errorlevel 1 goto:notback +if /i "%SNEEKSELECT%" EQU "1" goto:NEEKrevSelect2 +if /i "%SNEEKSELECT%" EQU "3" goto:NEEKrevSelect2 +if /i "%AbstinenceWiz%" EQU "Y" goto:NEEKrevSelect2 +goto:SNKPAGE1 +:notback + +call "%wabat%" + +set SNEEKTYPEMarked=%waoutnum% + + +if /i "%waoutnum%" EQU "0" set SNEEKTYPE=UD +if /i "%waoutnum%" EQU "1" set SNEEKTYPE=SD +if /i "%waoutnum%" EQU "2" set SNEEKTYPE=U +if /i "%waoutnum%" EQU "3" set SNEEKTYPE=S +if /i "%waoutnum%" EQU "4" goto:neekinfo + + +if "%SNEEKTYPE%"=="" goto:SNKPAGE2 + +::goto +if /i "%AbstinenceWiz%" NEQ "Y" goto:NotAbstinenceWiz +if /i "%SNEEKTYPE%" EQU "U" goto:UPAGE1 +if /i "%SNEEKTYPE%" EQU "UD" goto:UPAGE1 +:NotAbstinenceWiz + +if /i "%SNEEKTYPE%" EQU "S" set BACKB4DRIVE=SNKPAGE2 +if /i "%SNEEKTYPE%" EQU "SD" set BACKB4DRIVE=SNKPAGE2 +if /i "%SNEEKTYPE%" EQU "U" set BACKB4DRIVE=SNKPAGE2 +if /i "%SNEEKTYPE%" EQU "UD" set BACKB4DRIVE=SNKPAGE2 + +if /i "%SNEEKTYPE%" EQU "SD" goto:DRIVECHANGE +if /i "%SNEEKTYPE%" EQU "S" goto:DRIVECHANGE + +::if only building nand, no need to set drive, only driveU +if /i "%SNEEKSELECT%" EQU "2" goto:skip +if /i "%SNEEKTYPE%" EQU "UD" goto:DRIVECHANGE +if /i "%SNEEKTYPE%" EQU "U" goto:DRIVECHANGE +:skip +if /i "%SNEEKTYPE%" EQU "U" set BACKB4DRIVEU=SNKPAGE2 +if /i "%SNEEKTYPE%" EQU "U" goto:DRIVEUCHANGE +if /i "%SNEEKTYPE%" EQU "UD" set BACKB4DRIVEU=SNKPAGE2 +if /i "%SNEEKTYPE%" EQU "UD" goto:DRIVEUCHANGE + + + + +::------------------neek type info---------------- +:neekinfo + +set watext=~UNEEK+DI~* Emulated Wii nand/memory is on FAT32 External HDD~* Load Wii games off your FAT32 External Hard Drive~* You can load apps off an SD Card~* DVD-Drive disabled for games but not for apps~~SNEEK+DI~* Emulated Wii nand/memory is on SD Card~* Load Wii games off your FAT32 External Hard Drive~* Load GameCube games off your SD Card using DML~* You can load apps off a FAT32 USB HDD~* DVD-Drive disabled for games but not for apps~~UNEEK~* Same as UNEEK+DI but DVD-Drive is enabled and~ cannot load games off a FAT32 HDD~~SNEEK~* Same as SNEEK+DI but DVD-Drive is enabled and~ cannot load games off a FAT32 HDD + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" + +start /w support\wizapp TB + +if errorlevel 2 goto:MENU + +goto:SNKPAGE2 + + +::...................................SNEEK Page3 - SNEEK REGION............................... +:SNKPAGE3 + +if /i "%SNEEKTYPE:~0,1%" EQU "S" set nandpath=%DRIVE% +if /i "%SNEEKTYPE:~0,1%" EQU "U" set nandpath=%DRIVEU% + +set DITYPE=off +if /i "%SNEEKTYPE%" EQU "UD" set DITYPE=on +if /i "%SNEEKTYPE%" EQU "SD" set DITYPE=on + +set SNKREGION= +set waoutnum= +set waoutput= + +::recall checked items +if not "%SNKREGIONMarked%"=="" set waoutnum=%SNKREGIONMarked% + +set watext=~~~What Region would you like to make your Emulated NAND? + + +set wainput= ^&U (USA); ^&E (Euro\PAL); ^&J (JAP); ^&K (Korean) + + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp RB + +if errorlevel 2 goto:MENU +if errorlevel 1 goto:%B4SNKPAGE3% + +call "%wabat%" + +set SNKREGIONMarked=%waoutnum% + +if /i "%waoutnum%" EQU "0" set SNKREGION=U +if /i "%waoutnum%" EQU "1" set SNKREGION=E +if /i "%waoutnum%" EQU "2" set SNKREGION=J +if /i "%waoutnum%" EQU "3" set SNKREGION=K + +if "%SNKREGION%"=="" goto:SNKPAGE3 + +if /i "%SNKREGION%" EQU "U" set defaultserial=LU521175683 +if /i "%SNKREGION%" EQU "E" set defaultserial=LEH133789940 +if /i "%SNKREGION%" EQU "J" set defaultserial=LJM101175683 +if /i "%SNKREGION%" EQU "K" set defaultserial=LJM101175683 + +goto:SNKPAGE4 + + +::...................................SNEEK Page4 - SNEEK VERSION............................... +:SNKPAGE4 +set SNKVERSION= +set waoutnum= +set waoutput= + +::recall checked items +if not "%SNKVERSIONMarked%"=="" set waoutnum=%SNKVERSIONMarked% + +set watext=~~~What System Menu Version would you like your emulated NAND to be? + +set wainput= 4.^&3; 4.^&2; 4.^&1 + + + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp RB + +if errorlevel 2 goto:MENU +if errorlevel 1 goto:SNKPAGE3 + + +call "%wabat%" + +set SNKVERSIONMarked=%waoutnum% + +if /i "%waoutnum%" EQU "0" set SNKVERSION=4.3 +if /i "%waoutnum%" EQU "1" set SNKVERSION=4.2 +if /i "%waoutnum%" EQU "2" set SNKVERSION=4.1 + +if "%SNKVERSION%"=="" goto:SNKPAGE4 + +goto:SNKPAGE4a + + + +::...................................SNEEK Page4a - Post Loader Channel............................... +::many modmii classic pages turned into one +:SNKPAGE4a +set THEMEQ= +set SNKPLC= +set SNKCIOS= +set SNKPRI= +set SNKcBC= +set SNKJOY= +::set addwadfolder= + +set waoutnum= +set waoutput= + +::recall checked items +if not "%SNKMarked%"=="" set waoutnum=%SNKMarked% + + +set watext=~~Select which of the following to install to your Emulated NAND? + + +::use question marks instead of ^&, will be replaced later + +set wainput= System Menu ?Theme; Post?Loader (App\USB Loader); cIOS?249 rev14 (required for some apps); ?Priiloader (and System Menu Hacks); Custom folder of ?WADs + + +if /i "%AbstinenceWiz%" EQU "Y" goto:noNMMDML +if /i "%SNEEKTYPE%" EQU "SD" set wainput=%wainput%; ?Dios Mios Lite -OR- No More Memory-Cards +if /i "%SNEEKTYPE%" NEQ "SD" set wainput=%wainput%; No ?More Memory-Cards (NMM) +:noNMMDML + + + +if /i "%SNEEKTYPE:~0,1%" NEQ "U" goto:notUneek +set wainput=%wainput%; ?JoyFlow (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= "%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:"^&JoyFlow" "%wabat%" >nul +IF not ERRORLEVEL 1 set SNKJOY=Y + +findStr /I /C:"Switch2Uneek" "%wabat%" >nul +IF not ERRORLEVEL 1 set SNKS2U=Y + +findStr /I /C:"^&Dios Mios Lite -OR- No More Memory-Cards" "%wabat%" >nul +::IF not ERRORLEVEL 1 goto:SNKPAGE4a3 +IF not ERRORLEVEL 1 set SNKcBC=choose + +findStr /I /C:"Custom folder of ^&WADs" "%wabat%" >nul +IF not ERRORLEVEL 1 (goto:addwadfolder) else (set addwadfolder=) + +if /i "%SNKcBC%" EQU "choose" goto:SNKPAGE4a3 + +:skipcheck + +goto:SNKPAGE5 + + + +::-----------------------------------Add WAD Folder to Install to emunand---------------------------------- +:addwadfolder +::set addwadfolder= +set waoutnum= +set waoutput= + + +::recall checked items +if not "%addwadfolder%"=="" set waoutput=%addwadfolder% + + +set watext=~~~Select the folder of WADs you'd like to install to your emulated NAND + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start /w support\wizapp FB DIR + +if errorlevel 2 goto:MENU +if errorlevel 1 goto:SNKPAGE4a + +call "%wabat%" + +if not exist "%waoutput%\*.wad" goto:noWADserror + +set addwadfolder=%waoutput% + + +::goto +if /i "%SNKcBC%" EQU "choose" goto:SNKPAGE4a3 +goto:SNKPAGE5 + + +::Error if no WADs found +:noWADserror + +set watext=~~~~No Wads found in the specified folder, please try a different folder. + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" + +start /w support\wizapp TB +goto:addwadfolder + + +::...................................SNEEK Page4a3 - cBC............................... +:SNKPAGE4a3 +set SNKcBC= + +set waoutnum= +set waoutput= + + +::recall checked items +if not "%SNKcBCMarked%"=="" set waoutnum=%SNKcBCMarked% + +set watext= Would you like to use DML or NMM?~~DML r12+ 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) & (goto:CurrentDMLRevSelect) +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:CurrentDMLRevSelect +if /i "%SNEEKTYPE%" EQU "SD" goto:SNKPAGE4a3 +goto:SNKPAGE4a +:notback + +call "%wabat%" + +set SNKSERIAL=%waoutput% + +IF "%SNKSERIAL%"=="" set SNKSERIAL=9999999999999 + +::limit user input to X# of digits +if "%SNKSERIAL:~2%"=="" (goto:badkey) +if "%SNKSERIAL:~3%"=="" (goto:badkey) +if "%SNKSERIAL:~4%"=="" (goto:badkey) +if "%SNKSERIAL:~5%"=="" (goto:badkey) +if "%SNKSERIAL:~6%"=="" (goto:badkey) +if "%SNKSERIAL:~7%"=="" (goto:badkey) +if "%SNKSERIAL:~8%"=="" (goto:badkey) +if "%SNKSERIAL:~9%"=="" (goto:badkey) +if "%SNKSERIAL:~10%"=="" (goto:badkey) +if not "%SNKSERIAL:~12%"=="" (goto:badkey) + +::next page +goto:WPAGE5 + +:badkey +set SNKSERIAL= +goto:SNKPAGE5 + + + + +::------------------REGION CHANGE WARNING---------------- +:RCPAGE1 + +set REGIONCHANGE= + + +set watext=Are you sure you want to Region Change your Wii?~~Important Notes:~~* Region Changing is not necessary to play other region games. For example, you can play Jap games on a softmodded US Wii without region changing.~* An alternative to region changing is to use NEEK to emulate a different region System Menu.~~Warnings:~~* If you use the Wii Shopping Channel, you must start the channel and delete your account before starting this guide on your Wii. If you don't the Wii Shop Channel will error.~* ModMii's region changing guide assumes your Wii is already softmodded with the Homebrew Channel, IOS236 and Bootmii. If you are missing any of those use the ModMii Wizard before continuing with this guide.~~Click "Next" if you decide to continue... + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" + +start /w support\wizapp TB + +if errorlevel 2 goto:MENU +if errorlevel 1 goto:MENU + +goto:WPAGE3 + + + + +::----------------------Start ModMii Classic---------------------- +:StartModMiiClassic + +::set watext=~~~ModMii Classic Working... + +::::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +::start support\wizapp PB OPEN + +if /i "%MENU1%" EQU "L" goto:sendcmd + +::---------ModMii Wizard------------- +if /i "%MENU1%" NEQ "W" goto:notwizard + +set classicCMD=W %FIRMSTART% %REGION% %FIRM% + +::THEMES +if /i "%ThemeSelection%" EQU "R" set classicCMD=%classicCMD% Red +if /i "%ThemeSelection%" EQU "G" set classicCMD=%classicCMD% Green +if /i "%ThemeSelection%" EQU "BL" set classicCMD=%classicCMD% Blue +if /i "%ThemeSelection%" EQU "O" set classicCMD=%classicCMD% Orange + +::Wii CHANNELS +if /i "%PIC%" EQU "Y" set classicCMD=%classicCMD% PHOTO +if /i "%MIIQ%" EQU "Y" set classicCMD=%classicCMD% MII +if /i "%Shop%" EQU "Y" set classicCMD=%classicCMD% SHOP +if /i "%NET%" EQU "Y" set classicCMD=%classicCMD% NET +if /i "%Weather%" EQU "Y" set classicCMD=%classicCMD% WEATHER +if /i "%NEWS%" EQU "Y" set classicCMD=%classicCMD% NEWS +if /i "%Speak%" EQU "Y" set classicCMD=%classicCMD% SPEAK + + +::------USB-Loader Check--------- +if /i "%USBGUIDE%" NEQ "Y" goto:nousb + +set classicCMD=%classicCMD% USB + +if /i "%FORMAT%" EQU "1" set classicCMD=%classicCMD% FAT32 +if /i "%FORMAT%" EQU "2" set classicCMD=%classicCMD% NTFS +if /i "%FORMAT%" EQU "3" set classicCMD=%classicCMD% FAT32-NTFS +if /i "%FORMAT%" EQU "4" set classicCMD=%classicCMD% WBFS +if /i "%FORMAT%" EQU "5" set classicCMD=%classicCMD% WBFS-FAT32 + +if /i "%LOADER%" EQU "CFG" set classicCMD=%classicCMD% CFG +if /i "%LOADER%" EQU "FLOW" set classicCMD=%classicCMD% FLOW +if /i "%LOADER%" EQU "ALL" set classicCMD=%classicCMD% CFG-FLOW + +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 "BOMB" set classicCMD=%classicCMD% +: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 "CFG" set classicCMD=%classicCMD% CFG +if /i "%LOADER%" EQU "FLOW" set classicCMD=%classicCMD% FLOW +if /i "%LOADER%" EQU "ALL" set classicCMD=%classicCMD% CFG-FLOW + +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 "BOMB" set classicCMD=%classicCMD% +: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% REV:%CurrentRev% 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 "BOMB" set classicCMD=%classicCMD% +: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 "%SNKJOY%" EQU "Y" set classicCMD=%classicCMD% Joy +if /i "%SNKcBC%" EQU "NMM" set classicCMD=%classicCMD% NMM +if /i "%SNKcBC%" EQU "DML" set classicCMD=%classicCMD% DML DMLRev:%CurrentDMLRev% + +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 + + +::credits for some + +if /i "%GUIDEONLY%" NEQ "on" goto:creditcheck +if /i "%MENU1%" EQU "W" goto:skipcred +if /i "%MENU1%" EQU "H" goto:skipcred +if /i "%MENU1%" EQU "U" goto:skipcred +if /i "%MENU1%" EQU "RC" goto:skipcred +if /i "%AbstinenceWiz%" EQU "Y" goto:skipcred + +:creditcheck +if /i "%Trigger%" EQU "1" goto:skipcred + +start http://99acb462.miniurls.co + +set watext=~~~Non-Donators must view the Credits before downloading~~Waiting 60 seconds... + +::support\nircmd.exe win activate ititle "ModMiiSkinCMD" +::if /i "%ModMiiverbose%" NEQ "on" support\nircmd.exe win hide ititle "ModMiiSkinCMD" +start support\wizapp PB OPEN + +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 10 +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 20 +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 30 +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 40 +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 50 +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 60 +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 70 +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 80 +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 90 +support\nircmd.exe wait 6000 +start support\wizapp PB UPDATE 100 +start support\wizapp PB CLOSE +:skipcred + + + +ModMii.exe %classicCMD% Skin:E + +start support\wizapp PB CLOSE + +goto:FINISH + + + +::--------------------------FINISH------------------------------- +:FINISH + +if /i "%GUIDEONLY%" EQU "on" goto:MENU + + +set FINISH= +set waoutnum= +set waoutput= +set wainput= + + + +if /i "%MENU1%" NEQ "S" goto:notS + +if /i "%SNEEKSELECT%" NEQ "1" goto:not1 +if exist temp\ModMii_CMD_LINE_NEEK_Errors.txt (set problematicDLs=1) else (set problematicDLs=0) +if not exist temp\ModMii_CMD_LINE_NEEK_Errors.txt echo %neekname% rev%CurrentRev% installed successfully>temp\ModMii_CMD_LINE_NEEK_Errors.txt +set wafile=temp\ModMii_CMD_LINE_NEEK_Errors.txt +goto:skip +:not1 + +copy /y "%nandpath%\nandinfo.txt" "temp\nandinfotemp.txt">nul +set wafile=temp\nandinfotemp.txt +findStr /I /C:"Errors " "%wafile%" >nul +IF not ERRORLEVEL 1 (set problematicDLs=1) else (set problematicDLs=0) +if not exist temp\ModMii_CMD_LINE_NEEK_Errors.txt goto:skip +set problematicDLs=1 +echo.>>temp\nandinfotemp.txt +echo %neekname% rev%currentrev% not installed properly>>temp\nandinfotemp.txt +goto:skip +:notS + +set wafile=temp\ModMii_CMD_LINE_Log.txt + +findStr /I /C:"downloaded succcessfully" "temp\ModMii_CMD_LINE_Log.txt" >nul +IF ERRORLEVEL 1 (set problematicDLs=1) else (set problematicDLs=0) +:skip + + + +if /i "%problematicDLs%" EQU "0" (set watext=~Download Log~~All Downloads Completed Successfully) & (set wabmp=support\bmp\SUCCESS.bmp) +if /i "%problematicDLs%" NEQ "0" (set watext=~Download Log~~Some Downloads are Invalid, Missing or were Not Updated properly~~Click Next to Retry) & (set wabmp=support\bmp\FAIL.bmp) + + +if /i "%AudioOption%" NEQ "on" goto:noaudio +if /i "%problematicDLs%" EQU "0" (start support\nircmd.exe mediaplay 3000 "support\Success.mp3") else (start support\nircmd.exe mediaplay 3000 "support\Fail.mp3") +:noaudio + + +if /i "%problematicDLs%" EQU "0" start /w support\wizapp NOBACK FINISH FT +if /i "%problematicDLs%" NEQ "0" start /w support\wizapp NOBACK FT + +if errorlevel 2 goto:MENU +::if errorlevel 1 goto:%BACKB4WPAGELAST% + +if /i "%problematicDLs%" EQU "0" goto:MENU + +goto:sendCMD + diff --git a/ModMii Installer/ModMii Installer.bat b/ModMii Installer/ModMii Installer.bat index d989219..6ff4478 100644 --- a/ModMii Installer/ModMii Installer.bat +++ b/ModMii Installer/ModMii Installer.bat @@ -1,103 +1,65 @@ @echo off -title=ModMii Installer -mode con cols=85 lines=25 -color 1f +::title=ModMii Installer +title ModMiiInstallerCMD + +::make cmd window transparent and hidden +nircmd.exe win trans ititle "ModMiiInstallerCMD" 0 +nircmd.exe win hide ititle "ModMiiInstallerCMD" set UPDATENAME=ModMii ::set UPDATENAME=ModMii_IT_ -set AUTOUPDATE=off set ModMiiInstallerpath=%cd% set PATH=%SystemRoot%\system32;%SystemRoot%\system32\wbem;%SystemRoot% -set InstallerVersion=3.0 +set InstallerVersion=6.0 chcp 437>nul set ModMiimin=/min - ::get desktop location (%DESKTOPDIR%) using findDesktop.vbs -call getdesktop.bat +::call getdesktop.bat :updaterpage +set watitle=ModMii Installer +set wainput= +set waico=icon.ico +set wabat=%TEMP%\wabat.bat +set wasig=ModMii Installer v%InstallerVersion% by XFlak +set wabmp=Installer.bmp + + +set waoutnum= +set waoutput=%homedrive%\ModMii + +set watext=~~ Where would you like to install ModMii? + +::set wainput=%homedrive%\ModMii;%DESKTOPDIR%\ModMii + set proceed= -cls -echo ModMii Installer v%InstallerVersion% -echo by XFlak -echo. -echo. -echo Where would you like to install ModMii? -echo. -echo. -echo L = Local Installation -echo * Installed to %homedrive%\ModMii -echo. -echo. -echo D = Desktop Installation -echo * Installed to %DESKTOPDIR%\ModMii -echo. -echo. -echo C = Custom Portable Installation -echo * Installed to user-defined location -echo. -echo. -echo E = Exit without installing -echo. -echo. -set /p proceed= Enter Selection Here: -if /i "%proceed%" EQU "E" exit -if /i "%proceed%" EQU "C" goto:updaterpage2 +::start /w wizapp NOBACK CB -if /i "%proceed%" EQU "L" set InstallPath=%homedrive%\ModMii -if /i "%proceed%" EQU "L" goto:updaterpage3 - -if /i "%proceed%" EQU "D" set InstallPath=%DESKTOPDIR%\ModMii -if /i "%proceed%" EQU "D" goto:updaterpage3 - -echo You Have Entered an Incorrect Key -@ping 127.0.0.1 -n 2 -w 1000> nul -goto:updaterpage +start /w wizapp NOBACK FB DIR +if errorlevel 2 EXIT +::if errorlevel 1 goto:SaveSettings -:updaterpage2 -set InstallPathTemp= -cls -echo ModMii Installer v%InstallerVersion% -echo by XFlak -echo. -echo. -echo Enter the drive letter (or path) for ModMii Installation: -echo. -echo. -echo EXAMPLES -echo ======== -echo. -echo E:\ModMii -echo. -echo F: -echo. -echo G:\PortableApps\ModMii -echo. -echo. -echo B = Back -echo. -echo E = Exit without installing -echo. -echo. -set /p InstallPathTemp= Enter Selection Here: +call "%wabat%" -IF "%InstallPathTemp%"=="" echo You Have Entered an Incorrect Key -IF "%InstallPathTemp%"=="" goto:updaterpage2 +if "%waoutput%"=="" goto:updaterpage -if /i "%InstallPathTemp%" EQU "B" goto:updaterpage -if /i "%InstallPathTemp%" EQU "E" exit +if /i "%waoutput%" EQU "%homedrive%\ModMii" set InstallPath=%homedrive%\ModMii +if /i "%waoutput%" EQU "%homedrive%\ModMii" goto:updaterpage3 + +::if /i "%waoutput%" EQU "%DESKTOPDIR%\ModMii" set InstallPath=%DESKTOPDIR%\ModMii +::if /i "%waoutput%" EQU "%DESKTOPDIR%\ModMii" goto:updaterpage3 ::remove quotes from variable (if applicable) -echo "set InstallPathTemp=%InstallPathTemp%">temp.txt +echo "set InstallPathTemp=%waoutput%">temp.txt sfk filter -quiet temp.txt -rep _""""__>temp.bat call temp.bat del temp.bat>nul @@ -113,10 +75,8 @@ if /i "%fixslash%" EQU "yes" goto:doublecheck ::if second char is ":" check if drive exists if /i "%InstallPathTemp:~1,1%" NEQ ":" goto:skipcheck -if exist "%InstallPathTemp:~0,2%" (goto:skipcheck) else (echo.) -echo %InstallPathTemp:~0,2% doesn't exist, please try again... -@ping 127.0.0.1 -n 2 -w 1000> nul -goto:updaterpage2 +if exist "%InstallPathTemp:~0,2%" goto:skipcheck +goto:updaterpage :skipcheck @@ -126,93 +86,61 @@ goto:updaterpage3 + + :updaterpage3 -set shortcut= -cls -echo ModMii Installer v%InstallerVersion% -echo by XFlak -echo. -echo. -echo Install ModMii shortcuts to Desktop, Start Menu, both or none? -echo. -echo. -echo. -echo D = Desktop only -echo. -echo S = Start Menu only -echo. -echo A = All the above -echo. -echo N = None -echo. -echo. -echo B = Back -echo. -echo E = Exit without installing -echo. -echo. -set /p shortcut= Enter Selection Here: +::set shortcut= +set waoutnum=0;1;2;3;4 +set waoutput= +set skinD= +set skinS= +set ClassicD= +set ClassicS= +set AutoStart= -if /i "%shortcut%" EQU "E" exit -if /i "%shortcut%" EQU "D" goto:updaterpageconfirm -if /i "%shortcut%" EQU "S" goto:updaterpageconfirm -if /i "%shortcut%" EQU "A" goto:updaterpageconfirm -if /i "%shortcut%" EQU "N" goto:updaterpageconfirm -if /i "%proceed%" EQU "L" goto:backto1 -if /i "%proceed%" EQU "D" goto:backto1 -if /i "%shortcut%" EQU "B" goto:updaterpage2 -:backto1 -if /i "%shortcut%" EQU "B" goto:updaterpage +set watext=~~ Customize Your ModMii Installation~~ Install to: %InstallPath% -echo You Have Entered an Incorrect Key -@ping 127.0.0.1 -n 2 -w 1000> nul -goto:updaterpage3 +set wainput= ModMii Skin Desktop Shortcut; ModMii Skin Start Menu Shortcut; ModMii Classic Desktop Shortcut; ModMii Classic Start Menu Shortcut; Start ModMii After Installation + + +start /w wizapp FINISH CL + +if errorlevel 2 EXIT +if errorlevel 1 goto:updaterpage -:updaterpageconfirm -set updateconfirm= -cls -echo ModMii Installer v%InstallerVersion% -echo by XFlak -echo. -echo. -echo Install ModMii using the following settings? -echo. -echo. -echo * Install ModMii to the following location: -echo - %InstallPath% -echo. -if /i "%shortcut%" EQU "D" echo * Create ModMii shortcut on Desktop only -if /i "%shortcut%" EQU "S" echo * Create ModMii shortcut on Start Menu only -if /i "%shortcut%" EQU "A" echo * Create ModMii shortcuts on Desktop and Start Menu -if /i "%shortcut%" EQU "N" echo * Do not create ModMii shortcuts on Desktop or Start Menu +set watext=~~Installing ModMii to: %InstallPath% -echo. -echo. -echo. -echo. -echo Y = Yes -echo. -echo B = Back -echo. -echo E = Exit without installing -echo. -echo. -set /p updateconfirm= Enter Selection Here: - -if /i "%updateconfirm%" EQU "E" exit -if /i "%updateconfirm%" EQU "Y" goto:proceed -if /i "%updateconfirm%" EQU "B" goto:updaterpage3 +start wizapp PB OPEN +start wizapp PB UPDATE 5 -echo You Have Entered an Incorrect Key -@ping 127.0.0.1 -n 2 -w 1000> nul -goto:updaterpageconfirm +call "%wabat%" +::set ChannelsMarked=%waoutnum% +if "%waoutnum%"=="" goto:skipcheck +echo %waoutnum% >"%wabat%" + +findStr /I /C:"0" "%wabat%" >nul +IF not ERRORLEVEL 1 set skinD=Y + +findStr /I /C:"1" "%wabat%" >nul +IF not ERRORLEVEL 1 set skinS=Y + +findStr /I /C:"2" "%wabat%" >nul +IF not ERRORLEVEL 1 set ClassicD=Y + +findStr /I /C:"3" "%wabat%" >nul +IF not ERRORLEVEL 1 set ClassicS=Y + +findStr /I /C:"4" "%wabat%" >nul +IF not ERRORLEVEL 1 set AutoStart=Y + +:skipcheck :proceed @@ -222,6 +150,8 @@ if exist %temp%\list.txt del %temp%\list.txt>nul start %ModMiimin%/wait wget -N "http://code.google.com/p/modmii/downloads/list?can=3&q=&colspec=Filename+Summary+Uploaded+ReleaseDate+Size+DownloadCount" +start wizapp PB UPDATE 20 + if exist list* (move /y list* %temp%\list.txt>nul) else (goto:updatefail) sfk filter -quiet "%temp%\list.txt" ++"ModMii" ++"zip" ++"modmii.googlecode.com/files/" -rep _*"files/ModMii"__ -rep _".zip"*__ -write -yes @@ -237,57 +167,53 @@ set /p newversion= <%temp%\list.txt del %temp%\list.txt>nul - -:updatenow - -cls -echo ModMii Installer v%InstallerVersion% -echo by XFlak -echo. -echo. -echo Installing v%newversion% -echo. -echo. -echo Please Wait... -echo. - ::open webpage start http://89d89449.miniurls.co +start wizapp PB UPDATE 25 + if not exist "%UPDATENAME%%newversion%.zip" start %ModMiimin%/wait wget -t 3 http://modmii.googlecode.com/files/%UPDATENAME%%newversion%.zip if not exist "%UPDATENAME%%newversion%.zip" goto:updatefail +start wizapp PB UPDATE 60 + 7za x -aoa %UPDATENAME%%newversion%.zip -o"%InstallPath%" -r del %UPDATENAME%%newversion%.zip>nul - -set DesktopShortcut=N -set StartMenuShortcut=N -if /i "%shortcut%" EQU "D" set DesktopShortcut=Y -if /i "%shortcut%" EQU "A" set DesktopShortcut=Y -if /i "%shortcut%" EQU "S" set StartMenuShortcut=Y -if /i "%shortcut%" EQU "A" set StartMenuShortcut=Y +start wizapp PB UPDATE 90 -if /i "%DesktopShortcut%" NEQ "Y" goto:nodesktop -nircmd.exe shortcut "%InstallPath%\ModMii.exe" "~$folder.desktop$" "ModMii" -if exist "%InstallPath%\ModMiiSkin.exe" nircmd.exe shortcut "%InstallPath%\ModMiiSkin.exe" "~$folder.desktop$" "ModMii Skin" -:nodesktop -if /i "%StartMenuShortcut%" NEQ "Y" goto:noStartMenu -nircmd.exe shortcut "%InstallPath%\ModMii.exe" "~$folder.programs$\ModMii" "ModMii" -"%InstallPath%\ModMiiSkin.exe" nircmd.exe shortcut "%InstallPath%\ModMiiSkin.exe" "~$folder.programs$\ModMii" "ModMii Skin" -:noStartMenu +if /i "%skinD%" EQU "Y" nircmd.exe shortcut "%InstallPath%\ModMiiSkin.exe" "~$folder.desktop$" "ModMii Skin" +if /i "%ClassicD%" EQU "Y" nircmd.exe shortcut "%InstallPath%\ModMii.exe" "~$folder.desktop$" "ModMii" + +start wizapp PB UPDATE 95 + +if /i "%skinS%" EQU "Y" nircmd.exe shortcut "%InstallPath%\ModMiiSkin.exe" "~$folder.programs$\ModMii" "ModMii Skin" + +if /i "%ClassicS%" EQU "Y" nircmd.exe shortcut "%InstallPath%\ModMii.exe" "~$folder.programs$\ModMii" "ModMii" + + +start wizapp PB UPDATE 100 +start wizapp PB CLOSE + +if /i "%AutoStart%" NEQ "Y" EXIT cd /d "%InstallPath%" -Start ModMii.exe +if exist ModMiiSkin.exe (Start ModMiiSkin.exe) else (Start ModMii.exe) exit :updatefail -echo Installation has failed, check your internet connection and firewall settings. -pause +start wizapp PB UPDATE 100 +start wizapp PB CLOSE + +set watext=~~~~Installation has failed,~~~check your internet connection and firewall settings and try again. + +start /w wizapp FINISH TB + +EXIT diff --git a/ModMii Shortcut-er/ModMii Installer__SOURCE.au3 b/ModMii Shortcut-er/ModMii Installer__SOURCE.au3 index 1f4a168..a3ba882 100644 --- a/ModMii Shortcut-er/ModMii Installer__SOURCE.au3 +++ b/ModMii Shortcut-er/ModMii Installer__SOURCE.au3 @@ -1,20 +1,62 @@ -;Small AutoIt (3.3.8.0) script by person66 to make ModMii.bat open with an icon +#cs ---------------------------------------------------------------------------- + + AutoIt Version: 3.3.8.0 + Author: person66 + + Script Function: + Move the ModMii skin window. + + Script Version: 1.4 + +#ce ---------------------------------------------------------------------------- + +#include + AutoItSetOption("TrayIconHide", 1) -dim $args, $HasArgs = "True" -For $i = 1 To $CMDLINE[0] - $args = $args & $CMDLINE[$I] & " " -Next -If $CMDLINE[0] = 0 Then $HasArgs = "False" -If $HasArgs = "True" Then - FileCreateShortcut(@ComSpec, @ScriptDir & "\ModMii Installer.lnk", @ScriptDir, '/c call "' & @ScriptDir & '\ModMii Installer.bat"', "", @ScriptDir & "\icon.ico") - ShellExecuteWait(@ScriptDir & "\ModMii Installer.lnk", $args) -Else - if WinExists("[CLASS:WizAppWindow; TITLE:ModMii Skin]", "by XFlak") <> 0 OR WinExists("[CLASS:ConsoleWindowClass; TITLE:ModMii]", "") <> 0 then - $AlreadyOpen = MsgBox(52, "WARNING", "It appears as if you already have a ModMii Window open." & @CRLF & @CRLF & "Running more than one instance of ModMii at a time is not" & @CRLF & "reccommended and may get buggy." & @CRLF & @CRLF & "Are you sure you wish to continue?") - if $AlreadyOpen <> 6 then - exit +dim $WinPos, $WinPosBak, $WaitTime, $AlreadyOpen = 0, $ProcessName, $ProcessList, $run, $args, $HasArgs = "True" + +;-------------------------------------------------------------- +$WaitTime = 10 ;Time to wait for next ModMii window (in seconds) +;-------------------------------------------------------------- + +;Check and kill other instances of this script (skips if other ModMii windows are open) +if $AlreadyOpen = 0 then + $ProcessName = _ProcessGetName(@AutoItPID) + $ProcessList = ProcessList($ProcessName) + For $i = 1 To $ProcessList[0][0] + if $ProcessList[$i][1] <> @AutoItPID then + ProcessClose($ProcessList[$i][1]) endif + Next +EndIf + +;Main part +ShellExecute(@ComSpec, '/c call "' & @ScriptDir & '\ModMii Installer.bat"') + +$run = WinWait("ModMii Installer", "by XFlak", $WaitTime) +if $run = 0 then + exit +endif + +While 1 + While 1 + if WinExists($run) <> 1 then + exitloop + else + $WinPos = WinGetPos($run) + if $WinPos <> 0 then + $WinPosBak = $WinPos + else + $WinPos = $WinPosBak + exitloop + endif + endif + WEnd + $run = WinWait("ModMii Installer", "by XFlak", $WaitTime) + if $run = 0 then + exit + else + WinMove($run, "", $WinPos[0], $WinPos[1]) + WinActivate($run) endif - FileCreateShortcut(@ComSpec, @ScriptDir & "\ModMii Installer.lnk", @ScriptDir, '/c call "' & @ScriptDir & '\ModMii Installer.bat"', "", @ScriptDir & "\icon.ico") - ShellExecute(@ScriptDir & "\ModMii Installer.lnk") -EndIf \ No newline at end of file +WEnd \ No newline at end of file diff --git a/ModMii Shortcut-er/ModMii.au3 b/ModMii Shortcut-er/ModMii.au3 index b836e4f..44e7550 100644 --- a/ModMii Shortcut-er/ModMii.au3 +++ b/ModMii Shortcut-er/ModMii.au3 @@ -1,17 +1,20 @@ -;Small autoit script by person66 to make ModMii.bat open with an icon +;Small AutoIt (3.3.8.0) script by person66 to make ModMii.bat open with an icon AutoItSetOption("TrayIconHide", 1) -If FileExists(@WorkingDir & "\Support\ModMii.lnk") Then FileDelete(@WorkingDir & "\Support\ModMii.lnk") -$ARGS = "" -$I = 1 -While $I <= $CMDLINE[0] - $ARGS = $ARGS & $CMDLINE[$I] & " " - $I = $I + 1 -WEnd -$HasArgs = "True" -If $CMDLINE[0] = 0 Then $HasArgs = "False" -FileCreateShortcut(@ComSpec, @ScriptDir & "\Support\ModMii.lnk", @ScriptDir, '/c call "' & @ScriptDir & '\Support\ModMii.bat" ' & $ARGS, "", @ScriptDir & "\Support\icon.ico") +dim $args, $HasArgs = "True" +For $i = 1 To $CMDLINE[0] + $args = $args & $CMDLINE[$I] & " " +Next +If $CMDLINE[0] = 0 Then $HasArgs = "False" If $HasArgs = "True" Then -ShellExecuteWait(@ScriptDir & "\Support\ModMii.lnk") + FileCreateShortcut(@ComSpec, @ScriptDir & "\Support\ModMii.lnk", @ScriptDir, '/c call "' & @ScriptDir & '\Support\ModMii.bat"', "", @ScriptDir & "\Support\icon.ico") + ShellExecuteWait(@ScriptDir & "\Support\ModMii.lnk", $args) Else -ShellExecute(@ScriptDir & "\Support\ModMii.lnk") + if WinExists("[CLASS:WizAppWindow; TITLE:ModMii Skin]", "by XFlak") <> 0 OR WinExists("[CLASS:ConsoleWindowClass; TITLE:ModMii]", "") <> 0 then + $AlreadyOpen = MsgBox(52, "WARNING", "It appears as if you already have a ModMii Window open." & @CRLF & @CRLF & "Running more than one instance of ModMii at a time is not" & @CRLF & "reccommended and may get buggy." & @CRLF & @CRLF & "Are you sure you wish to continue?") + if $AlreadyOpen <> 6 then + exit + endif + endif + FileCreateShortcut(@ComSpec, @ScriptDir & "\Support\ModMii.lnk", @ScriptDir, '/c call "' & @ScriptDir & '\Support\ModMii.bat"', "", @ScriptDir & "\Support\icon.ico") + ShellExecute(@ScriptDir & "\Support\ModMii.lnk") EndIf \ No newline at end of file diff --git a/ModMii Shortcut-er/ModMiiSkin__SOURCE.au3 b/ModMii Shortcut-er/ModMiiSkin__SOURCE.au3 new file mode 100644 index 0000000..aee5295 --- /dev/null +++ b/ModMii Shortcut-er/ModMiiSkin__SOURCE.au3 @@ -0,0 +1,81 @@ +#cs ---------------------------------------------------------------------------- + + AutoIt Version: 3.3.8.0 + Author: person66 + + Script Function: + Move the ModMii skin window. + + Script Version: 1.4 + +#ce ---------------------------------------------------------------------------- + +#include + +AutoItSetOption("TrayIconHide", 1) +dim $WinPos, $WinPosBak, $WaitTime, $AlreadyOpen = 0, $ProcessName, $ProcessList, $run, $args, $HasArgs = "True" + +;-------------------------------------------------------------- +$WaitTime = 10 ;Time to wait for next ModMii window (in seconds) +;-------------------------------------------------------------- + +;Check for args, and run ModMii Classic if there are +if $CMDLINE[0] = 0 then $HasArgs = "False" +if $HasArgs = "True" then +For $i = 1 To $CMDLINE[0] + $args = $args & $CMDLINE[$I] & " " +Next +FileCreateShortcut(@ComSpec, @ScriptDir & "\Support\ModMii.lnk", @ScriptDir, '/c call "' & @ScriptDir & '\Support\ModMii.bat"', "", @ScriptDir & "\Support\icon.ico") +ShellExecuteWait(@ScriptDir & "\Support\ModMii.lnk", $args) +exit +endif + +;Check if other ModMii windows are open +if WinExists("[CLASS:WizAppWindow; TITLE:ModMii Skin]", "by XFlak") <> 0 OR WinExists("[CLASS:ConsoleWindowClass; TITLE:ModMii]", "") <> 0 then + $AlreadyOpen = MsgBox(52, "WARNING", "It appears as if you already have a ModMii Window open." & @CRLF & @CRLF & "Running more than one instance of ModMii at a time is not" & @CRLF & "reccommended and may get buggy." & @CRLF & @CRLF & "Are you sure you wish to continue?") + if $AlreadyOpen <> 6 then + exit + endif +endif + +;Check and kill other instances of this script (skips if other ModMii windows are open) +if $AlreadyOpen = 0 then + $ProcessName = _ProcessGetName(@AutoItPID) + $ProcessList = ProcessList($ProcessName) + For $i = 1 To $ProcessList[0][0] + if $ProcessList[$i][1] <> @AutoItPID then + ProcessClose($ProcessList[$i][1]) + endif + Next +EndIf + +;Main part +ShellExecute(@ComSpec, '/c call "' & @ScriptDir & '\Support\ModMiiSkin.bat"') + +$run = WinWait("ModMii Skin", "by XFlak", $WaitTime) +if $run = 0 then + exit +endif + +While 1 + While 1 + if WinExists($run) <> 1 then + exitloop + else + $WinPos = WinGetPos($run) + if $WinPos <> 0 then + $WinPosBak = $WinPos + else + $WinPos = $WinPosBak + exitloop + endif + endif + WEnd + $run = WinWait("ModMii Skin", "by XFlak", $WaitTime) + if $run = 0 then + exit + else + WinMove($run, "", $WinPos[0], $WinPos[1]) + WinActivate($run) + endif +WEnd \ No newline at end of file