mirror of
https://github.com/modmii/modmii.github.io.git
synced 2024-11-10 18:45:05 +01:00
3e6124d0f6
* Added a lot more info to NAND\nandinfo.txt when building\modifying emulated NANDs. Also, now after building\modifying emulated NANDs ModMii will open nandinfo.txt using notepad. * Updated nswitch channel to v1.0 - old versions will be detected and updated by ModMii's Emulated NAND Modifier. With this version of the channel installed it is possible to launch UNEEK and UNEEK+DI without an SD Card. * Updated Priiloader v0.4 to v0.7 neek2o mod in ModMii's emulated NAND builder\Modifier. This version of Priiloader will not freeze when installed to emulated NANDs. * Updated Priiloader Hacks (Download Page 2) to include both hacks.ini and hacks_hash.ini. Both files are copied to emulated NANDs when installing Priiloader. * Enhanced ModMii's Emulated NAND Modifier region\firmware detection by having it read from NAND\content\title.tmd. As a result the Emulated NAND modifier is now able to install\remove Priiloader to\from all firmwares (instead of just 4.1-4.3). However, system menu theme installations are still limited to 4.1-4.3. * Replaced the Homebrew Filter Channel with Postloader when building emulated NANDs. There are now two Postloader downloads on ModMii's Download Page 2, a forwarder channel and an autoupdating download for the app itself. * Changed default NAND folder naming when building new emulated NANDs so that they are also compatible with Postloader. Instead of /nands/nand# now they will be named /nands/pl_eu for euro/pal NANDs, /nands/pl_us for USA NANDs, /nands/pl_jp for JAP NANDs and /nands/pl_kr for Korean NANDS. * Users are once again asked to provide a serial number when building emulated NANDs instead of always using the default serial number. This change was reversed after discovering that if on the first boot of an emulated NAND the serial number is not the same as the real NAND it MAY prevent establishing an internet connection. * d2x cIOSs updated from v6 to v7. The d2x v7 final changelog can be found here: http://code.google.com/p/d2x-cios/source/browse/trunk/data/Changelog.txt. Thanks davebaol for all your hard work on this! * Enhanced d2x beta support. Now when accessing the d2x beta menu it will list all the d2x versions hosted on the d2x-google code page as well as identify which are featured at that point in time. These are listed in addition to any 'offline' beta d2x cIOSs you may have manually saved to ModMii's Support\More-cIOSs\ folder. * Added d2x-beta-md5-updater.bat to ModMii's Support folder. This will mainly be used by davebaol to facilitate his construction of d2x beta zip archives that are compatible with both ModMii and the d2x cIOS Installer. With this change all future d2x beta cIOSs will be released simultaneously for both installation methods. On a personal note, it was a pleasure collaborating with davebaol on this. * Reverted back to using MMM, IOS236 Installer and Priiloader v0.7 (236 Mod) instead of WiiMod (with ahbprot) and Priiloader v0.7 (with davebaol's ahbprot bug-fix). This was due to WiiMod harmlessly failing to load in certain uncommon situations. I have prepared an alternate version of ModMii v4.8.1 that still uses WiiMod so anyone interested in helping jskyboo beta test WiiMod please get in touch with jskyboo or myself. WiiMod is still available for download on ModMii's Download Page 2. * Updated Wii Backup Manager to Wii Backup Manager 0.4.5 build 78. * Fixed bug where an older version of SaveGame Manager GX was being downloaded instead of the latest version (this was due to a change in how the files were being hosted on its google code page). * Adjustments made to Syscheck Updater to support additional acceptable SysCheck logs (i.e. MIOS v10, cIOS222 and cIOS223). It will now also check if d2x-beta cIOSs are installed when a d2x beta cIOS is activated (instead of always checking for the d2x version included with ModMii). * Some optimizations when running ModMii in command line mode. Added a command to install an extra folder of WADs to an emulated nand. I don't think anyone is using this feature anyways so this isn't big news. * Celebrities may walk on the red carpet, but ModMii walks on toilet paper because it's the SH*T! * Other minor changes
139 lines
4.8 KiB
Batchfile
139 lines
4.8 KiB
Batchfile
@echo off
|
|
setlocal
|
|
|
|
if not exist support cd..
|
|
|
|
if not exist temp\DownloadQueues mkdir temp\DownloadQueues
|
|
|
|
::build d2xAll queue
|
|
if exist temp\DownloadQueues\d2xAll.bat goto:skip
|
|
|
|
echo set AdvNumber=0 >temp\DownloadQueues\d2xAll.bat
|
|
echo if /i '?GetAdvNumberOnly?' EQU 'Y' goto:endofqueue>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set ROOTSAVE=off>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set Option1=off>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS249[37]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS249[38]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS249[56]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS249[53]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS249[55]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS249[57]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS249[58]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS250[37]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS250[38]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS250[53]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS250[55]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS250[56]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS250[57]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo Set cIOS250[58]-d2x-v6=*>>temp\DownloadQueues\d2xAll.bat
|
|
echo :endofqueue>>temp\DownloadQueues\d2xAll.bat
|
|
|
|
support\sfk filter -spat temp\DownloadQueues\d2xAll.bat -rep _\x27_\x22_ -rep _\x3f_\x25_ -rep _"AdvNumber=0 "_"AdvNumber=0"_ -write -yes>nul
|
|
|
|
:skip
|
|
echo d2x cIOS beta MD5 Updater
|
|
echo -------------------------
|
|
echo.
|
|
echo Building d2x-beta cIOSs...
|
|
echo.
|
|
echo The 1st time ModMii runs the cIOSs will be invalid and open a text window
|
|
echo The 2nd time ModMii runs the cIOSs should be valid and not open a text window
|
|
echo.
|
|
|
|
|
|
echo @echo off>d2xAll-Downloader.bat
|
|
echo setlocal>>d2xAll-Downloader.bat
|
|
echo call support\ModMii.bat L d2xALL>>d2xAll-Downloader.bat
|
|
|
|
start /wait d2xAll-Downloader.bat
|
|
|
|
::del d2xAll-Downloader.bat>nul
|
|
|
|
if exist Support\settings.bat call Support\settings.bat
|
|
if "%Drive%"=="" set Drive=COPY_TO_SD
|
|
|
|
if exist d2xALL.md5 del d2xALL.md5>nul
|
|
support\fvc -c -a MD5 -r "%DRIVE%"\WAD\*.wad>>d2xALL.md5
|
|
|
|
if not exist Support\d2x-beta\d2x-beta.bat (echo Error: Missing Support\d2x-beta\d2x-beta.bat) & (@ping 127.0.0.1 -n 2 -w 1000> nul) & (exit)
|
|
|
|
echo Updating d2x MD5s...
|
|
call Support\d2x-beta\d2x-beta.bat
|
|
|
|
copy /y Support\d2x-beta\d2x-beta.bat Support\d2x-beta\d2x-beta.bak>nul
|
|
|
|
set number=0
|
|
|
|
:top
|
|
SET /a number=%number%+1
|
|
if /i "%number%" EQU "1" set cios=cIOS249[37]
|
|
if /i "%number%" EQU "2" set cios=cIOS250[37]
|
|
if /i "%number%" EQU "3" set cios=cIOS249[38]
|
|
if /i "%number%" EQU "4" set cios=cIOS250[38]
|
|
if /i "%number%" EQU "5" set cios=cIOS249[53]
|
|
if /i "%number%" EQU "6" set cios=cIOS250[53]
|
|
if /i "%number%" EQU "7" set cios=cIOS249[55]
|
|
if /i "%number%" EQU "8" set cios=cIOS250[55]
|
|
if /i "%number%" EQU "9" set cios=cIOS249[56]
|
|
if /i "%number%" EQU "10" set cios=cIOS250[56]
|
|
if /i "%number%" EQU "11" set cios=cIOS249[57]
|
|
if /i "%number%" EQU "12" set cios=cIOS250[57]
|
|
if /i "%number%" EQU "13" set cios=cIOS249[58]
|
|
if /i "%number%" EQU "14" set cios=cIOS250[58]
|
|
|
|
copy /y d2xALL.md5 temp\d2xALL.txt>nul
|
|
|
|
support\sfk filter -spat temp\d2xALL.txt -+"%cios%-d2x-v%d2x-beta-rev%.wad" -rep _" *"__ -write -yes>nul
|
|
|
|
set /p ciosmd5= <temp\d2xALL.txt
|
|
|
|
::echo %cios%-d2x-v%d2x-beta-rev% MD5 = %ciosmd5%
|
|
|
|
support\sfk filter -spat Support\d2x-beta\d2x-beta.bat -rep _"%cios%-d2x-v\x22 set md5="*_"%cios%-d2x-v\x22 set md5=%ciosmd5%"_ -write -yes>nul
|
|
|
|
::delete wad: it will be reconstructed and confirmed later
|
|
|
|
del "%DRIVE%\WAD\%cios%-d2x-v%d2x-beta-rev%.wad">nul
|
|
|
|
|
|
if "%number%" NEQ "14" goto:top
|
|
|
|
echo.
|
|
echo d2x-beta.bat Updated
|
|
echo.
|
|
|
|
del temp\d2xALL.txt>nul
|
|
del d2xALL.md5>nul
|
|
|
|
if exist "Support\More-cIOSs\d2x-v%d2x-beta-rev%" rd /s /q "Support\More-cIOSs\d2x-v%d2x-beta-rev%"
|
|
mkdir "Support\More-cIOSs\d2x-v%d2x-beta-rev%"
|
|
copy /y Support\d2x-beta\* "Support\More-cIOSs\d2x-v%d2x-beta-rev%\">nul
|
|
|
|
del "Support\More-cIOSs\d2x-v%d2x-beta-rev%\d2x-beta.bak">nul
|
|
|
|
if exist "d2x-v%d2x-beta-rev%.zip" del "d2x-v%d2x-beta-rev%.zip">nul
|
|
|
|
cd Support\More-cIOSs
|
|
..\7za a -t7z "..\..\d2x-v%d2x-beta-rev%.zip" "d2x-v%d2x-beta-rev%\*.bat"
|
|
..\7za a -t7z "..\..\d2x-v%d2x-beta-rev%.zip" "d2x-v%d2x-beta-rev%\*.app"
|
|
|
|
cd "d2x-v%d2x-beta-rev%"
|
|
|
|
if exist "*.xml" ..\..\7za a -t7z "..\..\..\d2x-v%d2x-beta-rev%.zip" "*.xml"
|
|
if exist "*.txt" ..\..\7za a -t7z "..\..\..\d2x-v%d2x-beta-rev%.zip" "*.txt"
|
|
cd ..\..\..
|
|
|
|
echo.
|
|
echo ModMii about to verify
|
|
echo If there are 0 errors this window will close
|
|
echo.
|
|
|
|
::call support\ModMii.bat L d2xALL
|
|
start /wait d2xAll-Downloader.bat
|
|
del d2xAll-Downloader.bat>nul
|
|
|
|
findStr /I /C:"14 file(s) downloaded succcessfully" temp\ModMii_CMD_LINE_Log.txt >nul
|
|
IF not ERRORLEVEL 1 exit
|
|
echo.
|
|
echo d2x-beta.bat not updated successfully
|
|
pause |