English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 01 October 2009, 22:09   #1
Muzer
Registered User
 
Join Date: Sep 2009
Location: UK
Posts: 144
Making LHA archives that the Amiga can read?

Is there a way to get modern versions of lha (running on Linux for instance) to generate archives that the Amiga can read? It tells me it's an unsupported compression format when I try to extract it (it can get as far as listing the archive and unpacking directories but it can't unpack any files).
Muzer is offline  
Old 01 October 2009, 22:13   #2
prowler
Global Moderator

prowler's Avatar
 
Join Date: Aug 2008
Location: Sidcup, England
Posts: 10,300
Hi Muzer,

AFAIK, you will need to find the command line option to restrict the compression method to the range lh0 -> lh5, so that the archives will decompress properly on the Amiga.
prowler is offline  
Old 02 October 2009, 06:38   #3
Photon
Moderator
Photon's Avatar
 
Join Date: Nov 2004
Location: Hult / Sweden
Posts: 4,591
If you don't think it's a bother, you could also compress them within an Amiga emulator. That's what I do to make sure any archive coming out of an Amiga is 100% compatible.

Does WinRar compress or only decompress rar? Was wondering if there was a port for linux that had the same option prowler mentioned.
Photon is offline  
Old 02 October 2009, 07:00   #4
vk3heg
Registered User
vk3heg's Avatar
 
Join Date: Oct 2008
Location: Australia
Age: 50
Posts: 69
Quote:
Originally Posted by Muzer View Post
Is there a way to get modern versions of lha (running on Linux for instance) to generate archives that the Amiga can read? It tells me it's an unsupported compression format when I try to extract it (it can get as far as listing the archive and unpacking directories but it can't unpack any files).
lha ao5

is the command...

This will limit the compression type/header to what the amiga can handle.
vk3heg is offline  
Old 02 October 2009, 17:58   #5
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 44
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
On Windows, you could use ancient LZH to create .LZH, then simply rename it to .LHA.

Most people do not know it: it's the very same!

If you don't believe it, try to rename an Amiga .lha to .lzh and try to unpack it via the LZH command-line tool on Windows DOS console - it works!
When WinRAR unpacks .lha, it uses its .lzh routines internally, too!

(that's what I did here: since WinRAR doesn't handle .lha "officially", I associated the .lha extension manually with WinRAR - works a treat! )

Last edited by andreas; 02 October 2009 at 18:40.
andreas is offline  
Old 02 October 2009, 18:14   #6
thomas
Registered User
thomas's Avatar
 
Join Date: Jan 2002
Location: Germany
Posts: 5,727
Quote:
Most people do not know it
Don't judge others by your own standards.
thomas is offline  
Old 02 October 2009, 18:38   #7
andreas
Zone Friend
 
Join Date: Jun 2001
Location: Germany
Age: 44
Posts: 5,857
Send a message via ICQ to andreas Send a message via AIM to andreas
Who cares? Uh-ah, ok, you, granted. But the most important thing is that it's technically correct what I wrote, I guess!!
andreas is offline  
Old 02 October 2009, 21:26   #8
Muzer
Registered User
 
Join Date: Sep 2009
Location: UK
Posts: 144
Quote:
AFAIK, you will need to find the command line option to restrict the compression method to the range lh0 -> lh5, so that the archives will decompress properly on the Amiga.
Thanks

Quote:
Does WinRar compress or only decompress rar? Was wondering if there was a port for linux that had the same option prowler mentioned.
There is a rar program but I don't have it installed. The Linux rar program isn't too great either.

Quote:
lha ao5
Thanks, I'll try that
Muzer is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to unpack LHA archives using Amiga Installer Script? doble07 Coders. General 3 02 February 2010 12:47
Toolset for Amiga archives for PC another_two Retrogaming General Discussion 4 20 June 2007 17:43
lha files read by UAE? dionisis New to Emulation or Amiga scene 3 09 April 2007 12:55
New ruling making retro-archives legal? Bloodwych Retrogaming General Discussion 3 24 November 2006 20:30
can winuae read lha? tarr New to Emulation or Amiga scene 6 26 September 2006 12:26

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:57.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2018, vBulletin Solutions Inc.
Page generated in 0.06737 seconds with 13 queries