6 Commits

Author SHA1 Message Date
Kawe Mazidjatari
9de5f4988f RTech: fixed streamed pak decoding progression bug
During beta tests on a Linux system, we encountered an issue where the I/O could be slower and thus result in not enough bytes being streamed by the time we invoke the decoder (lenStreamed == bufSizeNeeded at this point), after 16 calls with lenStreamed == bufSizeNeeded, the engine errors as ZSTD_NO_FORWARD_PROGRESS_MAX would be reached. Added value of 'ZSTD_nextSrcSizeToDecompress()' to 'PakDecoder_s::bufferSizeNeeded' to make sure we never call the decoder without any new streamed bytes. Also increased the value of ZSTD_NO_FORWARD_PROGRESS_MAX to 1024 since this fixed the issue without applying the aforementioned patch, this was increased as a hardening measure.
2024-06-01 11:43:09 +02:00
Kawe Mazidjatari
6d8315626e Thirdparty: upgrade ZStd to 1.5.6 2024-04-05 18:42:29 +02:00
Kawe Mazidjatari
29c7cc9e58 ZStd: explicitly set debug level
Explicitly set to 0 for release
2024-04-05 17:56:50 +02:00
Kawe Mazidjatari
cbae59a158 ZStd: fix typo in CMakeLists
Incorrect filter name
2024-04-05 17:56:47 +02:00
Kawe Mazidjatari
a9ed0762e1 ZStd: suppress thirdparty code warnings 2024-04-05 17:56:47 +02:00
Kawe Mazidjatari
2b06bc8abb Add ZSTD to SDK 2024-04-05 17:53:22 +02:00