Misc/Extractor: Minor changes to windows extractor script (#29909)
Merges stderr with stdout The results are redirected ">" into the log file. (cherry picked from commit d8d863ab62438085b6a31918f4dc16848c04ff63) Signed-off-by: luis <[email protected]>
This commit is contained in:
committed by
luis
parent
e03eab4083
commit
b80e734191
+17
-14
@@ -37,7 +37,6 @@ IF %M%==6 GOTO :EOF
|
|||||||
:MAPS
|
:MAPS
|
||||||
ECHO.
|
ECHO.
|
||||||
START /b /w mapextractor.exe
|
START /b /w mapextractor.exe
|
||||||
ECHO Cameras, dbc and maps extracted.
|
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
CLS
|
CLS
|
||||||
GOTO MENU
|
GOTO MENU
|
||||||
@@ -47,7 +46,6 @@ ECHO.
|
|||||||
START /b /w vmap4extractor.exe
|
START /b /w vmap4extractor.exe
|
||||||
START /b /w vmap4assembler.exe Buildings vmaps
|
START /b /w vmap4assembler.exe Buildings vmaps
|
||||||
RMDIR Buildings /s /q
|
RMDIR Buildings /s /q
|
||||||
ECHO Vmaps extracted and reassembled.
|
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
CLS
|
CLS
|
||||||
GOTO MENU
|
GOTO MENU
|
||||||
@@ -57,7 +55,6 @@ ECHO.
|
|||||||
ECHO This may take a few hours to complete. Please be patient.
|
ECHO This may take a few hours to complete. Please be patient.
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
START /b /w mmaps_generator.exe
|
START /b /w mmaps_generator.exe
|
||||||
ECHO Mmaps generated.
|
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
CLS
|
CLS
|
||||||
GOTO MENU
|
GOTO MENU
|
||||||
@@ -67,36 +64,42 @@ ECHO.
|
|||||||
ECHO This may take a few hours to complete. Please be patient.
|
ECHO This may take a few hours to complete. Please be patient.
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
START /b /w mapextractor.exe
|
START /b /w mapextractor.exe
|
||||||
ECHO Cameras, dbc and maps extracted.
|
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
START /b /w vmap4extractor.exe
|
START /b /w vmap4extractor.exe
|
||||||
ECHO Vmaps extracted.
|
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
START /b /w vmap4assembler.exe
|
START /b /w vmap4assembler.exe
|
||||||
RMDIR Buildings /s /q
|
RMDIR Buildings /s /q
|
||||||
ECHO Vmaps reassembled.
|
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
START /b /w mmaps_generator.exe
|
START /b /w mmaps_generator.exe
|
||||||
ECHO Mmaps generated.
|
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
CLS
|
CLS
|
||||||
GOTO MENU
|
GOTO MENU
|
||||||
|
|
||||||
|
REM "2>&1" merges Standard Error (stderr) with Standard Output (stdout).
|
||||||
|
REM The results are redirected ">" into the log file.
|
||||||
:ALLWITHLOGS
|
:ALLWITHLOGS
|
||||||
ECHO.
|
ECHO.
|
||||||
ECHO This may take a few hours to complete. Please be patient.
|
ECHO This may take a few hours to complete. Please be patient.
|
||||||
|
ECHO.
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
START /b /w mapextractor.exe > mapextractor.log
|
ECHO Extracting cameras, dbc and maps.
|
||||||
ECHO Cameras, dbc and maps extracted.
|
START /b /w mapextractor.exe 2>&1 > mapextractor.log
|
||||||
|
ECHO cameras, dbc and maps extracted.
|
||||||
|
ECHO.
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
START /b /w vmap4extractor.exe > vmap4extractor.log
|
ECHO Extracting Buildings for Vmaps.
|
||||||
ECHO Vmaps extracted.
|
START /b /w vmap4extractor.exe 2>&1 > vmap4extractor.log
|
||||||
|
ECHO Buildings for Vmaps extracted.
|
||||||
|
ECHO.
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
START /b /w vmap4assembler.exe > vmap4assembler.log
|
ECHO Assembling Buildings with Vmaps.
|
||||||
|
START /b /w vmap4assembler.exe 2>&1 > vmap4assembler.log
|
||||||
RMDIR Buildings /s /q
|
RMDIR Buildings /s /q
|
||||||
ECHO Vmaps reassembled.
|
ECHO Buildings with Vmaps Assembled.
|
||||||
|
ECHO.
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
START /b /w mmaps_generator.exe > mmaps_generator.log
|
ECHO Generating Mmaps (This takes the longest time).
|
||||||
|
START /b /w mmaps_generator.exe 2>&1 > mmaps_generator.log
|
||||||
ECHO Mmaps generated.
|
ECHO Mmaps generated.
|
||||||
TIMEOUT 5 > NUL
|
TIMEOUT 5 > NUL
|
||||||
CLS
|
CLS
|
||||||
|
|||||||
Reference in New Issue
Block a user