Can't change the color associated with .md5

Hi everyone. Something is driving me crazy.

Somehow in an earlier life I set the color of .md5 files to red. So they are in red in DOpus but in the normal black color in windows explorer.

Now I can’t remove the red color and I have tried everywhere.

In Settings->File Types->System File Types->.md5, I see nothing set to red and If I override default font color to any color, it has no effect!

Where can I remove the red color? Unfortunately I don’t remember how I did it! Please help.

Sounds like you're looking in the right place if the .md5 type itself is coloured red. (Screenshot below of the File Colors tab.)

If you turn on the Attr (attributes) column, do the .md5 files have the 's' attribute set?

If so they are red because the attribute says they are 'system' files, not because they are .md5 files. You can turn off colouring of system files under Preferences - Display - Colors & Fonts (screenshot of that below as well).




Yes, I also thought maybe they are system files and turned off coloring of system files. But this didn't help and they are also not system files. They don't have S in the Attr.

This is why it's driving me crazy!

Your question prompted me to go set some colours for files. But rather than do it by the extension in System File Types I messed around in File Type Groups and set the colours for "Music".

Any chance that you did something similar in the distant past?

Might be a stupid suggestion, but you said you were going crazy. Sounds dangerous.

No it's not in the groups. How many ways are there to change the color of files?

Go to /dopusdata/FileTypes and do a search of the files to see if any of them contain the string MD5. The only places it could be coming from are the FileTypes, or the attribute-specific colour settings via Preferences.

Where is /dopusdata/FileTypes?

Just type that into an Opus window and it'll take you there. (Into the Location field if you have Find-As-You-Type turned off.)

Just type it into the path field in a Lister.

The only file it finds is md5file.oxr and inside it:

<?xml version="1.0" encoding="UTF-8"?>

<xml_registry_redirect hive="HKCR">







</xml_registry_redirect>

Maybe this is caused by a previous installation. Maybe I should look somewhere in the windows registry.

You could safely delete that file since there's nothing important in it, but that's obviously not where the colour is coming from.
If you want to do an export of your config and send it to me via PM i'll have a look and try to work it out.

Thank you. As soon as I learn how to do that, I will.

Just PMed

Ah, I see what's happening. The file colors are coming from the file /dopusdata/ConfigFiles/filecolors.oxc. Your MD5 filetype class has obviously been changed by something since the colours were set which means they don't appear in Filetypes, but the file extensions are still configured in the filecolors.oxc file. If you delete that file and restart Opus the problem should be fixed.

Ah. Thank you so much. It worked! :slight_smile:

Out of curiosity, does that mean that the color coding would not show up anywhere in "Settings"?

In other words, the user could not change it without delving into the entrails in the way that you suggested?

Correct, they're effectively "orphaned" settings because the registry key that links the extension (.md5) to the file class has been changed. I do consider this a bug of sorts so we'll fix it in a future version.