mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-28 21:02:14 +01:00
Misc/Extractor: Add batch file for extractors
You must copy it to your wow directory with the tools and run it. Linux version is welcomed.
This commit is contained in:
51
contrib/extractor.bat
Normal file
51
contrib/extractor.bat
Normal file
@@ -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
|
||||
Reference in New Issue
Block a user