Last active
June 25, 2019 20:22
-
-
Save chyyran/c09a41331d266c01ee7a50a17d85a63a to your computer and use it in GitHub Desktop.
flashcarthelper 0.9
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@echo off | |
::Log Start message | |
echo --Start log FlashcartHelper %time% %date%-- >> fh.log | |
::Forces move, copy and other commands to suppress confirmation | |
SET COPYCMD=/Y | |
::Determines if FlashcartHelper runs in the Desktop, Userprofile, Windows direcory, Documents folder, or root. If yes, FH will refuse to run. | |
IF "%cd%" EQU "%userprofile%\Desktop" goto invpath | |
IF "%cd%" EQU "%userprofile%" goto invpath | |
IF "%cd%" EQU "%windir%\*" goto invpath | |
IF "%cd%" EQU "C:" goto invpath | |
IF "%cd%" EQU "%userprofile%\Documents" goto invpath | |
::If "Put_This_In_SD_Card exists, will rename to "Put_This_In_SD_Card_OLD". If "Put_This_In_SD_Card_OLD" exists, will delete "Put_This_In_SD_Card_OLD" | |
IF EXIST "%cd%\Put_This_In_SD_Card_OLD\" rd Put_This_In_SD_Card_OLD /s /q | |
IF EXIST "%cd%\Put_This_In_SD_Card\" ren Put_This_In_SD_Card Put_This_In_SD_Card_OLD | |
IF NOT EXIST "%cd%\Put_This_In_SD_Card\" mkdir Put_This_In_SD_Card >>fh.log 2>&1 | |
IF NOT EXIST "%cd%\Trashes\" mkdir Trashes >>fh.log 2>&1 | |
::To translators | |
::Please do not change commented lines, (lines with :: in front of it) | |
::Also, only change lines with echo infront of it. | |
::Also, you may replace the GPL notice with translated versions from | |
::http://www.gnu.org/licenses/licenses.html#translations | |
::The license is GNU GPL v3.0 | |
::date of compilation | |
set compiledate=2/10/2012 | |
::file cleanup, invoke frec to delete guide.fhg and any text files | |
frec guide.fhg 2> nul | |
frec *.txt 2> nul | |
::currentver is version number | |
set currentver=0.9 | |
::Update routine, if fh.bat exists, will go directly to begin. If not, will continue. | |
:uptest | |
IF EXIST FHup.bat. ( | |
goto begin | |
) ELSE ( | |
goto gpl | |
) | |
:gpl | |
::GPL notice | |
cls | |
title FlashcartHelper %currentver% version: GPL notice | |
echo FlashcartHelper %currentver% Copyright (C) 2011 Punyman | |
echo This program comes with ABSOLUTELY NO WARRANTY; neither express not implied | |
echo This is free software, and you are welcome to redistribute it | |
echo under certain conditions;read the license for details. | |
echo FlashcartHelper is not responsible for any data loss resulting from | |
echo improper use of this utility, including Data corruption, | |
echo or bricked flashcarts. FlashcartHelper is distributed in the hope that | |
echo it will be useful, but this does not guarantee that it will be. | |
echo By continuing, it is assumed that you agree to the following terms | |
pause | |
cls | |
::sets title of the Window to "FlashcartHelper [version]" | |
title FlashcartHelper %currentver% | |
::tests if wget is present | |
:wgettest | |
IF EXIST wget.exe. ( | |
goto unrartest | |
) ELSE ( | |
echo wget.exe not found | |
echo Press any key to exit. | |
pause >nul | |
exit | |
) | |
::tests if unrar is present, if not, will download | |
:unrartest | |
IF EXIST unrar.exe. ( | |
goto 7ztest | |
) ELSE ( | |
echo unrar.exe not found | |
echo Press any key to download. | |
pause >nul | |
start /wait wget http://flashcart-helper.googlecode.com/files/UnRAR.exe | |
goto 7ztest | |
) | |
::tests if 7za is present, if not will download | |
:7ztest | |
IF EXIST 7za.exe. ( | |
goto frectest | |
) ELSE ( | |
echo 7za.exe not found | |
echo Press any key to download. | |
pause >nul | |
start /wait wget http://flashcart-helper.googlecode.com/files/7za.exe | |
goto frectest | |
) | |
::tests if frec is present, if not, will download | |
:frectest | |
IF EXIST frec.exe. ( | |
goto uptest | |
) ELSE ( | |
echo frec.exe not found | |
echo Press any key to download | |
pause >nul | |
start /wait wget http://flashcart-helper.googlecode.com/files/frec.exe | |
goto uptest | |
) | |
::required or it will go into an infinite loop. | |
:uptest | |
IF EXIST FHup.bat. ( | |
goto begin | |
) ELSE ( | |
goto up | |
) | |
::fetches update file, disabled in BAT versions , source | |
:up | |
::Fetch Update File | |
wget -q http://flashcart-helper.googlecode.com/svn/data/update/fhup.bat 2>nul | |
call fhup.bat | |
::begin routine | |
:begin | |
::sets var workdir to current dir | |
set workdir=%cd% | |
::deletes fhup.bat. DO NOT frec! | |
del FHup.bat 2> nul | |
set FC= | |
set menuguide= | |
::file cleanup | |
frec *.zip 2> nul | |
frec *.7z 2> nul | |
frec *.rar 2> nul | |
::CMDLine | |
color F0 | |
mode con lines=50 | |
IF "%1" EQU "setup" goto cmdfirm | |
::sets error to 1, if not 1, will return Invalid choice | |
:start | |
cls | |
set error=1 | |
:start2 | |
::main menu | |
cls | |
mode con lines=50 | |
IF %error% NEQ 1 echo Invalid Choice | |
title FlashcartHelper %currentver% | |
echo. | |
echo Welcome to FlashcartHelper. v%currentver% | |
echo What do you wish to do? | |
echo __________________________________ | |
color F0 | |
echo [1]Help me setup my cart/Update Kernel | |
echo. | |
echo [2]Format my MicroSD | |
echo. | |
echo [3]Download Homebrew | |
echo. | |
echo [4]Redownload unrar and start 7za | |
echo. | |
echo [5]eNDryptS Advance (Decrypt Roms) | |
echo. | |
echo [6]NDSTokyoTrim (Trim Roms) | |
echo. | |
echo [7]Download DSi Firmware Fixes (Use this option at your own risk) | |
echo. | |
echo [8]DS-Scene Rom Helper (Download latest CMP cheat DB) | |
echo. | |
echo [9]Install MENUdo (ClouDS) for my Flashcart | |
echo. | |
echo [10]Download .ds2skin packs | |
echo. | |
echo [B]Backup/Restore MicroSD card | |
echo. | |
echo [R]Readme | |
echo. | |
echo [A]About FlashcartHelper | |
echo. | |
echo [L]Read License | |
echo. | |
echo [C]Clear log file | |
echo. | |
echo [F]File Cleanup and Clear Trashes file | |
echo. | |
echo [D]Download List BETA | |
echo. | |
echo [S]Save source | |
echo. | |
echo [E]Exit | |
echo. | |
echo Please input your choice | |
::selection | |
set /p selection= | |
IF "%selection%" == "1" goto setups | |
IF "%selection%" == "2" goto format | |
IF "%selection%" == "3" goto hb | |
IF "%selection%" == "4" goto redown | |
IF "%selection%" == "5" goto encrypt | |
IF "%selection%" == "6" goto trim | |
IF "%selection%" == "U" goto update | |
IF "%selection%" == "u" goto update | |
IF "%selection%" == "A" goto about | |
IF "%selection%" == "E" goto exit | |
IF "%selection%" == "R" goto readmii | |
IF "%selection%" == "L" goto license | |
IF "%selection%" == "a" goto about | |
IF "%selection%" == "e" goto exit | |
IF "%selection%" == "r" goto readmii | |
IF "%selection%" == "l" goto license | |
IF "%selection%" == "7" goto dsi | |
IF "%selection%" == "8" goto cmp | |
IF "%selection%" == "9" goto menudo | |
IF "%selection%" == "b" goto bak | |
IF "%selection%" == "B" goto bak | |
IF "%selection%" == "C" goto clrlog | |
IF "%selection%" == "c" goto clrlog | |
IF "%selection%" == "F" goto clrtrash | |
IF "%selection%" == "f" goto clrtrash | |
IF /i "%selection%" == "d" goto dlist | |
IF /i "%selection%" == "s" goto src | |
IF "%selection%" == "10" goto ds2skin | |
set error=0 | |
goto start2 | |
:setups | |
:: if ind NEQ 1, setup menu will return invalid choice | |
cls | |
set ind=1 | |
:setup | |
::Displays invalid choice if invalid choice | |
cls | |
mode con lines=45 | |
IF %ind% NEQ 1 echo Invalid Choice | |
echo. | |
echo ~~Setup~~ | |
echo What is your flashcart? | |
echo. | |
echo [1] Supercard DSTwo | |
echo. | |
echo [2] Acekard 2i/2.1/R.P.G | |
echo. | |
echo [3] R4 Revolution | |
echo. | |
echo [4] DSTT/DSOnei | |
echo. | |
echo [5] R4i Gold (r4ids.cn | |
echo. | |
echo [6] R4iDSN (r4ids.cn) | |
echo. | |
echo [7] CycloDS Evo | |
echo. | |
echo [8] CycloDS iEVO | |
echo. | |
echo [9] iSmartMM | |
echo. | |
echo [10] EZ Flash 5 | |
echo. | |
echo [11] EZ Flash 5i | |
echo. | |
echo [12] M3 Real/M3 Simply/M3i Zero | |
echo. | |
echo [13] R4 Clones | |
echo. | |
echo [14] Supercard DSOne | |
echo. | |
echo [15] Supercard DSOne SDHC | |
echo. | |
echo [16] Supercard DSonei | |
echo. | |
echo [17] iSmart Premuim | |
echo. | |
echo [18] EDGE | |
echo. | |
echo [19] iEDGE | |
echo. | |
echo [B] Go back | |
echo Please input your choice | |
::FC selection | |
set /p FC= | |
IF "%FC%" == "1" goto ds2 | |
IF "%FC%" == "2" goto ak2 | |
IF "%FC%" == "3" goto r4 | |
IF "%FC%" == "4" goto tt | |
IF "%FC%" == "5" goto r4i | |
IF "%FC%" == "6" goto r4dsn | |
IF "%FC%" == "7" goto cyclo | |
IF "%FC%" == "8" goto iEVO | |
IF "%FC%" == "9" goto mm | |
IF "%FC%" == "10" goto ez5 | |
IF "%FC%" == "11" goto ez5i | |
IF "%FC%" == "12" goto m3 | |
IF "%FC%" == "13" goto clone | |
IF "%FC%" == "B" goto start2 | |
IF "%FC%" == "b" goto start2 | |
IF "%FC%" == "14" goto ds1 | |
IF "%FC%" == "15" goto ds1sdhc | |
IF "%FC%" == "16" goto ds1i | |
IF "%FC%" == "17" goto ispp | |
IF "%FC%" == "18" goto edge | |
IF "%FC%" == "19" goto iedge | |
set ind=0 | |
goto setup | |
:cmdfirm | |
::cli selection | |
IF "%2" == "ak2" goto ak2 | |
IF "%2" == "r4" goto r4 | |
IF "%2" == "tt" goto tt | |
IF "%2" == "r4i" goto r4i | |
IF "%2" == "r4dsn" goto r4dsn | |
IF "%2" == "cyclo" goto cyclo | |
IF "%2" == "ievo" goto iEVO | |
IF "%2" == "ismm" goto mm | |
IF "%2" == "ez5" goto ez5 | |
IF "%2" == "ez5i" goto ez5i | |
IF "%2" == "m3" goto m3 | |
IF "%2" == "clone" goto clone | |
IF "%2" == "dsone" goto ds1 | |
IF "%2" == "ds1sdhc" goto ds1sdhc | |
IF "%2" == "dsonei" goto ds1i | |
IF "%2" == "ismart" goto ispp | |
IF "%2" == "edge" goto edge | |
IF "%2" == "iedge" goto iedge | |
:ds2 | |
cls | |
echo You chose DSTWO | |
echo Is this correct? | |
echo (y/n) | |
set /p ds2yn= | |
IF "%ds2yn%" == "n" goto start | |
echo Downloading latest EOS kernel and firmware | |
start /wait wget http://filetrip.net/h35130066-Supercard-DSTWO-EOS.html | |
echo Downloading DSTwo setup guide | |
start /wait wget http://flashcart-helper.googlecode.com/svn/data/guides/ds2.guide.txt | |
echo Unzipping files | |
start /wait unrar x *.rar Put_This_In_SD_card\ >>fh.log | |
start /wait 7za x *.7z -oPut_This_In_SD_card\ >>fh.log | |
start /wait 7za x *.zip -oPut_This_In_SD_card\ >>fh.log | |
frec *.rar | |
frec *.7z | |
frec *.zip | |
cls | |
echo Is your DSTWO flashed? (Choose no if you have not used your DSTwo before yet) | |
echo (y/n) | |
set /p ds2boot= | |
IF "%ds2boot%" == "y" goto dstwoboot | |
IF "%ds2boot%" == "n" goto plug | |
:dstwoboot | |
cls | |
echo Your DSTwo is flashed, correct? | |
echo (y/n) | |
set /p sure= | |
IF "%sure%" == "n" goto plug | |
frec "%cd%\Put_This_In_SD_Card\ds2boot.dat" | |
:plug | |
cls | |
echo Download Plugins? (Yes is highly recommended) | |
echo (y/n) | |
set /p ds2plug= | |
IF "%ds2plug%" == "n" goto ds2end | |
echo Downloading NDSGBA and game_config.txt | |
echo Please wait, this may take a while.. | |
start /wait wget http://filetrip.net/d11694-SuperCard-DSTWO-GBA-EMU-Plug-in-1-21.html | |
start /wait 7za x *.zip -oPut_This_In_SD_card\ -y >>fh.log | |
frec *.zip | |
start /wait wget http://filetrip.net/h35130196-SCDS2Iplayer-GBA-EMU-%28game_conf-.html | |
start /wait 7za x *.7z -oPut_This_In_SD_card\NDSGBA\ -y >>fh.log | |
frec *.7z | |
echo Downloading CATSFC | |
echo Please wait, this may take a while.. | |
start /wait wget http://filetrip.net/h35131424-CATSFC.html | |
start /wait 7za x *.zip -x!version -x!source.txt -x!copyright -x!installation.txt -y >>fh.log | |
start /wait 7za a -tzip cat.zip "CATSFC" >>fh.log | |
start /wait 7za x cat.zip -oPut_This_In_SD_card >>fh.log | |
copy *.ini "%cd%\Put_This_In_SD_card\_dstwoplug\*.ini" >>fh.log 2>&1 | |
copy *.bmp "%cd%\Put_This_In_SD_card\_dstwoplug\*.bmp" >>fh.log 2>&1 | |
copy *.plg "%cd%\Put_This_In_SD_card\_dstwoplug\*.plg" >>fh.log 2>&1 | |
frec cat*.* | |
frec CATSFC | |
frec *.zip | |
echo Downloading iPlayer | |
echo Please wait, this may take a while.. | |
start /wait wget http://filetrip.net/h35130740-Supercard-DSTWO-iPlayer-Plugin.html | |
start /wait 7za x *.zip -oPut_This_In_SD_card\ -y >>fh.log | |
frec *.zip | |
echo Downloading iReader, Please wait | |
start /wait wget http://filetrip.net/h35130143-DSTwo-iReader.html | |
start /wait 7za x *.zip -oPut_This_In_SD_card\ -y >>fh.log | |
frec *.zip | |
echo Downloading DSTWO Skin installer, Please wait | |
start /wait wget http://filetrip.net/h25125220-DSTwo-Skin-Installer.html | |
start /wait 7za x *.zip -oPut_This_In_SD_card\ -y >>fh.log | |
echo Download Moonshell? (Yes is recommended) | |
echo (y/n) | |
set /p mshlplug= | |
IF /i "%mshlplug%" == "n" goto ds2end | |
echo Downloading Moonshell from Supercard server | |
start /wait wget http://down.supercard.cn/download/dstwo/plugin/moonshl2_for_DSTWO.zip | |
start /wait 7za x *.zip -oPut_This_In_SD_card\ -y >>fh.log | |
frec *.zip | |
:ds2end | |
cls | |
echo A guide will now pop up | |
echo Please drag eveything in the folder that will pop up to the root of your MicroSD card. Follow the guide for further instructions | |
pause | |
ren *.guide.txt guide.fhg | |
start notepad guide.fhg | |
explorer %cd%\Put_This_In_SD_card\ | |
exit | |
:ak2 | |
cls | |
echo You chose Acekard 2i/2.1 | |
echo Is this correct? | |
echo (y/n) | |
set /p ak2yn= | |
IF "%ak2yn%" == "n" goto start | |
echo Downloading Latest AKAIO Kernel | |
start /wait wget http://filetrip.net/h7853-AKAIO.html | |
echo Unzipping files | |
start /wait unrar x *.rar Put_This_In_SD_Card >>fh.log | |
frec *.rar | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshl= | |
IF "%mshl%" == "n" goto end | |
IF "%mshl%" == "y" goto mshl | |
:mshl | |
echo Downloading MoonShell | |
echo Please wait, this may take a while. | |
frec *.zip 2> nul | |
start /wait wget http://mdxonline.dyndns.org/201002161705_moonshell210stable.zip | |
set za=%cd%\7za.exe | |
%za% x 201002161705_moonshell210stable.zip >>fh.log | |
cd 201002161705_moonshell210stable | |
set moondir=%cd% | |
%za% a -tzip mshl.zip moonshl2.nds "moonshl2" >>fh.log | |
cd.. | |
move %moondir%\mshl.zip %cd% >>fh.log | |
start /wait 7za x mshl.zip -oPut_This_In_SD_Card | |
rmdir 201002161705_moonshell210stable /S /Q | |
start /wait wget http://flashcart-helper.googlecode.com/svn/data/misc/moonshl2.ini | |
copy moonshl2.ini %cd%\Put_This_In_SD_card\moonshl2\moonshl2.ini >>fh.log | |
frec moonshl2.ini | |
:end | |
::depending on FC selection, will dl appropriate guide from server | |
IF "%FC%" == "2" wget http://flashcart-helper.googlecode.com/svn/data/guides/ak2.guide.txt | |
IF "%FC%" == "3" wget http://flashcart-helper.googlecode.com/svn/data/guides/r4.guide.txt | |
IF "%FC%" == "4" wget http://flashcart-helper.googlecode.com/svn/data/guides/tt.guide.txt | |
IF "%FC%" == "5" wget http://flashcart-helper.googlecode.com/svn/data/guides/r4i.guide.txt | |
IF "%FC%" == "6" wget http://flashcart-helper.googlecode.com/svn/data/guides/dsn.guide.txt | |
IF "%FC%" == "7" wget http://flashcart-helper.googlecode.com/svn/data/guides/cyclo.guide.txt | |
IF "%FC%" == "8" wget http://flashcart-helper.googlecode.com/svn/data/guides/ievo.guide.txt | |
IF "%FC%" == "9" wget http://flashcart-helper.googlecode.com/svn/data/guides/ismm.guide.txt | |
IF "%FC%" == "10" wget http://flashcart-helper.googlecode.com/svn/data/guides/ez5.guide.txt | |
IF "%FC%" == "11" wget http://flashcart-helper.googlecode.com/svn/data/guides/ez5.guide.txt | |
IF "%FC%" == "12" wget http://flashcart-helper.googlecode.com/svn/data/guides/m3.guide.txt | |
IF "%FC%" == "17" wget http://flashcart-helper.googlecode.com/svn/data/guides/isp.guide.txt | |
IF "%FC%" == "18" wget http://flashcart-helper.googlecode.com/svn/data/guides/edge.guide.txt | |
IF "%FC%" == "19" wget http://flashcart-helper.googlecode.com/svn/data/guides/iedge.guide.txt | |
cls | |
title FlashcartHelper %currentver% Flashcart Setup Complete | |
frec *.dat 2> nul | |
frec *.zip 2> nul | |
frec *.7z 2> nul | |
frec *.rar 2> nul | |
echo A guide will now pop up | |
echo Please drag eveything in the folder that will pop up to the root of your MicroSD card. | |
echo Follow the guide for further instructions | |
pause | |
frec guide.txt 2> nul | |
ren *.guide.txt guide.fhg 2> nul | |
start notepad %cd%\guide.fhg | |
start explorer.exe %cd%\Put_This_In_SD_card | |
goto :eof | |
:r4 | |
cls | |
echo You chose R4 Revolution | |
echo Is this correct? | |
echo (y/n) | |
set /p r4yn= | |
IF "%r4yn%" == "n" goto start | |
echo Downloading latest Wood R4 | |
start /wait wget http://filetrip.net/h25123666-Wood-R4.html | |
7za x *.7z >>fh.log | |
::Allows 7za use outside of cd | |
set za="%cd%"\7za.exe | |
cd "Wood_R4_v*.*" | |
set wooddir=%cd% | |
::zips up Wood files | |
%za% a -tzip wood.zip _DS_MENU.DAT >>"%workdir%\fh.log" | |
%za% u -tzip wood.zip "__rpg" >>"%workdir%\fh.log" | |
cd .. | |
move "%wooddir%\wood.zip" "%cd%" >>fh.log | |
7za x wood.zip -oPut_This_In_SD_Card >>fh.log | |
rmdir "%wooddir%" /s /q | |
pause | |
::frec *.7z | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshl= | |
IF "%mshl%" == "n" goto end | |
IF "%mshl%" == "y" goto mshl | |
:tt | |
cls | |
echo You chose DSTT(i) | |
echo Is this correct? | |
echo (y/n) | |
set /p ttyn= | |
IF "%ttyn%" == "n" goto start | |
echo Do you want YSMenu or TTMenu? | |
echo [1] YSmenu (Loads roms faster and Recommended) | |
echo [2] TTmenu (Prettier, but loads roms slower) | |
set /p ystt= | |
IF "%ystt%" == "1" goto ysmenu | |
IF "%ystt%" == "2" goto ttmenu | |
:ysmenu | |
cls | |
echo You chose YSmenu | |
echo Is this correct? (y/n) | |
set /p ysme= | |
IF "%ysme%" == "n" goto tt | |
echo Downloading RetroGameFan's DSTT Updates (YSmenu) | |
start /wait wget http://filetrip.net/h25123605-RetroGameFan-Multi-Cart-Update.html | |
start /wait 7za x *.7z -y >>fh.log | |
rd "DSONE_DSONEi YSMenu" /s /q | |
rd "DSTT_DSTTi TTMenu" /s /q | |
rd "Extras" /s /q | |
rd "M3Real_M3iZero YSMenu" /s /q | |
rd "R4-SDHC_R4i-SDHC TTMenu" /s /q | |
rd "R4_Orginal_R4_Clone YSMenu" /s /q | |
rd "R4SDHC" /s /q | |
frec *.txt | |
frec usrcheat.dat | |
rd Put_This_In_SD_Card /s /q | |
ren "DSTT_DSTTi YSmenu" "Put_This_In_SD_Card" | |
frec *.zip | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshl= | |
IF "%mshl%" == "n" goto end | |
IF "%mshl%" == "y" goto mshl | |
:ttmenu | |
cls | |
echo You chose TTmenu | |
echo Is this correct? | |
echo (y/n) | |
set /p ttme= | |
IF "%ttme%" == "n" goto tt | |
echo Downloading RetroGameFan's DSTT Updates (TTMenu) | |
start /wait wget http://filetrip.net/h25123605-RetroGameFan-Multi-Cart-Update.html | |
start /wait 7za x *.7z -y | |
rd "DSONE_DSONEi YSMenu" /s /q | |
rd "DSTT_DSTTi YSMenu" /s /q | |
rd "Extras" /s /q | |
rd "M3Real_M3iZero YSMenu" /s /q | |
rd "R4-SDHC_R4i-SDHC TTMenu" /s /q | |
rd "R4_Orginal_R4_Clone YSMenu" /s /q | |
rd "R4SDHC" /s /q | |
frec *.txt | |
frec usrcheat.dat | |
rd Put_This_In_SD_Card /s /q | |
ren "DSTT_DSTTi TTmenu" "Put_This_In_SD_Card" | |
frec *.zip | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshl= | |
IF "%mshl%" == "n" goto end | |
IF "%mshl%" == "y" goto mshl | |
:R4i | |
cls | |
echo You chose R4i Gold (r4ids.cn) | |
echo Is this correct? | |
echo (y/n) | |
set /p r4iyn= | |
IF "%r4iyn%" == "n" goto start | |
start /wait wget http://filetrip.net/h35130127-Wood-R4-for-R4i-Gold-%28R4iDS%29.html | |
start /wait unrar x *.rar Put_This_In_SD_card\ | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshl= | |
IF "%mshl%" == "n" goto end | |
IF "%mshl%" == "y" goto mshl | |
:r4dsn | |
cls | |
echo You chose R4iDSN (r4idsn.com) | |
echo Is this correct? | |
echo (y/n) | |
set /p r4dyn= | |
IF "%r4dyn%" == "n" goto start | |
echo Downloading latest Wood R4iDSN | |
start /wait wget http://filetrip.net/h35130793-Wood-R4iDSN.html | |
start /wait 7za x *.7z | |
cd wood* | |
set wooddir=%cd% | |
cd %workdir% | |
rmdir "%cd%\Put_This_In_SD_Card\" /S /Q 2> nul | |
ren "%wooddir%" "Put_This_In_SD_Card" | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshl= | |
IF "%mshl%" == "n" goto end | |
IF "%mshl%" == "y" goto mshl | |
:cyclo | |
cls | |
echo You chose CycloDS Evo | |
echo Is this correct? | |
echo (y/n) | |
set /p cyclo= | |
IF "%cyclo%" == "n" goto start | |
echo Downloading Latest STABLE Evolution firmware | |
start /wait wget http://filetrip.net/h35130821-CycloDS-Evolution-Firmware-Stable.html | |
start /wait 7za e *.zip -oPut_This_In_SD_card | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshl= | |
IF "%mshl%" == "n" goto end | |
IF "%mshl%" == "y" goto mshl | |
:iEVO | |
cls | |
echo You chose CycloDS iEVO | |
echo Is this correct? | |
echo (y/n) | |
set /p iEVO= | |
IF "%iEVO%" == "n" goto start | |
echo Downloading latest STABLE iEvoloution Firmware | |
frec *.zip | |
start /wait wget http://filetrip.net/h35131267-CycloDS-iEvolution-Firmware-Stable.html | |
start /wait 7za e *.zip -oPut_This_In_SD_card | |
cls | |
echo Do you need to flash your CycloDS iEVO? | |
echo (Choose Yes if you have not used your CycloDS iEVO before) | |
echo (y/n) | |
set /p evoflash= | |
IF "%evoflash%" == "n" goto imshl | |
echo Downloading CycloDS iEvoloution BootStrapper | |
:bootstrapper | |
echo What region is your DSi's firmware? | |
echo [1]US | |
echo [2]Europe | |
set /p bootstr= | |
IF "%bootstr%" == "1" goto EUS | |
IF "%bootstr%" == "2" goto EEU | |
exit | |
:EUS | |
cls | |
frec *.zip | |
start /wait wget http://filetrip.net/h35131269-CycloDS-iEvolution-Bootstrap-%28US-.html | |
start /wait 7za e *.zip -oievobootstrapper | |
echo WAIT WAIT WAIT WAIT! | |
echo You need to flash your CycloDS iEvoloution. Read everything before you continue | |
echo A guide will pop up describing how to flash your iEVO | |
echo Flashing your iEVO requires 2 roms | |
echo 1) MechAssault - Phantom War (U) | |
echo 2) My Healthy Cooking Coach (DSi Enhanced) (US) | |
echo More information on how to flash your iEVO will be in the text file that will pop up | |
echo When you are done flashing, close Notepad to continue | |
pause | |
start explorer.exe %cd%\ievobootstrapper\ | |
notepad.exe %cd%\ievobootstrapper\readme.txt | |
echo Have you flashed your CycloDS iEVO yet? | |
echo (y/n) | |
set /p checkboot= | |
IF "%checkboot%" == "y" goto imshl | |
IF "%checkboot%" == "n" goto bootstrapper | |
:EEU | |
cls | |
frec *.zip | |
start /wait wget http://filetrip.net/h35131270-CycloDS-iEvolution-Bootstrap-%28Eu-.html | |
start /wait 7za e *.zip -oievobootstrapper | |
echo WAIT WAIT WAIT WAIT! | |
echo You need to flash your CycloDS iEvoloution. Read everything before you continue | |
echo A guide will pop up describing how to flash your iEVO | |
echo Flashing your iEVO requires 2 roms | |
echo 1) MechAssault - Phantom War (U) | |
echo 2) Mon Coach Personnel - Mes Recettes Plaisir et Ligne (DSi Enhanced) (FR) | |
echo More information on how to flash your iEVO will be in the text file that will pop up | |
echo When you are done flashing, close Notepad to continue | |
pause | |
start explorer.exe %cd%\ievobootstrapper\ | |
notepad.exe %cd%\ievobootstrapper\readme.txt | |
echo Have you flashed your CycloDS iEVO yet? | |
echo (y/n) | |
set /p checkboot= | |
IF "%checkboot%" == "y" goto imshl | |
IF "%checkboot%" == "n" goto bootstrapper | |
:imshl | |
cls | |
echo Download Moonshell? | |
echo (y/n) | |
set /p imshl= | |
IF "%imshl%" == "n" goto end | |
start /wait wget http://filetrip.net/h35131285-CycloDS-iEvolution-Moonshell.html | |
start /wait unrar x *.rar Put_This_In_SD_Card | |
echo You can access Moonshell from the "Media" icon from the main CycloDS iEVO menu | |
pause | |
goto end | |
exit | |
:format | |
mkdir formatter 2> nul | |
IF EXIST "%cd%\formatter\"SDFormatter.exe. ( | |
goto formatstart | |
) ELSE ( | |
frec *.rar 2> nul | |
echo Will download Panasonic Formatter | |
pause | |
start /wait wget http://filetrip.net/d6027-Panasonic-SD-FormatterPORTABLE.html | |
start /wait unrar e *.rar formatter | |
) | |
:formatstart | |
cd formatter | |
start sdformatter.exe | |
cd .. | |
goto start | |
:mm | |
cls | |
echo You chose iSmartMM | |
echo Is this correct? | |
echo (y/n) | |
set /p imm= | |
IF "%imm%" == "n" goto start | |
echo Downloading latest iSmartMM kernel | |
frec *.zip 2> nul | |
start /wait wget http://filetrip.net/h35132061-iSmart-MM-kernel-update.html | |
start /wait 7za x *.zip -oPut_This_In_SD_Card | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshlmm= | |
IF "%mshlmm%" == "n" goto end | |
echo Downloading MoonShell | |
echo Please wait, this may take a while. | |
frec *.zip | |
start /wait wget http://mdxonline.dyndns.org/201002161705_moonshell210stable.zip | |
set za="%cd%"\7za.exe | |
%za% x 201002161705_moonshell210stable.zip | |
cd 201002161705_moonshell210stable | |
set moondir=%cd% | |
%za% a -tzip mshl.zip moonshl2.nds "moonshl2" | |
cd.. | |
move %moondir%\mshl.zip %cd% | |
start /wait 7za x mshl.zip -oPut_This_In_SD_Card | |
rmdir 201002161705_moonshell210stable /S /Q | |
start /wait wget http://flashcart-helper.googlecode.com/svn/data/misc/moonshl2.ini | |
copy moonshl2.ini %cd%\Put_This_In_SD_card\moonshl2\moonshl2.ini | |
frec moonshl2.ini | |
rmdir 201002161705_moonshell210stable /S /Q | |
copy %cd%\Put_This_In_SD_card\moonshl2.nds %cd%\Put_This_In_SD_card\ismartplug\moonshell.nds | |
echo [plug setting] >> %cd%\Put_This_In_SD_card\ismartplug\moonshell.ini | |
echo icon=fat1:/ismartplug/moonshell.bmp >> %cd%\Put_This_In_SD_card\ismartplug\moonshell.ini | |
echo name=Moonshell >> %cd%\Put_This_In_SD_card\ismartplug\moonshell.ini | |
goto end | |
:ez5 | |
cls | |
echo You chose EZ Flash 5 | |
echo If you meant EZ Flash 5i, please go back and select the EZ5i option. | |
echo Is this correct? | |
echo (y/n) | |
set /p ez5= | |
IF "%ez5%" == "n" goto start | |
echo Downloading latest EZ5 kernel | |
start /wait wget http://filetrip.net/h25124137-EZ5-Kernel.html | |
start /wait 7za x *.zip -oPut_This_In_SD_Card | |
echo You need atleast 1 .NDS file to load your EZ Flash 5 | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshez5= | |
IF "%mshez5%" == "y" goto mshl | |
IF "%mshez5%" == "n" goto end | |
goto end | |
:ez5i | |
cls | |
echo You chose EZ Flash 5i | |
echo If you meant EZ Flash 5, please go back and select the EZ5 option. | |
echo Is this correct? | |
echo (y/n) | |
set /p ez5i= | |
IF "%ez5i%" == "n" goto start | |
echo Downloading latest EZ5i kernel | |
start /wait wget http://filetrip.net/h25124710-EZ5i-Kernel.html | |
start /wait unrar x *.rar Put_This_In_SD_Card | |
echo If you have not yet updated your EZ5i to v101, please run ez5firmwreUP_V101.nds | |
echo If your cart says "No need to update" you do not need to update to v101. | |
echo You need atleast 1 .NDS file to load your EZ Flash 5 | |
frec %cd%\Put_This_In_SD_Card\ez5firmwreUP_V103.nds 2> nul | |
echo Download Moonshell? | |
echo (y/n) | |
set /p mshez5i= | |
IF "%mshez5i%" == "y" goto mshl | |
IF "%mshez5i%" == "n" goto end | |
exit | |
:m3 | |
cls | |
echo You chose M3 Real/M3 Simply/M3i Zero | |
echo This will not work with the M3i Zero gmp-z003 | |
echo Is this correct? | |
echo (y/n) | |
set /p m3= | |
IF "%m3%" == "n" goto start | |
echo Downloading latest M3 Quad-Boot | |
start /wait wget http://filetrip.net/h25123141-The-M3-Quad-Boot.html | |
start /wait 7za x *.7z -oPut_This_In_SD_Card | |
echo Download Moonshell? | |
echo (y/n) | |
set /p m3msh= | |
IF "%m3msh%" == "y" goto mshl | |
IF "%m3msh%" == "n" goto end | |
:edge | |
cls | |
echo You chose EDGE | |
echo Is this correct? | |
echo (y/n) | |
set /p edge= | |
IF "%edge%" == "n" goto start | |
echo Downloading latest EDGE OS | |
start /wait wget http://filetrip.net/h35129830-EDGE-OS.html | |
start /wait 7za x *.zip -oPut_This_In_SD_Card | |
ren Put_This_In_SD_Card\IEDGE.dat EDGE.dat | |
echo Download Moonshell? | |
echo (y/n) | |
set /p edgemsh= | |
IF "%edgemsh%" == "y" goto mshl | |
IF "%edgemsh%" == "n" goto end | |
:iedge | |
cls | |
echo You chose iEDGE | |
echo Is this correct? | |
echo (y/n) | |
set /p iedge= | |
IF "%iedge%" == "n" goto start | |
echo Downloading latest iEDGE OS | |
start /wait wget http://filetrip.net/h35129832-iEDGE-OS.html | |
start /wait 7za x *.zip -oPut_This_In_SD_card | |
cls | |
frec *.zip | |
echo Do you need to flash your iEDGE | |
echo (Choose Yes if you have not used your iEDGE before) | |
echo (y/n) | |
set /p iedgeflash= | |
IF "%iedgeflash%" == "n" goto iedgea | |
echo Downloading iEDGE Boot Update | |
start /wait wget http://filetrip.net/d26407-BootStrap-File-for-iEDGE-4.html | |
start /wait 7za x *.zip -oPut_This_In_SD_Card | |
:iedgea | |
echo Download Moonshell? | |
echo (y/n) | |
set /p iemshl= | |
IF "%iemshl%" == "y" goto mshl | |
IF "%iemshl%" == "n" goto end | |
goto end | |
:clone | |
cls | |
mode con lines=50 | |
echo R4 Clones are separated into groups. | |
echo Please select the group your clone belongs to. | |
echo This list is sorted by | |
echo (Name of cart) - (website) | |
:group1 | |
echo. | |
echo A Guide for R4 clones is not availible at this time. Sorry for the inconvenience. > guide.fhg | |
echo Just put everything in the folder that pops up into your microSD. >> guide.fhg | |
echo ---------------- | |
echo [1] Group 1 | |
echo Group 1 includes | |
echo DSOnei Gold - www.ndstti.cn | |
echo DSTT-Advance - www.dsttadv.com | |
echo R4Top Revolution - www.r4top.com | |
echo R4i-SDHC v3.07 www.r4ll-net.com | |
echo. | |
echo ----------------- | |
echo [2] Group 2 | |
echo R4iTT - www.r4itt.net | |
echo R4IIISDHC v3.07 www.r4iiisdhc.com | |
echo. | |
echo ----------------- | |
echo [3] Group 3 | |
echo R4i V1.45 Revolution - www.ndsiLL.net | |
echo R4i SDHC Upgrade Revolution - r4i-sdhc.com.tw | |
echo R4i Gold Upgrade Revolution v1.4.1 - www.r4igold.cn | |
echo. | |
echo ----------------- | |
echo [4] Group 4 | |
echo R4i DSi XL - www.r4i-ndsill.com | |
echo R4V-R4i v2.2 and v2.5 - www.r4-v.com | |
echo. | |
echo ----------------- | |
echo [5] Group 5 | |
echo R4i Gold Upgrade Revolution v1.14b - www.r4igold.cn | |
echo. | |
echo ----------------- | |
echo [6] Group 6 | |
echo R4i SDHC Upgrade Revolution - r4i-dshc.com | |
echo. | |
echo ----------------- | |
echo [7] Group 7 | |
echo R4i King LL - www.r4-king.com | |
echo. | |
echo ----------------- | |
echo [8] Group 8 | |
echo R4SDHC v1.34 - www.r4sdhc.com | |
echo ----------------- | |
echo [9] Group 9 | |
echo Other flashcarts. Press "9" to see list. | |
set /p group1= | |
IF "%group1%" == "1" goto g1 | |
IF "%group1%" == "2" goto g2 | |
IF "%group1%" == "3" goto g3 | |
IF "%group1%" == "4" goto g4 | |
IF "%group1%" == "5" goto g5 | |
IF "%group1%" == "6" goto g6 | |
IF "%group1%" == "7" goto g7 | |
IF "%group1%" == "8" goto g8 | |
IF "%group1%" == "9" goto g9 | |
goto start | |
:g1 | |
cls | |
echo You chose Group 1 | |
echo Is this correct? (y/n) | |
set /p g1= | |
IF "%g1%" == "n" goto start | |
echo Downloading RetroGameFan's DSTT Updates (YSmenu) | |
start /wait wget http://filetrip.net/h25123605-RetroGameFan-Multi-Cart-Update.html | |
start /wait unrar x *.rar -y | |
frec *.rar | |
start /wait 7za a -tzip ystt.zip "DSTT_DSTTi YSMenu" | |
For /D %%a in ("%cd%\*") do RD /S/Q "%%a" | |
start /wait 7za x ystt.zip | |
ren "DSTT_DSTTi YSmenu" "Put_This_In_SD_Card" | |
echo Downloading RetroGameFan's latest DAT updates | |
start /wait wget http://filetrip.net/h35132218-RetroGameFan-DAT-Update.html | |
start /wait unrar x *.rar Put_This_In_SD_Card\TTMenu -y | |
frec *.zip | |
frec *.rar | |
echo Download Moonshell? | |
echo (y/n) | |
set /p gmshl= | |
IF "%gmshl%" == "n" goto end | |
IF "%gmshl%" == "y" goto mshl | |
:g2 | |
echo You chose Group 2 | |
echo Is this correct? (y/n) | |
set /p g2= | |
IF "%g2%" == "n" goto start | |
echo Downloading RetroGameFan's DSTT Updates (YSmenu) | |
start /wait wget http://filetrip.net/h25123605-RetroGameFan-Multi-Cart-Update.html | |
start /wait unrar x *.rar -y | |
frec *.rar | |
start /wait 7za a -tzip ystt.zip "DSTT_DSTTi YSMenu" | |
For /D %%a in ("%cd%\*") do RD /S/Q "%%a" | |
start /wait 7za x ystt.zip | |
ren "DSTT_DSTTi YSmenu" "Put_This_In_SD_Card" | |
echo Downloading RetroGameFan's latest DAT updates | |
start /wait wget http://filetrip.net/h35132218-RetroGameFan-DAT-Update.html | |
start /wait unrar x *.rar Put_This_In_SD_Card\TTMenu -y | |
ren Put_This_In_SD_card\TTmenu.dat R4.dat | |
frec *.zip | |
frec *.rar | |
echo Download Moonshell? | |
echo (y/n) | |
set /p g2mshl= | |
IF "%g2mshl%" == "n" goto end | |
IF "%g2mshl%" == "y" goto mshl | |
:g3 | |
echo You chose Group 3 | |
echo Is this correct? (y/n) | |
set /p g3= | |
IF "%g3%" == "n" goto start | |
echo Downloading RetroGameFan's DSTT Updates (YSmenu) | |
start /wait wget http://filetrip.net/h25123605-RetroGameFan-Multi-Cart-Update.html | |
start /wait unrar x *.rar -y | |
frec *.rar | |
start /wait 7za a -tzip ystt.zip "DSTT_DSTTi YSMenu" | |
For /D %%a in ("%cd%\*") do RD /S/Q "%%a" | |
start /wait 7za x ystt.zip | |
ren "DSTT_DSTTi YSmenu" "Put_This_In_SD_Card" | |
echo Downloading RetroGameFan's latest DAT updates | |
start /wait wget http://filetrip.net/h35132218-RetroGameFan-DAT-Update.html | |
start /wait unrar x *.rar Put_This_In_SD_Card\TTMenu -y | |
ren Put_This_In_SD_card\TTmenu.dat iLL.iL | |
frec *.zip | |
frec *.rar | |
echo Download Moonshell? | |
echo (y/n) | |
set /p g3mshl= | |
IF "%g3mshl%" == "n" goto end | |
IF "%g3mshl%" == "y" goto mshl | |
:g4 | |
echo You chose Group 4 | |
echo Is this correct? (y/n) | |
set /p g4= | |
IF "%g4%" == "n" goto start | |
echo Downloading RetroGameFan's DSTT Updates (YSmenu) | |
start /wait wget http://filetrip.net/h25123605-RetroGameFan-Multi-Cart-Update.html | |
start /wait unrar x *.rar -y | |
frec *.rar | |
start /wait 7za a -tzip ystt.zip "DSTT_DSTTi YSMenu" | |
For /D %%a in ("%cd%\*") do RD /S/Q "%%a" | |
start /wait 7za x ystt.zip | |
ren "DSTT_DSTTi YSmenu" "Put_This_In_SD_Card" | |
echo Downloading RetroGameFan's latest DAT updates | |
start /wait wget http://filetrip.net/h35132218-RetroGameFan-DAT-Update.html | |
start /wait unrar x *.rar Put_This_In_SD_Card\TTMenu -y | |
copy Put_This_In_SD_card\TTmenu.dat Put_This_In_SD_card\iLL.iL | |
ren Put_This_In_SD_card\TTmenu.dat R4i.TP | |
frec *.zip | |
frec *.rar | |
echo Download Moonshell? | |
echo (y/n) | |
set /p g4mshl= | |
IF "%g4mshl%" == "n" goto end | |
IF "%g4mshl%" == "y" goto mshl | |
:g5 | |
echo You chose Group 5 | |
echo Is this correct? (y/n) | |
set /p g5= | |
IF "%g5%" == "n" goto start | |
echo Downloading RetroGameFan's DSTT Updates (YSmenu) | |
start /wait wget http://filetrip.net/h25123605-RetroGameFan-Multi-Cart-Update.html | |
start /wait unrar x *.rar -y | |
frec *.rar | |
start /wait 7za a -tzip ystt.zip "DSTT_DSTTi YSMenu" | |
For /D %%a in ("%cd%\*") do RD /S/Q "%%a" | |
start /wait 7za x ystt.zip | |
ren "DSTT_DSTTi YSmenu" "Put_This_In_SD_Card" | |
echo Downloading RetroGameFan's latest DAT updates | |
start /wait wget http://filetrip.net/h35132218-RetroGameFan-DAT-Update.html | |
start /wait unrar x *.rar Put_This_In_SD_Card\TTMenu -y | |
copy Put_This_In_SD_card\TTmenu.dat Put_This_In_SD_card\R4i.dat | |
frec *.zip | |
frec *.rar | |
echo Download Moonshell? | |
echo (y/n) | |
set /p g5mshl= | |
IF "%g5mshl%" == "n" goto end | |
IF "%g5mshl%" == "y" goto mshl | |
:g6 | |
echo You chose Group 6 | |
echo Is this correct? (y/n) | |
set /p g6= | |
IF "%g6%" == "n" goto start | |
echo Downloading RetroGameFan's DSTT Updates (YSmenu) | |
start /wait wget http://filetrip.net/h25123605-RetroGameFan-Multi-Cart-Update.html | |
start /wait unrar x *.rar -y | |
frec *.rar | |
start /wait 7za a -tzip ystt.zip "DSTT_DSTTi YSMenu" | |
For /D %%a in ("%cd%\*") do RD /S/Q "%%a" | |
start /wait 7za x ystt.zip | |
ren "DSTT_DSTTi YSmenu" "Put_This_In_SD_Card" | |
echo Downloading RetroGameFan's latest DAT updates | |
start /wait wget http://filetrip.net/h35132218-RetroGameFan-DAT-Update.html | |
start /wait unrar x *.rar Put_This_In_SD_Card\TTMenu -y | |
ren Put_This_In_SD_card\TTmenu.dat R4i.TP | |
frec *.zip | |
frec *.rar | |
echo Download Moonshell? | |
echo (y/n) | |
set /p g6mshl= | |
IF "%g6mshl%" == "n" goto end | |
IF "%g6mshl%" == "y" goto mshl | |
:g7 | |
echo You chose Group 7 | |
echo Is this correct? (y/n) | |
set /p g7= | |
IF "%g7%" == "n" goto start | |
echo Downloading RetroGameFan's DSTT Updates (YSmenu) | |
start /wait wget http://filetrip.net/h25123605-RetroGameFan-Multi-Cart-Update.html | |
start /wait unrar x *.rar -y | |
frec *.rar | |
start /wait 7za a -tzip ystt.zip "DSTT_DSTTi YSMenu" | |
For /D %%a in ("%cd%\*") do RD /S/Q "%%a" | |
start /wait 7za x ystt.zip | |
ren "DSTT_DSTTi YSmenu" "Put_This_In_SD_Card" | |
echo Downloading RetroGameFan's latest DAT updates | |
start /wait wget http://filetrip.net/h35132218-RetroGameFan-DAT-Update.html | |
start /wait unrar x *.rar Put_This_In_SD_Card\TTMenu -y | |
ren Put_This_In_SD_card\TTmenu.dat R4KING | |
frec *.zip | |
frec *.rar | |
echo Download Moonshell? | |
echo (y/n) | |
set /p g7mshl= | |
IF "%g7mshl%" == "n" goto end | |
IF "%g7mshl%" == |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment