forked from Panaetius/ZCG_A3Wasteland_Altis
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmake_pbo.bat
30 lines (21 loc) · 815 Bytes
/
make_pbo.bat
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
:: make_pbo.bat
::
:: This script makes a PBO out of the current mission and copies it to a given
:: directory based on a match on your Windows username
::
::@ECHO OFF
:: Set your ArmA3 profile name etc. below
IF "%username%" == "Zenon" (
SET "LOCAL_ARMA_PROFILE=PanaetiusServer"
:: My local standalone server dir
SET "PBO_DESTINATION_DIR=C:\DEV\A3Wasteland\"
)
:: General definitions
SET "LOCAL_MISSION_NAME=ArmA3_Wasteland.Altis"
SET "SOURCE_DIR=C:\DEV\A3Wasteland\ArmA3_Wasteland.Altis"
SET "PBO_TOOL=C:\Program Files (x86)\Bohemia Interactive\Tools\BinPBO Personal Edition\BinPBO.exe"
:: Business end
ECHO Packaging into PBO...
"%PBO_TOOL%" "%SOURCE_DIR%" "%PBO_DESTINATION_DIR%"
echo "%PBO_TOOL%" "%SOURCE_DIR%" "%PBO_DESTINATION_DIR%"
echo Created PBO %PBO_DESTINATION_DIR%%LOCAL_MISSION_NAME%.pbo