Short:    THE xpk-sublib/xpk-patch you always dreamed of !!!
Author:   Alexis Nasr aka The Cyborg
Uploader: thiedb@club-internet.fr
Version:  1.0
Type:     util/pack
Tested:   A1200 (OS3.1,Blizzard A1230 IV/8Mb)
Requires: Amiga OS2.04+,datamaster.library (Util/Libs/DMlib_xx.lha)
Date:     August 1996


******************************************************************************
*                      "Crunch? Yes: Better!"                                *
******************************************************************************


Quick description:
~~~~~~~~~~~~~~~~~~

    Installs a patch on the xpkmaster.library packing function,so that
anything crunched with the "xpkCYB1" sublibrary will automatically &
transparently be crunched with the most adapted packer!!! The recognition
& intelligent packing works with all the sources/dests supported by the
xpkPack() function,that's to says FILES,FILEHANDLES,but also (!!) MEMORY!

    The configuration is totally flexible. You can select all the
xpk methods to use for each of the filetypes recognized by the
datamaster.library.There is also an (optional) report-window that pops-up
and shows you the operations.And lots lots lots more!!!!

    The files you obtain are "normal" xpk'd files (MASH'd,SQSH'd etc!!!)

    This is useable with ALL the tools using xpkmaster.library!!!! No need
to pass the files to some particular packing-tool.(ever seen "xpkKnight"? ;-)

    Think of all the unused xpk-packers (ACCA,FAST,CBR0...).Now you can
make 'competitions' between these:it's not always the SAME packer that
crunches best.Don't try to compare SHRI & RAKE,or MASH & FAST of course eh?


Some applications: (just 'my' examples eh :)
------------------

    In your DirOpus/BrowserII/Dirwork etc tool,install a xpkCYB1 crunching
    button,it will replace all the existing ones! You'll just click on any
    file & crunch it with CYB1,and you'll obtain SQSH'd modules,MASH'd
    ascii-texts etc...

    In your backup tools (Diavolo,Abackup...),just use CYB1! JPEGs,LHA's
    etc will be automatically skipped (in the prefs such files should be
    associated with the "DONT" packer,just a fake name to know they mustn't
    be crunched).And the rest will be packed to the best...
    For such tasks,the Output-window can be switched off automatically ;-)

    You're converting a module with ProWizard & wanna use the best
    compression ever? Just look at the window popping up on PW's screen,
    & watch the "multipack":SQSH & SMPL can be tried 

    You're listening to a TFMX module in Eagleplayer & want to use Save it
    as xpk-compressed.With CYB1 you can get a SHRI'd mdat file & a
    SQSH/SMPL'd smpl file!
    
    For any filetype,you can define multiple packers ("multipacking"),each
    one will be tried in turn and the "winner" will do the final packing.
    The "winner" is the one that satisfies best one of these 3 comparison
    methods:
             "Best":classic! just the best CF (compression factor)

             "Fastest":the fastest to unpack! YES!! The data will be
                      depacked while the packing operation,in order to get
                      the decompression speed!!!!!

             "Average":finds the packer with a compromise between
                       CF/depackspeed.

    Etc etc etc :-)



The libraries
~~~~~~~~~~~~~
    datamaster.library has been specially developed for this CYB package
but I released it alone,as it can be used with any other application
needing some powerful data recognition.

    The xpkcybhandle.library found in this package may be used by future
xpkCYB libraries (xpkCYB2 is just finished while I type this.It is spread
alone,get that package too you won't regret it!).xpkCYB2 works with tools
that make direct access to the sublibs (very rare progs) like...XFH!
Yes XFH...think about it for 1 second...Hmm? :)


Hope you're enjoy that tool! (some long'n'hard work put in it,believe me)


============================= Archive contents =============================

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
     948     497 47.5% 14-Aug-96 00:57:32  xpkCYB_Release_1.0.info
     948     497 47.5% 14-Aug-96 00:57:32 +Bin.info
     104      96  7.6% 23-Jul-96 16:07:36 +xpkCybScan
     752     506 32.7% 01-Aug-96 14:23:44 +xpkCYB1.library
    8072    4614 42.8% 14-Aug-96 19:50:46 +xpkcybhandle.library
    4096    1631 60.1% 01-Aug-96 14:05:48 +xpkCyblibs.prefs
    7164    4192 41.4% 14-Aug-96 19:51:04 +StartCybPatch
    1660    1026 38.1% 23-Jul-96 18:36:26 +StartCybPatch.info
   47165   18009 61.8% 14-Aug-96 19:32:08 +xpkCYB_engl.guide
    1869    1353 27.6% 14-Aug-96 00:57:32 +xpkCYB_engl.guide.info
   51180   19520 61.8% 14-Aug-96 19:35:40 +xpkCYB_fr.guide
    1869    1351 27.7% 14-Aug-96 00:57:32 +xpkCYB_fr.guide.info
-------- ------- ----- --------- --------
  125827   53292 57.6% 24-Aug-96 12:55:22   12 files
