Files
TCPlayerbotCore/contrib/extractor.bat
T

60 lines
1.6 KiB
Batchfile
Raw Normal View History

@ECHO OFF
CLS
2017-07-17 05:26:43 -04:00
: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 WARNING! when extracting the vmaps extractor will
ECHO output the text below, it's intended and not an error:
2017-07-14 06:50:41 +02:00
ECHO ..........................................
ECHO Extracting World\Wmo\Band\Final_Stage.wmo
ECHO No such file.
ECHO Couldn't open RootWmo!!!
ECHO Done!
ECHO ..........................................
2017-02-25 10:37:22 +01:00
ECHO.
ECHO Press 1, 2, 3 or 4 to start extracting or 5 to exit.
2019-02-14 08:57:56 +01:00
ECHO 1 - Extract base files (NEEDED) and cameras.
ECHO 2 - Extract vmaps (needs maps to be extracted before you run this) (OPTIONAL, highly recommended)
ECHO 3 - Extract mmaps (needs vmaps to be extracted before you run this, may take hours) (OPTIONAL, highly recommended)
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
2017-07-17 05:26:43 -04:00
IF %M%==5 GOTO :EOF
:MAPS
2017-07-17 05:26:43 -04:00
start /b /w mapextractor.exe
GOTO MENU
2017-07-17 05:26:43 -04:00
:VMAPS
2017-07-17 05:26:43 -04:00
start /b /w vmap4extractor.exe
start /b /w vmap4assembler.exe Buildings vmaps
rmdir Buildings /s /q
GOTO MENU
2017-07-17 05:26:43 -04:00
:MMAPS
2017-07-17 05:26:43 -04:00
ECHO This may take a few hours to complete. Please be patient.
PAUSE
start /b /w mmaps_generator.exe
GOTO MENU
2017-07-17 05:26:43 -04:00
:ALL
2017-07-17 05:26:43 -04:00
ECHO This may take a few hours to complete. Please be patient.
PAUSE
start /b /w mapextractor.exe
start /b /w vmap4extractor.exe
start /b /w vmap4assembler.exe
rmdir Buildings /s /q
2017-07-17 05:26:43 -04:00
start /b /w mmaps_generator.exe
GOTO MENU