Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Extracting the Images' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Extracting the Images
Authored by: _merlin on May 08, '01 09:01:51AM

The Music Player resources can't be read by Interface Builder because they are in Macintosh Resource Manager format, rather than NeXT nib format. You can't open them directly with ResEdit, either, as it looks at the resource fork of the file, while the Music Player resources are stored in the files' data forks.

The trick is to use a hex editor (HexEdit Carbon, available from VersionTracker, is my first choice) to transfer data from the data fork of the resource files to the resource fork of a new file. I've done this, isolated the images, alpha masks and fonts, and posted the results on one of my web sites. You will need Stuffit Expander (free from Aladdin Systems) to extract the archive, and ResEdit (free from Apple) to open the resource file. I've also included icon files (viewable with icns Browser or IconComposer), and a PDF of the window image and mask (viewable in Preview).

You can grab the archive from http://melba.vu.edu.au/~s3530650/download/MusicPlayerHack.hqx or e-mail me at vastheman@mac.com with any further queries.

Vasantha Crabb



[ Reply to This | # ]