Go Back   FileForums > Off Topic > Software

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 01-01-2018, 15:42
elit elit is offline
Registered User
 
Join Date: Jun 2017
Location: sun
Posts: 265
Thanks: 190
Thanked 325 Times in 119 Posts
elit is on a distinguished road
I am not sure if I should not had opened new topic, but since it is related to my previous posts here I will reply here for now.
So regarding my "reimporting journey", that I spent pretty much these holidays on, I found that most pack files worked fine with above method except 2: Data02.packed and Data00.packed. I dont like half-backed job even though these 2 represent no more than 25% of game. So I started experiencing custom repacking with lz4 command line compressor and almost came to same data.

The thing is, original dump files have different position of the block crc - in beginning, but latest command line compressor is putting it at the end of the block.
Example:

- original: 22 16 00 00 33 9D BE 62 FF 08...(data)
^First 4 bytes are (compressed size - 8 bytes), next 4 bytes is block crc, then goes typical token and data.

- repacked(omitting first 4 bytes header): 70 40 AD 14 16 00 00 FF 08...(data)
^here size is right before FF 08, or 14 16 00 00. Block crc in this case would be located at the end of the data block not between "size" and the "token/signature"

Also every original file dump regardless of size have this exact 8 byte(4byte "size" followed by 4byte crc) structure.
Can someone tell me which version of lz4 had this format? I am sure its not a matter of different command options.
Thanks a lot.
Reply With Quote
 

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -7. The time now is 00:58.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
FileForums @ https://fileforums.com