Welcome, Guest. Please login or register.

Author Topic: Forgive my newbieness but need to find out about LHA  (Read 2303 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Forgive my newbieness but need to find out about LHA
« on: May 31, 2006, 05:37:00 PM »
Greetings:

Was wondering if the ability to unLHA an LHA file was built into WB 3.x or what utility we should use.  Also is there a specific place we should put expanded files.

Thanks in advance,

\\"When we ask for advice, we are usually looking for an accomplice.\\"
- Marquis de la Grange
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Forgive my newbieness but need to find out about LHA
« Reply #1 on: May 31, 2006, 05:40:43 PM »
It is built in to 3.5 and 3.9, but with 3.1 and below you have to download lha.run from Aminet. Execute lha.run and it will unarchive the lha executable. Copy this to C: and then type lha in to a shell to see the syntax of the command.

As for where you put the unarchived files, well you can put them where you like :-) I normally unarchive to RAM: as I have a lot of memory, and I can then install from the RAM: disk. If you don't have a lot of RAM:, just unarchive somewhere on your hard drive.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Re: Forgive my newbieness but need to find out about LHA
« Reply #2 on: May 31, 2006, 05:41:53 PM »
We are specifically looking to install Magic WB on our Win UAE and have an LHA.run file and perhaps we need to know if we put that there or if there is a windows way to make an ADF of the MWB disk.  or if there is already an ADF someplace of the MWB disk.

Thanks... more info I thought might be helpful :-)

\\"When we ask for advice, we are usually looking for an accomplice.\\"
- Marquis de la Grange
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Forgive my newbieness but need to find out about LHA
« Reply #3 on: May 31, 2006, 05:45:18 PM »
You don't need to make an ADF. Just make sure your PC visible in UAE. Then load up Workbench and browse (in the emulator) to the folder on your PC where the lha file is. Copy the lha file to the RAM disk in the emulator and then type the following in to a shell:

lha x filename.lha

Obviously replace filename.lha with the actual filename :-)

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Tricky

  • Full Member
  • ***
  • Join Date: Aug 2005
  • Posts: 127
    • Show only replies by Tricky
    • http://www.jigsawlounge.co.uk/kungfu/
Re: Forgive my newbieness but need to find out about LHA
« Reply #4 on: May 31, 2006, 05:52:15 PM »
I also need LHA, but for Linux.  Alas I apparently don't have it, and it's not on Debian's package list, as far as I can tell...

I'd just transfer the LHA to my Amiga usually, but this one's bigger than 720k!
[A1200/060, 32Mb fast RAM, 1.2Gb HDD, 19\\" Acer TFT Monitor]
I never write anything that won\\\'t run on a stock A1200.  That\\\'s the Jigsaw Lounge Guarantee.
 

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Re: Forgive my newbieness but need to find out about LHA
« Reply #5 on: May 31, 2006, 05:53:59 PM »
Ok.  We are having some kind of issue getting the PC hard drive visible under the Win UAE.   Any suggestions on how to make this work.  The host system is a Windows XP Pro box with NTFS as the file system.

Thanks,

\\"When we ask for advice, we are usually looking for an accomplice.\\"
- Marquis de la Grange
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Forgive my newbieness but need to find out about LHA
« Reply #6 on: May 31, 2006, 05:54:20 PM »
@Tricky
The command might be unlha instead of lha under Linux

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Tricky

  • Full Member
  • ***
  • Join Date: Aug 2005
  • Posts: 127
    • Show only replies by Tricky
    • http://www.jigsawlounge.co.uk/kungfu/
Re: Forgive my newbieness but need to find out about LHA
« Reply #7 on: May 31, 2006, 05:55:17 PM »
@moto
tried it.  command not found.
[A1200/060, 32Mb fast RAM, 1.2Gb HDD, 19\\" Acer TFT Monitor]
I never write anything that won\\\'t run on a stock A1200.  That\\\'s the Jigsaw Lounge Guarantee.
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Forgive my newbieness but need to find out about LHA
« Reply #8 on: May 31, 2006, 05:56:14 PM »
Try compiling this

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline amigakit

Re: Forgive my newbieness but need to find out about LHA
« Reply #9 on: May 31, 2006, 05:56:34 PM »
The PCMCIA CF Adapter Kit with EasyADF package also decompresses .LHA files - you can transfer the large lha files across with a CF card.
www.AmigaKit.com - Amiga Reseller | Manufacturer | Developer

New Products  --   Customer Help & Support -- @amigakit
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Forgive my newbieness but need to find out about LHA
« Reply #10 on: May 31, 2006, 05:57:17 PM »
@irishmike
Haven't used UAE in a long time, but I think under the hard drives section in the settings, there is an option like "Use PC drives at startup"

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: Forgive my newbieness but need to find out about LHA
« Reply #11 on: May 31, 2006, 05:59:55 PM »
Quote
I also need LHA, but for Linux. Alas I apparently don't have it, and it's not on Debian's package list, as far as I can tell...

make sure your /etc/apt/sources.list deb line has "non-free"

In my unstable I have
Code: [Select]
deb http://ftp.fi.debian.org/debian/ unstable main  contrib non-free

After you've added the non-free part, apt-get update and apt-get install lha.

Quote
Package: lha
Priority: optional
Section: non-free/utils
Installed-Size: 176
Maintainer: GOTO Masanori
Architecture: powerpc
Version: 1.14i-10
Depends: libc6 (>= 2.3.2.ds1-4)
Filename: pool/non-free/l/lha/lha_1.14i-10_powerpc.deb
Size: 63008
MD5sum: 2cf0aa31c2eaf10015d0bb0d1e74c674
Description: lzh archiver
 The famous lzh archiver, known from DOS.  When mixing DOS and Unix you might need it.  (Especially for fido <--> rfc conversions.)
Tag: interface::commandline, role::sw:utility, use::storing, works-with::archive
 

Offline irishmikeTopic starter

  • Hero Member
  • *****
  • Join Date: Jun 2004
  • Posts: 516
    • Show only replies by irishmike
    • http://www.jmikeneedham.net
Re: Forgive my newbieness but need to find out about LHA
« Reply #12 on: May 31, 2006, 06:00:44 PM »
@motorollin

We found that option and "ticked" it and it shows up on our WB but no files are inside the drawer?  Is this because it is NTFS?

Thanks,

\\"When we ask for advice, we are usually looking for an accomplice.\\"
- Marquis de la Grange
 

Offline motorollin

  • Hero Member
  • *****
  • Join Date: Nov 2005
  • Posts: 8669
    • Show only replies by motorollin
Re: Forgive my newbieness but need to find out about LHA
« Reply #13 on: May 31, 2006, 06:01:51 PM »
Open the drawer then go to the Window menu, go down to Show, and select All Files.

--
moto
Code: [Select]
10  IT\'S THE FINAL COUNTDOWN
20  FOR C = 1 TO 2
30     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NAAAA
40     DA-NA-NAAAA-NAAAA DA-NA-NA-NA-NA-NA-NAAAAA
50  NEXT C
60  NA-NA-NAAAA
70  NA-NA NA-NA-NA-NA-NAAAA NAAA-NAAAAAAAAAAA
80  GOTO 10
 

Offline Tricky

  • Full Member
  • ***
  • Join Date: Aug 2005
  • Posts: 127
    • Show only replies by Tricky
    • http://www.jigsawlounge.co.uk/kungfu/
Re: Forgive my newbieness but need to find out about LHA
« Reply #14 on: May 31, 2006, 06:03:47 PM »
@moto
Ace!  That works fine, and no compiling necessary (it's just a executable).

Thanks
[A1200/060, 32Mb fast RAM, 1.2Gb HDD, 19\\" Acer TFT Monitor]
I never write anything that won\\\'t run on a stock A1200.  That\\\'s the Jigsaw Lounge Guarantee.