Short:    V1.0 "THE" Prefs system for xpkmaster :)
Author:   Alexis 'cyb' Nasr
Uploader: nasr@hol.fr
Version:  1.0
Type:     util/pack
Requires: OS2.04+,xpkmaster.library v4+
Date:     May 1997
Tested:   A1200 (OS3.1,Blizzard A1230 IV/16Mb) Enforcer, Mungwall etc...
Replaces: util/pack/xpkCYB_10.lha, util/pack/xpkCYB2_10.lha

          (PLEASE DELETE THESE ARCHIVES :)

Description:
~~~~~~~~~~~~

*  Since its version 4, xpkmaster.library has a new feature: a preferences
protocol, to pack data with the best xpk-sublib according to its filetype.
Thanks to a shared structure (the XpkPrefsSemaphore), xpkmaster is able to
"communicate" with an external, INDEPENDANT prefs system.

*  Dirk Stoecker, the new xpk maintainer, has made his own "XpkPrefs"
program. My "XpkCybPrefs" is an alternative, which claims (of course :) to
be more powerful and flexible.


                        What does it mean for you?:
                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~

   -> Well, you just select the "USER" packing method and then the
   prefs system handles everything, choosing the best xpkXXXX.library
   adapted to the type of data being crunched.

*  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: simply choose
   the "USER" method instead of a xpk-sublib name.

*  One of XpkCybPrefs big "plus": MULTIPACKING!!

    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 4 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.

             "Ask":     pops up a requester and lets YOU choose.

*  Switchable Report Window with progress bars, statistics and all the
   hell :-)

*  `Quiet Tasks' list (useful for disabling output automatically when
     called from Backup programs for example).

*  Of course, you can define "NO packing" for a filetype.

*  Memory optimization: The packing tests are done in a memory
     buffer or on a temp file for those who are short on memory.
     (if depacking is needed, it will NOT require any extra buffer!! :=)


    Etc etc etc :-)


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

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

    In your backup tools (Abackup etc...),just use USER! 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 for example...

    You're listening to a TFMX module in Eagleplayer & want to use Save it
    as xpk-compressed.With USER you can get a SHRI'd mdat file & a
    SQSH/SMPL'd smpl file!
    


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

Original  Packed Ratio    Date     Time    Name
-------- ------- ----- --------- --------  -------------
    1197     730 39.0% 11-May-97 14:25:42  XpkCybPrefs.info
     948     499 47.3% 11-May-97 14:25:42 +c.info
    6348    3481 45.1% 10-May-97 15:46:40 +DMcontrol
     948     499 47.3% 11-May-97 14:25:42 +libs.info
    6860    3963 42.2% 10-May-97 15:45:50 +datamaster.library
     184     133 27.7% 10-May-97 15:46:00 +ANIM-AVI
     204     156 23.5% 10-May-97 15:46:00 +ANIM-FLI
     204     150 26.4% 10-May-97 15:46:00 +ANIM-IFF
     204     147 27.9% 10-May-97 15:46:00 +ANIM-MPEG
     192     143 25.5% 10-May-97 15:46:00 +ANIM-QT
     224     166 25.8% 10-May-97 15:46:00 +ASCII-AmigaGuide
     388     284 26.8% 10-May-97 15:46:00 +ASCII-REXX
     328     258 21.3% 10-May-97 15:46:02 +ASCII-Text
     376     273 27.3% 10-May-97 15:46:02 +Executable
     220     175 20.4% 10-May-97 15:46:02 +GFX-BMP
     316     246 22.1% 10-May-97 15:46:02 +GFX-DXF
     200     146 27.0% 10-May-97 15:46:02 +GFX-GIF
     196     152 22.4% 10-May-97 15:46:02 +GFX-IFF
     228     168 26.3% 10-May-97 15:46:02 +GFX-JPEG
     228     181 20.6% 10-May-97 15:46:02 +GFX-PCX
     204     144 29.4% 10-May-97 15:46:02 +GFX-TARGA
     236     179 24.1% 10-May-97 15:46:02 +GFX-TIFF
     204     153 25.0% 10-May-97 15:46:02 +Icon
     668     480 28.1% 10-May-97 15:46:02 +LINK-Datatypes
    1676    1074 35.9% 10-May-97 15:46:04 +MUSIC-Others
    2312    1339 42.0% 10-May-97 15:46:04 +MUSIC-PtkClones
    5904    3853 34.7% 10-May-97 15:46:04 +MUSIC-Synth
     524     389 25.7% 10-May-97 15:46:04 +MUSIC-Synth.cust
     196     146 25.5% 10-May-97 15:46:04 +PACKED-DMS
     244     165 32.3% 10-May-97 15:46:04 +PACKED-HotHelpText
     216     165 23.6% 10-May-97 15:46:04 +PACKED-LHA
     188     142 24.4% 10-May-97 15:46:04 +PACKED-LZX
     180     131 27.2% 10-May-97 15:46:04 +PACKED-XPK
     200     142 29.0% 10-May-97 15:46:04 +PACKED-ZIP
     192     152 20.8% 10-May-97 15:46:04 +SMPL-IFF
     576     373 35.2% 10-May-97 15:46:04 +SMPL-Others
       0       0  0.0% 11-May-97 13:42:28 +
     948     498 47.4% 11-May-97 14:25:42 +s.info
    4219    1674 60.3% 20-Apr-97 15:07:28 +xpkCyb.prefs
   14692    8112 44.7% 11-May-97 14:29:06 +XpkCybPrefs
   56278   21011 62.6% 11-May-97 14:36:14 +XpkCybPrefs.engl.guide
    1652     973 41.1% 11-May-97 14:25:42 +XpkCybPrefs.engl.guide.info
    1660    1066 35.7% 11-May-97 14:25:42 +XpkCybPrefs.info
    3858    1929 50.0% 11-May-97 14:38:02 +XpkCybPrefs.readme
    1854    1337 27.8% 11-May-97 14:25:42 +XpkCybPrefs.readme.info
-------- ------- ----- --------- --------
  118874   57577 51.5% 11-May-97 21:32:02   45 files
