amiga.org
     
iconAll times are GMT -6. The time now is 06:31 AM. | Welcome to Forum, please register to access all of our features.

» Amiga.org » Amiga computer related discussion » Amiga Software Issues and Discussion » Using lha?

Amiga Software Issues and Discussion This forum exists for the discussion of the use, issues with, and fun brought about by classic and next generation Amiga software.

Reply
 
Thread Tools Display Modes
Old 08-16-2012, 06:09 AM   #1
sturulez
Beginner
Points: 2,496, Level: 30 Points: 2,496, Level: 30 Points: 2,496, Level: 30
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Feb 2010
Location: UK
Posts: 43
Default Using lha?

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
sturulez is offline   Reply With Quote
Old 08-16-2012, 06:38 AM   #2
Bamiga2002
Cult Member
Points: 6,110, Level: 50 Points: 6,110, Level: 50 Points: 6,110, Level: 50
Activity: 2% Activity: 2% Activity: 2%
 
Bamiga2002's Avatar
 
Join Date: Jan 2007
Location: Finland
Posts: 626
Default Re: Using lha?

Type "LHA ?" in a shell to get the commands you can use.
__________________
A1200 BlizzardPPC - D-Box tower **Mediator TX + |Voodoo3|10MB Ethernet|Nec USB| - OS3.9 (BoingBag powered)**
CD32 - original joypad & honeybee
-
join the Blizzard PPC club on EAB!
check out PPC-Warp3D games speed boost!
me @ amigamap.com
Project Rutinski band website - rock music with punk attitude!
Bamiga2002 is offline   Reply With Quote
Old 08-16-2012, 07:11 AM   #3
amiman99
Lifetime Member
Points: 3,592, Level: 37 Points: 3,592, Level: 37 Points: 3,592, Level: 37
Activity: 23% Activity: 23% Activity: 23%
 
Join Date: Aug 2011
Location: San Antonio, TX
Posts: 536
Default Re: Using lha?

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, 2MB 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
amiman99 is offline   Reply With Quote
Old 08-16-2012, 08:10 AM   #4
Bamiga2002
Cult Member
Points: 6,110, Level: 50 Points: 6,110, Level: 50 Points: 6,110, Level: 50
Activity: 2% Activity: 2% Activity: 2%
 
Bamiga2002's Avatar
 
Join Date: Jan 2007
Location: Finland
Posts: 626
Default Re: Using lha?

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
__________________
A1200 BlizzardPPC - D-Box tower **Mediator TX + |Voodoo3|10MB Ethernet|Nec USB| - OS3.9 (BoingBag powered)**
CD32 - original joypad & honeybee
-
join the Blizzard PPC club on EAB!
check out PPC-Warp3D games speed boost!
me @ amigamap.com
Project Rutinski band website - rock music with punk attitude!
Bamiga2002 is offline   Reply With Quote
Old 08-16-2012, 09:25 AM   #5
sturulez
Beginner
Points: 2,496, Level: 30 Points: 2,496, Level: 30 Points: 2,496, Level: 30
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Feb 2010
Location: UK
Posts: 43
Default Re: Using lha?

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?
sturulez is offline   Reply With Quote
Old 08-16-2012, 09:39 AM   #6
Duce
Off to greener pastures
Points: 5,290, Level: 46 Points: 5,290, Level: 46 Points: 5,290, Level: 46
Activity: 27% Activity: 27% Activity: 27%
 
Join Date: Jul 2009
Posts: 1,056
Default Re: Using lha?

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 edited by Duce; 08-16-2012 at 09:42 AM..
Duce is offline   Reply With Quote
Old 08-16-2012, 09:39 AM   #7
amiga-penn-wchester
Too much caffeine
Points: 931, Level: 16 Points: 931, Level: 16 Points: 931, Level: 16
Activity: 10% Activity: 10% Activity: 10%
 
Join Date: Dec 2011
Posts: 92
Default Re: Using lha?

with lha in your path,

I always used
Ram Disk> lha e file.lha
amiga-penn-wchester is offline   Reply With Quote
Old 08-16-2012, 09:53 AM   #8
zipper
Kindred of Babble-on
Points: 12,588, Level: 73 Points: 12,588, Level: 73 Points: 12,588, Level: 73
Activity: 13% Activity: 13% Activity: 13%
 
zipper's Avatar
 
Join Date: Feb 2002
Location: finland
Posts: 2,126
Default Re: Using lha?

Anyway you should get some output from LHA. What do you get if you type in Shell/Cli just LHA ? Like this?
Attached Images
File Type: jpg ScreenHunter_01 Aug. 16 19.11.jpg (78.9 KB, 12 views)

Last edited by zipper; 08-16-2012 at 10:38 AM..
zipper is offline   Reply With Quote
Old 08-16-2012, 11:22 AM   #9
runequester
It's Amiga time!
Points: 25,611, Level: 96 Points: 25,611, Level: 96 Points: 25,611, Level: 96
Activity: 96% Activity: 96% Activity: 96%
 
runequester's Avatar
 
Join Date: Oct 2009
Location: Portland OR
Posts: 3,695
Blog Entries: 7
Default Re: Using lha?

It's worth noting that there are GUI options for LHA too. I'll have to see which one I used on my 1200.
__________________
Amiga AND Linux fan. Zealots are people that lack faith

I blog..a lot.
http://doctorwhoretrospec.blogspot.com/
http://redleftperspective.blogspot.com/
http://theamigablog.blogspot.com/
runequester is offline   Reply With Quote
Old 08-16-2012, 09:28 PM   #10
sturulez
Beginner
Points: 2,496, Level: 30 Points: 2,496, Level: 30 Points: 2,496, Level: 30
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Feb 2010
Location: UK
Posts: 43
Default Re: Using lha?

[QUOTE=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?
sturulez is offline   Reply With Quote
Old 08-16-2012, 10:02 PM   #11
amiga-penn-wchester
Too much caffeine
Points: 931, Level: 16 Points: 931, Level: 16 Points: 931, Level: 16
Activity: 10% Activity: 10% Activity: 10%
 
Join Date: Dec 2011
Posts: 92
Default Re: Using lha?

have you tried just e, as in

Ram Disk:> lha e file.lha

?

typically x = extract to full path
and e = just extract
amiga-penn-wchester is offline   Reply With Quote
Old 08-17-2012, 12:11 AM   #12
avanham
Beginner
Points: 5,580, Level: 48 Points: 5,580, Level: 48 Points: 5,580, Level: 48
Activity: 2% Activity: 2% Activity: 2%
 
Join Date: Mar 2005
Posts: 40
Default Re: Using lha?

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
avanham is offline   Reply With Quote
Old 08-17-2012, 04:00 AM   #13
psxphill
Defender of the Faith
Points: 5,105, Level: 45 Points: 5,105, Level: 45 Points: 5,105, Level: 45
Activity: 43% Activity: 43% Activity: 43%
 
Join Date: Aug 2009
Posts: 1,131
Default Re: Using lha?

Quote:
Originally Posted by avanham View Post
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.
psxphill is offline   Reply With Quote
Old 08-19-2012, 02:26 PM   #14
sturulez
Beginner
Points: 2,496, Level: 30 Points: 2,496, Level: 30 Points: 2,496, Level: 30
Activity: 1% Activity: 1% Activity: 1%
 
Join Date: Feb 2010
Location: UK
Posts: 43
Default Re: Using lha?

All my problems have been solved now I've got WHDLOAD sorted on my system! :-D
__________________
A1200 - 6MB RAM, 4GB CF Card, SCSI CD-ROM, WB3.1, 3.0 ROM. PCMCIA 4GB transfer card.
sturulez is offline   Reply With Quote
Reply

Bookmarks

Tags
lha

Thread Tools
Display Modes

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