Advertisement
TH_Zoria

SwitchTools new 1.5.4 code

Dec 7th, 2019
226
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.91 KB | None | 0 0
  1. @echo off
  2. setlocal
  3. @for %%n in (%0) do set fold=%%~dpn
  4. color 5F
  5. :menu
  6. echo ------------------------
  7. echo -- SwitchTools By Zoria --
  8. echo Version 1.5.4 alpha
  9. echo ------------------------
  10. echo.
  11. if not exist "%fold%\ressource\ressource.txt" call "%fold%\Updaters.bat"
  12. echo 1.NSCBuilder
  13. echo 2.TegraRcmGUI
  14. echo 3.SAK (Conversion NSP / XCI / NSZ / XCZ)
  15. echo 4.Update
  16. echo 5.Quitter
  17. echo.
  18. set /p reponse="Quel programme voulez-vous executer ?"
  19.  
  20. If /i "%reponse%"=="1" goto :batch1
  21. If /i "%reponse%"=="2" goto :batch2
  22. If /i "%reponse%"=="3" goto :batch3
  23. If /i "%reponse%"=="4" goto :batch4
  24. If /i "%reponse%"=="5" goto :fin
  25.  
  26. :batch1
  27. call "%fold%\ressource\NSCBuilder\NSCB_lang.bat"
  28. goto :menu
  29. :batch2
  30. call "%fold%\ressource\TegraRcmGUI\TegraRcmGUI.exe"
  31. goto :menu
  32. :batch3
  33. call "%fold%\ressource\SAK\SAK.bat"
  34. goto :menu
  35. :batch4
  36. call "%fold%\ressource\Updaters.bat"
  37. goto :menu
  38. :fin
  39. endlocal
  40. exit
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement