Support and General Use > Theming and Appearance Customization
Why is the "???" file format tag not available for .ICONS file?
(1/1)
Reece:
So, when I am doing file type colors, and I wan't a color for unrecognized files I just put "???" as the file type, and it colors each unknown file that color.
I also wan't to do the same with icons. I wan't a specific icon to represent unidentified file formats. But it doesn't work.
I looked it up in the icon page of the wiki and it says nothing about being able to use the "???" format tag.
Was this an overlook? Or was it not implemented by choice?
[Saint]:
The best I can offer you is this.
It is an alphabetically sorted list of pretty much every file extension you're going to be likely to encounter on a Rockboxed device, which I created for my own uses many moons ago. I simply stripped from it my custom icon assignments so you can do as you please with it.
Remember 0-31 for the viewers icons, and *0-*32 for the main icon set and remote icon set, - for "no icon".
The way the .icons file works doesn't allow for
--- Code: ---".?", ".??", or ".???"
--- End code ---
nor
--- Code: ---".*", ".**", or ".***"
--- End code ---
to be treated as unknowns, but rather, it assumes them to be the literal extension.
Edit this file as you desire, remember it must be saved in the /.rockbox/icons/ directory as ".icons" to function, I will more than likely put it on the wiki at some point as a base for others to do the same. I hope this saves you some time and hassle. I am sorry it doesn't work the way you want it to.
[Saint]
JdGordon:
we could add an "unknown filetype" pretty easily, but noone has asked for it before
JdGordon:
hmm, had a quick look and filetypes are not handled very nicely, so adding a fallback for unknown is annoyingly complicated.
JdGordon:
OK, I lied.... use ??? in .icons and viewers.confg for all unsupported filetypes
Navigation
[0] Message Index
Go to full version