Commit Graph

222 Commits

Author SHA1 Message Date
David Harvey
cb3acec0d2 Project Launcher Build Target fixes:
- saved profiles default to not having the build target specified as it wasn't originally serialized.
 - using the same validation logic regardless of whether the project is specified or not to keep things simpler.
 - editor & server do not need an explicit build target when there's multiple target.cs files because the default can be specified in the engine ini.

#jira UE-169814
#rb Ben.Zeigler
#rnx
#preflight 637b59ee815e4b9b75ed9406

[CL 23218963 by David Harvey in ue5-main branch]
2022-11-21 06:05:21 -05:00
David Harvey
4edcb4a8ff fix for the editor always trying to build even with promoted binaries.
#jira UE-169766
#rb Ben.Marsh
#rnx
#preflight 637668f3c85523092aa0f5b1

[CL 23178115 by David Harvey in ue5-main branch]
2022-11-17 12:14:37 -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
Dan Thompson
c64200d056 Fix for a disconnect else clause during version deserialization from forever ago.
#rb christopher.waters
#preflight 63604273b257789a3d2c9227

[CL 22873506 by Dan Thompson in ue5-main branch]
2022-10-31 18:05:00 -04:00
pj kack
a1ce619360 QuickLaunch: Fix to kill UAT process tree when closing the editor while quick launch is running (follow up fix for 19195892).
Move terminate process logic from FLauncherWorker::Cancel to FLauncherWorker::Run to make sure it gets run also for FLauncherWorker::CancelAndWait which gets called via FMainFrameHandler::ShutDownEditor when shutting down the editor.

#jira UE-164394
#rb carlmagnus.nordin
#lockdown mark.lintott
#preflight 6346a8748a0a7b2adc727fad
#rnx

[CL 22483184 by pj kack in ue5-main branch]
2022-10-12 14:54:07 -04:00
christopher waters
1979485a4c Pass along the RHI specific arguments to launched processes.
#jira none
#rb arciel.rekman
#preflight 63345d1f031c90cb0babe254

[CL 22232540 by christopher waters in ue5-main branch]
2022-09-28 18:04:10 -04:00
devin doucette
abd22903b7 Fixed forwarding of -DDC=<Graph> to avoid initializing DDC and only forward non-default graph names
#preflight 631f926c1e6887c4a6d4c30d
#rb Zousar.Shaker

[CL 21984731 by devin doucette in ue5-main branch]
2022-09-13 12:12:58 -04:00
bryan sefcik
a3dddc6630 Pass 1 on Developer include fixes:
Removed redundant private include paths from build.cs files.
Fixed include paths to be relative to the private or public folders.
Hid or removed includes that reached into other private module folders.
Updated PublicInclude paths when necessary.

#jira
#preflight 631e281694758d0bf2ea1399

[CL 21960082 by bryan sefcik in ue5-main branch]
2022-09-11 18:32:18 -04:00
David Harvey
f05c8fd354 Project Launcher supports multiple .target.cs Build Target files.
- also includes a fix for the wrong 'previous' profile being passed to FProjectLauncherModel::ProfileSelectedDelegate.
 - includes a fix for the wrong project being used for device profiles if the fallback project is changed in the editor.

#jira UE-161372, UE-162633
#rb Patrick.Boutot
#preflight 630f9a8c556fc14dce9b72c8

[CL 21789581 by David Harvey in ue5-main branch]
2022-09-05 04:07:57 -04:00
brian white
96026b3ca9 Add Project Launcher Profile setting for Original Release Version to support those platforms that need it (in addition to the Based On Release Version setting). The setting will only appear for those platforms that opt-in via the platform specific version of FGenericPlatformProperties.
#jira UE-155733
#rb David.Harvey Wojciech.Krywult
#preflight https://horde.devtools.epicgames.com/job/630e11c4501b64ba333ffca8
#rnx

[CL 21700049 by brian white in ue5-main branch]
2022-08-30 10:10:23 -04:00
Dan Thompson
7c8f356b9a Removing GetNumCookersToSpawn as it hasn't been used in a long long time.
#jira UE-158607
#preflight 62cc784c173a4f340870d564
#rb matt.peters

[CL 21046824 by Dan Thompson in ue5-main branch]
2022-07-11 16:33:40 -04:00
Dan Thompson
dbe9ec3fc3 Fixing JSON warnings with reference container values in project launcher.
#jira UE-157147
#rb trivial
#preflight 62cc5bc621129e2bb8ef538c

[CL 21043386 by Dan Thompson in ue5-main branch]
2022-07-11 13:39:33 -04:00
christopher waters
8d8c05f497 Reworking shader platform settings on Windows to be per-RHI. This removes the ill-fated "min/max feature level" configs that were just causing confusion.
On Windows, "TargetedRHIs" is now split into "D3D11TargetedShaderFormats", "D3D12TargetedShaderFormats" and "VulkanTargetedShaderFormats". "TargetedRHIs" is still parsed for backwards compatibility.
Using this, projects can now be more easily configured for D3D12-only or even Vulkan-only.
Updated FShaderFormatsPropertyDetails to use FName instead of FString for shader platforms. Also added a filtering method for mixed RHI platforms like Windows.

#jira none
#rb mihnea.balta, josh.adams
#preflight 6287cbf46c7692ac8cc8805f

[CL 20300786 by christopher waters in ue5-main branch]
2022-05-20 15:09:09 -04:00
PJ Kack
42985a9093 Delete private and unused LauncherUATCommand.h file
#jira none
#rb trivial
#rnx
#preflight 627e0966332e182a58738d1f

[CL 20178445 by PJ Kack in ue5-main branch]
2022-05-13 03:38:18 -04:00
Dan Thompson
3a6321167b Packaging Reference Chunk Database - "Lossless Patch Preventer"
Can now provide reference iostore containers to reuse compressed chunks from. If a match is found on *the decompressed data*, instead of recompressing the blocks, they are read off of disk. This allows tweaks of the compressor algorithm without introducing changes as the runtime still sees the exact same data. Additionally this allows for fairly dramatic staging speedups as nvme speeds are significantly faster than high effort compressions. This is distinct from the DDC compression because:
1) DDC compression ties in the compressor version/method
2) We are explicitly interested in chunks that are deployed to end users, not merely cached for speed.

To facilitate this, several changes were made to IoStore:

FIoStoreReader now directly reads from IFileHandles* instead of routing through the GenericPlatformFile async read system, as that system is sensitive to build #defines and can result in constant file opens under load (indeed, for anything not a .pak file, every read is an open/close).

Cold file cache read speed improvements from ~140MB/s to ~1 GB/s. Hot is more.

Additionally:
    FIoStoreReader switched to UE::Tasks from taskgraph for tasks in order to facilitate task retraction during waits as the previous ReadAsync call was trivial to deadlock when called from worker threads due to its use of TFuture<>.
    FIoStoreReader::ReadCompressed now returns the compressed blocks as they were on disk - padded to AES encryption block size.

#rb fabian.giesen
#rb jeff.roberts
#preflight 627586dcf77c9c2b543d4d8b

[CL 20086673 by Dan Thompson in ue5-main branch]
2022-05-06 18:22:44 -04:00
brandon schaefer
0bd6c3bf25 Dont pass -noclient if we are doing both a client and server build
#jira UE-149294
#rb Josh.Adams
#preflight 62743bf54a2e9340486e9f77

#ROBOMERGE-AUTHOR: brandon.schaefer
#ROBOMERGE-SOURCE: CL 20064789 in //UE5/Release-5.0/... via CL 20065553
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v943-19904690)

[CL 20067014 by brandon schaefer in ue5-main branch]
2022-05-05 19:18:33 -04:00
PJ Kack
5d0ce32acd UAT: For editor quick launch and packaging, only pass -iostore and -compressed when using -pak, and never pass -compressed to the cook commandlet (that feature has been removed).
#jira none
#rb carlmagnus.nordin
#rnx
#preflight 6273b3d45b05fb4f60112bbe

[CL 20056179 by PJ Kack in ue5-main branch]
2022-05-05 07:41:13 -04:00
PJ Kack
040822a13a Editor launcher cleanup.
Initialize all members in FLauncherTask, and move ReadPipe and WritePipe to FLauncherUATTask.
Initialize all members in FLauncherWorker.
Delete FLauncherVerifyProfileTask since Profile->IsValidForLaunch() is aready checked in FLauncher::Launch before creating the FLauncherWorker.
Move duplicate parsing of "Running Package@Device" and device package handling from all separate wait tasks to the FlauncherWorker.
Move handling of killing the uat process tree from all separate wait tasks to the FLauncherWorker.
Change the launch wait task name from "Build Task" to "Launch Task" to correctly display "Launching..." instead of "Validating/Building executable for..."

#jira none
#rb carlmagnus.nordin
#rnx
#preflight 621c8f73037be0078c8bbfc9

[CL 19195883 by PJ Kack in ue5-main branch]
2022-03-01 03:41:26 -05:00
Josh Adams
4c41fe8d8b - Added a new ProjectPackaging setting - LaunchOnTarget which is now shown int he Platforms menu when multiple Game targets exist (Lyra).
- Added support for passing the LaunchOnTarget along to the LaunchOn process
#jira UE-138006
#rb matt.peters
#robomerge Release-5.0
#preflight 61e89cb363639eb6f607db67

[CL 18669007 by Josh Adams in ue5-main branch]
2022-01-19 18:54:41 -05:00
joe kirchoff
ce3aa781de Fixed the initial map setting of the project launcher being ignored when also specifying maps to cook (from jamie.dale)
#jira UE-119188
[FYI] jamie.dale
#rb trivial
#preflight 61e081ce787db720a912c783

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18602768 in //UE5/Release-5.0/... via CL 18602826 via CL 18602868
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18602899 by joe kirchoff in ue5-main branch]
2022-01-13 15:09:04 -05:00
joe kirchoff
0fdf463820 Set ShareableProjectPath in FLauncherProfile::SetDefaults
#jira UE-121084
#rb trivial
#rnx
#preflight 61e067e00f52107164a8e169

#ROBOMERGE-AUTHOR: joe.kirchoff
#ROBOMERGE-SOURCE: CL 18600350 in //UE5/Release-5.0/... via CL 18600363 via CL 18600391
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v899-18417669)

[CL 18600429 by joe kirchoff in ue5-main branch]
2022-01-13 13:48:09 -05:00
jonathan adamczewski
95d053010f LauncherServices: Remove references to UE4
#jira UE-11520
#trivial
#preflight none

#ROBOMERGE-AUTHOR: jonathan.adamczewski
#ROBOMERGE-SOURCE: CL 18565267 in //UE5/Release-5.0/... via CL 18565294
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v899-18417669)

[CL 18565296 by jonathan adamczewski in ue5-release-engine-test branch]
2022-01-10 16:21:41 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00
aurel cordonnier
a6e741e007 Merge from Release-Engine-Staging @ 17915896 to Release-Engine-Test
This represents UE4/Main @17911760, Release-5.0 @17915875 and Dev-PerfTest @17914035

[CL 17918595 by aurel cordonnier in ue5-release-engine-test branch]
2021-10-25 20:05:28 -04:00