RTech: change bit for ZStd pak encoder

Respawn started using 1<<9 for Oodle 2 weeks after the R5sdk implemented ZStd using the same bit. Changed to the last bit to fix the current conflict and avoid future conflicts. Lets hope they don't use this bit!
This is a breaking change and requires all encoded SDK RPak files to be rebuilt.
This commit is contained in:
Kawe Mazidjatari committed 2025-05-22 21:10:27 +02:00
1 parent 9ad1cae791
commit 581bdff6c1
1 file changed
+2 -1
+2 -1
View File
@@ -21,7 +21,8 @@
// compression flags, code uses this to select which decoder to use.
#define PAK_HEADER_FLAGS_RTECH_ENCODED (1<<8)
#define PAK_HEADER_FLAGS_ZSTD_ENCODED (1<<9)
#define PAK_HEADER_FLAGS_OODLE_ENCODED (1<<9)
#define PAK_HEADER_FLAGS_ZSTD_ENCODED (1<<15)
// max amount of types at runtime in which assets will be tracked
#define PAK_MAX_TRACKED_TYPES 64