Commit Graph

94 Commits

Author SHA1 Message Date
josh adams
7c3ccfd8b8 - Only apply UE_RELATIVE_BASE_DIR if it exists (ie has not been staged to a differnet dir structure)
- SubmitTool now will set the projectdir to the Restricted location only if not-staged
- Disabled some settings in SubmitTool to reduce unused staged files (dlls, etc)
- Disabled VULKAN_HAS_DEBUGGING_ENABLED when IS_PROGRAM, and no longer stage all the VkLayers when staging a Program (helps save over 20mb from standalone programs on Windows)
- No longer force ShaderFormats to true when building a program that is TargetPlatform enabled
#rb j.baumgartner

[CL 29527715 by josh adams in ue5-main branch]
2023-11-07 14:04:01 -05: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
Josh Adams
a5cb0c6321 - Disallow BaseSourceControlSettings.ini from being staged
#rb trivial

[CL 27546375 by Josh Adams in ue5-main branch]
2023-08-31 22:14:27 -04:00
david harvey
6e22cd71c5 Automation platforms can define a custom deployment handler that can be used to alter staging, packaging and deployment behavior.
- Allows a target to change how it is packaged, staged and deployed - for example, when packaging for a specific game store

Hooked into Windows only at the moment, configured via:

[/Script/WindowsTargetPlatform.WindowsTargetSettings]
CustomDeployment=MyCustomDeploymentHandler


#jira UE-179187
#rnx
#rb Eric.McDaniel

[CL 27370777 by david harvey in ue5-main branch]
2023-08-25 04:21:07 -04:00
matt peters
b553467749 AutomationTool Staging: CookedEditor: Fix DeploymentContext::UnmakeRelativeStagedReference directory comparisons to be case insensitive.
#rb None, trivial
#rnx

[CL 27344049 by matt peters in ue5-main branch]
2023-08-24 11:41:44 -04:00
matt peters
dbcd5158c0 AutomationTool Staging: CookedEditor: Add feedback about which file is failing in the failed assertion in DeploymentContext.UnmakeRelativeStagedReference.
#rnx
#rb Zousar.Shaker

[CL 27317303 by matt peters in ue5-main branch]
2023-08-23 15:42:41 -04:00
Matt Peters
536a85d297 CookedEditor Staging: AdditionalPluginDirectories: Handle paths from the staged RemappedPlugins in DeploymentContext.UnmakeRelativeStagedReference.
#rb Zousar.Shaker
#rnx
#jira UE-193368

[CL 27238763 by Matt Peters in ue5-main branch]
2023-08-21 10:33: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
james singer
e5215ab3d3 Allow -vulkandebug to use our distributed vulkan validation layers for both Windows and Linux
Tested with editor and packaged project builds with and without installed Vulkan SDK and it functioned as expected

#preflight 64653fcaf033744ae6af8e56
#jira UE-159251
#review-25517129 @josh.adams, @jeannoe.morissette
#rb Jeannoe.Morissette

[CL 25758808 by james singer in ue5-main branch]
2023-06-02 09:04:53 -04:00
dan engelbrecht
df83c93b28 Use UnRealPak to copy loose files using a special package enabling zenstore usage.
#precommit 6461fa95592448f08b9df249
#rb zousar.shaker

[CL 25472827 by dan engelbrecht in ue5-main branch]
2023-05-15 09:49:17 -04:00
Josh Adams
3b0498006e - Added a couple functions to CommandUtils for archive to handle copying symlinks properly (with a mode enum to select how to handle symlinks: Follow, Retain, Ignore - with defaults based on platform to be similar to how existing code was setup)
- FindFilesAndSymlinks
  - CopyFileOrSymlink
#rb joe.kirchoff
#preflight 6449556f1150e908d08bc3ba

[CL 25201543 by Josh Adams in ue5-main branch]
2023-04-26 12:54:36 -04:00
james doverspike
2ebe5e964e Adds bStageLoose to pakfilerules which stages loose files and gathers them up into a new ondemand pak.
[CL 24868106 by james doverspike in ue5-main branch]
2023-03-31 02:58:47 -04:00
carlmagnus nordin
30c0f28fc0 ZenCook: Merge the oplog and package store manifest. Write an oplog instead of a package store manifest when cooking to loose files and read the oplog instead of the package store manifest to find cooked files in UAT when staging from Zen.
#rb per.larsson
#preflight 640efc9bc41a0a2a7799d470
#rnx

[CL 24632735 by carlmagnus nordin in ue5-main branch]
2023-03-14 06:43:23 -04: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
james doverspike
90c0ddf9ba [Backout] - CL24328738
[FYI] james.doverspike
Original CL Desc
-----------------------------------------------------------------
Cosmetic bulk asset streaming

Adds support for marking skeletal meshes and textures as optional files that stream from the cloud, typically used for cosmetics. Meshes and textures will now upload all of their non-inlined LODs as optional bulk files to the cloud, removing them from the pak files. The client will download into the VirtualFileCache in PersistentDownloadDir/VFC, which evicts least recently used LODs. These assets will have a longer delay to update to the higher quality LOD when their LODs are not in cache because they are now downloaded on-demand.

[CL 24373261 by james doverspike in ue5-main branch]
2023-02-22 19:19:46 -05:00
james doverspike
6a8a19a4b7 Cosmetic bulk asset streaming
Adds support for marking skeletal meshes and textures as optional files that stream from the cloud, typically used for cosmetics. Meshes and textures will now upload all of their non-inlined LODs as optional bulk files to the cloud, removing them from the pak files. The client will download into the VirtualFileCache in PersistentDownloadDir/VFC, which evicts least recently used LODs. These assets will have a longer delay to update to the higher quality LOD when their LODs are not in cache because they are now downloaded on-demand.

[CL 24331735 by james doverspike in ue5-main branch]
2023-02-20 20:22:07 -05:00
bob tellez
79d7201510 [Backout] - CL24230614
[FYI] james.doverspike
Original CL Desc
-----------------------------------------------------------------
Cosmetic bulk asset streaming

Adds support for marking skeletal meshes and textures as optional files that stream from the cloud, typically used for cosmetics. Meshes and textures will now upload all of their non-inlined LODs as optional bulk files to the cloud, removing them from the pak files. The client will download into the VirtualFileCache in PersistentDownloadDir/VFC, which evicts least recently used LODs. These assets will have a longer delay to update to the higher quality LOD when their LODs are not in cache because they are now downloaded on-demand.

[CL 24253381 by bob tellez in ue5-main branch]
2023-02-16 04:15:55 -05:00
james doverspike
4e78faf0de Cosmetic bulk asset streaming
Adds support for marking skeletal meshes and textures as optional files that stream from the cloud, typically used for cosmetics. Meshes and textures will now upload all of their non-inlined LODs as optional bulk files to the cloud, removing them from the pak files. The client will download into the VirtualFileCache in PersistentDownloadDir/VFC, which evicts least recently used LODs. These assets will have a longer delay to update to the higher quality LOD when their LODs are not in cache because they are now downloaded on-demand.

[CL 24251508 by james doverspike in ue5-main branch]
2023-02-16 01:47:06 -05:00
chris constantinescu
9667771c10 Gauntlet - project name that's generated into UECommandline.txt is never used
Project name should be passed as first argument all times.
Revertws CL 21706201 which was more of a patch than a real solution to the problem
#jira UE-170799
#preflight 6384f2397b4bd3f0571c82a7
#rb Jerome.Delattre

[CL 23356237 by chris constantinescu in ue5-main branch]
2022-12-01 13:28:47 -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
josh adams
25c54a4758 - Fixing an ini key from the config redirect stuff recently
#jira UE-163639
#rb trivial
#preflight 63236c9eb1461e4724fc2df4

[CL 22039858 by josh adams in ue5-main branch]
2022-09-15 18:02:51 -04:00
jason walter
26117b5d31 Rename IniKeyBlacklist to IniKeyDenylist and IniSectionBlacklist to IniSectionDenyList
#jira UE-131078
#rb josh.adams
#preflight 6320c90f47741a7dbd237e5f

[CL 21997756 by jason walter in ue5-main branch]
2022-09-13 21:47:24 -04:00
josh adams
6417f1656a - Used new ConfigRedirects to rename the following ini keys:
WhitelistConfigFiles=AllowedConfigFiles
  BlacklistConfigFiles=DisallowedConfigFiles
  WhitelistDirectories=AllowedDirectories
  BlacklistLocalizationTargets=DisallowedLocalizationTargets
#preflight 631f5107ec5b0c765f0443ff
#jira UE-130960
#rb david.hibbits

[CL 21974206 by josh adams in ue5-main branch]
2022-09-12 18:26:45 -04:00
Josh Adams
5b2f23198f - Allow staging/packaging of programs (requires the program have a basic .uproject, see the new SlateUGS.uproject)
- Added code to patch paths for handling Programs having source in /Engine/Source/Programs/XYZ, their config fies, etc in /Engine/Programs/XYZ, and staging using /XYZ
- Mac can now apply -specifiedarchitecture to UAT builds of programs
- Added support to SlateUGS to load Pak files (programs have to opt-in to it in their main Build.cs)
#rb brandon.schaefer,david.harvey
#preflight 631a03202b7fe03eb6b0f16a

[CL 21894674 by Josh Adams in ue5-main branch]
2022-09-08 11:22:00 -04:00