Support and General Use > Plugins/Viewers
converting .swf files to .rock files???
Delta009:
--- Quote from: bluebrother on April 19, 2008, 06:06:02 AM ---
--- Quote from: Username:* on April 18, 2008, 08:22:07 PM ---i tried to save the file as a .rock file when downloading and it worked but when i tried to open it it sayed content not supported... this is intresting because windows defines it as a .ROCK file ???...
--- End quote ---
No. Windows doesn't "define" any file content. Windows only recognizes files based on file extensions, not based on their content. Thus, you can give any file any arbitrary extension and windows will recognize it as such -- for example, if you rename an executable (.exe) file to say .doc windows will think it's a word document now and try opening it with word (which obviously won't work). If windows doesn't know the file extension it will simply call the file type the same using upper letters -- for example, if you don't have word installed on your computer (and no other program that registered the extension .doc) windows will call word files simply "DOC file".
--- End quote ---
on Linux, file extensions don't have any importance : the system "scans" the files instead to determine which kind of data it is
so, changing the extension doesn't change the file itself : it just changes the way Windows handles it
an obvious example of this : if you rename a program from ".exe" to ".txt", the result won't be the source code of the original file, it will just fool the system into thinking that the file is a text document, which is false (just try it on your computer: it will just crash notepad...)
renaming a .swf file to .rock doesn't convert it automatically to a rockbox plugin (it would be too easy ;))
it's far more complex than that
and as far as i know, there are no flash players on rockbox
bluebrother:
--- Quote from: Delta009 on April 21, 2008, 05:09:21 PM ---on Linux, file extensions don't have any importance : the system "scans" the files instead to determine which kind of data it is so, changing the extension doesn't change the file itself
--- End quote ---
You can't say it that generally. It's not the system "scanning" files, it's the applications -- for example konqueror does so. But it's not required to do so -- it's just usually done that way. If you, in contrast, consider the "file open" dialog of KDE applications they usually filter based on file extension.
--- Quote ---if you rename a program from ".exe" to ".txt", the result won't be the source code of the original file, it will just fool the system into thinking that the file is a text document, which is false (just try it on your computer: it will just crash notepad...)
--- End quote ---
If the file isn't too large it's more likely it'll just show up as garbage ... ;)
Navigation
[0] Message Index
[*] Previous page
Go to full version