View Single Post
  #1  
Old 30-09-2023, 02:17
panker1992's Avatar
panker1992 panker1992 is offline
Registered User
 
Join Date: Oct 2015
Location: Always Somewhere
Posts: 566
Thanks: 116
Thanked 889 Times in 321 Posts
panker1992 is on a distinguished road
i didnt have time last night to post an explanation of my findings so here we go

sample = a chunk of resident evil 2 with 2 zstd streams.

re2.ini
[Stream1]
Name=zstd
Codec=zstd:l11:f0:b0
BigEndian=1
Signature=0xA7DA
Structure=Dict(1),DSize(3),Signature(2),CSize(2),Z StdHdr(4),Stream
StreamOffset=0
CompressedSize=CSize
DecompressedSize=DSize
Condition1=ZStdHdr = 0x28B52FFD


attachment1= ZStdHdr
attachment2= xtool verbose
attachment3= HEX csize
Attached Images
File Type: png ZStdHdr.png (268.2 KB, 138 views)
File Type: png xtoolverbose.png (81.8 KB, 136 views)
File Type: png hex csize.png (267.8 KB, 136 views)
Attached Files
File Type: 7z sample.7z (4.52 MB, 5 views)
__________________
My projects : Masked Compression, lzma2(xz) on Freearc, Zstd compressor for windows
My optimizations : packjpg.exe, zstd, lzham, precomp-dev-0.45.
Reply With Quote
Sponsored Links