English Amiga Board


Go Back   English Amiga Board > Support > support.Other

 
 
Thread Tools
Old 20 October 2020, 17:10   #1
Crazy C
Registered User

Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 44
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, 17:13   #2
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 46
Posts: 1,587
Send a message via Yahoo to Samurai_Crow
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 17:22.
Samurai_Crow is offline  
Old 20 October 2020, 17:38   #3
Crazy C
Registered User

Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 44
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, 17:58   #4
Crazy C
Registered User

Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 44
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, 18:02   #5
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 46
Posts: 1,587
Send a message via Yahoo to Samurai_Crow
What's in classes:datatypes/ ?
Samurai_Crow is offline  
Old 20 October 2020, 18:11   #6
Crazy C
Registered User

Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 44
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, 18:17   #7
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 46
Posts: 1,587
Send a message via Yahoo to Samurai_Crow
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, 19:10   #8
Crazy C
Registered User

Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 44
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, 19:33   #9
Samurai_Crow
Total Chaos forever!

Samurai_Crow's Avatar
 
Join Date: Aug 2007
Location: Waterville, MN, USA
Age: 46
Posts: 1,587
Send a message via Yahoo to Samurai_Crow
I guess I'm stumped.
Samurai_Crow is offline  
Old 20 October 2020, 20:21   #10
Crazy C
Registered User

Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 44
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, 21:16   #11
DamienD
disengaged
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 44
Posts: 18,762
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, 22:35   #12
Crazy C
Registered User

Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 44
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 21 October 2020, 00:39   #13
DamienD
disengaged
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 44
Posts: 18,762
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, 13:50   #14
Crazy C
Registered User

Crazy C's Avatar
 
Join Date: Mar 2017
Location: Hannover / Germany
Age: 44
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, 13:57   #15
DamienD
disengaged
DamienD's Avatar
 
Join Date: Aug 2005
Location: London / Sydney
Age: 44
Posts: 18,762
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, 14:39   #16
meynaf
son of 68k
meynaf's Avatar
 
Join Date: Nov 2007
Location: Lyon / France
Age: 47
Posts: 3,986
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 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 21:57
What's needed in the startup-sequence for PRELOAD to work? Gaula92 project.WHDLoad 6 16 September 2011 19:16
Needed? girv project.TOSEC (amiga only) 2 08 November 2006 19:33
Help needed getting dump to work! BlaCkAdDa project.SPS (was CAPS) 11 30 August 2006 06:59
a little help needed... Unregistered New to Emulation or Amiga scene 1 11 August 2002 21: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 15:45.


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