-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
lh2 and lh3 #32
Comments
If any examples of these archives exist in the wild then I'd love to support them. However, I'm pretty sure there aren't any. I don't really want to support these formats without test archives that can be used for regression testing. If you find any tools that can generate lh2 or lh3, let me know. |
these files can be created with unlha32.dll (-jm5 for -lh2-, with file size limit 8KB, and -jm6 for -lh3-) and created lzh files are test OK with LHA32 2.67.00. command to create lh2.lzh:
command to create lh3.lzh:
lh2-lh3.zip |
I think I should tag #11 as well |
this limit respects original LH(arc) 1.9x original implementation, but can be bypassed by hex-editing unlha32.dll (I used unlha32.dll v3.00 as example) |
Any idea why there's an 8KB file size limit? |
maybe because of processing power in 1989 is not that capable for generating Dynamic Huffman encoding for larger than 8KB. |
lh2
lh1 variant. This method supports 8 KiB sliding window, with support of maximum 256 bytes of matching length. Dynamic Huffman encoding is used.
lh3
lh2 variant with Static Huffman.
https://en.wikipedia.org/wiki/LHA_(file_format)#Canonical_LZH
The text was updated successfully, but these errors were encountered: