home *** CD-ROM | disk | FTP | other *** search
/ Aminet 5 / Aminet 5 - March 1995.iso / Aminet / game / gag / gzus001.lzh / g-zus.doc < prev   
Text File  |  1993-05-10  |  8KB  |  173 lines

  1. ----------------------------------------------------------------------
  2. The G-Zus compactor/decompactor: v0.01
  3. ----------------------------------------------------------------------
  4.            Author: Jean-Christophe Clement
  5.    Public release: May 9, 1993.
  6.          Function: Compress and decompress any file VERY efficiently.
  7.          Comments: clemj00@dmi.usherb.ca
  8. ----------------------------------------------------------------------
  9. G-Zus: Copyright 1993 Jean-Christophe Clement
  10. ----------------------------------------------------------------------
  11. This is freely redistributable, so, you can distribute it!.
  12.  
  13. Content:
  14.  
  15. 1. Standard WARNING.
  16. 2. Operation.
  17. 3. How does it works, is there any black-magic in it?
  18. 4. Bugs.
  19. 5. How to contact me.
  20. ----------------------------------------------------------------------
  21.  
  22.  
  23. 1. ********************* WARNING ********************
  24. -----------------------------------------------------
  25.  
  26. You take ALL the risks in using this software.
  27. We offer NO garantee (in fact, that's the only
  28. thing we garantee!). But, as we are human beeing
  29. (well, sort of), we think it's our responsability
  30. to say that an independent research firm
  31. (Useless, Meaningless and Co.) evaluated our
  32. soft on 1000 individuals, which gave these results:
  33. -900 of these people died immediatly after having
  34.  crunched a 1 meg file to 30 bytes. The last
  35.  phrase commonly noted by the researcher just
  36.  before their death was:
  37.  "My god, it's full of star...".
  38. -50 were scientist , which, after the same
  39.  experimentation, got psychologically affected
  40.  to degree varying from light illness to
  41.  a complete state of Bill Gateness after
  42.  seeing the effectiveness of our
  43.  algorithm.
  44. -49 were from some sort of religious cult based
  45.  at Waco, Texas. Strangely, they started
  46.  to sing simultaneously something along the
  47.  line of... "...He's back from the fire,
  48.  he's gonna save us...", prosternating before
  49.  the computer screen.
  50. In fact, the only one who managed to survive was one University student
  51. from Iowa (He wants to stay anonymous, let's just say his initials are MB)
  52. who's first comment was: "It sucks!". After asking him why he wasn't
  53. impressed at all by our product, his answer was: "It's shit, It stink".
  54. After two more hours trying to extract some informative comments, he
  55. finally said "It is worthless because it doesn't even load Encapsulated
  56. Postcript file and cannot render square pixel in 1024 X 768...". Our final
  57. comment to mr. MB was to the effect that these points weren't really
  58. related to the subject, to which he answered "So ? What's your point ? You
  59. seem to forget that my father is stronger than yours!" and gone away
  60. singing "I'm the best, nobody beats me, ye!, ye!, ya, da-ba-da, you-hou!".
  61.  
  62. 2.OPERATION.
  63. ------------
  64.   Really simple. Type "g-zus" followed by the name of the file you want
  65. to compress/decompress ('g-zus' knows what you want to do, you don't need
  66. to tell him).
  67. Example:
  68. "g-zus work:thing/test.txt"
  69.  
  70. Will compress the file 'test.txt' and will produce archive
  71. 'work:thing/test.god'.
  72.  
  73. "g-zus work:thing/test.god"
  74.  
  75. Will decompress the file 'test.god' and will produce archive
  76. 'work:thing/test.txt' (if test.txt was the orginal name).
  77.  
  78. The file is always is always compressed/decompressed in the path specified
  79. (because there is just one path going to g-zus).
  80.  
  81. Here are some typical compression example you can attain with G-zus:
  82.  
  83. Flex.lzh                  251123 ----rwed 15-Apr-93 23:11:33
  84. FoCo.lzh                   30887 ----rwed 17-Jan-93 12:05:43
  85. gadlayout-1.5.lha          41401 ----rwed 08-Apr-93 13:29:53
  86.  
  87. Flex.god                      30 ----rwed Today     10:01:35
  88. FoCo.god                     -17 ----rwed Today     10:05:12
  89. gadlayout-1.5.god            -22 ----rwed Today     10:10:55
  90.  
  91. Impressed ?, you should be! (if you initials are not MB).
  92.  
  93. 3. HOW DOES IT WORKS ? IS THERE ANY BLACK MAGIC IN IT ?
  94. -------------------------------------------------------
  95.  
  96.   Of course not, there is no black-magic used as there isn't such a
  97. thing as black magic!
  98.   What a fool you are ! Black magic ! Ha Ha! Everybody knows that Black magic
  99. is a myth and has no scientific founding.
  100.   No... the G-Zus coder/decoder use Brown magic, which is both more
  101. efficient, cleaner, and cholesterol free...
  102.   Here is the explaination:
  103. Compression/decompression is a CPU intensive task and the computer suffers
  104. badly from performing it, because there is no magic in all that
  105. encoding stuff (well, not until now). When you have a 1 meg file shrunk
  106. down to 50k by a JPEG compactor, where do you think that all those bits
  107. went ? Now, it depends on the algorithm: the first ones invented involved
  108. pressing all those bits hard against each other, resulting in some gain
  109. in memory space. It wasn't very efficent as CPU weren't strong enough to
  110. push the millions of bits composing the bigger files (often resulting in
  111. good compression at start of file, decreasing toward the end.). Now, some
  112. people found much better algorithm, such as JPEG which is based on the fact
  113. that bits, when unused for a long period of time, tends to take some
  114. weight (that's why we call them 'most significant bits') and, of
  115. course, more memory. The JPEG algorithm use the heat produced by the
  116. new generation CPU to melt those fatty bits off the memory. All that fat
  117. is kept in a new device, the heat-sink (or propulsed off the CPU using a
  118. specially designed fan). But, JPEG cannot be used for file where all the
  119. bits need to be read in their original size because, as we have seen, fatty
  120. bits become thin bits and aren't the same anymore (both physically and
  121. mentally). So, that's why JPEG is called a 'lossy' algorithm.
  122.   So, now, imagine the work involved with trying to compress an already
  123. compressed file to save space! Boy, it would take much more CPU ressource
  124. than what's available today! But, here at G-Zus Inc, we found a new way to
  125. do it using Brown Magic ((TM) Shirley McLaine). We found that the only way
  126. to pack bits further is to suppress them! Well, of course, not entirely
  127. (how could it works then!?)... We invoke some magical formulas to extract
  128. the soul out of the bits that can be then physically destroyed!, their
  129. essential information floating above the CPU and memory. That's how we
  130. achieve such an incredible compression ratio.
  131.   The trick is to get all these ghost bits back to memory at decompression
  132. time. That's the main purpose of the 'Ouija' function in our code which
  133. must remain secret for military purpose (let's just say that it once went
  134. wrong and all of the bits that came back were wearing side whiskers, a
  135. guitar and were singing 'Jailhouse rock'). When the bits are back, the
  136. file is accessible again.
  137.  
  138.   For more information on Brown Magic, read:
  139.  
  140.   "666 quick recipes using Brown Magic."
  141.   by Mephisto something (I forgot the name)
  142.  
  143. 4. BUGS
  144. -------
  145.  
  146.   This software is highly unpredictable due to it's "irrational proton
  147. inverter engine" (TM) algorithm. But, we found it to be sufficiently
  148. safe to be used in cities of less than 40,000 inhabitant (we wanted to
  149. avoid using words like 'Holocaust'). In fact, since the last
  150. Pinatubo eruption, we haven't had any complaints from our thousands
  151. of beta-testers (well, to be fair, we haven't had any news from them
  152. either), so, we could say it's quite safe now (*).
  153.  
  154. 5. HOW TO CONTACT US.
  155. ---------------------
  156.  
  157.   That's all for now folks. Hope you enjoyed!
  158.  
  159.   If you have a good joke, want to tell me what's life in your part of
  160. the world or anything else, here is our address.
  161.  
  162.   Well, us... we... hum... I can always be reached trough snail mail at:
  163.  
  164.   Jean-Christophe Clement
  165.   921 rang 3
  166.   St-Simon,Quebec
  167.   CANADA
  168.   J0H-1Y0
  169.  
  170.   or Internet: clemj00@dmi.usherb.ca
  171.  
  172. (*)  But, of course, as nothing is perfect, we suggest that you wear an
  173.      heavy plate armor when using G-zus.