Page 1 of 1

Is RSRC icon support possible?

Posted: Fri Oct 22, 2010 1:12 am
by budz45
Hi,

I recnetly Googled the search term 'ico and icns' into Google. I was merely trying to get an idea of the popularity of each format on each OS. Anyway, on a website I see someone wrote about another Mac OSX icon format extension .RSRC
Image
I managed to find this website which had a link to an actual RSRC file (picture above). Here is that download link:
http://hijinksinc.com/downloads/iTunes10.rsrc.zip
or
http://www.sendspace.com/file/4nafph

A discussion relating to viewing the format on Windows: Here

What do you think, can it work? Does it have specific pages i.e 16x - 256x +

Re: Is RSRC icon support possible?

Posted: Fri Oct 22, 2010 1:30 am
by XnTriq

Re: Is RSRC icon support possible?

Posted: Fri Oct 22, 2010 1:51 am
by budz45
Oh So is the RSRC an icon library like .ICL and not an icon file with pages?

Re: Is RSRC icon support possible?

Posted: Fri Oct 22, 2010 2:00 am
by XnTriq
<!-- Update //
Tony Smith (eHow: [url=http://www.ehow.com/facts_5545098_file-extension-rsrc.html]What is the File Extension .rsrc?[/url]) wrote:Rsrc, or a file with the.rsrc extension, is a Macintosh resource file. Rsrc files are used by the Mac OS to store system-related data in a compressed format that requires less memory usage.

History
Created by programmer Bruce Horn, resource fork (.rsrc) files are a type of virtual memory originally created for use in the pre-Macintosh Apple Lisa in 1978.

Later Refinements
In 1985, Apple implemented resource fork files for the first time in a Macintosh model. The Macintosh XL used more advanced .rsrc files to reduce the memory consumption of the Mac XL down to 128 kilobytes.

How They Work
A file stores data in its data fork (such as .jpg) but stores other file information, such as its embedded icon graphic, in a resource fork. Most .rsrc files are automatically hidden from the user's view.

Opening .RSRC File
You can locate and open .rsrc files with Apple's ResEdit software in Mac OS 9 or earlier versions, but in OS X you need to use Apple's Terminal application to view or modify an .rsrc file by appending "/..namedfork/rsrc" to your command.

RSRC Files and Windows
Because .rsrc files are limited to a hard-drive format that Windows doesn't support, there currently is no way to open an .rsrc file in Windows.

Warning
Rsrc is a developer file that shouldn't be opened by most users. Changing the structure of the resource fork can cause file data loss and recovery problems.
// Update -->

Re: Is RSRC icon support possible?

Posted: Fri Nov 12, 2010 10:12 am
by xnview
Do you have some other RSRC files?

Re: Is RSRC icon support possible?

Posted: Sun Nov 14, 2010 6:30 am
by XnTriq
xnview wrote:Do you have some other RSRC files?
I've also uploaded \XnView.app\Contents\Resources\appIcon.icns from XnView-macosx.zip to iConvert (Note: Options » Convert to rsrc icons is turned off by default): appIcon.rsrc

Re: Is RSRC icon support possible?

Posted: Mon Nov 15, 2010 8:30 pm
by XnTriq
Are these samples sufficient, Pierre? Do you want me to look for different ones?

BTW: appIcon.rsrc @ Sib Icon Editor:
Image appIcon.rsrc.zip
(41.77 KiB) Downloaded 2 times

Re: Is RSRC icon support possible?

Posted: Tue Nov 16, 2010 12:53 pm
by xnview
Your attachment is empty????

Re: Is RSRC icon support possible?

Posted: Tue Nov 16, 2010 5:30 pm
by XnTriq
xnview wrote:Your attachment is empty????
It was an RSRC with a fake .zip filename extension. (The forum doesn't accept .rsrc uploads.)

Image iappIcon.zip
(22.11 KiB) Downloaded 7 times

Re: Is RSRC icon support possible?

Posted: Wed Nov 17, 2010 9:33 am
by xnview
XnTriq wrote:
iappIcon.zip
hum, this files seems to be different, and can't be loaded on iConvert

Re: Is RSRC icon support possible?

Posted: Wed Nov 17, 2010 11:15 pm
by XnTriq
xnview wrote:hum, this files seems to be different, and can't be loaded on iConvert
I've just sent you a PM with a link to an archive containing a dozen RSRC samples from different sources.

Re: Is RSRC icon support possible?

Posted: Wed Dec 08, 2010 4:05 pm
by budz45
Pierre has done greatness again...

Preliminary support for RSRC has been added in MP 0.32 beta

Image

Mac users would love you for this, Thanks Pierre :P

Re: Is RSRC icon support possible?

Posted: Wed Dec 08, 2010 4:13 pm
by budz45
The next thing would be to add Icon Snapshot support for RSRC :)