Ficedula FFLZS v1.1 ------------------- This little utility will compress and decompress files using the LZS compression Squaresoft used in Final Fantasy VII and VIII. Any of my programs that need to access compressed files (Cosmo, LGP patcher) can handle the compression and decompression themselves, but this tool lets anyone who wants to edit the files themselves do so. Note: It's a command line utility (run it from DOS prompt) but it does need to be run from within Windows! Usage ----- Format is: LZS.EXE [-d] [-c{0|1|2|3|4}] [-q] inputfile [outputfile] -d: Decompress file. If you don't specify this, it assumes you want to compress a file. -c: Compression level. 0=None, 1=8-bit, 2=16-bit (default), 3=32-bit, 4=Qhimms. No compression actually makes the file larger (it has to place compression markers in it) but is very quick. 16-bit should give the best compression otherwise. Qhimm's compression is very fast while compressing well; however, it does require QHIMMLZS.DLL to be present (eg. in Windows\System folder). This DLL comes with Cosmo, if you need a copy. -q: Quiet mode. Don't display any output. inputfile: File(s) to read from, can use wildcards (*.DEC, ????.LVL, etc) outputfile: File to write to. If not specified default is: Original file with extension .DEC added when decompressing Same file when compressing, unless the input file had extension .DEC. Then it saves the compressed file to the same filename but without the extension. Comments? Bugs? Email ficedula@lycos.co.uk Updates at http://www.legacy-ovwp.org/~ficedula/