Skip to content

Commit

Permalink
Misc/Extractor: Add batch file for extractors
Browse files Browse the repository at this point in the history
You must copy it to your wow directory with the tools and run it.
Linux version is welcomed.
(cherry picked from commit d55d32f)
  • Loading branch information
Aokromes authored and Shauren committed Apr 8, 2016
1 parent 92b74d6 commit 32bf8e2
Showing 1 changed file with 51 additions and 0 deletions.
51 changes: 51 additions & 0 deletions contrib/extractor.bat
@@ -0,0 +1,51 @@
@ECHO OFF
CLS
:MENU
ECHO.
ECHO ...............................................
ECHO Trinitycore dbc/db2, maps, vmaps, mmaps extractor
ECHO ...............................................
ECHO PRESS 1, 2, 3 OR 4 to select your task, or 5 to EXIT.
ECHO ...............................................
ECHO.
ECHO 1 - Extract dbc/db2 and maps
ECHO 2 - Extract vmaps (needs maps to be extracted before you run this)
ECHO 3 - Extract mmaps (needs vmaps to be extracted before you run this, may take hours)
ECHO 4 - Extract all (may take hours)
ECHO 5 - EXIT
ECHO.
SET /P M=Type 1, 2, 3, 4 or 5 then press ENTER:
IF %M%==1 GOTO MAPS
IF %M%==2 GOTO VMAPS
IF %M%==3 GOTO MMAPS
IF %M%==4 GOTO ALL
IF %M%==5 GOTO EOF
:MAPS
start mapextractor.exe
pause
GOTO MENU
:VMAPS
start vmap4extractor.exe
md vmaps
start vmap4assembler.exe Buildings vmaps
pause
GOTO MENU
:MMAPS
md mmaps
start mmaps_generator.exe
pause
GOTO MENU
:ALL
start mapextractor.exe
ECHO wait before mapextractor.exe closes before continue
pause
start vmap4extractor.exe
md vmaps
start vmap4assembler.exe Buildings vmaps
rmdir Buildings /s /q
ECHO wait before vmap4assembler.exe closes before continue
pause
md mmaps
start mmaps_generator.exe
pause
GOTO MENU

0 comments on commit 32bf8e2

Please sign in to comment.