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

Quick and easy editing of .rsrc files with ResEdit Apps

I found this little tidbit in ArsTechnica's review of OS X 10.0, so they deserve the credit.

Want to edit a Mac OS X system resource file in ".rsrc" format? The problem is that ResEdit only works on the resource fork, while all the resources in the system ".rsrc" files are stuffed into the data fork. Well, Mac OS X comes with a built-in method for moving resources back and forth between resource and data forks. This works with all versions of Mac OS X.


 % touch ResourceFile
 % cp Localized.rsrc ResourceFile/rsrc
 % open -a Resedit ResourceFile
Do your thing with Resedit, save, and reverse the process...

 % cp ResourceFile/rsrc Localized.rsrc

And there you have it!

    •    
  • Currently 2.33 / 5
  • 1
  • 2
  • 3
  • 4
  • 5
  (3 votes cast)
 
[33,208 views]  

Quick and easy editing of .rsrc files with ResEdit | 5 comments | Create New Account
Click here to return to the 'Quick and easy editing of .rsrc files with ResEdit' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Quick and easy editing of .rsrc files with ResEdit
Authored by: LC on Dec 02, '03 12:06:03PM
And when you want to more clearly see , can use the full name (..namedfork) over the shortcut (/rsrc) ...
[xyz:/foo] abc% ls -l */{rsrc,data} 
-rw-r--r--  1 abc  admin  878  2 Dec 08:38 ResourceFile/rsrc
[xyz:/foo] abc% ls -l */..namedfork/{rsrc,data}
-rw-r--r--  1 abc  admin    0  2 Dec 08:38 ResourceFile/..namedfork/data
-rw-r--r--  1 abc  admin  878  2 Dec 08:38 ResourceFile/..namedfork/rsrc
This is only supported by HFS+ filesystems, right? Larry.

[ Reply to This | # ]
Rez and DeRez
Authored by: ber on Dec 02, '03 01:29:06PM

Check out /Developer/Tools/Rez and DeRez also. I wish I knew of a resedit for OS X.



[ Reply to This | # ]
Rez and DeRez
Authored by: Tom Robinson on Dec 02, '03 01:45:17PM

There's always Resorcerer, but it's US$256!



[ Reply to This | # ]
Rez and DeRez
Authored by: andyinindy on Feb 06, '04 12:05:29PM
Quick and easy editing of .rsrc files with ResEdit
Authored by: JJCortes on Dec 03, '03 08:48:17AM

Really, someones like use the terminal just for the pleasure to use it. Go to this page :
http://homepage.mac.com/dmaclach/FileSharing5.html
Download QuickConvert and you will have a faster way to transform files with rsrc in data fork to resource fork and vice versa.
It's less an Unix way to operate but it's more Mac look and feel. ;-)



[ Reply to This | # ]