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


Click here to return to the '10.6: Run old screen savers on Snow Leopard' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
10.6: Run old screen savers on Snow Leopard
Authored by: arcticmac on Nov 05, '10 08:09:01AM

Removing the 64-bit code from the binary seems like overkill - what if you sometime get a screensaver that's compiled *only* as 64-bit?

The comments (by VK and slippyd) in this hint suggest a safer way to accomplish the same thing:
http://hints.macworld.com/article.php?story=20100209053016662

If you felt really inspired, you could probably even modify the script to use the 64-bit version when the selected screensaver has it, and the 32-bit version otherwise.

Edited on Nov 05, '10 08:10:28AM by arcticmac


[ Reply to This | # ]
10.6: Run old screen savers on Snow Leopard
Authored by: melby.ruarus on Nov 05, '10 07:03:02PM

Screen savers that contain only 64bit code are rather unusual, though using a script could be a better solution in some cases

A quick way to accomplish this is as follows:

  • Open /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS
  • Rename ScreenSaverEngine to ScreenSaverEngineBinary - You may need to use the terminal for this:
    sudo mv /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngineBinary
  • Create a text file here named ScreenSaverEngine (note no extension) and paste in the following:
    
    #!/bin/bash
    
    arch -i386 /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngineBinary
    
  • Mark the script as executable (open terminal and type in sudo chmod +x /System/Library/Frameworks/ScreenSaver.framework/Versions/A/Resources/ScreenSaverEngine.app/Contents/MacOS/ScreenSaverEngine

Note, the reason we can hardcode the -i386 flag is because you can't be running 10.6 on a ppc machine in the first place.

Running the screensaver should now work without removing the x86_64 code from the binary



[ Reply to This | # ]
10.6: Run old screen savers on Snow Leopard
Authored by: melby.ruarus on Nov 05, '10 07:13:18PM

Whoops, didn't see, thats exactly what i had.



[ Reply to This | # ]