Short: EEC (ELF Executable Cruncher) Author: Rupert Hausberger Uploader: Rupert Hausberger Type: util/arc Version: 1.31 Replaces: ecc-morphos.lha;util/arc/eec-morphos.lha Architecture: ppc-morphos DESCRIPTION =========== EEC is a standalone cruncher for exectables. FEATURES ======== - Standalone - PPC or 68K executables - CLI or WB start REQUIREMENTS ============ - MorphOS 1.x USAGE ===== EEC does only work from a shell. Arguments --------- "FROM/A,TO/A,QUIET/S" FROM/A - Input file (a executable) TO/A - Output file QUIET/S - Be quiet, print no output HOW DOES IT WORK ================ First the program that should be compressed will be packed into memory. Then the loader-code, which is included in EEC will be written and the packed data will be added into a new executable.... I decided to use a LZSS algorithm combined with arithmetic compression. This achieve a relative good packing ratio and the code for decompression is also not so big. This is importand, because the loader also must include the code for decompression... AUTHOR ====== Rupert Hausberger AVAILABILITY ============ - WWW: http://naTmeg.webhop.net - Aminet, for example: ftp://ftp.germany.aminet.org/pub/aminet/util/arc/ecc-morphos.lha LICENSE ======= EEC is Freeware. THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDER AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. CHANGELOG ========= v1.31 (12.10.2007) ------------------ - Fixed return code value. (thx Stefan Haubenthal) v1.30 (11.10.2007) ------------------ - Added support for m68k-executables. (thx piru) - Loader-size is now 6908 bytes. v1.20 (10.10.2007) ------------------ - Added __amigappc__ define. - Fixed float output. (thx Stefan Haubenthal) - Loader-size is now 6772 bytes. v1.10 (08.10.2007) ------------------ - Optimized startup-code of the loader. - Added a check, whether the crunched file is a ELF-file. - Shrinked size of the loader-code from 7920 to 6740 bytes. v1.00 (27.09.2007) ------------------ - Initial.