From 05b51fbd8c1f165583542c9333e7803da2b5e96a Mon Sep 17 00:00:00 2001 From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com> Date: Sun, 28 Jan 2024 18:16:39 +0100 Subject: [PATCH] RTech: update comment on pak header flag Patches can actually use different compression algorithms, but the patch headers must accommodate for pak file sizes properly. One pak could also be compressed while the others aren't if patch headers present correct sizes (both RTech and ZStream) --- r5dev/public/rtech/ipakfile.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/r5dev/public/rtech/ipakfile.h b/r5dev/public/rtech/ipakfile.h index d9b56eab..8ba807cb 100644 --- a/r5dev/public/rtech/ipakfile.h +++ b/r5dev/public/rtech/ipakfile.h @@ -15,8 +15,7 @@ #define PAK_HEADER_FLAGS_HAS_MODULE (1<<0) #define PAK_HEADER_FLAGS_COMPRESSED (1<<8) -// when using ZStd compression, all patches for this specific pak must -// feature the same compression algorithm! +// use the ZStd decoder instead of the RTech one #define PAK_HEADER_FLAGS_ZSTREAM (1<<9) // max amount of types at runtime in which assets will be tracked