ZenHAX

Free Game Research Forum | Official QuickBMS support | twitter @zenhax | SSL HTTPS://zenhax.com
It is currently Thu Aug 05, 2021 8:37 am

All times are UTC




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Jun 30, 2021 7:05 pm 

Joined: Wed Jun 17, 2020 1:12 pm
Posts: 105
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 33 times
Top
   
PostPosted: Tue Jul 13, 2021 10:25 am 
Site Admin
User avatar

Joined: Wed Jul 30, 2014 9:32 pm
Posts: 12341
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.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 2 posts ] 

All times are UTC


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Limited