Welcome, Guest. Please login or register.

Author Topic: lha in Aminet  (Read 3552 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline mrmoonlightTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2010
  • Posts: 651
    • Show only replies by mrmoonlight
lha in Aminet
« on: August 13, 2010, 08:32:16 AM »
Hi i know theres loads of stuff in Aminet,but im not sure how do i open it after i have downloaded it ,sorry if this question as already been asked a thousand times ,i used the search button but not really found much out ,any help please
Amiga 1200 E-Matrix 32 bit Fast-Ram 20 gb wd harddrive
Amiga 1200 Compact Flash CF IDE Back Plate Adapter
 
Hisoft promidi Interface
MP3 MAS player
Amiga 600
ACA620EC Accelerator Kipper/type
CF 4GB
C/F HD
 Pioneer CD/DVD
Hisoft promidi Interface
 

Offline stachu100

  • Sr. Member
  • ****
  • Join Date: Aug 2009
  • Posts: 292
    • Show only replies by stachu100
Re: lha in Aminet
« Reply #1 on: August 13, 2010, 08:54:55 AM »
On Amiga platforms there are programs called "lha" and "lzx" - enough for 95% of files stored on Aminet. Zip files and rar files can be un-packed by using "unzip" or "unrar" programs. All these programs must be launched from shell. There are un-packing programs with GUI, but it's another story. AOS3.9 is equipped with GUI un-packer already.

Under Windows:
Use WinRAR - the best choice.
 

Offline ElPolloDiabl

  • Hero Member
  • *****
  • Join Date: May 2009
  • Posts: 1702
    • Show only replies by ElPolloDiabl
Re: lha in Aminet
« Reply #2 on: August 13, 2010, 09:03:00 AM »
Go into the system drawer and then open the Shell/CLI
Cd to the download directory e.g. cd dh0:
Type lha.exe or lha.sfx (make sure you downloaded the self extracting version.
the command to extract something lha e filename
If you want you can copy lha to the c directory (commands). Which is automatically assigned.
Go Go Gadget Signature!
 

Offline ajk

  • Full Member
  • ***
  • Join Date: Mar 2002
  • Posts: 150
    • Show only replies by ajk
Re: lha in Aminet
« Reply #3 on: August 13, 2010, 09:57:22 AM »
Just to make it clear, the self-extracting archive for the lha executable (for extracting other .lha archives on the Amiga) is lha.run. And lzx is here.

If you unpack on a PC, be warned that sometimes the file flags (executable, read-only etc.) may go wrong.
 

Offline x303

Re: lha in Aminet
« Reply #4 on: August 13, 2010, 12:16:40 PM »
Quote from: ElPolloDiabl;574584
the command to extract something lha e filename
That has to be: lha x filename ==>  extract files with full path.
 

Offline Tenacious

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Re: lha in Aminet
« Reply #5 on: August 14, 2010, 09:11:03 PM »
This is one of the areas in which the Amiga really shines because of directory utilities (like Dopus 4.xx, Ordering, DiskMaster, etc) and the ram disk.

In Dopus, for example, you can assign one of its buttons (or menus) to be "UnLHA".  You would then only have to figure out the required command line arguments (in LHA's docs) once when configuring the button.  There after, all files compressed with LHA would require a click to select the file and another click on the new button.  All of the directory utilities listed above have more capacity to be customized than I can ever need.

Amiga has the best implimented ram disk of ANY OS I have ever used.  If you have enough ram, any program, utility, etc can be un-archived to the ram disk and then executed directly from there.  You can test the new program, see if it meets your expectations.  If you like it, you can find a permanent home for it on your floppy or HD.  If not, merely delete it from the ram disk, and nothing in your OS setup has been altered or disturbed.  (Try that with any OS that relies upon a registry-like file.)

If this seems like a lot to take on, a number of Dopus users have uploaded their configuration files to Aminet as examples of clever use of the program.
« Last Edit: August 14, 2010, 09:26:30 PM by Tenacious »
 

Offline Tempest

  • Sr. Member
  • ****
  • Join Date: Aug 2004
  • Posts: 290
    • Show only replies by Tempest
Re: lha in Aminet
« Reply #6 on: August 14, 2010, 09:51:19 PM »
RAM disk is indeed very handy and I use it a quite often but it's not something Amiga exclusive or better done. RAM disks existed long before Amiga.

For example Atari 8bit DOS's and MSX-DOS use RAM disks pretty much in the same way and they can be used just like you discribed above. I've used both systems before I got my Amiga and I still do occasionally and on both I use the RAM disk just like on my Amiga's, unarchive stuff, run programs from it, store temporary data or config files.

/edit
On both the Atari and MSX RAM disk survives reboots and it's nowadays even possible to use battery backed up RAM on the Atari 8-bit so the contents of the RAM disk are still there even when you turn off the computer.
« Last Edit: August 14, 2010, 10:05:11 PM by Tempest »
 

Offline Tenacious

  • Hero Member
  • *****
  • Join Date: Jul 2002
  • Posts: 1362
    • Show only replies by Tenacious
Re: lha in Aminet
« Reply #7 on: August 14, 2010, 10:10:31 PM »
Quote from: Tempest;574781
RAM disk is indeed very handy and I use it a quite often but it's not something Amiga exclusive. RAM disks existed long before Amiga.

For example Atari 8bit DOS's and MSX-DOS use RAM disks pretty much in the same way and they can be used just like you discribed above. I've used both systems before I got my Amiga and I still do occasionally and on both I use the RAM disk just like on my Amiga's, unarchive stuff, run programs from it, store temporary data or config files.

Yes, Apple 8-bit computers were the the first that I noticed them.

The beauty of Amiga's ram disk is that it is dynamically allocated.  If the user puts nothing there, it uses few system resources.  If files are stored there, it balloons to the required size.  When those files are removed, the memory that was required by the ram disk is returned to the system.  Very elegant and built into the OS from the beginning.

I don't remember any other OS doing a ram disk as well (It seems the user had to allocate the memory for a fixed size ram disk.).  Correct me if I'm wrong.

EDIT:  I just saw your edit.  That is cool, especially the powered Off retention.  Amiga does have RAD: as well.  It survives a warm reboot and the "boot" disk can be moved to there.  This makes for a very fast Amiga after the initial loading.
« Last Edit: August 14, 2010, 10:16:41 PM by Tenacious »
 

Offline mrmoonlightTopic starter

  • Hero Member
  • *****
  • Join Date: Jul 2010
  • Posts: 651
    • Show only replies by mrmoonlight
Re: lha in Aminet
« Reply #8 on: August 15, 2010, 06:28:47 PM »
Hi thankyou to everyone for there help,i am very grateful,and will try all the advice i have been given,thanks again
Amiga 1200 E-Matrix 32 bit Fast-Ram 20 gb wd harddrive
Amiga 1200 Compact Flash CF IDE Back Plate Adapter
 
Hisoft promidi Interface
MP3 MAS player
Amiga 600
ACA620EC Accelerator Kipper/type
CF 4GB
C/F HD
 Pioneer CD/DVD
Hisoft promidi Interface
 

Offline save2600

  • Hero Member
  • *****
  • Join Date: Jul 2006
  • Posts: 3261
  • Country: us
    • Show only replies by save2600
Re: lha in Aminet
« Reply #9 on: August 15, 2010, 06:58:48 PM »
after downloading off Aminet, might want to rename lha.run to just lha and throw it in your 'C' drawer.
 

Offline doctorq

  • Hero Member
  • *****
  • Join Date: Aug 2003
  • Posts: 2082
    • Show only replies by doctorq
Re: lha in Aminet
« Reply #10 on: August 15, 2010, 07:47:38 PM »
Quote from: save2600;574870
after downloading off Aminet, might want to rename lha.run to just lha and throw it in your 'C' drawer.


Since lha.run is a selfextracting archive, renaming lha.run would be rather stupid, unless you want the archive to extract the LHA executables every time you run it. You'd better rename one of the executables after having run lha.run.