mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 23:50:44 +01:00
You must copy it to your wow directory with the tools and run it.
Linux version is welcomed.
(cherry picked from commit d55d32fa0f)
52 lines
1.2 KiB
Batchfile
52 lines
1.2 KiB
Batchfile
@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
|