Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: ceaser on August 16, 2009, 10:00:10 AM

Title: Please post a good public domain .lha decompressor!
Post by: ceaser on August 16, 2009, 10:00:10 AM
Hi.  aminet.net is a great site, great resource.  unfortunately i'm not seeing anything to use to decompress .lha files.  I need a program that does this so I can use the vast amounts of resources available on Aminet.  I'm dorking around with a jacked copy of IDEFix software at the moment and I just know the reason it isn't working is because the image didn't decompress right in WinRAR :/

FreeBSD/Linux is great too.  In fact I'd be even happier to get a good .lha decompression program for one of those platforms.  I'm soon to get a Zorro network card for the 4000 but right now I'm using the much cheaper PCMCIA Network card for my 1200.  So getting from PC to Amiga is not a problem.
Title: Re: Please post a good public domain .lha decompressor!
Post by: alx on August 16, 2009, 10:04:08 AM
If you search on aminet for lha.run (http://aminet.net/search?query=lha.run), there's a self-extracting version of LHA that you can use from the Amiga end.
Title: Re: Please post a good public domain .lha decompressor!
Post by: ceaser on August 16, 2009, 10:09:47 AM
http://richlabonte.net/modspeak/lhatip.htm

^that's url for if you have no .lha decompressor on your amiga yet^

I need the proper version of IDE Fix.  I seem to be getting something that doesn't have an installer off Aminet.  I seem to remember getting the real version with installer from a friend.  I got my own key.
Title: Re: Please post a good public domain .lha decompressor!
Post by: buzz on August 16, 2009, 12:00:10 PM
Freebsd has lha in its "ports". lha is packaged for most flavours of linux too.

or you can build from source

http://lha.sourceforge.jp/
Title: Re: Please post a good public domain .lha decompressor!
Post by: ceaser on August 16, 2009, 12:03:01 PM
Quote from: alx;519420
If you search on aminet for lha.run (http://aminet.net/search?query=lha.run), there's a self-extracting version of LHA that you can use from the Amiga end.


i should've probably tried this one first.  i'll grab it.  i think this windows one works but i'm not sure.  it's not very good.
Title: Re: Please post a good public domain .lha decompressor!
Post by: ceaser on August 16, 2009, 12:03:53 PM
Quote from: buzz;519436
Freebsd has lha in its "ports". lha is packaged for most flavours of linux too.

or you can build from source

http://lha.sourceforge.jp/


God this message board moves at the speed of light!  I'll try this too! :)
Title: Re: Please post a good public domain .lha decompressor!
Post by: motorollin on August 16, 2009, 12:39:42 PM
Quote from: ceaser;519437
i think this windows one works but i'm not sure.  it's not very good.

Don't unarchive Amiga software on Windows. Extracting the Amiga files on to a Windows filesystem fscks with the file attributes of the files within the archive, which is probably why your copy of IDEfix isn't working properly. Instead, get a proper dearchiver working on the Amiga, copy the .lha file to the Amiga, and unarchive it there.
Title: Re: Please post a good public domain .lha decompressor!
Post by: ceaser on August 16, 2009, 01:08:57 PM
Quote from: alx;519420
If you search on aminet for lha.run (http://aminet.net/search?query=lha.run), there's a self-extracting version of LHA that you can use from the Amiga end.


This file doesn't run on my Amiga 1200.  (Workbench 3.1, 3.1 ROM)

I have no clue on why it's not running.  I also tried from a shell a few minutes after I wrote this.  lha.run: file is not executable, failed returncode 10 :'(
Title: Re: Please post a good public domain .lha decompressor!
Post by: cgutjahr on August 16, 2009, 01:13:28 PM
Quote from: ceaser;519445
This file doesn't run on my Amiga 1200.  (Workbench 3.1, 3.1 ROM)

"doesn't run" does not contain any useful information. What happens (if anything)? Do you get an error message? How did you try to run it (from WB or CLI)?
Title: Re: Please post a good public domain .lha decompressor!
Post by: motorollin on August 16, 2009, 01:15:54 PM
Quote from: ceaser;519445
This file doesn't run on my Amiga 1200.  (Workbench 3.1, 3.1 ROM)

I have no clue on why it's not running.  I also tried from a shell a few minutes after I wrote this.  lha.run: file is not executable, failed returncode 10 :'(

It has lost the executable bit from being on a non-Amiga filesystem. Easy to fix. Type the following into the shell:

protect lha +RWED

then try to run it again.
Title: Re: Please post a good public domain .lha decompressor!
Post by: mike- on August 16, 2009, 01:21:14 PM
http://packages.debian.org/search?keywords=lha&searchon=names&suite=all§ion=all

Oh, by public domain i thought you needed to include it in some app or sw collection or something. There appears to be no true open source alternative tho, except that java thing, now theres a challenge.
Title: Re: Please post a good public domain .lha decompressor!
Post by: ceaser on August 16, 2009, 01:53:32 PM
Quote from: motorollin;519447
It has lost the executable bit from being on a non-Amiga filesystem. Easy to fix. Type the following into the shell:

protect lha +RWED

then try to run it again.


hah.  figured that had happened.  i'll try this one and let you know.  i gotta figure out how to change the server my Amiga ftp program is going to.
Title: Re: Please post a good public domain .lha decompressor!
Post by: ceaser on August 16, 2009, 02:01:38 PM
Quote from: ceaser;519452
hah.  figured that had happened.  i'll try this one and let you know.  i gotta figure out how to change the server my Amiga ftp program is going to.


I love people who give advice like yours@!!!!

ya that worked.  this will help me a lot in the near and distant future.  big thanks for this little tip!
Title: Re: Please post a good public domain .lha decompressor!
Post by: motorollin on August 16, 2009, 02:11:45 PM
No problem, glad it worked :)
Title: Re: Please post a good public domain .lha decompressor!
Post by: ceaser on August 16, 2009, 02:19:59 PM
yes this is an awesome essential bit of knowledge i think.  i think even .lha still archived might as well have this command run on it before you decompress it via the Amiga.  nice to be doing it the right way now :)  might have a chance of getting my CD-ROM to work before i goto bed at 10 am on sunday morning here :P

*if it's ever been on a PC that is*

cd-rom is an old external SCSI sony that i use with my flat 1200* that's going strong.  i'm doing the A4000 CD-ROM job.  should be easy now with right version of IDE-fix
Title: Re: Please post a good public domain .lha decompressor!
Post by: motorollin on August 16, 2009, 03:29:37 PM
Quote from: ceaser;519459
i think even .lha still archived might as well have this command run on it before you decompress it via the Amiga.

You don't need to do it on the archives themselves. Only the command which decompresses them (lha itself) needs to be executable. The archives themselves don't need any modification before unarchiving them. Oh, and you only need to do it to lha once and then you can just run it.

Quote from: Speelgoedmannetje;519469
cd-rom is an old external SCSI sony that i use with my flat 1200* that's going strong.  i'm doing the A4000 CD-ROM job.  should be easy now with right version of IDE-fix

How are you connecting it to your A4000?