186 lines
6.0 KiB
Batchfile
Executable File
186 lines
6.0 KiB
Batchfile
Executable File
@ECHO OFF
|
|
|
|
cd /d %~dp0
|
|
call data_get_project_info.bat
|
|
|
|
TITLE Getting GTA_NG_PreBuild label for PS4...
|
|
ECHO Getting GTA_NG_PreBuild label for PS4...
|
|
|
|
set syncerror=0
|
|
|
|
echo Killing SystrayRfs and RAG
|
|
taskkill /IM SysTrayRfs.exe
|
|
taskkill /IM rag.exe
|
|
taskkill /IM ragApp.exe
|
|
|
|
|
|
:: Grab main build.
|
|
p4 sync //depot/gta5/build/dev_ng/common/...@GTA5_NG_PreBuild 2> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/build/dev_ng/ps4/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/build/dev_ng/sce_companion_httpd/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/build/dev_ng/sce_sys/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/build/dev_ng/sce_module/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/build/dev_ng/game_orbis_*.*@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
|
|
:: Grab NG TU
|
|
|
|
::TitleUpdate - DEV_NG
|
|
p4 sync //depot/gta5/titleupdate/dev_ng/common/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/titleupdate/dev_ng/dlc_patch/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/titleupdate/dev_ng/ps4/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/titleupdate/dev_ng/sce_sys/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/titleupdate/dev_ng/*.xml@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/titleupdate/dev_ng/*.prx@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/titleupdate/dev_ng/game_orbis_*.*@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //depot/gta5/titleupdate/dev_ng/_launchgame.bat@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
|
|
::TitleUpdate - DEV_TEMP
|
|
::p4 sync //depot/gta5/titleupdate/dev_Temp/common/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
::IF %ERRORLEVEL% EQU 1 (
|
|
:: set syncerror=1
|
|
::)
|
|
::p4 sync //depot/gta5/titleupdate/dev_Temp/dlc_patch/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
::IF %ERRORLEVEL% EQU 1 (
|
|
:: set syncerror=1
|
|
::)
|
|
::p4 sync //depot/gta5/titleupdate/dev_Temp/ps4/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
::IF %ERRORLEVEL% EQU 1 (
|
|
:: set syncerror=1
|
|
::)
|
|
::p4 sync //depot/gta5/titleupdate/dev_Temp/sce_sys/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
::IF %ERRORLEVEL% EQU 1 (
|
|
:: set syncerror=1
|
|
::)
|
|
::p4 sync //depot/gta5/titleupdate/dev_Temp/*.xml@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
::IF %ERRORLEVEL% EQU 1 (
|
|
:: set syncerror=1
|
|
::)
|
|
::p4 sync //depot/gta5/titleupdate/dev_Temp/*.prx@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
::IF %ERRORLEVEL% EQU 1 (
|
|
:: set syncerror=1
|
|
::)
|
|
::p4 sync //depot/gta5/titleupdate/dev_Temp/game_orbis_*.*@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
::IF %ERRORLEVEL% EQU 1 (
|
|
:: set syncerror=1
|
|
::)
|
|
::p4 sync //depot/gta5/titleupdate/dev_Temp/_launchgame.bat@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
::IF %ERRORLEVEL% EQU 1 (
|
|
:: set syncerror=1
|
|
::)
|
|
|
|
:: Grab DLC compat packs
|
|
|
|
::mpSecurity
|
|
if exist x:\gta5_dlc\mpPacks\mpSecurity\dev_ng/ (
|
|
p4 sync //gta5_dlc/mpPacks/mpSecurity/build/dev_ng/...@GTA5_NG_Prebuild 2>> %RS_TOOLSROOT%/logs/NG_TU_sync.txt
|
|
if errorlevel 1 set syncerror=1
|
|
)
|
|
if exist x:\gta5_dlc\mpPacks\mpSecurity\dev_ng/ (
|
|
p4 sync //gta5_dlc/mpPacks/mpSecurity\dev_ng/*.*@GTA5_NG_Prebuild 2>> %RS_TOOLSROOT%/logs/NG_TU_sync.txt
|
|
if errorlevel 1 set syncerror=1
|
|
)
|
|
|
|
|
|
|
|
::mpPatchesNG
|
|
p4 sync //gta5_dlc/mpPacks/mpPatchesNG/build/dev_ng/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //gta5_dlc/mpPacks/mpPatchesNG/*.*@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
|
|
::CLIFFORD
|
|
p4 sync //gta5_dlc/spPacks/dlc_agentTrevor/build/dev_ng/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //gta5_dlc/spPacks/dlc_agentTrevor/*.*@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
|
|
::spUpgrade
|
|
p4 sync //gta5_dlc/spPacks/spUpgrade/build/dev_ng/...@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
p4 sync //gta5_dlc/spPacks/spUpgrade/*.*@GTA5_NG_PreBuild 2>> %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
IF %ERRORLEVEL% EQU 1 (
|
|
set syncerror=1
|
|
)
|
|
|
|
|
|
::patchDay26NG
|
|
if exist x:\gta5_dlc\patchpacks (
|
|
p4 sync //gta5_dlc/patchPacks/patchDay26NG/build/dev_ng/...@GTA5_NG_Prebuild 2>> %RS_TOOLSROOT%/logs/NG_TU_sync.txt
|
|
if errorlevel 1 set syncerror=1
|
|
)
|
|
if exist x:\gta5_dlc\patchpacks (
|
|
p4 sync //gta5_dlc/patchPacks/patchDay26NG/*.*@GTA5_NG_Prebuild 2>> %RS_TOOLSROOT%/logs/NG_TU_sync.txt
|
|
if errorlevel 1 set syncerror=1
|
|
)
|
|
|
|
::--- check for errors ---
|
|
IF %syncerror% EQU 0 (
|
|
echo .
|
|
echo Grab successful.
|
|
)
|
|
IF %syncerror% EQU 1 (
|
|
echo .
|
|
echo WARNING: Errors were reported during the grab.
|
|
notepad %RS_TOOLSROOT%/logs/ps4_prebuild_sync.txt
|
|
)
|
|
|
|
|
|
)
|
|
::---------------------------------------------------------------
|
|
|
|
pause
|
|
|
|
:END
|