The AROS Archives(anonymous IP: 3.149.229.253,331) 
 HomeRecentStatsSearchSubmitUploadsMirrorsContactInfoDisclaimerConfigAdmin
 Menu


 Categories

   o Audio (94)
   o Datatype (15)
   o Demo (46)
   o Development (242)
   o Document (61)
   o Driver (19)
   o Emulation (60)
   o Game (506)
   o Graphics (218)
   o Library (22)
   o Network (59)
   o Office (21)
   o Utility (242)
   o Video (18)

Total files: 1623

Full index file
Recent index file

Part of aros exec
 Readme for:  Utility » Shell » dtdesc.i386-aros.tar.gz

Dtdesc.i386-aros

Description: Tools to create and analyse datatype descriptions
Download: dtdesc.i386-aros.tar.gz       (TIPS: Use the right click menu if your browser takes you back here all the time)
Size: 12kb
Version: 1.0
Date: 23 Mar 10
Author: Joerg Dietrich
Submitter: Olivier Tigréat
Email: olivier tigreat/gmail com
Category: utility/shell
License: APL
Distribute: yes
FileID: 723
 
Comments: 0
Snapshots: 0
Videos: 0
Downloads: 112  (Current version)
112  (Accumulated)
Votes: 0 (0/0)  (30 days/7 days)

[Show comments] [Show snapshots] [Show videos] [Show content] [Replace file] 
Note from submitter: dtdesc sources are in AROS svn tree. It was compiled for
i386 using development toolchain on Debian.

Original readme follows:


dtdesc - The DataType Descriptor Tools

Here you have two tools to create and disassemble DataType descriptors.
DataType descriptors are those little files in Devs:DataTypes/ , which
are used by the DataType system to recognice the type of a file.
DataType descriptors are IFF-FORMs of type DTYP.
They contain different chunks. The most important are:

NAME : Name of the DataType, in most cases identical to the filename

FVER : Amiga-version-string (optional)

DTHD : DataTypeHeader The most important chunk.
       Contains a struct DataTypeHeader as descriped in <datatypes/datatypes.h>
       and the strings for this struct.

DTCD : Code-chunk This chunk contains executable code. So you can have
       a function to decide the type of a file.
       Because this is not portable to AROS, it is not supported by dtdesc.

For more informations see the header <datatypes/datatypes.h> .

examinedtdesc is used to disassemble an existing DataType descriptor.
It accepts as its only argument the filename of a DataType descriptor.
It outputs a DataType description suitable for createdtdesc (see below)
to stdout. This DataType description is an ASCII-file, for details see
the file FORMAT .

createdtdesc is a tool to create a DataType descriptor.
It has one required argument: the filename of a DataType description (*.dtd
file).
Optional with the "-o" switch you can define the Name of the output
DataType descriptor.
When no output-name is given, the name for the Datatype descriptor is taken
from the "Name" keyword from the Datatype description. The resulting
Datatype descriptor is placed in the current directory.

Yes I know my naming convention is a bit confusing, come with better names!


























Copyright © 2005 - 2024 The AROS Archives All Rights Reserved