Commit Graph

66 Commits

Author SHA1 Message Date
daniele pieroni
4d9ee5e418 Adding an error msg in case we find but fail to deserialize ue.projectstore
#rb Josie.Yang

[CL 32696907 by daniele pieroni in ue5-main branch]
2024-04-03 10:02:35 -04:00
tomasz obrebski
ce0e216515 Compilation fix - Zen platform transport backend
[CL 32694541 by tomasz obrebski in ue5-main branch]
2024-04-03 08:14:41 -04:00
tomasz obrebski
3e3d6cadba Zen transport plugin for staged builds serving using the platform protocol interface and FStorageServerConnection adaptation for platform backends
#jira UE-206393
#rb Zousar.Shaker, daniele.pieroni, Josie.Yang

[CL 32693892 by tomasz obrebski in ue5-main branch]
2024-04-03 07:34:34 -04:00
tomasz obrebski
c7ef5720f2 Add support for compressed binary PackageStoreRequest
#rb daniele.pieroni, PJ.Kack
#jira UE-210516

[CL 32692536 by tomasz obrebski in ue5-main branch]
2024-04-03 05:44:42 -04:00
zousar shaker
106b9499e0 Convert ue.projectstore file to json.
#rb dan.engelbrecht

[CL 32464544 by zousar shaker in ue5-main branch]
2024-03-24 22:03:42 -04:00
daniele pieroni
3cec0eb185 - Pass down the StorageServerConnection if a request needs a staging buffer to decode into it, since the memory used can be uncached or write-combined, usually GPU resource
#jira UE-207219
#rb Per.Larsson

[CL 31839785 by daniele pieroni in ue5-main branch]
2024-02-27 09:55:36 -05:00
daniele pieroni
dfacc4ff94 - Add time scope for InitializeAfterProjectFilePath that can take more than 5 seconds during handshake
- Sort host address by loopback addresses (IPV6 and IPV4) and local host subnet in order to improve the chances of having a successfull connection at the first attempt and avoid possible timeouts

#jira UE-207222
#rb Josie.Yang, Zousar.Shaker

[CL 31652038 by daniele pieroni in ue5-main branch]
2024-02-20 14:06:48 -05:00
per larsson
dccb6df43e I/O - changed dispatcher backend interface from resolving a single to a batch of I/O requests.
#rb Paul.Chipchase, Martin.Ridgers
#rnx

[CL 31469283 by per larsson in ue5-main branch]
2024-02-14 08:43:21 -05:00
zousar shaker
92e7af69c4 Improve the user experience when a game runtime is trying to connect to zenserver for network data stream but isn't able to make the connection. This ensures we don't just end up at a halt on a fatal error, but give user-friendly messaging, with clarificitons on what actions the user can take.
#rb dan.engelbrecht
#jira UE-184107

[CL 31095810 by zousar shaker in ue5-main branch]
2024-02-01 14:04:44 -05:00
zousar shaker
9f1b48b917 Change naming of .projectstore to ue.projectstore to avoid having hidden by default status on Mac/Linux.
#rb dan.engelbrecht

[CL 31054932 by zousar shaker in ue5-main branch]
2024-01-31 13:01:29 -05:00
steve robb
f029468598 Fixed up a lot of bool-taking container resize functions to take EAllowShrinking instead.
[CL 30729174 by steve robb in ue5-main branch]
2024-01-19 16:41:35 -05:00
dmytro ivanov
fda98ce035 Don't break in the handshake if more storage server connection hosts are available to try.
#jira UE-194868
#rb dan.engelbrecht

[CL 29316967 by dmytro ivanov in ue5-main branch]
2023-11-01 10:35:19 -04:00
zousar shaker
e95a2b2c30 Change default port for autolaunched ZenServer local service to 8558. When connecting to an existing service (not autolaunched), the default port remains what it was before, but will change in the future.
[CL 28665636 by zousar shaker in ue5-main branch]
2023-10-11 11:18:41 -04:00
matt peters
2d8cad97a6 PakFiles and FileManager: Add IPlatformFile::FDirectoryVisitor::ShouldVisitLeafPath for directory visitors that are ignoring some files, so that FPakFile::ValidateDirectorySearch knows that invalid-to-request files were not requested despite being present in the searched directories.
#rnx
#rb Zousar.Shaker

[CL 28012483 by matt peters in ue5-main branch]
2023-09-19 16:51:05 -04:00
Matt Peters
e69f086889 CookOnTheFly2: Remove duplicate warnings for missing packages requested multiple times, and remove warnings for editor-only packages that are found due to unsolicited loads on the cooker but were not requested by the client. Add packagename to warnings about missing packages.
#jira UE-184879
#rnx
#rb Dan.Englebrecht

[CL 27593637 by Matt Peters in ue5-main branch]
2023-09-05 08:41:53 -04:00
zousar shaker
e330e9d4c9 Target Iteration: Usability improvements to StorageServerConnection/File:
- Set a lower timeout on the duration of initial handshake (5.0 seconds) so that we don't stall for a long time trying to connect to an invalid host
- Provide a descriptive error messagebox when not in unattended mode and we fail to connect to any host
- Avoid attempting to connect to localhost on non-desktop platforms (they can never be the host, and if we're using IPv6 localhost, it can cause them to try an unnecessary name lookup).

#rb dan.engelbrecht

[CL 27326709 by zousar shaker in ue5-main branch]
2023-08-23 19:13:18 -04:00
dan engelbrecht
06d88ac15e Use the already loaded bytes available even if read overlaps boundary of buffer in FStorageServerFileHandle before
#rb pj.kack per.larsson

[CL 26705396 by dan engelbrecht in ue5-main branch]
2023-07-31 10:12:18 -04:00
zousar shaker
c5d05e1f4e 2nd attempt:
Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26123110 by zousar shaker in ue5-main branch]
2023-06-20 10:53:32 -04:00
zousar shaker
71aecc1264 [Backout] - CL26049351
[FYI] dan.engelbrecht
Original CL Desc
-----------------------------------------------------------------
Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26085241 by zousar shaker in ue5-main branch]
2023-06-19 02:23:59 -04:00
dan engelbrecht
9679996964 Rework zenserver host address detection when using COTF
Make sure .projectstore file is properly staged in all scenarios

#rb zousar.shaker

[CL 26049362 by dan engelbrecht in ue5-main branch]
2023-06-16 09:32:36 -04:00
dan engelbrecht
20799c9f48 Store cooker computer remote ips in .projectstore
#rb zousar.shaker

[CL 26006400 by dan engelbrecht in ue5-main branch]
2023-06-15 04:51:13 -04:00
dan engelbrecht
ea0aa7d6b5 Simplify detection of .projectstore file by using the relative content root
#rb pj.kack
#preflight 646e26bf64351d76f3a675ea

[CL 25617036 by dan engelbrecht in ue5-main branch]
2023-05-25 03:42:09 -04:00
Zousar Shaker
e3a89ca975 Fix bug with handling of IPV6 addresses in StorageServerConnection.
#rb dan.englebrecht
#preflight 64551662994d8a3d0a28a61b

[CL 25354673 by Zousar Shaker in ue5-main branch]
2023-05-05 10:57:18 -04:00
dan engelbrecht
96500c25d1 Automatically detect a if a staged target is using zenstore without pak and configure zenserver host and project id.
#jira UE-144425
#rb zousar.shaker pj.kack
#preflight 64427d5b4944ef78923c85b6

[CL 25144415 by dan engelbrecht in ue5-main branch]
2023-04-21 08:56:22 -04:00
carlmagnus nordin
ecfc01c258 ZenLoader: Include preload dependencies in package headers instead of relying on predetermined export bundle dependencies. This means that each package can be treated in isolation when staging. Also removes the need to keep track of export and bundle counts in the package store which saves some memory.
#preflight 642e8838441e8b2f5506dbb4
#rb pk.kack,per.larsson,francis.hurteau

[CL 24944233 by carlmagnus nordin in ue5-main branch]
2023-04-06 10:50:30 -04:00