Rockbox.org home
Downloads
Release release
Dev builds dev builds
Extras extras
themes themes
Documentation
Manual manual
Wiki wiki
Device Status device status
Support
Forums forums
Mailing lists mailing lists
IRC IRC
Development
Bugs bugs
Patches patches
Dev Guide dev guide
Search



Donate

Rockbox Technical Forums


Login with username, password and session length
Home Help Search Staff List Login Register
News:

Rockbox Ports are now being developed for various digital audio players!

+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Why is the "???" file format tag not available for .ICONS file?
« previous next »
  • Print
Pages: [1]

Author Topic: Why is the "???" file format tag not available for .ICONS file?  (Read 1225 times)

Offline Reece

  • Member
  • *
  • Posts: 101
  • AKA, ZallCaTor
Why is the "???" file format tag not available for .ICONS file?
« on: January 14, 2013, 01:36:09 AM »
        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?
Logged
Reece, AKA; ZallCaTor
Devices: |Clip+|Fuze V2|

Offline [Saint]

  • Rockbox Expert
  • Member
  • *
  • Posts: 1662
  • Hayden Pearce
    • Google+
Re: Why is the "???" file format tag not available for .ICONS file?
« Reply #1 on: January 14, 2013, 04:01:49 AM »
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: [Select]
".?", ".??", or ".???"
nor
Code: [Select]
".*", ".**", or ".***" 
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]
« Last Edit: January 14, 2013, 04:07:27 AM by [Saint] »
Logged
Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Why is the "???" file format tag not available for .ICONS file?
« Reply #2 on: January 19, 2013, 05:22:14 AM »
we could add an "unknown filetype" pretty easily, but noone has asked for it before
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Why is the "???" file format tag not available for .ICONS file?
« Reply #3 on: January 20, 2013, 02:40:29 AM »
hmm, had a quick look and filetypes are not handled very nicely, so adding a fallback for unknown is annoyingly complicated.
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

Offline JdGordon

  • Member
  • *
  • Posts: 1817
  • Constantly breaking stuff
Re: Why is the "???" file format tag not available for .ICONS file?
« Reply #4 on: January 20, 2013, 06:43:17 AM »
OK, I lied.... use ??? in .icons and viewers.confg for all unsupported filetypes
Logged


Using PMs to annoy devs about bugs/patches is not a good way to have the issue looked at.

  • Print
Pages: [1]
« previous next »
+  Rockbox Technical Forums
|-+  Support and General Use
| |-+  Theming and Appearance Customization
| | |-+  Why is the "???" file format tag not available for .ICONS file?
 

  • SMF 2.0.17 | SMF © 2019, Simple Machines
  • Rockbox Privacy Policy
  • XHTML
  • RSS
  • WAP2

Page created in 0.075 seconds with 15 queries.