Commit Graph

231 Commits

Author SHA1 Message Date
dan thompson
457bd687ea Unifying naming of the reference chunk database.
#preflight 6463d96f4404e3cdd264e7aa
#rb none

[CL 25498967 by dan thompson in ue5-main branch]
2023-05-16 18:01:40 -04:00
bryan sefcik
d205101cc8 Removed unnecessary private include modules.
#preflight 645da640cf788a25581110bb

[CL 25451545 by bryan sefcik in ue5-main branch]
2023-05-12 12:13:52 -04:00
bryan sefcik
91c57d395e Removed redundant module includes.
#preflight 645d4bf3aa3c584c0b5b3a67

[CL 25435653 by bryan sefcik in ue5-main branch]
2023-05-11 16:48:21 -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
Matt Peters
f3e65479f6 LauncherWorker: Fix leading plus added to "-map=+Map1+Map2" argument when CookedMaps is not empty and InitialMap is empty.
#rnx
#rb Jamie.Dale
#preflight 642d8ac7ce01db47acbce691

[CL 24935070 by Matt Peters in ue5-main branch]
2023-04-05 15:47:57 -04:00
David Harvey
7c4735fd6c Strip -noclient when cooking server targets along with any other build.
#jira UE-177088
#rnx
#rb Brandon.Schaefer, Josh.Adams
#preflight 6414955e5d3e25354f35a6f9

[CL 24691305 by David Harvey in ue5-main branch]
2023-03-17 12:46:29 -04:00
PJ Kack
fab2dfca5f Fix for compile error in LauncherProfile introduced in 23265415
#jira none
#rb trivial
#rnx
#preflight none

[CL 23267131 by PJ Kack in ue5-main branch]
2022-11-25 11:32:19 -05:00
PJ Kack
da938d06e7 QuickLaunch: When quick launch fails to start the launcher due to an invalid profile, then log all launcher profile validation errors to make it possible to diagnose the issue.
#jira none
#rb carlmagnus.nordin
#rnx
#preflight 6380b6bfcc307d6fa5976b8a

[CL 23265415 by PJ Kack in ue5-main branch]
2022-11-25 07:55:33 -05:00
michael wanderson
8435033c42 Make packaged builds and builds that deploy to device mutually exclusive in the Project Launcher's Profile Editor UI. This change makes the UI match the logic in LauncherWorker.cpp's CreateUATCommand() method, before this change users could expect a packaged build to be produced when deploying to device when one wouldn't be.
#jira UE-167672
#rb wojciech.krywult david.harvey
#preflight 637d78e02a05dabce99d95b5
#rn Fix Editor Previously the Profile Editor would allow users to turn on packaging while deploy to device was also turned on. The logic in LauncherWorker.cpp's CreateUATCommand() method ignores the packaging setting if deploy to device is requested. With this change the Profile Editor's UI will not allow both packaging and deploying to device in the same profile.

[CL 23252670 by michael wanderson in ue5-main branch]
2022-11-23 14:06:15 -05:00
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