Advertisement
Guest User

LoL Launcher

a guest
Feb 23rd, 2015
227
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 3.90 KB | None | 0 0
  1. @echo off
  2. echo.
  3. Color F0
  4. :Start
  5. cls
  6. echo.
  7. echo               **************************************************
  8. echo               *****************League of Legends****************
  9. echo               **** Twitch Livestream Channel Selection Tool ****
  10. echo               ************** Created by DDRDiesel **************
  11. echo               **************************************************
  12. echo.
  13. echo               **************************************************
  14. echo               ******************* DISCLAIMER *******************
  15. echo               ***** Please make sure to have both VLC and ******
  16. echo               ************* Livestreamer installed! ************
  17. echo               **************************************************
  18. echo.
  19. echo What would you like to do?
  20. echo 1) Select a stream of my own choosing
  21. echo 2) Select from a set of preselected streams
  22. echo 3) Download VLC/Livestreamer
  23. echo 4) Exit
  24. set /p choice=
  25. if %choice% EQU 1 goto :Custom
  26. if %choice% EQU 2 goto :Preloaded
  27. if %choice% EQU 3 goto :Help
  28. if %choice% EQU 4 goto :ConfirmClose
  29. if %choice% NEQ 1 goto :Start
  30. if %choice% NEQ 2 goto :Start
  31. if %choice% NEQ 3 goto :Start
  32. if %choice% NEQ 4 goto :Start
  33. :Close
  34. exit
  35. :Help
  36. cls
  37. echo.
  38. echo What do you need to download?
  39. echo 1) VLC Player
  40. echo 2) LiveStreamer
  41. echo 3) I don't need to download anything, let's start over
  42. set /p Program=
  43. if %Program% EQU 1 goto :DownloadVLC
  44. if %Program% EQU 2 goto :DownloadLiveStreamer
  45. if %Program% EQU 3 goto :Start
  46. if %Program% NEQ 1 goto :Help
  47. if %Program% NEQ 2 goto :Help
  48. if %Program% NEQ 3 goto :Help
  49. :DownloadVLC
  50. cls
  51. echo You will be taken to a website where you can download and install VLC Player
  52. pause
  53. start http://www.videolan.org/vlc/index.html
  54. pause
  55. goto :Help
  56. :DownloadLiveStreamer
  57. cls
  58. echo You will be taken to a website where you can download and install the LiveStreamer service
  59. pause
  60. start http://docs.livestreamer.io/install.html
  61. pause
  62. goto :Help
  63. :Custom
  64. cls
  65. echo What stream would you like to tune in to?
  66. set /p channel=
  67. :Quality
  68. cls
  69. echo What quality would you like (Choose from mobile (worst), low, medium, high, or source (Best))?
  70. set /p quality=
  71. if /i %quality% EQU mobile  goto :Chosen
  72. if /i %quality% EQU low     goto :Chosen
  73. if /i %quality% EQU medium  goto :Chosen
  74. if /i %quality% EQU high    goto :Chosen
  75. if /i %quality% EQU source  goto :Chosen
  76. if /i %quality% NEQ mobile  goto :Quality
  77. if /i %quality% NEQ low     goto :Quality
  78. if /i %quality% NEQ medium      goto :Quality
  79. if /i %quality% NEQ high    goto :Quality
  80. if /i %quality% NEQ source      goto :Quality
  81. :Chosen
  82. cls
  83. livestreamer http://www.twitch.tv/%channel% %quality%
  84. goto :Choice
  85. :Preloaded
  86. cls
  87. echo Which channel would you like to watch?
  88. echo 1) Riot Games
  89. echo 2) Krepo
  90. echo 3) Sky
  91. echo 4) Salty Teemo
  92. echo 5) Nightblue
  93. set /p option=
  94. if %option% EQU 1 goto :1
  95. if %option% EQU 2 goto :2
  96. if %option% EQU 3 goto :3
  97. if %option% EQU 4 goto :4
  98. if %option% EQU 5 goto :5
  99. if %option% NEQ 1 goto :Preloaded
  100. if %option% NEQ 2 goto :Preloaded
  101. if %option% NEQ 3 goto :Preloaded
  102. if %option% NEQ 4 goto :Preloaded
  103. if %option% NEQ 5 goto :Preloaded
  104. :1
  105. livestreamer twitch.tv/riotgames source
  106. goto :Choice
  107. :2
  108. livestreamer twitch.tv/SkumbagKrepo source
  109. goto :Choice
  110. :3
  111. livestreamer twitch.tv/Sky_mp3 source
  112. goto :Choice
  113. :4
  114. livestreamer twitch.tv/SaltyTeemo source
  115. goto :Choice
  116. :5
  117. livestreamer twitch.tv/Nightblue3 source
  118. goto :Choice
  119. :Choice
  120. cls
  121. echo Would you like to start over and select another stream? (Y/N)
  122. set /p StartoverChoice=
  123. if /i %StartoverChoice% EQU Y goto :Start
  124. if /i %StartoverChoice% EQU N goto :ConfirmClose
  125. if /i %StartoverChoice% NEQ Y goto :Choice
  126. if /i %StartoverChoice% NEQ N goto :Choice
  127. :ConfirmClose
  128. cls
  129. echo Would you like to exit? (Y/N)
  130. set /p Confirm=
  131. if /i %Confirm% EQU Y goto :Close
  132. if /i %Confirm% EQU N goto :Choice
  133. if /i %Confirm% NEQ Y goto :ConfirmClose
  134. if /i %Confirm% NEQ N goto :ConfirmClose
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement