K0lb3 / UnityPy

UnityPy is python module that makes it possible to extract/unpack and edit Unity assets
MIT License
810 stars 123 forks source link

Fix LZMA Compression (unity specific) #253

Closed AXiX-official closed 1 month ago

AXiX-official commented 1 month ago

In unity, for LZMA1, the length of the original data is not written to the compressed data segment, although the original length is included in the standard format of LZMA1, so you need to manually skip the