working lha for windows
Hi,
I have downloaded a lha.exe for windows here: http://gnuwin32.sourceforge.net/packages/lha.htm archiving works, but unarchiving doesn't (files can be opened with 7-zip) main problem: created files cannot be unarchived on Linux because of 0 UID Code:
[release@ceres ~]$ lha l whdload.org/www/games/Crossbow.lha |
Quote:
Use Amiga lha (inside WinUAE) to create the archives. Use ZIP archives instead of LHA. It does not make sense to create LHA archives with Windows anyway because the advantage of storing Amiga file attributes is not given by Windows anyway, LHA or not. |
Use Header level 0 (switch: -0) and/or force generic archive (switch: -g)
|
Uhm... can't find a decent LHA for Windows x32/64.
The one from gnuwin32 fails simple archive listing: Code:
C:\Users\Luca\WinUAE\WinUAE files\Download - Amiga\testDOS>lha.exe l WOIST.lha HTML Code:
C:\Users\Luca\WinUAE\WinUAE files\Download - Amiga\testDOS>lha xw=subdir WOIST.lha Funny facts: lhant.exe from Aminet can list archives but fails on extract to specified dir, GnuWin32 fails on listing archives but extract to specified dir does work as expected :spin |
1 Attachment(s)
to just extract or to also add stuff? 7zip on windows lets you extract (ive only used it to extract, never tried adding to an archive tbh) from its gui and from command line, tho you need to enter its gui/settings and associate .lha with it.
|
lhmelt version2..
can create lzh files.. in settings screen... or settings for lzh archives.. header change to h1 [lha] and method LH5 default 8k dont think lh6 or lh7 is supports on amiga. lha 2.2 on amiga supports lh6. |
I don't use 7z (I prefer BandiZip) but thank you anyway...
Found lhmelt, thanks: https://micco.mars.jp/english/lhmelt_e.htm BTW, just found that previous build https://sourceforge.net/projects/gnu...les/lha/1.14i/ does work fine both listing, extracting to a specified path... and more, as expected. Latest version 1.14i-1 is broken instead. Code:
C:\Users\Luca\WinUAE\WinUAE files\Download - Amiga\testDOS>lha l WOIST.lha |
Izarc https://www.izarc.org extracts and creates lha archives amongst many others. I have used it for many years as my main zip program on Windows.
|
Needed a command line version. I already use BandiZip for everything else (and have also DOpus for Windows ;))...
FYI: Bandizip or Zipware are the best for Windows (better than 7z, PeaZip, IZArc etc.) with drag'n'drop support, faaast, Windows native (no GUI wrapper) etc. |
If you go to the download page there is a link for the command line add-on.
|
Thanks. BTW, for those interested I've also found a 16bit version (DOSBox etc.). In The Zone.
|
Have used WinRAR in the past for unpacking lha files. But don’t recommend it for MUI3.8 as Windows doesn’t like the blank file it holds and causes issues.
|
Use LHA under winuae, then get the LHA archive resulting in a windows shared folder.
For decrunching, either do it the opposite way, copy it in a windows shared folder, then use LHA in the cli in winuae to decrunch. |
7Zip handles .LHA
|
Either Winzip or Izarc can easily create LHA files in Windows. Izarc seems to be more compatible than Winzip. Most of the big Windows archivers will extract LHA files.
https://www.izarc.org/ |
Best free:
BandiZip ZipWare |
Extracting has never been a problem.
I don't have a windows-based + command line solution to create lha files which have the proper permission bits for the archived files. |
Not yet mentioned, so have you tried http://www.tugzip.com/ ?
|
All times are GMT +2. The time now is 18:25. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.