Jump to content
6 posts in this topic

Recommended Posts

I am getting my MacBook PRO on monday and would like to be able to rip out a lot of the PPC code in some universal binaries (like Opera 9). I read somewhere that there is a utility that takes care of removing the PPC code from unibins. Did some searching around and couldnt find it.

 

thanks in advanced

Link to comment
https://www.insanelymac.com/forum/topic/12426-ppc-code-striper/
Share on other sites

I suggest you only trim the fat off the 3rd party applications. If you decide to trim the ones that come default with the OS, MS, or Adobe, chances are one or two of those applications will break. Try running a search on something like "delocalizer". It will save you a lot of space if you only use a certain language. Please do heed the warnings about using these types of utilities. They will break some systems.

stripping ppc from your entire OS partition will break your install. i know, i did it, even though i knew better. :P

 

i do however strip many of the applications in CoreServices.

 

Dock.app Finder.app SystemUIServer.app etc.

 

for system files like that it is a good idea to strip manually, and making a backup of the files. if worse comes to worse, you can boot into safemode and replace them if you don't get to GUI.

 

example...

 

ditto --rsrc --arch i386 Finder.app Finder.app.i386 -- that produces a file called Finder.app.i386

 

mv Finder.app Finder.ppc -- backs up your original Finder.app

 

rm Finder.app -- deletes your original Finder.app

 

cp Finder.app.i386 Finder.app -- copies Finder.app.i386 to Finder.app

 

you'll end up with three files. Finder.app.i386, Finder.ppc and Finder.app -- which is now Intel.

 

when i first did this i was sure Finder was peppier, i'm pretty sure now that i was just high off stripping something. :( hey, free high.

stripping large unibin applications might have some speed effect on slower computers. i really have no idea.

 

along with deleting languages, help files, and misc others, it does significantly reduce file size though. below, well stripped iTunes. (i don't have an iPod, so didn't need iTunes Helper)

 

strippingitunes7sz.jpg

I don't expect any perceivable performance improvements from stripping PPC code off UniBin. The OS would only choose the 'right' code for the platform and the 'other' code would not be touched. And you lose the ability to run the app in Rosetta in case of compatibility issues.

 

So while it's possible, my thought is, I guess this strictly for those who need every bit of space. In which case, using it with DeLocalizer would seem to be the logical way to go.

×
×
  • Create New...