Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: Xanaa on April 04, 2008, 04:47:40 AM

Title: Help with setting up a LHA un-zipper
Post by: Xanaa on April 04, 2008, 04:47:40 AM
Hi,

I need some help here (in detail) I downloaded appxtrakt.lha a progran from Aiminet to un-zip LHA files. Prob. is the file is a LHA format.
 I down loaded the files and burned them to a CD and used my 2000 CD drive to copy them using Disk Master 2 .
I need someone to tell me how set this file up, I guess this is done from CLI window.
Thanks,
Xanaa
Title: Re: Help with setting up a LHA un-zipper
Post by: dannyp1 on April 04, 2008, 06:03:29 AM
If you are using OS3.9 all you have to do is double click on the LHA file and you are on your way.

Dan
Title: Re: Help with setting up a LHA un-zipper
Post by: banzai on April 04, 2008, 07:19:44 AM
And if you're not using OS3.9 (you did say it was an A2K)...

Grab a copy of various archivers from Aminet. I suggest:
LHArc
LHA
LZH or LZ
UnArc and Arc
Zoo
Booz
PKAZip
UnZip

I don't think RAR was ever ported to Amiga, so don't worry about it. While you're in there, you may want to pick up full-disk archivers, like BlitzADF and DMS. Couldn't hurt.

Now, all those should be either self-extracting or uncompressed for convenience. Once you have those, just copy/move the whole lot into your C directory. Once in there, they can be used anytime.

Why so many? Well, if you D/L a program that someone has used LHArc to encode, and provided an icon whose tooltype wants "C:LHArc" to uncompress, and all you have is LHA (which will still work), then you're going nowhere. This method provides for most archive contingencies.

A neat side-effect of all this is that DM2 should now see LHArc in your C directory, and add it to one of the drop-down menus. Or it should just auto-extract when double-clicked (I forget which - I edited my DM2 config to add a button).

The command, by the way, is: "lharc -x filename" to extract, and "lharc -a mainfile file1 file2 file3 {etc}" to add (create) an archive. Typing "lharc ?" will get you the help file.

banzai
Title: Re: Help with setting up a LHA un-zipper
Post by: alexh on April 04, 2008, 08:11:55 AM
I suggest LZX (which also does LHA) and comes with a registered key.

http://aminet.net/package/util/arc/lzx121r1
Title: Re: Help with setting up a LHA un-zipper
Post by: Varthall on April 04, 2008, 09:41:35 AM
Quote

banzai wrote:

I don't think RAR was ever ported to Amiga, so don't worry about it.

RAR is available, too:

http://aminet.net/search?query=unrar

It is also available on RarLab's webpage:

http://www.rarlab.com/rar_add.htm

I have also a RAR archiver, though it seems to be missing from Aminet.

Varthall
Title: Re: Help with setting up a LHA un-zipper
Post by: McSquirrel on April 04, 2008, 11:27:51 AM
Seems nobody presented the easy way:

Search Aminet for "lha.run" which is a self-extracting archive containing LHA.

Save lha.run to a new directory and run it. This will result in a few files:
LhA.guide - the documentation
lha_68020 - LHA for Motorola 68020 CPU
lha_68040 - LHA for Motorola 68040 CPU
lha_68k - LHA for default Motorola 68000 CPU
lha_68k.readme - a short readme file

Rename "lha_68k" to "lha" and copy it to Sys:c/ (i.e. the "c" directory of your boot floppy or harddisk).

When now entering "lha" in CLI, this shows LHA usage.

To view the contents of an archive, use the command:
lha v archive.lha

To extract an archive, try:
lha e archive.lha

Best regards,
McSquirrel
Title: Re: Help with setting up a LHA un-zipper
Post by: therail on April 04, 2008, 12:42:13 PM
Quote

dannyp1 wrote:
If you are using OS3.9 all you have to do is double click on the LHA file and you are on your way.

Dan


wot is the software used on the os 3.9 cd? is it possible to copy them (with out the whole os) to another hard drive which had say os 3.1 installed?
Title: Re: Help with setting up a LHA un-zipper
Post by: scuzzb494 on April 05, 2008, 11:48:29 PM
Hi

I think you need to read in detail what has been posted here. Chicken and egg I know, but the fundementals of how a script instigates a tool in the C directory is what is being described. Once you have an understanding of this function the wonderful world of Aminet with all its gems become available to you.

You need LHA in your C directory to start with.

I would then set up DOpus4 say and import a button from someone else's config or I can tell you how to set up a button. This way from the DOPus file manager window you can archive and unarchive all your files at the press of a button. Same goes for all the formats. Or use one of the DeCrunching apps from Aminet.

I do understand the chicken and egg thing.. but once over the hurdle you will be flying... LHA... classic Good old Stefan Boberg.

scuzz
http://www.commodore-amiga-retro.com
Title: Re: Help with setting up a LHA un-zipper
Post by: marcfrick2112 on April 06, 2008, 01:42:45 AM
Hi xanaa, scuzzb494 has a good point... do you have Dopus 4? If so, either PM me of A4000_Mad, (who set up my archivers in Dopus for me) we could E-Mail you our Dopus .CFG file. It's set up to pack/un-pack/view .Zip's, .LZX, and .LHA.
Title: Re: Help with setting up a LHA un-zipper
Post by: pVC on April 06, 2008, 09:24:39 AM
Quote

I don't think RAR was ever ported to Amiga, so don't worry about it.


What a silly assumption, I might say ;) Of course almost all archivers have been ported to Amiga. There's always been RAR. Even XAD comes with RAR library... although it doesn't support current changed WinRAR formats. For them you need newer commandline rar. Heck, there is even the newish 7zip archivers for Amiga. Someone even made it as XAD client too.
Title: Re: Help with setting up a LHA un-zipper
Post by: DoogUK on April 06, 2008, 12:12:39 PM
You can copy Unarc over from the 3.9 cd along with xadmaster.library but once you do that it gives a nag screen to register it.
Title: Re: Help with setting up a LHA un-zipper
Post by: cecilia on April 06, 2008, 04:43:36 PM
just as an FYI, here's (http://aminet.net/package/util/arc/7zdec) some files for using with 7-zip which can extract rar files. I find it very fast on Windows (shock!)
Title: Re: Help with setting up a LHA un-zipper
Post by: Rabbi on April 06, 2008, 05:48:12 PM
Quote


I have also a RAR archiver, though it seems to be missing from Aminet.

Varthall


Where did you get this?  Do you have a link?
Title: Re: Help with setting up a LHA un-zipper
Post by: DoogUK on April 06, 2008, 07:06:25 PM
Classicwb has built in rar support i believe  :-)