Amiga.org

Amiga computer related discussion => Amiga Software Issues and Discussion => Topic started by: pyrre on June 09, 2016, 07:23:51 PM

Title: LHA archive commands
Post by: pyrre on June 09, 2016, 07:23:51 PM
Hello
i am trying to move files from my pc to my amiga.
I want to use LHA to preserve amiga file extensions.
However:
I cant remember the CLI command for lha

i have com as far as making the archive, and adding file in current folder.
But it wont add any further files. so far only .info files has been added to the archive.

LHA -x a "archive.name.LHA" [homedir] [@file] [destdir]

i cant remember how to address the homedir, and i cant remember how to tell lha which files to add to archive. destination directory shoul work just fine....

Can anyone help? please
Title: Re: LHA archive commands
Post by: paul1981 on June 10, 2016, 01:27:59 AM
Quote from: pyrre;809747
Hello
i am trying to move files from my pc to my amiga.
I want to use LHA to preserve amiga file extensions.
However:
I cant remember the CLI command for lha

i have com as far as making the archive, and adding file in current folder.
But it wont add any further files. so far only .info files has been added to the archive.

LHA -x a "archive.name.LHA" [homedir] [@file] [destdir]

i cant remember how to address the homedir, and i cant remember how to tell lha which files to add to archive. destination directory shoul work just fine....

Can anyone help? please

I found this if it's any help to you:

http://ale.emuunlim.com/guides/lha-create.shtml (http://ale.emuunlim.com/guides/lha-create.shtml)
Title: Re: LHA archive commands
Post by: AAACHIPSET on June 10, 2016, 08:34:06 AM
Quote from: pyrre;809747
Hello
i am trying to move files from my pc to my amiga.
I want to use LHA to preserve amiga file extensions.
However:
I cant remember the CLI command for lha

i have com as far as making the archive, and adding file in current folder.
But it wont add any further files. so far only .info files has been added to the archive.

LHA -x a "archive.name.LHA" [homedir] [@file] [destdir]

i cant remember how to address the homedir, and i cant remember how to tell lha which files to add to archive. destination directory shoul work just fine....

Can anyone help? please
there is a program that does it for you ( arc extract )..you just drag the file to its icon if i remember correctly  ..i have it on the desktop  you need to set it up with a default path to extract to but easy as pie with lha
Title: Re: LHA archive commands
Post by: cgutjahr on June 10, 2016, 10:20:41 AM
Quote from: pyrre;809747
Hello
I cant remember the CLI command for lha


lha -er a NAME_OF_THE_ARCHIVE FILE1 FILE2 FILE3

(e=archive empty dirs aswell, r=collect files recursively, also activates x option)

Quote

i cant remember how to address the homedir

I never bothered with homedir, since specifying homedir required removing the homedir part of the path of all filenames you supply. Just 'cd' to the homedir first, then run LhA - sounds like a much simpler approach to me.

If you want to specify homedir, do it like this:

lha -er a NAME_OF_THE_ARCHIVE HOMEDIR FILE1 FILE2 FILE3

(HOMEDIR *has* to end with a slash or a colon, otherwise it won't be recognised)
Title: Re: LHA archive commands
Post by: pyrre on June 10, 2016, 05:05:44 PM
Ended up copying the dopus.cfg file to the pc and use dopus in uae to compress the files needed on my a500.
however. highgfx does not work an the a500 with the indivision....
Title: Re: LHA archive commands
Post by: Amiwest on June 10, 2016, 06:16:26 PM
a good page for archive programs:
http://www.amiga-stuff.com/archivers-download.html
Title: Re: LHA archive commands
Post by: Oldsmobile_Mike on June 10, 2016, 06:33:13 PM
Quote from: pyrre;809817
highgfx does not work an the a500 with the indivision....

Sure it does.  I've used it on my 2000, which is basically the same thing.  Suppose I could try it on my 500, as well.  Your monitor may not be able to sync to the particular refresh rate it uses, or you may need to do the firmware update.

If you post more specifics, e.g., what exactly happens when you try to use it, you might get a more useful answer.  ;)
Title: Re: LHA archive commands
Post by: pyrre on June 10, 2016, 06:41:10 PM
Quote from: Oldsmobile_Mike;809825
Sure it does.  I've used it on my 2000, which is basically the same thing.  Suppose I could try it on my 500, as well.  Your monitor may not be able to sync to the particular refresh rate it uses, or you may need to do the firmware update.

If you post more specifics, e.g., what exactly happens when you try to use it, you might get a more useful answer.  ;)
I do exactly what the txt file says. i put the highgfx file in monitors folder on dh0, an reboot the computer. but i only get the standard screen modes.
And if i change to one of them the color goes heywire. only black and grey, even if 16 colors are selected.
plus the screen border do not fit the display at all...