home *** CD-ROM | disk | FTP | other *** search
-
- ReDMS v1.0 by Shawn McNeece
- V1.1 - 12-31-92
- ~~~~~~~~~~~~~~~~~~~~~~~~~~
-
- V1.1 Fixes the bug with DMS 1.53 Turbo archives.
- This is the only official version/fix. This version
- was tested on well over 300 DMS files.
-
- You must be using DMS 1.53 for this program to work.
- DMS 1.53 should be compatible with archives created
- with v1.11.
-
- This Arexx program will examine a DMS archive, and
- recompress it, if it was compressed with one of the
- following modes: NONE, SIMPLE, QUICK and MEDIUM. It
- should not reprocess any others as of this release.
- This will save atleast 10% "dms" disk space. In some
- cases
- I've gained as much as 50% better compression than
- the original. The 3.5 minutes it takes to recompress
- the file is well worth it to me.. This is the avg
- time it takes to recompress an archive with my Amiga
- 3000. BTW, I now only use HSCHK to add text to dms
- files.
-
- To install this you need to edit your Xdms2dms file to
- look something like:
-
- ---- Start Cut here ----
-
- .KEY NEWN,PATHF,FN
- .BRA {
- .KET }
-
- ;the .key means to get options from the command line.
- ;they are placed into the variables following it.
- ;the .BRA and .KET redfine the normal bracket chars to { and }.
- ;see your AmigaDos Manual.
-
- failat 40
- ;set script to a level that wont abort so easily.
-
- changetaskpri -1
- ;lower task priority of programs so they dont take over system
-
- stripper {PATHF}
- ;you must strip all dms texts on file or DMS may crash when
- ;repacking
-
- ;failat 9
- ;reset failure level
-
- ReDMS {PATHF} {FN}
- ;run the Arexx program ReDMS
- ;make sure the script bit of REDMS is on if you are using WB2.0
- ;to set the script bit use type in shell "protect ReDMS +S"
- ;and you wont need to use the command 'RX' to run Arexx programs.
-
- ;hschk -b {PATHF}
- ;re add your text if wanted. If not delete above line.
-
- ---- End Cut here ----
-
- Be warned that this could crash on you once in awhile.
- In 400 dms conversions this program crashed twice.
- I dont know why. The archives were not corrupt. But
- it crashed my machine hard. It was not my program.
- But DMS 1.11 did not like something and puked.
- If it does crash, it should leave the original
- archive intact. And it may leave a ????tmp.dms
- file in the current directory.
- In further testing I found it crashed trying to
- re-compress DMS texts.. Simple solution, strip ALL
- dms texts, recompress then add your text again.
- Also you need PIPE: mounted..But most of you should
- have this done by now.
-
- Avg percentage of byte savings per compression mode.
- NONE.....30%
- QUICK....25%
- SIMPLE...20%
- MEDIUM...5-10%
-
- These were just averages as I watched them recompress.
- Your results will differ. But all in all, who does not
- need more diskspace? It will also compare the new archive
- against the old, and in rare circumstances the older
- compression will have been better. It will then delete
- the new archive and keep the old one.
-
- What I did to convert these files was use the TR command
- on all of the DMS files online. Go to your nearest udbase
- containing dms files and type TR x, where x is the file
- number to re-process. If you did not run Control in quiet
- mode, then you should be able to watch the shell/cli that
- Control was run from, and watch the re-processing of files.
- You dont leave your shell open?? Well I suggest you quit
- using WorkBench, and use the Shell. It saves ALOT of memory
- not loading Workbench. Anyways after you re-transform a few
- dms files, and your sure the program is working. Use a batch
- re-transform command such as:
-
- TR '.dms'!
-
- Also incase you did not know, use 'Control v' to run
- CNet in verbose mode.
-
- Also I suggest NOT Transforming files after the
- upload. But doing it during maint. Any sysop dumb
- enough to make a user wait 4 minutes to transform
- a dms file should be hung.
-
- Again, another USEFUL util for CNet!
- BTW it took me a weekend to re-process about 400
- DMS files. So be prepared! But I would say that
- gives this program a good beta-test. And to me the
- 7 Megs I gained was worth it.
-
- And for people wanting to learn how to use their Amiga, I've
- commented the Arexx source code and the Xdms2dms Amiga-DOS script!
-