Short: Convert LhA->LZX and vice versa easily Author: R Burke (R.Burke-97@student.lboro.ac.uk) Uploader: R Burke (R Burke-97 student lboro ac uk) Type: util/arc Requires: util/arc/LhA_e138.run, util/arc/lzx121r1.lha, util/cli/mykinf.lha, Architecture: m68k-amigaos KS 2.0+, '020 Version: 3.2a Replaces: util/arc/LhA2LZX3.lha 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. For full usage of the documentation please also download util/arc/LhA2LZX2.lha LhA2LZX can perform several different actions: - It can convert archives between the two archiving formats (e.g. give it an LhA archive and it will convert it to LZX, or vice versa) - It can convert to the smaller of the two archives (e.g. give it an LhA archive and it will create the LZX version, compare the size with the LhA version and save the smallest, or vice versa) - It can repack an archive (e.g. give it an LZX archive and it will de-archive it and re-archive it with LZX to make sure it is the smallest size for that particular format). If using from Workbench, it is all done by requesters - so you don't even need to touch the keyboard! If using from Directory Opus, just select your archives and go! This program is an AmigaDOS script file, so you can load it into a text viewer/editor and see how it all works. Virtually all of the lines have been commented to help you understand this. This archive is 23k smaller when compressed with LZX - 2/3 the size *NEW FOR 3.2a* -Output screen cleared between operations -Filesizes given in kb if > 10k -.guide partially rewritten for easier navigation *NEW FOR 3.2* -Free space of the destination disk is determined to make sure the new archive will fit, and if it won't then the user is prompted for an alternative destination path, which is also checked for free space -Better handling of archive filecomments - all asterisks are converted to plus signs -LhA and LZX are checked to see if they are resident, and the relevant version will be used -Protection of the original archive is copied to the new archive, making it now indistinguishable except for the name and size! -Much improved installer script *NEW FOR 3.1* -Full handling of the tilde bug of LZX by an AREXX script - now all archives with a tilde in are renamed with underscores -Code of LhA2LZX cleaned up a little *NEW FOR 3.0a* -LhA2LZX now adapts to wherever it is located - so it can easily be run from anywhere on your hard drive! -extensive .guide update *NEW FOR 3.0* -Multiple archive selection and conversion! -FULL usage from DOpus! Just select your archives and go! -Extra "Repack" option to ensure each archive is of the minimum size for that file type! -Code now extensively commented - almost every line! -Install script -Large .guide update Versions included here are v3.0-v3.2a For full usage of the documentation please also download util/arc/LhA2LZX2.lha, as some of the references in the AmigaGuide to LhA2LZX v3.x will try to open some of the files from previous releases. LhA2LZX2.lha contains v1.x and v2.x of LhA2LZX, and if you are using these as a tutorial to AmigaDOS, just de-archive them into the same directory that LhA2LZX v3.x is in. They are there so you can see how the program has developed and improved, and which bits I added as needed or were requested by users. Download the latest version from: http://www-student.lboro.ac.uk/~corb1/lha2lzx.html New versions will be uploaded to my web page before being uploaded to the AmiNET. Comments and bug reports are welcome: R.Burke-97@student.lboro.ac.uk Rich B 20 Oct 1998