Deficons not working

A forum for general AmigaOS 4.x support questions that are not platform-specific
Post Reply
Benny
Posts: 59
Joined: Fri Nov 11, 2011 8:03 pm

Deficons not working

Post by Benny »

I am trying to set de default tool for every .lha and .7z file to sys:utilities/unarc in OS4.
Starting Unarc and selecting the .7z file works fine, but clicking the .7z file brings up the message: unkown datatype for file xxx.7z


For the 7z file XAD file I downloaded this: http://os4depot.net/index.php?function= ... xad_7z.lha and did this:
---------------
Instructions from the readme:
If you want a default icon, copy def_7zip.info to envarc:sys, and add the
following to DefIcons:

Filetype: 7zip
Match: 7zxBCxAF'x1C
--------------------------

Whats is going wrong ?
User avatar
broadblues
AmigaOS Core Developer
AmigaOS Core Developer
Posts: 600
Joined: Sat Jun 18, 2011 2:40 am
Location: Portsmouth, UK
Contact:

Re: Deficons not working

Post by broadblues »

Don't know, check a sample file in a hex editor to see if that MATCH is correct.

Possible match on the file extention instead?
Benny
Posts: 59
Joined: Fri Nov 11, 2011 8:03 pm

Re: Deficons not working

Post by Benny »

broadblues wrote:Don't know, check a sample file in a hex editor to see if that MATCH is correct.

Possible match on the file extention instead?
Thanks!

As .lha and .zip did not work either, I copied the original defcons.prefs from the OS4.1 cd back to my harddrive.

I then installed the deficon for the .7z xad and it worked immediatly on my .7z file.
Only the file extension is entered, not the 'match'.


I
Post Reply