home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Acorn User 3
/
AUCD3.iso
/
airport
/
utils
/
gzip
/
!gzip
/
docs
/
!Help
/
!Help~
Wrap
Text File
|
1993-10-30
|
6KB
|
111 lines
================================ !Cruncher =================================
!Cruncher is written by ACE (Arc Angels).
The compression modules are written by John Kortink.
============================================================================
===== !Cruncher 1.08 =====
==========================
!Cruncher is a simple program to crunch/decrunch a file. It is different to
(eg) !Spark in the way that !Cruncher only crunches a file and !Spark
collects files into an archive. If it's useful to you depends on your own
use of it. It proved useful to me anyway.
===== Iconbar =====
You install !Cruncher by double clicking on its icon in the filer window. It
will appear on the Iconbar. When clicking with the menu button on the icon
at the Iconbar you have 3 options:
- Info, for more information about !Cruncher
- Action, to tell the application what he must do with a file
- Quit, to leave the !Cruncher application
====== The action option =====
You can choose between 3 options:
- Crunch, for crunching files (only if they are not crunched yet)
- Decrunch, for decrunching files (only if they are already crunched)
- Reverse, for crunching uncrunched files and decrunching crunched files
A crunched file is recognized by its filetype, currently &000. When
crunching a file all file types -except the crunched one and non-filetype
files (ie with load/execution address)- are crunched. If the destination
file (the crunched version) is bigger than or equal to the original file,
then the original file is written back to disk (a file is crunched from
memory to disk). The datestamp is retained here. When a file is crunched
successful, the datestamp is altered slightly, because the original filetype
has to be saved with it. This is acceptable because the difference with the
original datestamp will be at most 41 seconds. When a file is decrunched
its datestamp doesn't change. It will have the same datestamp as after
crunching. When a directory/application is dragged to the !Cruncher
application, all files inside that directory will be crunched/decrunched.
All directories inside the directory/application dragged are also scanned.
=====WARNING=====
The files !Boot, !Sprites and !Run files inside an application directory are
not allowed to be crunched. The reason is that the command *IconSprites
doesn't check if it's a sprite file or not. For example: If you crunched the
file $.Help.!Test.!Sprites you get the following situation: when you click
on the Help directory, the Filer searches for all applications inside the
Help directory. In this case he founds the application !Test. If the file
!Test.!Boot exists, the Filer will *Run that file. One of the commands in
the !Boot file will be *IconSprites <Obey$Dir>.!Sprites. When that command
is performed an 'Abort on data transfer' will occur (of course only when the
!Sprites file isn't a sprite file, but a crunched file for example).
Actually nothing happens and you will be able to view the contents of the
!Test directory as usual. But if the !Boot file doesn't exist, the Filer
will issue the command *IconSprites !Sprites (with full pathname of course)
at its own. You will get the error 'Abort on data transfer' again, but after
that you won't be able to do anything with the Filer! (all Filer windows
will disappear and the drives at the left-bottom won't react on clicks).
=====Future=====
An option that will be implemented in the near future is the possibility to
double click on a crunched icon. With the current version (1.08) only a beep
will be given. But in one of the next releases, the file will be decrunched
to <Wimp$Scrap> and a message to all tasks will be given that the user has
double clicked on file <Wimp$Scrap>. This will have the same effect as used
in !Spark.
============================================================================
===== Updates from !Cruncher =====
==================================
===== 1.00 (30-Jan-1991) =====
Original release.
===== 1.02 (31-Jan-1991) =====
Adapted the cruncher application to the Window Library. Also added the
option of decrunching a file. Filetype of decrunched file will become &FFD.
Fixed a bug which prevents from crunching large files. Also added the
hourglass.
===== 1.04 (01-Feb-1991) =====
Added the option to reverse the file (a crunched file will be decrunched and
a uncrunched file will be crunched). When a file is decrunched, the filetype
will become the lower 12 bits of the date stamp. When a file is crunched the
lower 12 bits of the datestamp will be set according to the original
filetype. The result is that the datestamp isn't correct anymore, although
the difference with the original datestamp will be +/- 41 seconds, which is
acceptable.
===== 1.07 (02-Feb-1991) =====
It's now possible to drag directories/applications to the cruncher. All
files (or other directories) inside the directory dragged, will be
crunched/decrunched/reversed. If a file after crunching is bigger than the
original, then the original file will be restored. Fixed a bug which caused
the wrong datestamp written back to the crunched file.
===== 1.08 (02-Feb-1991) =====
You won't be able to crunch !Boot, !Sprites and !Run files inside an
application directory. This is because a RISC OS bug. See notes above.
----------------------------------------------------------------------------
Please note that this application is made by ACE (Arc Angels) and that the
cruncher/decruncher is made by by John Kortink.
For comments/bugs or whatever you can contact me at:
Michel Fasen
Hertoglaan 47
5262 JM VUGHT
Holland