Author Topic: [TIP] testing themes?  (Read 9671 times)

0 Members and 1 Guest are viewing this topic.

samers94

  • Entrant
  • Posts: 2
[TIP] testing themes?
« on: July 18, 2010, 07:44:56 PM »
Is there any way for testing themes during development cuz I'm designing a new theme?

Moderator Edit: Renamed title with [TIP] prefix and change topic icon to a light bulb.
« Last Edit: September 02, 2010, 08:47:16 PM by Blackosx »

Blackosx

  • Forum Moderator
  • Posts: 1150
Re: testing themes?
« Reply #1 on: July 19, 2010, 08:45:00 AM »
Hi samers94

Yes, you can use a VM.  I use VMWare Fusion v3.0.0 and here's how to do it. Thanks goes to Zef for originally showing me how to do this.

Make a new folder on the desktop named themetest and then add in to it Chameleon's cdboot file, a new folder named Extra then inside the Extra folder, make a new folder named Themes.

In the Themes folder add the Theme folder containing your new theme, and you also need to add the Default theme, which is needed or else when running this you'll only see the famous EBIOS read error: Device timeout error instead of your lovely theme.


Open TextEdit, or another text editor on your Mac, copy and paste the following in to it and save it with a name of org.chameleon.Boot.plist (this was formerly com.apple.Boot.plist). Add the Theme key/string to point Chameleon to your new theme and then save it in to the Extra folder. Note: in this file, the name of the theme is to be the name of the theme folder containing the theme you want to test.

Code: [Select]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Timeout</key>
<string>5</string>
<key>Theme</key>
<string>Blackosx_Switch_Theme</string>
</dict>
</plist>

Your folder will look like this:
UPDATE: The use of com.apple.Boot.plist is now deprecated and org.chameleon.Boot.plist is now used.


Then in terminal, cd to the desktop and run a command to make your themetest folder in to a bootable .iso.

Code: [Select]
cd ~/Desktop
sudo hdiutil makehybrid -o themetest.iso themetest/ -iso -hfs -joliet -eltorito-boot themetest/cdboot -no-emul-boot -hfs-volume-name "THEME_TEST" -joliet-volume-name "THEME_TEST"

You'll end up with a themetest.iso on your desktop which you can open in a VM.

From within WMWare Fusion, I use the following steps:
• Create a new virtual machine
• Click 'continue without disc'
• Click 'use operating system installation disc image file', and select the themetest.iso
• Continue
• Choose operating system - leave at default which is Linux / Ubuntu
• Click Continue and Finish
• Give it a name or just accept the default
• And voila!.. Chameleon



You can now use this to test positioning and placement of images, the menu and the bootprompt. Though sadly you won't be able to see all devices icons for different drives as VMWare only thinks you have a cdrom attached and hence Chameleon will only show your device_cdrom graphic and the device_selection graphic.
« Last Edit: June 08, 2012, 09:02:38 AM by Blackosx »
10.10.5 / 10.11 GM1 | Asus Maximum IV Gene-Z | i7-2600 3.40GHz | 4GB | Radeon 5770 1GB

Xeikon

  • Observer
  • Posts: 12
Re: [TIP] testing themes?
« Reply #2 on: January 14, 2011, 03:05:49 AM »
Hello Blackosx: I think that you have the knowledge to help me with my problem. I get this  famous, as you call them, errors when my External Hard drive is connected:

- EBIOS read error: Device timeout
- Block 0x0 Sectors 0

Can you please review my post in this same forum and give me a hand to solve it ???? Here´s the post:

http://forum.voodooprojects.org/index.php/topic,1792.msg9326.html#msg9326

Your help will be very much appreciated by me and some other friends that have the same problem.

Thank you so much already,

Xeikon

Mod Edit: As this question was asked more than once, replies are being posted to the original topic: http://forum.voodooprojects.org/index.php/topic,1792.msg9326.html#msg9326
« Last Edit: January 14, 2011, 12:20:10 PM by Blackosx »

Enzo

  • Resident
  • Posts: 256
Re: [TIP] testing themes?
« Reply #3 on: October 25, 2013, 11:27:06 PM »
Hmm, why on earth is this no longer working for me =/. I get Error: GUI: could not open default/background.png.

Been a while, but I didn't change anything lol.