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

10.5: How to update raw.plist modifications in 10.5 System 10.5
All the previously hinted changes to the Raw.plist file will still work in 10.5, with two little modifications:
  1. Raw.plist has moved to /System » Library » CoreServices » RawCamera.bundle » Contents » Resources/.
  2. Mac OS X 10.5 hashes many resource files and checks the hash to make sure the resource is intact before accepting it. So, after you've made your changes to Raw.plist and saved, you'll need to run the following command in the terminal:

    openssl dgst -sha1 /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/Raw.plist

    This will print out the new hash you need, which you can then put into /System » Library » CoreServices » RawCamera.bundle » Contents » CodeResources. This file is a standard XML Property List, and has the various hashes entered in it as data.
Read on for the details on how to modify this file...

The absolute easiest way to get the has into this file is using Property List Editor (which is part of the Developer Tools install) to just paste in the hex string that you got out of the openssl digest. But if you don't have Property List Editor, you aren't out of luck.

Go ahead and open CodeResources in a text editor and find the hash object for Raw.plist. Now, the catch is, you can't just paste in the key you got out of openssl before, because data objects are base64 encoded before being saved to XML property list files. So, you'll need to use openssl to do a base64 encode as well. You can combine this with the above command into one giant command that looks like this:

openssl dgst -sha1 -binary /System/Library/CoreServices/RawCamera.bundle/Contents/Resources/Raw.plist | openssl enc -base64

Note the extra -binary flag to openssl dgst...

[robg adds: I haven't tested this one.]
  • Currently 3.60 / 5
  You rated: 5 / 5 (5 votes cast)

10.5: How to update raw.plist modifications in 10.5 | 1 comments | Create New Account
Click here to return to the '10.5: How to update raw.plist modifications in 10.5' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Authored by: arcticmac on Nov 07, '07 09:06:09AM

So, I submitted this hint (before I got an account), and it turns out I made a mistake when testing it (I opened one of three JPEGs in a folder full of RAW images, so I thought it worked), and I still haven't worked out how to do this correctly.

[ Reply to This | # ]