Welcome, Guest. Please login or register.

Author Topic: LHA question for classic Amiga  (Read 2581 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline orb85750Topic starter

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1237
    • Show only replies by orb85750
LHA question for classic Amiga
« on: November 27, 2010, 02:45:23 AM »
I've used .adf files, but up until now I've avoided .lha files.  I gather that I need a copy of LHA (an executable) on my machine in order to unzip the .lha files.  Is there a good place from which to grab this LHA executable?  Thanks.
 

Offline rednova

  • Hero Member
  • *****
  • Join Date: Mar 2007
  • Posts: 813
    • Show only replies by rednova
    • https://sites.google.com/site/rednova3d/
Re: LHA question for classic Amiga
« Reply #1 on: November 27, 2010, 02:51:54 AM »
I am sure you can get lha program for free on aminet.
Just get lha, run it on amiga, and it will work.

Rednova
-mobilis in mobile-
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: LHA question for classic Amiga
« Reply #2 on: November 27, 2010, 02:54:54 AM »
You forgot the million dollar password:

http://aminet.net/package/util/arc/lha

...download this bad boy and then rename its name to simply 'lha' and place in your 'C' directory. Or type lha.run everytime you want to unarc something - I don't care.  lol

lha e file.lha ram:     (or)   lha file.lha ram:

I can't remember if you need the 'e' (extract) switch or not. But anyway... that CLI command extracts and then places the folder/files into your RAM: disk from which you can examine the contents of safely.
« Last Edit: November 27, 2010, 03:31:18 AM by save2600 »
 

Offline Mr_DBUG

Re: LHA question for classic Amiga
« Reply #3 on: November 27, 2010, 03:21:55 AM »
If you need to unpack lha on Windows, I think you can use WinRAR as well !
But watch out for unsupported filestructures in the archive. (Some characters Windows filesystem dont like .. I think :-)
 

Offline orb85750Topic starter

  • Hero Member
  • *****
  • Join Date: Aug 2007
  • Posts: 1237
    • Show only replies by orb85750
Re: LHA question for classic Amiga
« Reply #4 on: November 27, 2010, 04:14:25 AM »
Thanks guys!
 

Offline bbond007

  • Hero Member
  • *****
  • Join Date: Mar 2009
  • Posts: 1517
    • Show only replies by bbond007
Re: LHA question for classic Amiga
« Reply #5 on: November 27, 2010, 04:24:59 AM »
Quote from: save2600;594600

I can't remember if you need the 'e' (extract) switch or not. But anyway... that CLI command extracts and then places the folder/files into your RAM: disk from which you can examine the contents of safely.


i think you use 'x'
 

Offline smerf

  • Hero Member
  • *****
  • Join Date: Mar 2002
  • Posts: 1666
    • Show only replies by smerf
Re: LHA question for classic Amiga
« Reply #6 on: November 27, 2010, 05:00:51 AM »
Hi,

Put lha (lharc) etc in you C section, then fire off diskmaster II. I use this all the time to use lha on my Amiga, been using it since 92, works well and makes fast backups of your HD on the Amiga.

save2600, nice answer, wish more people answered like this.

smerf
I have no idea what your talking about, so here is a doggy with a small pancake on his head.

MorphOS is a MAC done a little better
 

Offline PanterHZ

  • Sr. Member
  • ****
  • Join Date: Jul 2009
  • Posts: 295
    • Show only replies by PanterHZ
    • http://www.rhz1.com
Re: LHA question for classic Amiga
« Reply #7 on: December 05, 2010, 02:49:18 AM »
The "e" switch extracts files without paths
The "x" switch extracts files with full paths.

Another thing to remember is that the destination dir must end with a colon or slash like this:

lha x file.lha ram:
lha x file.lha ram:stuff/

If you simply want to see what's inside an archive you can use this:

lha v file.lha

You can also re-direct this output to a file like this:

lha v file.lha >ram:archlist

Then you can open ram:archlist in a text editor/viewer.
 

Offline Cammy

Re: LHA question for classic Amiga
« Reply #8 on: December 05, 2010, 01:10:11 PM »
You will need to double-click and run the lha.run file before you copy anything anywhere. It's a self-extracting archive and should produce a few different binaries for different CPUs. Copy the one best suited to your CPU to C: and rename it lha.

And always use lha x to extract your files, don't bother with e or you're only asking for problems.
A1200 030@28Mhz/2MB+32MB/RTC/KS3.1/IDE-CF+4GB/4-Way Clockport Expander/IndivisionAGA/PCMCIA NIC
A1200 020@14Mhz/2MB+8MB/FPU/RTC/KS3.0/IDE-CF+2GB/S-Video
CD32 020@14Mhz/2MB+8MB/RTC/KS3.1/IDE-CF+4GB
A600 030@30Mhz/2MB+64MB/RTC/IDE-CF+4GB/Subway USB/S-Video/PCMCIA NIC/USB Numeric Keypad+Hub+Mouse+Control Pad
A500 000@7Mhz/512kB+512kB/ROM Switcher/KS3.1+1.3/S-Video

Get AmigaOS