ZenHAX
https://zenhax.com/

The Surge 2 Lz4 Frame compression
https://zenhax.com/viewtopic.php?f=11&t=15469
Page 1 of 1

Author:  yusuf2020 [ Wed Jun 30, 2021 7:05 pm ]
Post subject:  The Surge 2 Lz4 Frame compression

I'm making a tool to repack files but i'm having some problem about compression
I can decompress the file but when i compress it, it is not same as the file at the beginning

These are files

Attachments:
backup.rar [371 Bytes]
Downloaded 72 times

Author:  aluigi [ Tue Jul 13, 2021 10:25 am ]
Post subject:  Re: The Surge 2 Lz4 Frame compression

Your code is correct.
What's missing is the checksum at the end of the compressed file, that 0x2a0fdc2d is a XXH32 (32bit xxHash) calculated on the decompressed data.

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Limited
https://www.phpbb.com/