ue4.py

Cube sample script

usage: ue4.py [-h] [--loglevel {DEBUG,INFO,WARNING,ERROR}]
              [--logformat LOGFORMAT] [-c CLUSTER_ID] [-e]
              {prepare,load,build-cloud,unload,upload-images,build,env} ...

Positional Arguments

command Possible choices: prepare, load, build-cloud, unload, upload-images, build, env

Named Arguments

--loglevel

Possible choices: DEBUG, INFO, WARNING, ERROR

Set the script log level

--logformat Set the script log format
-c, --cluster_id
 

The cluster id. If not set with the command line, uses the environment variable GENVID_CLUSTER_ID if it exists. Otherwise defaults to ‘local’

Default: “local”

-e, --envpath

Use engine root from environment variables.

Default: False

Sub-commands:

prepare

Copy SDK and generate the project files

ue4.py prepare [-h] [-n]

Named Arguments

-n, --dry-run

Just print what it will do

Default: False

load

Load the specified target definition in the cloud

ue4.py load [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

build-cloud

Build the specified target for the cloud

ue4.py build-cloud [-h] [-v VERSION] [--vs {auto,vs2015,vs2017}]
                   [targets [targets ...]]

Positional Arguments

targets The targets to build

Named Arguments

-v, --version The engine version to use
--vs

Possible choices: auto, vs2015, vs2017

Force the usage of a Visual Studio version when building.

Default: auto

unload

Unload the specified target definition in the cloud

ue4.py unload [-h] [targets [targets ...]]

Positional Arguments

targets The targets to build

upload-images

Upload Cube sample images to the cloud

ue4.py upload-images [-h] [-b BUCKET] [-p PATH] [-u] [targets [targets ...]]

Positional Arguments

targets The targets to upload

Named Arguments

-b, --bucket Name of the bucket to use. Default is a combination of AWS account, bastion, and cluster IDs.
-p, --path

The path in the bucket (default: “/images/ue4_Cube”).

Default: “/images/ue4_Cube”

-u, --update-config
 

Upload configuration to the current cluster.

Default: False

build

Build the specified target

ue4.py build [-h] [-v VERSION] [--vs {auto,vs2015,vs2017}]
             [targets [targets ...]]

Positional Arguments

targets The targets to build

Named Arguments

-v, --version The engine version to use
--vs

Possible choices: auto, vs2015, vs2017

Force the usage of a Visual Studio version when building.

Default: auto

env

Print environment variables

ue4.py env [-h]