MinervaXcel

WoW Client Config (Main file)

Mar 27th, 2015
353
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Batch 4.38 KB | None | 0 0
  1. @echo off
  2. :startagain
  3. cls
  4. echo ########################################################
  5. echo #                      Credits:                        #
  6. echo #                                                      #
  7. echo #          Made by Minervaxcel and Eviljoe             #
  8. echo #                                                      #
  9. echo ########################################################
  10. echo ##                    ## INFO ##                      ##
  11. echo ##                                                    ##
  12. echo ##  This file has to be placed in your WoW directory, ##
  13. echo ##  (where your wow.exe is) in order for it to work!  ##
  14. echo ##                                                    ##
  15. echo ########################################################
  16. echo ##                                                    ##
  17. echo ##                                                    ##
  18. echo ##           Choose an action:                        ##
  19. echo ##             1 - Show Server List                   ##
  20. echo ##             2 - New Server                         ##
  21. echo ##             3 - Start Current Server               ##
  22. echo ##                                                    ##
  23. echo ##                                                    ##
  24. echo ########################################################
  25. echo.
  26.  
  27. set "clientpath=%~dp0.."
  28. set "batchpath=%clientpath%\MinervaJoe"
  29. set "data=%clientpath%\Data"
  30. set "patches=%clientpath%\Data\Patches"
  31. set "enUS=%clientpath%\Data\enUS"
  32. set "ACTION="
  33. set /P "ACTION=Action: %=%"
  34.  
  35. if "%ACTION%"=="1" goto serverlist
  36. if "%ACTION%"=="2" goto newserver
  37. if "%ACTION%"=="3" goto start
  38.  
  39. :serverlist
  40. cls
  41. echo ########################################################
  42. echo ##                                                    ##
  43. echo ##                                                    ##
  44. echo ##            Choose a server:                        ##
  45. echo ##             1 - Molten                             ##
  46. echo ##             2 - Dispersion                         ##
  47. echo ##             3 - Epix                               ##
  48. echo ##                                                    ##
  49. echo ##             4 - More                               ##
  50. echo ##             B - Back                               ##
  51. echo ##                                                    ##
  52. echo ########################################################
  53. echo.
  54. set "LISTINPUT="
  55. set /P "LISTINPUT=Choose a server: %=%"
  56.  
  57. if "%LISTINPUT%"=="1" goto molten
  58. if "%LISTINPUT%"=="2" goto disp
  59. if "%LISTINPUT%"=="3" goto epix
  60. if "%LISTINPUT%"=="4" goto morelist
  61. if "%LISTINPUT%"=="B" goto startagain
  62.  
  63. :molten
  64. cls
  65. cd %enUS%
  66. echo set realmlist logon.warmane.com > realmlist.wtf
  67. echo "Changed realmlist to Molten-WoW's"
  68. cd %data%
  69. if exist "patch-4.mpq" del "patch-4.mpq"
  70. cd %data%
  71. if exist "patch-Z.mpq" del "patch-Z.mpq"
  72. goto theend
  73.  
  74. :disp
  75. cls
  76. cd %enUS%
  77. echo set realmlist play.grom-wow.com > realmlist.wtf
  78. echo "Changed realmlist to Dispersion-WoW's"
  79. cd %data%
  80. if not exist "Patch-4.mpq" xcopy %patches%\patch-4.mpq %data%
  81. cd %data%
  82. if exist "patch-Z.mpq" del "patch-Z.mpq"
  83. goto theend
  84.  
  85. :epix
  86. cls
  87. cd %enUS%
  88. echo set realmlist play.epixwow.com > realmlist.wtf
  89. echo "Changed realmlist to Epix-WoW's"
  90. cd %data%
  91. if not exist "patch-Z.mpq" xcopy %patches%\patch-Z.mpq %data%
  92. cd %data%
  93. if exist "patch-4.mpq" del "patch-4.mpq"
  94. goto theend
  95.  
  96. :newserver
  97. cls
  98. cd %batchpath%
  99. echo.
  100. echo (Server Name must be without spaces and special symbols like - and /)
  101. echo ## Write B to go back ##
  102. echo.
  103.  
  104. set NEWNAME=
  105. set /P NEWNAME=Server Name:
  106.  
  107. if "%NEWNAME%"=="B" goto startagain
  108.  
  109. set NEWREALM=
  110. set /P NEWREALM=Realmlist:  
  111.  
  112. echo set /A Counter+=1 >> morelist.bat
  113. echo echo ##             %NEWNAME% - %%counter%% >> morelist.bat
  114.  
  115. echo. >> moreserver.bat
  116. echo :%NEWNAME% >> moreserver.bat
  117. echo cd %%enUS%% >> moreserver.bat
  118. echo echo set realmlist %NEWREALM% ^> realmlist.wtf >> moreserver.bat
  119. echo echo Changed realmlist to %NEWNAME%'s >> moreserver.bat
  120. echo goto theend >> moreserver.bat
  121.  
  122. call chooseserver.bat
  123.  
  124. cd %enUS%
  125. echo set realmlist %NEWREALM% > realmlist.wtf
  126. echo "Changed Realmlist to %NEWNAME%'s"
  127. goto theend
  128.  
  129.  
  130. :start
  131. cls
  132. cd %clientpath%
  133. START wow.exe
  134. exit
  135.  
  136. :theend
  137. echo Press Any key to start WoW.
  138. pause
  139. cd %clientpath%
  140. START wow.exe
  141. exit
  142.  
  143. :morelist
  144. call morelist.bat
  145. call moreserver.bat
Advertisement
Add Comment
Please, Sign In to add comment