RePak icon indicating copy to clipboard operation
RePak copied to clipboard

Pak compression

Open Mauler125 opened this issue 1 year ago • 0 comments

Allows the user to compress the pak using Zstd. Compression is stream-based and is multithreaded.

  • Compression can be enabled by setting "compressLevel" to 1 or higher (max 22).
  • Multithreading can be enabled by setting "compressWorkers" to 1 or higher (max 256).

NOTE: compression requires engine-side work; the R5sdk has a custom implementation for zstd stream decoding for reference if this gets implemented for Titanfall 2.

Mauler125 avatar Nov 29 '24 14:11 Mauler125