Page 1 of 1

Deficons not working

Posted: Sun May 05, 2019 1:55 pm
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 ?

Re: Deficons not working

Posted: Sun May 05, 2019 8:54 pm
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?

Re: Deficons not working

Posted: Mon May 06, 2019 2:24 pm
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