View Single Post
 
Old 06-28-2010, 03:28 PM
generalmilk generalmilk is offline
Puma
 
Join Date: Apr 2008
Posts: 16
Chameleon Bootloader Themes Randomizer (Win/OSX)

There are so many cool chameleon themes, I can't stop at one. So I wrote several scripts to make them randomly show up at each boot. Work under windows (vbscript) and Mac OS X (applescript). You should add the script to your startup items, it will detect all theme folders in your Extra/Themes, and modify your Extra/com.apple.Boot.plist's Theme key at boot. So next time you start up your computer you will see the new theme.

For Both OS, I provides two scripts, one is for random themes(It must be different from last theme, so make sure you have more than one theme), and the other is for cycling themes in alphabetical order. I don't have a linux so I can't write scripts for it.

Setup:

1. Setup Chameleon and put at least two themes into Chameleon's Extra/Themes folder. Then backup your boot.plist!!!

2.
In Mac OS X:
Add random_themes.app or cycling_themes.app to your account's Login Items. It will assume your Themes and boot.plist in /Extra folder. If not, change the script accordingly.

In Windows:
1)You will need softwares such as MacDrive 8.0 to gain access to the HFS+ partition containing Chameleon.

2)Then you have to edit the beginning of the scripts (OSX_Disk_Label = "G:" ), change G: to your MacDrive disk label that containing Chameleon's Extra folder. At last, add random_themes.vbs or cycling_themes.vbs (or one of their shortcuts) to start->programs->startup.

3)I also made the scripts delayed for 20 seconds after boot, to wait for the loading of MacDrive. Change the value if you have problem running the scripts.

3. Enjoy different boot screens at each boot!

Known issues:

1. OS X and Windows have different alphabetical orders for file/folder listing. If you choose cycling themes in both win and osx, and you have both uppercase and lowercase theme names, it will not working properly. A simple workaround is making them all lowercase/uppercase, or add numbers in front of theme names to customize the cycling order.

2. Didn't do enough error checks, so make sure the paths of Themes and boot.plist are correct in the scripts, and the boot.plist must contain two lines: "<key>Theme</key>" and "<string>xxxx</string>" before use. And backup your boot.plist first!!!
Attached Files
File Type: zip ThemeRandomizer.zip (57.1 KB, 18 views)

CPU: AMD S754 Athlon 64 3000+ @2.4Ghz Motherboard: Biostar NF4 4x-A7 - AppleNForceATA 1.0.4 RAM: 2 x 1 GB DDR 400Mhz Audio: on-board ALC655 AppleAC97 for VMware by Zenith432 to get 44100hz - Creative Audigy 4 Value (SB400) Video: Gigabyte NV GT240 512Mb GD5 QE & CI from DSDT Ethernet: RTL8139 OS: SnowLeopard 10.6.4 + WinXP Pro + Win7 U
Glitches: About this mac crash. ALC655 with 44100hz not working fine. SB400 only have 48000hz option. (44100Hz is necessary for RDC to Windows)
Reply With Quote