Skip to content

Commit 4be947a

Browse files
NightlyBuildsNightlyBuilds
authored andcommitted
Updating lighting and installer script
1 parent 974ed5e commit 4be947a

File tree

5 files changed

+6
-3
lines changed

5 files changed

+6
-3
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Project*/**
22
Build*/**
3+
Executable
34
__pycache__/
45
config.ini

Build.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
from Scripts.BuildGame import build_game
88
from Scripts.UploadToDeletedNighly import upload_to_deleted_nightly
99
from Scripts.UploadToSteam import upload_to_steam
10+
from Scripts.BuildInstaller import build_installer
1011

1112
from Scripts import Environment as env
1213

@@ -38,6 +39,7 @@ def script_error( log_file, error_message ):
3839
log_file.write( '++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++\n' )
3940
log_file.write( 'Initiating Build Sequence\n' )
4041

42+
4143
# If no commands are give, assume the user wants to run the full suite of scripts
4244
args.all = True if not (args.perforce or args.version or args.lighting or args.build or args.steam) else args.all
4345

Scripts/BuildGame.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def build_game( log_file ):
1919
ue4_batchfiles_dir = env.get_env_variable( 'Local', "ue4_batchfiles_dir" )
2020
ue4_binaries_dir = env.get_env_variable( 'Local', "ue4_binaries_dir" )
2121

22-
result = subprocess.run( [ ue4_batchfiles_dir + 'RunUAT.bat', "BuildCookRun", "-project=" + uproject_file, "-noP4", "-nocompile", "-nocompileeditor", "-installed", "-cook", "-stage", "-archive", "-archivedirectory=" + builds_dir, "-package", "-clientconfig=Development", "-ue4exe=" + ue4_binaries_dir + "UE4Editor-Cmd.exe", "-pak", "-prereqs", "-nodebuginfo", "-targetplatform=Win64", "-build", "-CrashReporter", "-utf8output" ], stdout=log_file )
22+
result = subprocess.run( [ ue4_batchfiles_dir + 'RunUAT.bat', "BuildCookRun", "-project=" + uproject_file, "-noP4", "-nocompile", "-nocompileeditor", "-installed", "-cook", "-stage", "-archive", "-archivedirectory=" + builds_dir, "-package", "-clientconfig=Shipping", "-ue4exe=" + ue4_binaries_dir + "UE4Editor-Cmd.exe", "-pak", "-prereqs", "-nodebuginfo", "-targetplatform=Win64", "-build", "-CrashReporter", "-utf8output" ], stdout=log_file )
2323

2424
log_file.flush()
2525
return result.returncode == 0

Scripts/BuildInstaller.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import subprocess
22

3-
import Environment as env
3+
from . import Environment as env
44

55
game_name = env.get_env_variable('Game', 'game_name')
66

Scripts/BuildLighting.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ def build_lighting( log_file ):
2323
for map in map_names:
2424
log_file.write(map + " ")
2525

26-
# Find all maps, and submaps that match <dir>\**\<map>*.umap
26+
# Find all maps, and submaps that match <dir>\**\<map>.umap
2727
found_maps = glob.glob(map_dir + '\**\\' + map + '*.umap', recursive=True)
2828

2929
# For all the found maps create a mapping to the build data

0 commit comments

Comments
 (0)