60 Commits

Author SHA1 Message Date
joe kirchoff
8fcbbe8420 CookedEditor.Automation: Don't stage .cs files
#rnx

[CL 29188242 by joe kirchoff in ue5-main branch]
2023-10-27 13:31:01 -04:00
josh adams
976eced673 - Fixed uncooking of maps after recent fix for .ini files
#rb francis.hurteau
#jira UE-198593

[CL 29096546 by josh adams in ue5-main branch]
2023-10-25 14:27:23 -04:00
josh adams
08bfa6ba5f - Fixed an issue with moving remapped files from UFS to NonUFS when making cooked editor, where it was using UnmakeStagedFileReference unnecessarily, and getting it wrong when a file was remapped
- Removed UnmakeStagedFileReference
#rb bernard.lambert

[CL 28325981 by josh adams in ue5-main branch]
2023-09-28 15:23:02 -04:00
Ryan Hummer
3ebc0e1bcf Removing mono/xbuild part 1
* Updating references to use dotnet
* Add new RunDotnet scripts
* Removing Mono sh scripts and references to them

#rnx
#jira UE-153293
#rb josh.adams, zack.neyland, brandon.schaefer

[CL 26737744 by Ryan Hummer in ue5-main branch]
2023-08-01 10:02:58 -04:00
josh adams
eaa7acae82 - Changed how the sdk.json files are staged in cooked editors
#rb eric.knapik

[CL 26247337 by josh adams in ue5-main branch]
2023-06-26 18:23:23 -04:00
josh adams
305c260069 - Moved SDK versions (MainVersion and Min/Max SDK version) from C# strings to SDK.json files in the Platform's Config folder
- Allow for per-project override in a project's platform's config folder (this is merging with my other work on per-project SDKs and validation of multi-target builds)
- More versions will move over after this
#rb david.harvey

[CL 26150552 by josh adams in ue5-main branch]
2023-06-21 11:21:01 -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
jack porter
6fabf3f5dc Add Force=true option to [CookedEditorSettings] EngineExtraStageFiles / ProjectExtraStageFiles to force staging of a file that would otherwise be rejected by the Restricted folder filter.
#preflight 63f87a20b879197e732ccabb
#rb Graeme.Thornton

[CL 24422139 by jack porter in ue5-main branch]
2023-02-27 08:46:00 -05:00
eric knapik
ed104c81e0 #jira: none
Adding AssetRegistryCacheRootFolder commandline option support to the BuildCookFort command and the MakeCookedEditor command.
Adding the AssetRegistryCacheRootFolder to the ProfileCook,  asset scan, and fast cook test to improve performance.

#preflight 63da959b3f006aee1191f2cd
[FYI] Bob.Tellez

[CL 23960951 by eric knapik in ue5-main branch]
2023-02-01 19:24:13 -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
jamie dale
4a92efef3b Stage all Engine/Editor localization targets for a cooked editor, even if they've been disabled for use in game
[FYI] Leon.Huang
#rnx

[CL 23670635 by jamie dale in ue5-main branch]
2023-01-12 17:29:52 -05:00
jamie dale
7ab632dec5 Stage Engine localization data for cooked editors
Some of the editor UI text actually comes from the engine

#preflight 63bf29b5af3ebedd9998bb49
[FYI] Leon.Huang
#rnx

[CL 23658556 by jamie dale in ue5-main branch]
2023-01-11 20:57:02 -05:00
rex hill
d228363efc Allow cooked editor staging to exclude Content/Python directories
#rb jamie.dale
#preflight 63bde37068068a8bd677b384

[CL 23636301 by rex hill in ue5-main branch]
2023-01-10 19:39:19 -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
josh adams
523b4f0318 - Moved a utility function from two (copy/pasted) places into ConfigHierarchy - GetStructKeyValuePairs(), which will return a Dictionary that contains the keys and values from a standard UE struct definition (almost always loaded from a .ini file). Similar in nature to GetStructEntry(), but will entries in the struct
#rb tim.smith
#preflight 6377efaf815e4b9b7564d565

[CL 23212737 by josh adams in ue5-main branch]
2022-11-18 20:39:31 -05: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
robomerge
3b63ad8538 CookedEditor - Minor log change
#rnx
#rb eric.knapik
#preflight skip

[CL 22580610 by robomerge in ue5-main branch]
2022-10-17 17:41:01 -04:00
josh adams
958529c420 - Fix for bad source data in an editor resource
#rb trivial
#jira UE-166919
#preflight 63482017907f47493991d851

[CL 22511464 by josh adams in ue5-main branch]
2022-10-13 16:31:45 -04:00
jamie dale
3894f35f2a Cooked editors now stage the editor localization targets
#preflight 6340342ab20780acc1f813f2
#rb Rex.Hill, Dave.Belanger

[CL 22432682 by jamie dale in ue5-main branch]
2022-10-10 12:53:15 -04:00
graeme thornton
ad6634ad10 Enable cached package data in the asset registry for cooked cookers, so that they can correctly find all the data it needs
#preflight none

[CL 22240056 by graeme thornton in ue5-main branch]
2022-09-28 22:10:08 -04:00
eric knapik
62f5506ff9 #jira: none
Only adjust the CookedEditor default staged dir if it's not already been overriden.

[FYI] Josh.Adams
#rb: Josh.Adams
#preflight

#ROBOMERGE-AUTHOR: eric.knapik
#ROBOMERGE-SOURCE: CL 21186791 via CL 21195237 via CL 21195428 via CL 21195504
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21196929 by eric knapik in ue5-main branch]
2022-07-20 21:52:00 -04:00
josh adams
6a6b872445 - Fixed issue with directory not existing when adding project shaders
#jira UE-159929
#rb trivial
#preflight 62d6fdc947779a730aa8ebb3

#ROBOMERGE-AUTHOR: josh.adams
#ROBOMERGE-SOURCE: CL 21166998 via CL 21169092 via CL 21173455 via CL 21173535
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21192043 by josh adams in ue5-main branch]
2022-07-20 18:23:22 -04:00
eric knapik
64905a5500 #jira: FORT-487403, FORT-487406
Updating BuildCookFort and MakeCookedEditor to take an array of plugins for fast load.
Updated MakeCookedEditor to take override locations for the asset registry data as it will be in a different location than the Release folder when cooking locally.

This command will cook and pak the windows client, server and UEFN. Users will be able to modify this script to specify where the stage dir should be and if the Client, Server, UEFN should also be built as part of this.

#preflight 62d5dafddc4397d384e3b02c

#ROBOMERGE-AUTHOR: eric.knapik
#ROBOMERGE-SOURCE: CL 21155331 via CL 21157155 via CL 21159333 via CL 21164152
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21182295 by eric knapik in ue5-main branch]
2022-07-20 12:09:54 -04:00
graeme thornton
9b6693c0e9 Stage project shaders for cooked cookers
#preflight none
[FYI] josh.adams

#ROBOMERGE-AUTHOR: graeme.thornton
#ROBOMERGE-SOURCE: CL 21108970 via CL 21110432 via CL 21110489 via CL 21110526
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v972-20964824)

[CL 21112668 by graeme thornton in ue5-main branch]
2022-07-15 12:49:24 -04:00