2016-01-07 08:17:16 -05:00
|
|
|
|
// Copyright 1998-2016 Epic Games, Inc. All Rights Reserved.
|
2014-03-14 14:13:41 -04:00
|
|
|
|
using System;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using System.IO;
|
|
|
|
|
|
using System.Threading;
|
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
using AutomationTool;
|
|
|
|
|
|
using UnrealBuildTool;
|
|
|
|
|
|
|
|
|
|
|
|
public partial class Project : CommandUtils
|
|
|
|
|
|
{
|
|
|
|
|
|
#region Package Command
|
|
|
|
|
|
|
|
|
|
|
|
public static void Package(ProjectParams Params, int WorkingCL=-1)
|
|
|
|
|
|
{
|
|
|
|
|
|
Params.ValidateAndLog();
|
2014-09-18 18:55:01 -04:00
|
|
|
|
List<DeploymentContext> DeployContextList = new List<DeploymentContext>();
|
2014-03-14 14:13:41 -04:00
|
|
|
|
if (!Params.NoClient)
|
|
|
|
|
|
{
|
2014-09-18 18:55:01 -04:00
|
|
|
|
DeployContextList.AddRange(CreateDeploymentContext(Params, false, false));
|
|
|
|
|
|
}
|
|
|
|
|
|
if (Params.DedicatedServer)
|
|
|
|
|
|
{
|
|
|
|
|
|
DeployContextList.AddRange(CreateDeploymentContext(Params, true, false));
|
|
|
|
|
|
}
|
2015-08-21 17:27:15 -04:00
|
|
|
|
|
Copying //UE4/Orion-Staging (Orion Main @ CL-2792706 to //UE4/Main
==========================
MAJOR FEATURES + CHANGES
==========================
Change 2792706 on 2015/12/07 by Terence.Burns
Rebuild lightmaps automation changes
- Sync and Build binary files for execution
- Much improved error handling
- Email notification support added.
#Note - This should massively simplify the batch script we use to rebuild lightmaps.
#rb none
#Tests Run the RebuildLightmaps commandlet many times to ensure it runs and errors correctly.
Change 2791950 on 2015/12/05 by Matt.Kuhlenschmidt
Added settings to toggle on and off display of Ping and FPS values.
Server FPS will be disabled before ship
#rb none #test pc/ps4 golden path, pie
Change 2791827 on 2015/12/05 by Marcus.Wassmer
Fix texture memory leak. Fixes automation using too much memory.
#rb Brad.Angelcyk
#codereview bob.ferreira
#test automation runs, editor.
Change 2791313 on 2015/12/04 by Martin.Mittring
fixed PS4 compiling
#rb:Michael.Noland
#test:not
Change 2791014 on 2015/12/04 by Martin.Mittring
nicer cvar help for r.PS4ContinuousSubmits
#rb:Olaf.Piesche
#code_review:Marcus.Wassmer
#test:PC
Change 2791011 on 2015/12/04 by Martin.Mittring
fixed compile error when disabling ENABLE_TEXTURE_TRACKING
#rb:Olaf.Piesche
#test:run Paragon on PC
Change 2790848 on 2015/12/04 by Martin.Mittring
missing changes
nicer cvar help, optimized unneccessary referencecounting, removed redundant code
#rb:Olaf.Piesche
#test:PC Paragon
Change 2790840 on 2015/12/04 by Martin.Mittring
nicer cvar help, optimized unneccessary referencecounting, removed redundant code
#rb:Olaf.Piesche
#test:PC Paragon
Change 2791585 on 2015/12/04 by Michael.Noland
Rendering: Added a more actionable error message to a check() failure for a FStaticLightingMesh that has already been processed when building lighting in a map that contains HLOD
#rb None
#tests Built lighting in a map that was crashing at this check() and verified that the message indicated the problematic mesh
Change 2791244 on 2015/12/04 by Ryan.Brucks
Submitting all my Paragon Content before the new Agora Branch.
Change 2791240 on 2015/12/04 by Marcus.Wassmer
Bump to .061 patch and new pub tools to pass cert
#rb non
#test compile ps4
Change 2791132 on 2015/12/04 by ryan.brucks
RenderToTextureMacros: fixed issue with polygon index being +1 on accident
Change 2790747 on 2015/12/04 by Terence.Burns
Rebuild Lightmaps Automation Script - Adding the -unattended switch for build machines.
#rb None
#tests Run through the Rebuild Lightmaps UAT script process.
Change 2790589 on 2015/12/04 by Bart.Bressler
- Invite PS4 friend option for add party member button now works properly, also fixes crash. Fixes OR-10359.
#rb sam.zamani
#tests invited ps4 player using Invite PS4 Friend option, confirmed that player joined mcp party and ps4 session
Change 2790418 on 2015/12/04 by James.Golding
Roll back HLOD lightmap UV change, Oz reporting issues when building lighting, need more investigation
#rb none
#tests none
Change 2790333 on 2015/12/04 by James.Golding
Add fallback to FMeshUtilities::PropagatePaintedColorsToRawMesh when mesh has been reduced in engine and WedgeMap is missing
#rb martin.wilson
#codereview jurre.debaare
#tests Built HLOD meshes in the editor
Change 2790292 on 2015/12/04 by Olaf.Piesche
Free the new particle array at the beginning of the tick for each instance; that way, even if we're not rendering the array will be cleared and we don't keep injecting new particles that never get killed until rendering resumes
#rb marcus.wassmer
#tests Editor, PIE
Change 2790003 on 2015/12/04 by James.Golding
Fix possible crash in ALODActor::RemoveSubActor
#rb keith.judge
#codereview jurre.debaare
#tests Generated HLOD proxy in editor
Change 2789998 on 2015/12/04 by James.Golding
2015-12-08 09:25:02 -05:00
|
|
|
|
if (DeployContextList.Count > 0 && (!Params.SkipStage || Params.Package))
|
2014-09-18 18:55:01 -04:00
|
|
|
|
{
|
2015-08-20 09:37:11 -04:00
|
|
|
|
Log("********** PACKAGE COMMAND STARTED **********");
|
2014-09-18 18:55:01 -04:00
|
|
|
|
|
|
|
|
|
|
foreach (var SC in DeployContextList)
|
2014-03-14 14:13:41 -04:00
|
|
|
|
{
|
2014-09-18 18:55:01 -04:00
|
|
|
|
if (Params.Package || (SC.StageTargetPlatform.RequiresPackageToDeploy && Params.Deploy))
|
2014-03-14 14:13:41 -04:00
|
|
|
|
{
|
|
|
|
|
|
SC.StageTargetPlatform.Package(Params, SC, WorkingCL);
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
2014-09-18 18:55:01 -04:00
|
|
|
|
|
2015-08-20 09:37:11 -04:00
|
|
|
|
Log("********** PACKAGE COMMAND COMPLETED **********");
|
2014-03-14 14:13:41 -04:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#endregion
|
|
|
|
|
|
}
|