Chapter 1 : What is a Theme in A780/E680i?
Requirement
1. File archiver utility that can packing/unpacking TAR and GZIP format. I use 7-zip. 7-Zip is free software distributed under the GNU LGPL. Look for detail and download 7-zip at www.7-zip.org
2. .mtf theme file for testing.
What is a Theme for A780/E680i? Theme is a package file of icon, button, scrollbar, menubar, statusbar, color, poweron/off animation. Theme file was create by tar and gzip and change extension from .tar.gz to .mtf. On Windows we can packing/unpacking TAR and GZIP format by 7-zip utility.
How to Extract Themes.
1. open mtf file with 7-zip until you found 2 folders ezxlocal and diska.
2. extract ezxlocal and diska folders.
After extract mtf file. Let see what is inside it.
1. Theme config file (Themename.dhm) is a normal text file that contain theme color palette and theme file path. Theme config files located at
/ezxlocal/download/appwrite/setup and
/ezxlocal/download/theme
2. iconres.ezx is a binary file that contain all icons in theme. the original iconres.ezx contain about 1900 icons (2.5MB).and locate at /usr/language/icon
but in theme that we want to created use only 200-300 icons and file size should not bigger than 1.0MB
3. skin file (.skn) is a binary file that contain PNG image that use for basic component in display like Button, Scrollbar, Checkbox, Radiobox, Menubar, Statusbar, and etc.
4. Power on/off animation is a GIF animate file that display after phone is on and before phone is off.
5. Ringtone for call altert or message alert.
** Power on/off animation and Ringtone are optional.
At this point you should see what was inside the mtf theme file. In the next chapter I 'll tell how to edit each component.