modmii.github.io/Support/Casper2BootMii.bat
XFlak 3b96b9c28f 6.6.2 Changelog - 2021:04-06:
*Added multi-language support for analyzing syscheck.csv logs (English, German, French, Spanish & Italian).
*NAND backups are now included in syscheck updater guides when updating the HBC or Bootmii.
*Improvements to syscheck updater guide based on the version of the HBC currently installed:
    -If the HBC/Bootmii needs to be updated, and IOS58 is already installed, updating the HBC is the first step.
    -If the HBC/Bootmii needs to be updated, and IOS58 is not already installed, ModMii will have you update this AFTER the install WADs (or Priiloader) step in order to have the HBC reinstall to use IOS58.
    -If the HBC is super old (older than v1.0.7), updating the HBC is the first step in order to gain ahbprot\no-ios-reload support, then ONLY if IOS58 was not already installed according to the syscheck the HBC is reinstalled after the install Wads (or Priiloader) step in order to have the HBC reinstall to use IOS58. 
*ModMii now detects if it's missing write access to the installation folder, and only if necessary, prompts you to either change the installation directory or press any key to re-launch itself as admin. When relaunching itself, *if the standard ModMii shortcuts are detected, they will also be updated to launch ModMii as admin in the future.
*Added write permissions check for SD and USB directory settings.
*ModMii now works when installed to folders with special characters.
*Updated launchers (ModMii.exe and ModMiiSkin.exe) by person66 to support carets in installation path.
*Fixed bug where advanced download IOS patches were not being applied if the slot number was left unchanged.
*tmdedit.exe is no longer used to build d2x v10beta52 and 53alt cIOSs. One user briefly encountered problems with tmdedit that have not resurfaced, but just in case.
*Fixed bug when saving\loading MAC address for Wilbrand in ModMii Classic's saved wizard settings from a previous session.
*Restored code page to 437 as some users reported slowdowns with unicode (65001). Unicode still used but very sparingly when running the sneek installer (Windows 10 only).
*Updated cygwin1.dll to clear warnings when running ModMii's sneek game extractor or forwarder ISO creator; warnings made no difference on the output of files.
*Added note to Region Change guides on how to update Nintendo channels (e.g. News, Internet, etc.) in case existing channels don't work on the new region.
*Removed the HBC Reinstallation youtube video and gif from guides (redundant).
*Priiloader updated to v0.9.1 and updated hacks_hash for WiimmFi v4.
*Updated the version of Priiloader (and hacks) that get installed to Emulated NANDs to v0.9.1 (from v0.7 neek mod). Also added note when installing Priiloader to an EmuNAND that it is bypassed in neek2o rev 93-96.
*USB Loader GX updated to v3.0 r1272 mod v6.
*WiiFlow Lite updated to v5.4.9.
*Nintendont updated to v6.492.
*ShowMiiWads updated to v1.5 Mod; now includes 64bit version in addition to 32bit.
*If ModMii appears infected you should quarantine for 2 weeks before gaming online.
*Other minor changes.
2021-04-06 23:37:37 +03:00

66 lines
2.1 KiB
Batchfile

@echo off
setlocal
chdir /d "%~dp0"
if not exist support cd..
set PATH=%SystemRoot%\system32;%SystemRoot%\system32\wbem;%SystemRoot%;%homedrive%\ModMii\temp
chcp 437>nul
::remove setting path's with an & symbol and force default
if exist Support\settings.bat support\sfk filter -spat Support\settings.bat -!"\x26" -write -yes>nul
if exist Support\settings.bat call Support\settings.bat
if "%Drive%"=="" set Drive=COPY_TO_SD
::check if drive folder exists--if second char is ":" check if drive exists
if /i "%DRIVE%" EQU "%cd%\COPY_TO_SD" set DRIVE=COPY_TO_SD
if /i "%DRIVE:~1,1%" NEQ ":" goto:skipcheck
if exist "%DRIVE:~0,2%" (goto:skipcheck) else (set DRIVE=COPY_TO_SD)
:skipcheck
if not exist temp\DownloadQueues mkdir temp\DownloadQueues
echo set AdvNumber=0 >temp\DownloadQueues\CasperBootMiiSD.bat
echo if /i '?GetAdvNumberOnly?' EQU 'Y' goto:endofqueue>>temp\DownloadQueues\CasperBootMiiSD.bat
echo Set ROOTSAVE=off>>temp\DownloadQueues\CasperBootMiiSD.bat
echo Set Option1=off>>temp\DownloadQueues\CasperBootMiiSD.bat
echo Set casper=*>>temp\DownloadQueues\CasperBootMiiSD.bat
echo Set bootmiisd=*>>temp\DownloadQueues\CasperBootMiiSD.bat
echo :endofqueue>>temp\DownloadQueues\CasperBootMiiSD.bat
support\sfk filter -spat temp\DownloadQueues\CasperBootMiiSD.bat -rep _\x27_\x22_ -rep _\x3f_\x25_ -rep _"AdvNumber=0 "_"AdvNumber=0"_ -write -yes>nul
echo Casper2BootMii
echo --------------
echo.
echo Downloading Casper and BootMii SD Card files using ModMii...
echo.
echo In addition to the above files you will need an exploit
echo saved to your SD Card. This will allow you to access
echo BootMii even on non-modified Wiis.
echo.
ModMii.exe L CasperBootMiiSD
findStr /I /C:"2 file(s) downloaded succcessfully" temp\ModMii_CMD_LINE_Log.txt >nul
IF not ERRORLEVEL 1 goto:success
echo.
echo Downloads Failed, press any key to exit
pause>nul
exit
:success
copy /y "%DRIVE%\apps\Casper\boot.elf" "%DRIVE%\boot.elf">nul
copy /y "%DRIVE%\bootmii\armboot.bin" "%DRIVE%\bootmii_ios.bin">nul
echo.
echo SUCCESS!
echo.
echo Press any key to close this window
pause>nul