Commit Graph

200 Commits

Author SHA1 Message Date
per larsson
5d4e6f8552 IAS - added UAT option -Upload=<args> for uploading ondemand content to S3 compatible endpoint
Use -Upload=LocalZen to upload to local Zen server

#rb Paul.Chipchase

[CL 29777954 by per larsson in ue5-main branch]
2023-11-16 10:37:28 -05:00
alexander suvorov
0223b4b83d Move RetainStagedDirectory setting from launcher profile to project packaging settings.
#jira UE-185249
#rb none

[CL 28095878 by alexander suvorov in ue5-main branch]
2023-09-21 14:25:49 -04:00
david harvey
cf438cded9 CustomDeployment handler can be specified on the command line.
- still only used on Windows at the moment.

#jira UE-179187
#rnx
#rb Tomasz.Obrebski

[CL 27712186 by david harvey in ue5-main branch]
2023-09-08 11:14:48 -04:00
Matt Peters
e3be932357 Cooker: AdditionalPluginDirectories: Fix staging to look in the RemappedPlugins directory when cooking DLC plugins that are in AdditionalPluginDirectories.
Fix cooker to store all metadata in the RemappedPlugins.
Fix cooker for even normal DLCs to store all metadata in the DLC's directory rather than the project's directory.
#jira UE-192828
#rn Bugfix, Core
#rb Zousar.Shaker

[CL 27205588 by Matt Peters in ue5-main branch]
2023-08-18 12:05:51 -04:00
eric knapik
52215d80a3 #Jira: FORT-617630
Adding buildgraph option to EnablePlugins for cooking and building. Enabling a plugin in the buildgraph will enable it for cook and compilation but will not enable it in the application that must be done via other means
Updating BuildCookRun commands so they pass the EnablePlugins command through the build system

[FYI] Taylor.Robert

[CL 25881480 by eric knapik in ue5-main branch]
2023-06-08 16:23:30 -04:00
dmytro ivanov
15a6f27a3e Pass RunCommandline during launch to improve iteration times on mobile by not needing to rebuild .apk every time, because they are not passed via staged build anymore.
#jira UE-185550
#rb adam.kinge

[CL 25868747 by dmytro ivanov in ue5-main branch]
2023-06-08 08:25:43 -04:00
David Harvey
bf4d7523a2 Fixes for multiple build targets:
- do not need to specify a default server target when doing -cook
 - UFE allows launching default Game and Client targets now that a default can be specified in BuildSettings (note that it won't verify that a default has been configured - UAT handles this)


#jira UE-181924
#rb Josh.Adams
#preflight 6446823027014596f36a5411

[CL 25163212 by David Harvey in ue5-main branch]
2023-04-24 09:30:03 -04:00
dan engelbrecht
db5e568754 Game client no longer needs -zenstoreproject or -zenstorehost arguments to correctly run with a COTF server which uses Zen.
Game client now accepts only -filehostip for connection to a CTOF server, -cookonthefly is no longer necessary and is ignored.
Game client will now receive ProjectName (ProjectId), Platform (OplogId), Zen server host name and port from COTF server if running with zenstore.
Fixed issues with generating the ProjectId from a path where drive letters where lower case.

#rb zousar.shaker pj.kack
#preflight

[CL 24889513 by dan engelbrecht in ue5-main branch]
2023-04-03 01:51:40 -04:00
bryan sefcik
ab8961a2f0 Added zenstore and iterate arguments to the ProjectParams.
Updated CookProfile.

#preflight

[CL 24734295 by bryan sefcik in ue5-main branch]
2023-03-21 13:03:34 -04:00
Ben Marsh
e141cb6196 More UAT structured logging fixes.
#preflight 6408dee3b0544ef0b4bca696

[CL 24564590 by Ben Marsh in ue5-main branch]
2023-03-08 14:32:15 -05:00
Ben Marsh
235eb77726 Change to structured logging in other AutomationTool projects.
#preflight 6408c4478c0039bbf750e861

[CL 24562553 by Ben Marsh in ue5-main branch]
2023-03-08 12:43:35 -05:00
Ben Marsh
89d6613573 UAT: Refactor AutomationUtils and BuildGraph to use structured logging.
#preflight 6407c4c26e1dadfcdab25849

[CL 24553706 by Ben Marsh in ue5-main branch]
2023-03-07 21:23:47 -05:00
bryan sefcik
836b14219e * Added an interface that contains ParamHelp attributes for ProjectParam so we can reflect the parameters in other tools.
* Updated LauncherTool to traverse the class interfaces looking for attributes. Using GetCustomAttributes is not good enough because it will not find the HelpAttributes because the base attribute class(DescriptionAttribute) does not explicitly mark itself that the attribute is inherited.

#rb gary.yuan
#preflight 64028b895515f4f57b0a62c0

[CL 24511953 by bryan sefcik in ue5-main branch]
2023-03-03 20:48:42 -05:00
Matt Peters
7bbd3c4bf0 Cooker,AssetRegistry,AssetManager: Remove deprecation handling for fields deprecated in 5.1 and earlier.
Make AssetManager required; engine startup gives a fatal error if AssetManager is not present.
#rn Minor, Cooking
#rb Zousar.Shaker
#preflight 63ffd322df66ed5fc11d963e

[CL 24493164 by Matt Peters in ue5-main branch]
2023-03-02 19:37:50 -05:00
pj kack
819cf350d8 UAT: Parse ini overrides when reading config values from CreatePaks in CopyBuildToStaginDirectory.
Add ConfigOverrideParams to ProjectParams constructor.
Add OverrideStrings to ConfigHierarchyKey to get the right data from ConfigHierarchy.ReadHierarchy().

#rb dan.thompson
#rnx
#preflight 63ef5c0c3c1eb56f059e7370, 63ef5c4b90198dffbadbd846

[CL 24309947 by pj kack in ue5-main branch]
2023-02-20 03:38:24 -05:00
dan thompson
04ab2ee169 Adding the ability to override the oodle dll for packaging in ProjectParams, and use it
#rb pj.kack
#rb justin.marcus
[FYI] charles.bloom
#preflight 63efbbe21d71bcd262046117

[CL 24291525 by dan thompson in ue5-main branch]
2023-02-17 16:40:33 -05:00
josh adams
1610c3bee3 UnrealArch/UnrealArchitectures changes
- Creates the UnrealArchitectures class, which wraps a list of UnrealArch objects
 - UnrealArch is a single architecture, expandable enum-like struct
 - There is no more concept of "no/default architecture", there is always a valid active architecture when building
 - Most uses of "string Architecture" are replaced with one of the two above, depending if multiple architectures are supported or not
 - UnrealArch has some platform-extensions for platform-specific naming (like Linux adds in LinuxName that turns, for instance, Arm64 -> aarch64-unknown-linux-gnueabi, which is used in folder names, etc)
 - UnrealArch has bIsX64 which can be used determine intel instruction set (as opposed to arm)
 - TargetRules class has an "Architecture" accessor that will return a single architecture if the active architectures is a single architecture, or throw an exception if multiple. This is useful in a majority of the cases where a paltform can only have a single architecture active in TargetRules (microsoft platforms, for instance, will create separate targets when compiling multiple architectures at once)
 - Added UnrealArchitectureConfig class, which contains all the architecture information for a platform (what architectures are supported, what ones are currently active for given project, etc)

#preflight 63c81fb5b065224750a1759e
#rb mike.fricker,roman.dzieciol,joe.kirchoff,dmytro.vovk,brandon.schaefer [various parts]
#p4v-preflight-copy 23562471

[CL 23829977 by josh adams in ue5-main branch]
2023-01-24 09:30:28 -05:00
Josh Adams
87eddff6e0 - Added support for DefaultGameTarget and DefaultClientTarget in Engine.ini like we have for DefaultEditorTarget and DefaultServerTarget (in ProjectParams)
- Made use of it for Lyra to select LyraGame as default (instead of LyraGameEOS)

#rb ben.zeigler,david.harvey
#preflight 63c185a12e714f64ad188a2a

[CL 23678795 by Josh Adams in ue5-main branch]
2023-01-13 11:43:46 -05:00
sergio gardeazabal
c1ec9b119c Adding a way to force compression during staging
#rb josh.adams , justin.marcus
#preflight 63b863ff68068a8bd6353273

[CL 23609354 by sergio gardeazabal in ue5-main branch]
2023-01-08 18:12:06 -05:00
Josh Adams
622efc4c0d - More Architecture cleanup
- Added UAT params to pass architecture by target type (-editorarchitecture, -clientarchitecture, -serverarchitecture, -programarchitecture). Keeping -specifiedarchitecture for compat, and it will set all the other 4 if they are not specified
- Changed ProjectGenerator to find Program .uproject files (logic was looking for .Target files under the .uproject's directory, which is not the case for Programs)
- Added two params to GetProjectArchitectures:
    - bGetAllSupported - used to get all supported architectures, not just the ones currently being built for (needed for XcodeProject to know what architectures to allow in the dropdown)
    - bIsDistributionMode - used to get architectures to compile when making distribution builds (probably want to compile all architectures for distro's)
- Removed the MacExports.TargetsAlowedForAppleSilicon, updated XcodeProject code to use the new GetProjectArchitectures()
#rb david.harvey
#jira none
#preflight 63909f217e0feab0b7bd8241

[CL 23428114 by Josh Adams in ue5-main branch]
2022-12-07 09:42:34 -05:00
josh adams
2bb7de64da - Added a new callback to staging that allow for finalization of staged files
- Added a default implementation of GetCookPlatform, which allows BuildCookRun to run without needing any platform-specific automation DLLs (cook and staging can happen, but running/packaging would still need the platform automation dlls)
#rb graeme.thornton
#preflight 637d2ed8f514e1ded91d417b

[CL 23244387 by josh adams in ue5-main branch]
2022-11-22 20:17:39 -05:00
David Harvey
fd4e90d66f do not fail a -noclient -server build if there are multiple game build targets.
- this matches the logic when running UAT with -target=myserver etc.


#jira UE-169814
#rb Josh.Adams
#preflight 6374ab6f1c114bec05ee01f9

[CL 23151764 by David Harvey in ue5-main branch]
2022-11-16 04:34:44 -05:00
Dan Thompson
739a2dcf5c Add a way to save iostore containers that get modified as part of the deployment/staging process.
#rb fabian.giesen
#preflight 6362b0a71a32af63a8f3ba32

[CL 22922682 by Dan Thompson in ue5-main branch]
2022-11-02 14:29:26 -04:00
chris varnsverry
e6e16a972e - Refactor "Default Editor" mechanism to enable specifying default Server too.
[REVIEW] [at]Rob.Cannaday [at]Graeme.Thornton [at]Sam.Zamani

[CL 22802851 by chris varnsverry in ue5-main branch]
2022-10-26 22:19:05 -04:00
josh adams
a7c8ca547e - Extended the "UnstagedRuntimeDependencies" concept for pulling only minimal files needed for platform (console mainly) cooking into a directory at stage time, called "CookerSupportFiles"
- It needs to have CookerSupportFilesSubdirectory passed in to BuildCookRun to activate (giving it the name of a subdirectory under the Staged directory to put the SDK files)
- it also writes a .bat file that can set the envvars needed for the minimal SDKs to be found by Unreal
#rb graeme.thornton
#preflight 634f1e9069246074dba2f09a
#p4v-cherrypick 22616289

[CL 22634717 by josh adams in ue5-main branch]
2022-10-19 15:11:10 -04:00