Commit Graph

150 Commits

Author SHA1 Message Date
marc audy
dbcf07a558 Use new inline versions of substring functions
Fix up nearby cases where ESearchCase::CaseSensitive should have been used
#jira
#rnx
#rb

#ROBOMERGE-OWNER: marc.audy
#ROBOMERGE-AUTHOR: marc.audy
#ROBOMERGE-SOURCE: CL 10309793 via CL 10309818
#ROBOMERGE-BOT: (v593-10286020)

[CL 10309932 by marc audy in Main branch]
2019-11-19 13:27:07 -05:00
Rolando Caloca
1a30325d6f Copying //UE4/Dev-RenderPlat-Staging@9551419 to //UE4/Main
#rb none
#rnx

[CL 9551447 by Rolando Caloca in Main branch]
2019-10-11 15:33:31 -04:00
Stefan Boberg
1f813eb516 Copying //UE4/Dev-Core to Main (//UE4/Main)
#rb many

[CL 9405827 by Stefan Boberg in Main branch]
2019-10-03 16:26:48 -04:00
joe barnes
3dc1eda473 [Switch] Updated Disk I/O tracking and analytics.
#rb mickael.gilabert


#ROBOMERGE-SOURCE: CL 9167378 via CL 9167405 via CL 9167407
#ROBOMERGE-BOT: (v443-9013191)

[CL 9167408 by joe barnes in Main branch]
2019-09-26 19:10:42 -04:00
serge bernier
7a1e34de48 Compile fix (in UE4Editor non unity Win64)
#ROBOMERGE-SOURCE: CL 8759920 via CL 8785368
#ROBOMERGE-BOT: (v422-8689730)

[CL 8794443 by serge bernier in Main branch]
2019-09-17 21:32:36 -04:00
serge bernier
9321b10237 Add the possibility to override a list of .ini files from the cmd line. Usefully to iterate directly in the .ini file and not repak.
#rb josh.adam
#rnx


#ROBOMERGE-OWNER: serge.bernier
#ROBOMERGE-AUTHOR: serge.bernier
#ROBOMERGE-SOURCE: CL 8754735 via CL 8783282
#ROBOMERGE-BOT: (v422-8689730)

[CL 8793631 by serge bernier in Main branch]
2019-09-17 21:22:23 -04:00
ben woodhouse
10b655d3f0 Add a delegate which fires when the startup loading screen is shown
Also add support for overriding the startup pak mount wildcard
#rb daniel.lamb,dan.phillips


#ROBOMERGE-OWNER: ben.woodhouse
#ROBOMERGE-AUTHOR: ben.woodhouse
#ROBOMERGE-SOURCE: CL 8511857 via CL 8511859 via CL 8511866 via CL 8512599 via CL 8513780
#ROBOMERGE-BOT: (v406-8472469)

[CL 8513797 by ben woodhouse in Main branch]
2019-09-05 20:16:57 -04:00
dan phillips
f83df8d234 Add a per frame KB stat for the pre cache.
[FYI] ben.woodhouse


#ROBOMERGE-SOURCE: CL 8177927 via CL 8197353
#ROBOMERGE-BOT: (v401-8057353)

[CL 8197552 by dan phillips in Main branch]
2019-08-21 17:24:18 -04:00
dan phillips
fc2a5602b5 Add some stats to the Precache.
[FYI] ben.woodhouse


#ROBOMERGE-SOURCE: CL 8174737 via CL 8197029
#ROBOMERGE-BOT: (v401-8057353)

[CL 8197197 by dan phillips in Main branch]
2019-08-21 17:20:39 -04:00
marc audy
3fe6cfe858 Fix additional merge error from last fixup attempt in CL# 7709015
#rnx
[CODEREVIEW] dan.phillips, arciel.rekman


#ROBOMERGE-SOURCE: CL 7838116
#ROBOMERGE-BOT: (v389-7813075)

[CL 7839235 by marc audy in Main branch]
2019-08-07 07:03:51 -04:00
marc audy
77ef97438f Fix bad merge in IPlatformFilePak.cpp
#rnx
[CODEREVIEW] Dan.Phillips, Arciel.Rekman


#ROBOMERGE-SOURCE: CL 7709015
#ROBOMERGE-BOT: (v385-7708028)

[CL 7710686 by marc audy in Main branch]
2019-08-02 18:42:57 -04:00
Arciel Rekman
1c31004006 Fixing compile error apparently due to bad robomerge in CL 7689301.
#rb Dan.Philips
#jira none

[CL 7703541 by Arciel Rekman in Main branch]
2019-08-01 18:41:22 -04:00
dan phillips
cb56e01534 Fix build break
#ROBOMERGE-OWNER: dan.phillips
#ROBOMERGE-AUTHOR: dan.phillips
#ROBOMERGE-SOURCE: CL 7682119 via CL 7690004
#ROBOMERGE-BOT: (v383-7686620)

[CL 7690009 by dan phillips in Main branch]
2019-08-01 13:21:50 -04:00
dan phillips
a803f35fce Allow a pak file to be made using the subset of another pak file.
Allow more control over the pak cache, cache per pak, indvidual caches for all paks.
Increase the number of cached blocks for XboxOne.
Enable cache per pak for XboxOne.

[FYI] ben.woodhouse
gil.gribb, graeme.thornton


#ROBOMERGE-OWNER: dan.phillips
#ROBOMERGE-AUTHOR: dan.phillips
#ROBOMERGE-SOURCE: CL 7681509 via CL 7689295
#ROBOMERGE-BOT: (v383-7686620)

[CL 7689301 by dan phillips in Main branch]
2019-08-01 13:07:35 -04:00
graeme thornton
e39117ad7e PakFile: Change a "verify" on the required encryption key being available to a fatal as it is never going to be a recoverable event and we don't want to continue if verify is compiled out
#ROBOMERGE-SOURCE: CL 7648169 via CL 7648171 via CL 7648297
#ROBOMERGE-BOT: (v372-7473910)

[CL 7648372 by graeme thornton in Main branch]
2019-07-29 05:11:01 -04:00
hongyi yu
7f0f04b310 When a chunk is installed, mount optional pak files and other pak files mapped to this chunk.
[CODEREVIEW] Daniel.Lamb


#ROBOMERGE-OWNER: hongyi.yu
#ROBOMERGE-AUTHOR: hongyi.yu
#ROBOMERGE-SOURCE: CL 7616984 via CL 7617471 via CL 7617513 via CL 7625628
#ROBOMERGE-BOT: (v372-7473910)

[CL 7625629 by hongyi yu in Main branch]
2019-07-25 10:40:21 -04:00
justin marcus
9acc36b8b6 If no pak files are found when IPlatformFilePak mounts paks, fallback to mounting all paks.
[FYI] [at]Bob.Tellez


#ROBOMERGE-SOURCE: CL 7477481 via CL 7493553 via CL 7545521
#ROBOMERGE-BOT: (v372-7473910)

[CL 7545795 by justin marcus in Main branch]
2019-07-23 10:52:46 -04:00
gil gribb
4adc370e24 UE4 - Added a panic recovery mode to failures to decompress data. This is a workaround for a mysterious failure here with no known repro.
#rb none


#ROBOMERGE-SOURCE: CL 7265416 via CL 7270974
#ROBOMERGE-BOT: (v369-7254125)

[CL 7271110 by gil gribb in Main branch]
2019-07-10 21:29:29 -04:00
bob tellez
452aeba28e Merging CL#7257773
Back out changelist 7256178. This was a bad merge



#ROBOMERGE-OWNER: bob.tellez
#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 7258012 via CL 7266926
#ROBOMERGE-BOT: (v369-7254125)

[CL 7266952 by bob tellez in Main branch]
2019-07-10 17:05:15 -04:00
bob tellez
97e9932675 Merging //Fortnite/Release-10.0 to Dev-Main (//Fortnite/Dev-Main)
Merging CL#7251132 from //Fortnite/Release-Competitive.9.40

Merging in all missing changes from Release-9.40 to Release-Competitive.9.40 to try to make RoboMerge happy.

#rnx
#rb none


#ROBOMERGE-OWNER: bob.tellez
#ROBOMERGE-AUTHOR: bob.tellez
#ROBOMERGE-SOURCE: CL 7256432 via CL 7266483
#ROBOMERGE-BOT: (v369-7254125)

[CL 7266503 by bob tellez in Main branch]
2019-07-10 16:41:03 -04:00
graeme thornton
51cfbaef7d UnrealPak - Added "TestMemoryOptimization" mode which attempts to unload filenames and shrink pak entries across every pak in a directory, making sure there are no collisons and that everything works correctly
#ROBOMERGE-SOURCE: CL 7227149 via CL 7227151 via CL 7227434
#ROBOMERGE-BOT: (v367-6836689)

[CL 7227472 by graeme thornton in Main branch]
2019-07-08 10:23:53 -04:00
graeme thornton
f657104452 Fix crash while shrinking pak entries for delete records
[FYI] ben.woodhouse


#ROBOMERGE-SOURCE: CL 7207336 via CL 7207337 via CL 7209962
#ROBOMERGE-BOT: (v367-6836689)

[CL 7210072 by graeme thornton in Main branch]
2019-07-01 02:38:47 -04:00
graeme thornton
1ac0af212f Improvements to pak index memory optimizations
- Fix entry shrinking not working on pak files that contain files that are encrypted AND compressed
 - Optimize any pak files that are added after encryption keys are registered
 - Improvements to logging / diagnostics
 - Use a unique starting seed (hash of filename) when doing filename unloading. Reduces cost expected collisions (localization paks / encrypted paks with duplicated assets)
 - In non-shipping builds, decode shrunken entries after the shrinking to check they match the original
 - Fix leaked FPakFile object when it was immediately determined to be invalid

#rb allan.bentham
[FYI] ben.woodhouse, hongyi.yu


#ROBOMERGE-OWNER: graeme.thornton
#ROBOMERGE-AUTHOR: graeme.thornton
#ROBOMERGE-SOURCE: CL 7139776 via CL 7139778 via CL 7167780
#ROBOMERGE-BOT: (v367-6836689)

[CL 7167782 by graeme thornton in Main branch]
2019-06-22 04:31:15 -04:00
gil gribb
0a1eac830c UE4 - Fix rare race condition with cancelled IO requests in the pak precacher.
#rb none


#ROBOMERGE-SOURCE: CL 7039770 via CL 7046935
#ROBOMERGE-BOT: (v367-6836689)

[CL 7047913 by gil gribb in Main branch]
2019-06-17 13:53:22 -04:00
david harvey
58c25dd385 Adding internal -CalcCompressionBlockCRCs command line option to UnrealPak to try and track down the rare FPakAsyncReadFileHandle::DoProcessing issue + a bit more logging when it fails.
#rb gil.gribb


#ROBOMERGE-SOURCE: CL 6953229 via CL 6953341
#ROBOMERGE-BOT: (v366-6836689)

[CL 6953356 by david harvey in Main branch]
2019-06-12 07:11:50 -04:00