PDA

View Full Version : Lha!


Pixel
30 May 2002, 19:49
I finally made my first ADF image of an old workbench disk! Now I can't get it on my computer because the file won't fit on my 720k floppy disk with cross dos.

Maybe packing the file to LHA format would shrink it down enough? Whats the command line for creating an LHA file and then adding files to it?

Frog
30 May 2002, 19:55
try "LHA ?"

as it seems you don't like too much CLI command, try MiraWizARC available on aminet.

Pixel
30 May 2002, 21:23
Yeah. I have lha. You type in:

lha ...

then I don't know what to put in after that.

For example to extract files:

lha e myfile.lha ram:

RetroMan
30 May 2002, 22:11
If you only type LHA in CLI you get a pretty good help list and it will show you to use A = ADD FILES :D

So just do LHA A RAM:TEST.LHA DH0:C for example to pack the directory C into a file called TEST.LHA in RAM: ;)

Nyarlathotep
30 May 2002, 23:43
Sometimes a 880k floppy will not fit in a 720k disk, also with compression.
So one possible choice is to split the file with:
transdisk -s 0 -e 39 >ram:file1
transdisk -s 40 -e 79 >ram:file2
on the Amiga side, copy the two parts to the pc, and do:
copy /b file1+file2 file.adf
to merge the image.

Twistin'Ghost
31 May 2002, 09:21
Likewise, there's several split/join utils on the PC that have a GUI to make the task easier.

Pixel
31 May 2002, 17:55
I need to split the adf into 2 seperate files?

Then I need to find a program on the P.C to put them together? What programs are there?

Twistin'Ghost
31 May 2002, 18:27
I use a program called File Split (or FSPLIT.EXE) which is a simple GUI-based app that doesn't even need installing (always a good thing). Oddly, it uses the term Concat instead of Join, but it does join the files. I don't even remember where I got it, but I am sure you could find countless variations on the theme on any site that houses PC freeware/shareware.

Paul
31 May 2002, 19:05
Read my thread here...

http://eab.abime.net/showthread.php?s=&threadid=3280