Welcome, Guest. Please login or register.

Author Topic: Using lha?  (Read 3696 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline sturulezTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2010
  • Posts: 183
  • Country: gb
  • Gender: Male
    • Show only replies by sturulez
Using lha?
« on: August 16, 2012, 01:09:10 PM »
Hi there, Im starting to make more use of my A1200 now and id like to install a few games. Ive heard i need LHA in order to extract the installation file. Could someone please tell me how to install LHA to my system and run the installation program for the game.
 
So far ive got LHA.RUN, and double clicked on it and its extracted the files in my Work: folder.
Me thinking thats installed, i thought id try and use the installer for monkey island 2. so i went into shell and typed
 
Work: LHA X "MONKEY.LHA RAM:
 
It then says operation successfull but doesnt show any files its extracted, i go into ram, click show all files but the installer program is not there. I remember doing this years ago and got it to work but for some reason i cant seem to do it now..
 
can someone point me in the right direction?
 
thanks
A1200 - ACA 1221EC Accelerator, 32GB CF Card, SCSI CD-ROM, WB3.9, 3.1.4 ROM. PCMCIA 4GB transfer card, Indivision AGA MK2
 

Offline Bamiga2002

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 691
    • Show only replies by Bamiga2002
    • http://rutinskiband.net
Re: Using lha?
« Reply #1 on: August 16, 2012, 01:38:49 PM »
Type "LHA ?" in a shell to get the commands you can use.
CD32
A500
 

Offline amiman99

Re: Using lha?
« Reply #2 on: August 16, 2012, 02:11:36 PM »
1. Rename LHA.RUN to LHA
2. copy the LHA file to C:
3. to extract lha files type: lha x -x filename.lha ram:

should work.
A500 KS 2.1, 1MB Chip, 68000
A600 KS 3.1, 2MB Chip, ACA630 32MB RAM
A1000 KS 1.3, 8MB RAM
A1200 KS 3.1, Blizzard IV 50MHz 64MB RAM
A2000 KS 2.1, 68030 25MHz, 6MB RAM
A3000 KS 3.1, 68030 25MHz, 16MB RAM
A4000 KS 3.0, 68040 25MHz, 16MB RAM
CDTV KS 3.1, 4MB RAM
CD32
(AROS BOX) Dead :(
 

Offline Bamiga2002

  • Hero Member
  • *****
  • Join Date: Jan 2007
  • Posts: 691
    • Show only replies by Bamiga2002
    • http://rutinskiband.net
Re: Using lha?
« Reply #3 on: August 16, 2012, 03:10:04 PM »
LHA.run is a self-extracting archive that contains the lha-command. And you don't need the " symbol in your command line if the filename doesn't contain spaces.

here's some advice for you: http://guide.abime.net/wb3.1/chaplha.htm
CD32
A500
 

Offline sturulezTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2010
  • Posts: 183
  • Country: gb
  • Gender: Male
    • Show only replies by sturulez
Re: Using lha?
« Reply #4 on: August 16, 2012, 04:25:33 PM »
Thanks for the advice, I went to the link that you showed me done exactly as it says but still no joy, and placed LHA in c:
Could there be something that my system is missing or is the monkey.lha file damaged or missing something?
A1200 - ACA 1221EC Accelerator, 32GB CF Card, SCSI CD-ROM, WB3.9, 3.1.4 ROM. PCMCIA 4GB transfer card, Indivision AGA MK2
 

Offline Duce

  • Off to greener pastures
  • Hero Member
  • *****
  • Join Date: Jul 2009
  • Posts: 1699
    • Show only replies by Duce
    • http://amigabbs.blogspot.com/
Re: Using lha?
« Reply #5 on: August 16, 2012, 04:39:19 PM »
what error msgs are you getting?  Make sure you have the path correct on the file you wish to extract, or are currently in that directory.

With LHA in c: dir, and monkey.lha in RAM:, if you are in RAM: dir in command line/shell a simple lha x monkey.lha should work

Can't recall if it's case sensitive atm, tbh.  Last time I used LHA in shell was 15 years ago, heh.  I just use it in diropus or via OS4's dockie drop unpacker.

Kill the " in your OP if you are entering that.
« Last Edit: August 16, 2012, 04:42:41 PM by Duce »
 

Offline amiga-penn-wchester

  • Full Member
  • ***
  • Join Date: Dec 2011
  • Posts: 104
    • Show only replies by amiga-penn-wchester
Re: Using lha?
« Reply #6 on: August 16, 2012, 04:39:30 PM »
with lha in your path,

I always used
Ram Disk>  lha e file.lha
 

Offline zipper

Re: Using lha?
« Reply #7 on: August 16, 2012, 04:53:05 PM »
Anyway you should get some output from LHA. What do you get if you type in Shell/Cli just LHA ? Like this?
« Last Edit: August 16, 2012, 05:38:45 PM by zipper »
 

Offline runequester

  • It\'s Amiga time!
  • Hero Member
  • *****
  • Join Date: Oct 2009
  • Posts: 3695
    • Show only replies by runequester
Re: Using lha?
« Reply #8 on: August 16, 2012, 06:22:09 PM »
It's worth noting that there are GUI options for LHA too. I'll have to see which one I used on my 1200.
 

Offline sturulezTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2010
  • Posts: 183
  • Country: gb
  • Gender: Male
    • Show only replies by sturulez
Re: Using lha?
« Reply #9 on: August 17, 2012, 04:28:58 AM »
Quote from: Duce;703802
what error msgs are you getting?  Make sure you have the path correct on the file you wish to extract, or are currently in that directory.

With LHA in c: dir, and monkey.lha in RAM:, if you are in RAM: dir in command line/shell a simple lha x monkey.lha should work

I'm not getting any error messages it says operation successfull but there are no files in Ram, I think when I did it years ago it would show what files are being extracted in shell.

I think I do have Diropus on the HDD as it came with the A1200 when I got it from Amigakit.co.uk. But for the life of me I've got no idea how to use it.
I've just ordered a PCMCIA card which has whdload on and a load of other stuff on aswell.
Could this help my situation?
A1200 - ACA 1221EC Accelerator, 32GB CF Card, SCSI CD-ROM, WB3.9, 3.1.4 ROM. PCMCIA 4GB transfer card, Indivision AGA MK2
 

Offline amiga-penn-wchester

  • Full Member
  • ***
  • Join Date: Dec 2011
  • Posts: 104
    • Show only replies by amiga-penn-wchester
Re: Using lha?
« Reply #10 on: August 17, 2012, 05:02:11 AM »
have you tried just e, as in

Ram Disk:>  lha e file.lha

?

typically x = extract to full path
and e = just extract
 

Offline avanham

  • Newbie
  • *
  • Join Date: Mar 2005
  • Posts: 42
    • Show only replies by avanham
Re: Using lha?
« Reply #11 on: August 17, 2012, 07:11:14 AM »
I suspect your "monkey.lha" is a zero-length file. You will still get a "successful" message if you try to extract from an empty archive, you just won't get any files.

Try this:
lha v monkey.lha

You should get a listing of all the files in this archive.  If you don't then there is something wrong with the monkey.lha file
 

Offline psxphill

Re: Using lha?
« Reply #12 on: August 17, 2012, 11:00:52 AM »
Quote from: avanham;703937
I suspect your "monkey.lha" is a zero-length file. You will still get a "successful" message if you try to extract from an empty archive, you just won't get any files.
 
Try this:
lha v monkey.lha
 
You should get a listing of all the files in this archive. If you don't then there is something wrong with the monkey.lha file

It should list the files when extracting as well. The OP doesn't know how to ask for help or we'd have seen the output by now.
 

Offline sturulezTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2010
  • Posts: 183
  • Country: gb
  • Gender: Male
    • Show only replies by sturulez
Re: Using lha?
« Reply #13 on: August 19, 2012, 09:26:13 PM »
All my problems have been solved now I've got WHDLOAD sorted on my system! :-D
A1200 - ACA 1221EC Accelerator, 32GB CF Card, SCSI CD-ROM, WB3.9, 3.1.4 ROM. PCMCIA 4GB transfer card, Indivision AGA MK2