Optimize and Streamline Extractor.bat
This commit is contained in:
1 parent
c6a1ea7c32
commit
453cd30eb7
1 file changed
+18
-29
+18
-29
@@ -1,5 +1,6 @@
|
|||||||
@ECHO OFF
|
@ECHO OFF
|
||||||
CLS
|
CLS
|
||||||
|
|
||||||
:MENU
|
:MENU
|
||||||
ECHO.
|
ECHO.
|
||||||
ECHO ...............................................
|
ECHO ...............................................
|
||||||
@@ -27,42 +28,30 @@ IF %M%==1 GOTO MAPS
|
|||||||
IF %M%==2 GOTO VMAPS
|
IF %M%==2 GOTO VMAPS
|
||||||
IF %M%==3 GOTO MMAPS
|
IF %M%==3 GOTO MMAPS
|
||||||
IF %M%==4 GOTO ALL
|
IF %M%==4 GOTO ALL
|
||||||
IF %M%==5 GOTO EOF
|
IF %M%==5 GOTO :EOF
|
||||||
|
|
||||||
:MAPS
|
:MAPS
|
||||||
start mapextractor.exe
|
start /b /w mapextractor.exe
|
||||||
ECHO Wait until mapextractor.exe closes before continuing.
|
|
||||||
pause
|
|
||||||
GOTO MENU
|
GOTO MENU
|
||||||
|
|
||||||
:VMAPS
|
:VMAPS
|
||||||
md vmaps
|
start /b /w vmap4extractor.exe
|
||||||
start vmap4extractor.exe
|
start /b /w vmap4assembler.exe Buildings vmaps
|
||||||
ECHO Wait until vmap4extractor.exe closes before continuing.
|
|
||||||
pause
|
|
||||||
start vmap4assembler.exe Buildings vmaps
|
|
||||||
ECHO Wait until vmap4assembler.exe closes before continuing.
|
|
||||||
pause
|
|
||||||
rmdir Buildings /s /q
|
rmdir Buildings /s /q
|
||||||
GOTO MENU
|
GOTO MENU
|
||||||
|
|
||||||
:MMAPS
|
:MMAPS
|
||||||
md mmaps
|
ECHO This may take a few hours to complete. Please be patient.
|
||||||
start mmaps_generator.exe
|
PAUSE
|
||||||
pause
|
start /b /w mmaps_generator.exe
|
||||||
GOTO MENU
|
GOTO MENU
|
||||||
|
|
||||||
:ALL
|
:ALL
|
||||||
start mapextractor.exe
|
ECHO This may take a few hours to complete. Please be patient.
|
||||||
ECHO Wait until mapextractor.exe closes before continuing.
|
PAUSE
|
||||||
pause
|
start /b /w mapextractor.exe
|
||||||
md vmaps
|
start /b /w vmap4extractor.exe
|
||||||
start vmap4extractor.exe
|
start /b /w vmap4assembler.exe
|
||||||
ECHO Wait until vmap4extractor.exe closes before continuing.
|
|
||||||
pause
|
|
||||||
start vmap4assembler.exe Buildings vmaps
|
|
||||||
ECHO Wait until vmap4assembler.exe closes before continuing.
|
|
||||||
pause
|
|
||||||
rmdir Buildings /s /q
|
rmdir Buildings /s /q
|
||||||
md mmaps
|
start /b /w mmaps_generator.exe
|
||||||
start mmaps_generator.exe --threads %NUMBER_OF_PROCESSORS%
|
|
||||||
ECHO Wait until mmaps_generator.exe closes before continuing (may take hours).
|
|
||||||
pause
|
|
||||||
GOTO MENU
|
GOTO MENU
|
||||||
:EOF
|
|
||||||
Reference in new issue
Block a user