Commodore Amiga Retro

Please remember that text for pages was originally
written for my Amiga 1200 to read... so thin paragraphs

DOPUS TUTORIAL No 3

and more. Theme this time - `crunchers`

Its possible to configure Directory Opus to load specific applications by clicking on files in the directory windows.

For example, you could tell DOpus to automatically decompress any files with .DMS extension.

Alternatively you could have DOpus load your word processor whenever you clicked on files ending with a .WP extension. The files would then be automatically loaded into the relevant applications.

DMS decompression

As an example let`s set up DOpus to decompress DMS files in this way. DMS is the compression program used for cover disk programs. You`ll find it in the C directory of most `technical cover disks`. It`s no problem if you normally use a different compression system, as this example can easily be adapted to work with alternative programs.

DOpus doesn`t automatically understand the concept of a DMS file, so we need to tell it what to do. In this case we need to create a new file type, so select File Type from the Configure menu and click on New. The requester that appears lets you choose the type of operation that the new file type will carry out. In this case it`s an AmigaDOS Program.

From the next requester, click on the button to the right labelled Edit Class. Yet another requester pops up. In the middle of this one you`ll see a line called File Class and next to it another field called Class ID. Change the text in the first one to DMS Compression and the next one to DMS. Having done this click once on the word Match in text field below - it should turn red and the cursor will be placed in another text field below this that is now orange. In this field erase what`salready there and type in

*.dms

On the same line as this instruction you`ll see a magnifying glass. Click on this and in the new requester that appears click on the line that reads MatchName and finally press return.

FILE TYPES

What you`ve just done is set up DOpus to watch out for files of a certain type. In this case it`s now looking for filenames that end with the extension of .DMS. The operations we`re about to set up will only be carried out on these files. This allows us to perform selected operations on specific types of file and we can check for files in a wide variety of ways.

In this case the `*.dms` line you typed in was a file name pattern. You could type in any AmigaDOS wild card pattern here. The MatchName reference tells the program to take this pattern and compare with selected file names.

You`ll have noticed other types of comparison in the requester that appears when you click on the magnifying glass. From here you can tell the program to watch for files created on a specific date, time or that have comments and so on.

Now you can click on OK. Next you can define the operations that are acrried out, and what actions the user needs to do to perform them. In our case we want to invoke the DMS program when a DMS file is double clicked.

In the box next to the word Events.. click on the line that reads Action Double-Click. In the field below this box labelled Event Description type in something to the effect of `DMS files to DF0`. This text is just for your own notes so it doesn`t really make any difference to the actual operation.

We`ve now told Directory Opus that when ever you double click on a file it should check to see if the file name has .DMS at the end of it. If it does it can perform an operation we`re now going to specify.

Click on the New Button on the left-hand side, half way down the screen. A cursor will now appear in a text field just below this. Type in:

dms write {f}

Don`t press Return just yet. Instead click on the button to the left of this field., changing the operation type to AmigaDOS. Now in the box next to the word Flags move the scroll bar down and click on the line Output Window. You can finally press Return and click on the OK button.

All being well you should no see the windows we saw at the start, just before clicking on the New button. This time however you`ll see a new line added showing the new DMS file type.

Click on OK and then on the next OK button that appears. You`ll now be back in the main DOpus screen.

TRY IT OUT:

1: Copy a file with a .DMS extension to the RAM disk. 2: Now insert a blank disk to the floppy drive. Double click on the .DMS file. 3: A window will appear and up comes the DMS program which decompresses the file to the floppy disk.

Thats it, you`ve added the DMS file to DOpus.

Directory Opus Tutorial by Andy Leaning CU Amiga May 1995

THAT ADZ ~ ADF THANG:

I know there are many ways to do this but I have included below my method for converting ADZ to ADF... works for me.

To get ADZ to ADF, first take the ADZ file and place in a folder say..

work:a_folder/example.ADZ where `a_folder` is a folder in your volume named `work` and `example.ADZ` is your file which you want to convert to ADF format.

Now.. fire up your SHELL and at the prompt simply TYPE:

gzip -S.adz -d work:a_folder/example.adz

You need to `over-write` the example.adz file.

Then rename the example.adz as example.adf.

Then fire up the program `ADFBlitzer` and put in a floppy and choose write... you must choose write. Find the example.adf file and OK this and watch the floppy light go round. So if you aquire an ADZ file thats how you put it on a floppy.

To get an image of a disk you can use `yadi`. At the SHELL prompt simply type..

yadi r tst.dsk df0:

And this will place an image of the floppy in the drive in your Workbench partition and call it tst.dsk. Just rename it example.ADF and you can use ADFBlitzer to reverse the process.

Another great un-archiver or extractor is DeCruncherFace V1.1 by Andreas Wenk.. This copes with LHA, LZH, LZX, ZIP, DMS, ARJ, PP RUN, RAR and AUTO. A brilliant little application.

LINKS:

gzip

ADFBlitzer

yadi

Dface

THE CLIPBOARD... for copying text

Hi-lite text that you want to copy & then

`right amiga-c ` to copy &

`right amiga-v` to paste.

Or simply use PowerSnap.

DMS: To MASH a floppy that you have, into DMS format try this...

At the SHELL command type..

dms read (path)

In which (path) is whatever path you want to save the DMS file to...

For example.... if you have a folder on your Amiga where you want to create a dms file this would be the path say work:transfers

And if the DMS file you wanted to create was say `eg_file`, then, the command would be

dms read work:transfers/eg_file

Where `eg_file` is the dms file you want to create from a floppy in DF0:

You will need DMS in your `C` Folder and a floppy in your floppy drive.

OK I got my head round DMS now. Was very difficult..

dms read work:transfers/FILE all from the SHELL Just popped the floppy in df0: and out popped FILE.DMS in folder transfers on my Work partition.








scuzz site

If you can only see this CONTENT window
then click the image above for the full site

Last updated 07/10/06