Maddoxkkm / dvpl_converter

A CLI converter to convert between .dvpl files and standard non-dvpl files for Dava Engine SmartDLC.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Identify and construct the Header for lz4_hc for reverse conversion from dvpl

Maddoxkkm opened this issue · comments

reference

04 22 4d 18     magic number
64 70 b9        3-byte frame descriptor
da 82 07 00     block length (492250 bytes here)
84 7f 45 4c 46  LZ4-compressed data (ie. tag byte 0x84 followed by
...               the literal "\x7fELF\1\1\1\0" and so on)
  • Magic number identified
  • 3-byte frame descriptor identified
  • block length identified

Magic number should be always 04 22 4d 18

found a way to compress without LZ4 headers and footers, closed