Welcome, Guest. Please login or register.

Author Topic: Two Datatypes folders  (Read 1041 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline punkyclownTopic starter

  • Sr. Member
  • ****
  • Join Date: Feb 2002
  • Posts: 262
    • Show only replies by punkyclown
Two Datatypes folders
« on: September 27, 2009, 02:34:20 AM »
Can someone explain to me why I have two Datatypes folders, one in the Devs folder and one in the Classes folder and how they work?  Is one over riding the other?  is one from
WorkBench 3.0 and one from WorkBench 3.1?

Thanks
 

Offline SamuraiCrow

  • Hero Member
  • *****
  • Join Date: Feb 2002
  • Posts: 2281
  • Country: us
  • Gender: Male
    • Show only replies by SamuraiCrow
Re: Two Datatypes folders
« Reply #1 on: September 27, 2009, 02:51:12 AM »
One detects the filetype, the other actually decodes the file into the native data format used by the operating system.  Both are required for a datatype to work correctly.
 

Offline chris

Re: Two Datatypes folders
« Reply #2 on: September 27, 2009, 05:39:13 PM »
SYS:Devs/DataTypes contains the descriptors (these are little IFF files which describe the file format and tell the system which DataTypes decoder to use.

The decoder libraries themselves are stored in SYS:Classes/DataTypes

For a single DataType decoder library, you may need any number of descriptors.  Some base class ones (eg. binary.datatype) don't need any, others may have more than one (if they can decode a few formats) - however usually it is one descriptor per decoder (.datatype file)
"Miracles we do at once, the impossible takes a little longer" - AJS on Hyperion
Avatar picture is Tabitha by Eric W Schwartz