I downloaded LZX packed files for the first time from Netscrape
on a PeeCee, and at home I could not unpack the files on my amiga
because they were corrupt.
Lots of people already reported me the problem, I think it depends
on the site the download files are located on. Well, too bad because
LZX is a great packer.
- Why the files get corrupt?
Because UN*X/Amiga linefeeds ($0A) are replaced by M$DOS/WinShit linefeeds
($0D $0A), which changes the size of the LZX file and corrupts it. Other
characters are not affected.
- How to repair?
Use my lzx_netfix script on the directory where you keep corrupt lzx files.
Ex: lzx_netfix ARCHIVE:Corrupt_lzxfiles
My program just replaces the $OD $0A sequence by $0A. It uses the excellent
program MultiFR by Lionel Vintenat (you'll find the complete archive of
MultiFR on aminet).
- Why it works so well?
Well, you might say it's not 100% sure it works but that's not true,
because the search string is longer than the replace string, and
the replace string is included in the search string, so the operation
completely reverses the corruption.
Enjoy
Jeff
|