Short: AmigaDOS script to convert LhA->LZX and vice versa Author: R Burke (R.Burke-97@student.lboro.ac.uk) Uploader: R Burke (R Burke-97 student lboro ac uk) Type: util/arc Version: 2.8 Requires: util/arc/LhA_e138.run, util/arc/lzx121r1.lha, KS 2.0+ Architecture: m68k-amigaos Distribution: * Commercial Magazines and CDs must request permission from author to include. * Non commercially, it can be distributed anywhere. * Aminet CDs & Fish CDs may include. Long: This archive is now purely for educational purposes and so that I don't need to upload every release of LhA2LZX each time a new one comes out (LhA2LZX can be used as a tutorial for AmigaDOS). Read through the .guide, read through the script files and have a go with some of them to see how the new features improve it with each release, and then blow yourself away by downloading v3.x at util/arc/LhA2LZX3.lha and finding out just how far it has come! The .guide included is that from v2.7, because originally the first docs for v2.8 were included with the v3.0 release. The latest version of the LhA2LZX3.guide contains in-depth information on the features of each previous release, so download that for a full synopsis. Below is the .readme for this release: ******************** When LhA came along, Amiga users were able to store files in one (generally) smaller file - an LhA archive. Then LZX came along - allowing much better compression rates for some files, so much more space could be saved. When I first got LZX I found it a lot of work converting my old LhA archives to the new LZX format via the CLI, and sometimes found that after doing it that my original LhA files were smaller than the new LZX ones! Thus LhA2LZX was born. This script file allows the user to convert their archives from LhA to LZX or vice versa, or alternatively it will intelligently convert the archive to the smallest format, so you can always be sure of having the smallest archive in the end. It is all done by requesters - so you don't even need to touch the keyboard! What makes it useful is that this program is an AmigaDOS script file, which means you can load it into a text viewer/editor and see how it all works. I have commented many of the lines to help you understand more what is happening, and to help in case you want to write your own front-ends to CLI programs, or to perform certain actions. Versions included here are v1.1-v1.2, v2.0-v2.8 This is so you can see how the program has developed and improved, and which bits I added as needed. This archive is less than half the size when compressed with LZX: lha2lzx2.lha 66,939 b lha2lzx2.lzx 28,739 b *NEW FOR 2.8* -Optimisation of code of around 33%! Script filesize reduced from 15k -> 10k! -No more selecting the dir of the archive and then selecting the archive - it's now all done in one -A myriad of small features to make it a lot more user-friendly :^) *NEW FOR 2.7* -Better handling of tilde bug in filenames -Updated .guide file -Improved cleaning-up process as it quits -Check to see if registered version of LZX is being used Download the latest version from: http://www-student.lboro.ac.uk/~corb1/lha2lzx.html Comments and bug reports are welcome: R.Burke-97@student.lboro.ac.uk