English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 20 October 2020, 16:10   #1
Crazy C
Registered User
 
Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 47
Posts: 70
What is needed for 'AddDataTypes' to work?

In my Startup-Sequence I use 'AddDataTypes' command and it fails return code 20.

What has to be done to get it working?

I have:

Assign LIBS: SYS:Classes ADD
AddDataTypes REFRESH QUIET

In Sys:Classes/DataTypes are .datatype Files, for example 'amigaguide.datatype'

In Sysevs/DataTypes are
AmigaGuide, ILBM, 8SVX etc.

In C is AddDataTypes command, in LIBS are datatypes.library, amigaguide.library etc.

What do I wrong?
Crazy C is offline  
Old 20 October 2020, 16:13   #2
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
There are 2 files for each datatype. One is the actual code and the other is the type recognition. The classes are the code and devs:datatypes is the recognizers. Datatypes.library is the library that calls the datatypes and looks up the filetypes. Amigaguide.library is left over from OS2 before there was a datatype.

Remove AddDatatypes from your startup-sequence and it should just work. It's only used to refresh datatypes after one has been added or removed.

Last edited by Samurai_Crow; 20 October 2020 at 16:22.
Samurai_Crow is offline  
Old 20 October 2020, 16:38   #3
Crazy C
Registered User
 
Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 47
Posts: 70
I found the problem:

My AddDataTypes command is 39.2 and just doesn't report that the iffparse.library is missing.

I found AddDataTypes version 45.2 and used it instead and it opens a requester telling the iffparse.library is missing.

Copying it into the libs directory makes both versions of AddDataTypes (39.2/40.1) work.
Crazy C is offline  
Old 20 October 2020, 16:58   #4
Crazy C
Registered User
 
Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 47
Posts: 70
Now this:
Using multiview to display any *.guide file leads to this error message: 'Unknown data type for ...'
I have copied the amigaguide.library into libs, but the same error message.
Crazy C is offline  
Old 20 October 2020, 17:02   #5
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
What's in classes:datatypes/ ?
Samurai_Crow is offline  
Old 20 October 2020, 17:11   #6
Crazy C
Registered User
 
Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 47
Posts: 70
There are .datatype files, 'amigaguide.datatype', too.
In Devs the 'AmigaGuide' file and others.

I have downloaded 'AddDataTyps452.lha' from Aminet and used the descriptors in 'descr.lha' and the AddDataTypes (45.2) command from the archive.
My datatypes.library is 40.6.

I'm using Kickstart 3.1 and Workbench 3.1.

Maybe there's something missing in my Startup-Sequence?
Crazy C is offline  
Old 20 October 2020, 17:17   #7
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
What happens if you go back to the Amiga Workbench version of the descriptors and call "AddDatatypes refresh" ?
Samurai_Crow is offline  
Old 20 October 2020, 18:10   #8
Crazy C
Registered User
 
Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 47
Posts: 70
The same.
No matter what versions I use (datatypes.library, AddDataTypes, Descriptors, .datatype files, the same error message.
Crazy C is offline  
Old 20 October 2020, 18:33   #9
Samurai_Crow
Total Chaos forever!
 
Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 49
Posts: 2,186
I guess I'm stumped.
Samurai_Crow is offline  
Old 20 October 2020, 19:21   #10
Crazy C
Registered User
 
Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 47
Posts: 70
Me, too.

I didn't find any guide in the net, the Amiga PDF Manuals didn't really help.
Crazy C is offline  
Old 20 October 2020, 20:16   #11
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Ok, ADF "AmigaGuide v3.1.zip" in The Zone!

That's what you need for Datatypes / AmigaGuide to work.

If want another example with more Datatypes then look at my recent "MegaBall v4.0" .ADFs.
DamienD is offline  
Old 20 October 2020, 21:35   #12
Crazy C
Registered User
 
Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 47
Posts: 70
I can Not find the Zone url...
Using Tapatalk App I'm Not able to Join that group...
Crazy C is offline  
Old 20 October 2020, 23:39   #13
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Crazy C View Post
I can Not find the Zone url...
Using Tapatalk App I'm Not able to Join that group...
The Zone is in the EAB menu bar:



If you haven't already joined then do this: How do I get access to The Zone?.
DamienD is offline  
Old 21 October 2020, 12:50   #14
Crazy C
Registered User
 
Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 47
Posts: 70
Question Got the AmigaGuide ZIP file!

I saw there's the diskfont.library included in the ZIP file...

I recently learned that iffparse.library is needed by the AddDataTypes command (only version 45.2 of AddDataTypes from Aminet told me so, version 39.2 from Workbench 3.1 did not!). And adding diskfont.library to the libs folder, too, now Multiview displays the .guide files.

But: why does Multiview complain about an unknown data type for .guide files instead of telling me that the diskfont.library is just missing?
Crazy C is offline  
Old 21 October 2020, 12:57   #15
DamienD
Banned
 
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 47
Posts: 20,420
Quote:
Originally Posted by Crazy C View Post
But: why does Multiview complain about an unknown data type for .guide files instead of telling me that the diskfont.library is just missing?
I don't know... or care.

You have what you need now so
DamienD is offline  
Old 21 October 2020, 13:39   #16
meynaf
son of 68k
 
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 51
Posts: 5,323
Quote:
Originally Posted by Crazy C View Post
But: why does Multiview complain about an unknown data type for .guide files instead of telling me that the diskfont.library is just missing?
Probably because amigaguide.datatype has no way to tell why it can't do its job, so Multiview only sees a generic error. Yeah, the datatypes interface sucks a little bit
meynaf is online now  
Old 01 January 2021, 19:57   #17
Grex
Registered User
 
Join Date: May 2007
Location: Austria
Posts: 67
The usual way, experienced Amiga-users solve such problems is simply by using SnoopDos, or similar programs. You will find Snoopdos on Aminet. It will display all libraries, devices, and other system-stuff, that your Amiga tries to open internally. If the Os fails to open a certain file (iffparse, diskfont,...), you will see this in SnoopDos.
This is much easier than guessing around, what might be missing.
Grex is offline  
 


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Similar Threads
Thread Thread Starter Forum Replies Last Post
vasm Get Current Work Directory (Windows expert needed) phx Coders. General 13 15 October 2018 20:57
What's needed in the startup-sequence for PRELOAD to work? Gaula92 project.WHDLoad 6 16 September 2011 18:16
Needed? girv project.TOSEC (amiga only) 2 08 November 2006 18:33
Help needed getting dump to work! BlaCkAdDa project.SPS (was CAPS) 11 30 August 2006 05:59
a little help needed... Unregistered New to Emulation or Amiga scene 1 11 August 2002 20:31

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:50.

Top

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Page generated in 0.09189 seconds with 15 queries