[Touch HD Windows Mobile ROM Development] Buddy Count:
HowTos/ tutorials

HowTos/ tutorials

WM65 honeycomb icons:

For easy editing of honeycomb icons, directly on your HTC device, start "hComber" from tools folder in the start menu.

General info for the kitchen:

In "EXT\SHARED\MY_Packages\APP_AAA_Icons" you will find the package for the Windows mobile 6.5 honeycomb icons.

Under "files" you will find all the icons in PNG format (90x90 Pixel for WVGA and 24bit depth), keep the naming convention, when creating

new icons. ("Start_Icon_APPNAME.png") See your windows folder for the standard WM6.5 honeycomb icons (e.g. "Start_Icon_Solitaire.png")

for sample icons. Put all your new icons in "EXT\SHARED\MY_Packages\APP_AAA_Icons\files\".

After creating new icons, you will have to add them to the registry. Use notepad for editing "EXT\SHARED\MY_Packages\APP_AAA_Icons\0407\app.reg".

Normal apps:

You got a REG key for every "*.lnk" file in "Windows\Start menu\Programs\" folder. e.g.:

[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\AIM.lnk]

"Icon"="\\Windows\\Start_Icon_AIM.png"

I think it is self explaining, that you have to add such a key for your app/ icon, according to the sample.

Folders:

Same thing for apps in folders (e.g. Startmenu's "Utilities" folder), you just have to to add the folder before the "*.lnk" file in the registry.

Folders are created using "app.dat" for each language (e.g. "EXT\SHARED\MY_Packages\APP_AAA_Icons\0407\app.dat"). See the file

(e.g. with notepad), it is self explaining. Add a new line for each directory. This way you can create your own directories in the start menu

folder.

Icons for folders are applied through a reg entry for the directory itself, e.g.:

[HKEY_LOCAL_MACHINE\Security\Shell\StartInfo\Start\Multimedia]

"Icon"="\\Windows\\Start_Icon_Folder_Multimedia.png"

these are also in the language specific app.reg files. (e.g. "EXT\SHARED\MY_Packages\APP_AAA_Icons\0407\app.reg" as stated above.

System Icons:

System icons are mostly described by CPL numbers. Changes to them can be made by editing:

"EXT\SHARED\MY_Packages\APP_AAA_Icons\app.reg". I devided these from the other ones, because they are not language specific and all

packages and fixes made by me are supposed to be used in multilanguage kitchens.

By the "*.pngs" name you know which number belongs to which system shortcut. If you update a package in one of the folders of

"EXT\BlackStone\COMMON\" (e.g. "TouchFLO 3D") these numbers will change. So you will have to update

"EXT\SHARED\MY_Packages\APP_AAA_Icons\app.reg" as well.

The packages CPL number can be found out by editing the *.rgu" (registry file) or "app.reg" of the package you updated.

(e.g. "EXT\BlackStone\COMMON\BlackStone_External_Packages\TouchFlo_3_0_32567_2\938d4209-f7c2-4ea5-9b57-a338c0c645f8.rgu")

Manila program launcher icons:

Create a PNG:

Use you favorite image manipulating program (e.g. GIMP). The PNGs are 128 x 128 pixels and 24bit, no interlace.

Save it to "MyTools\Icon_Tools\CFC_Tool\_PNGs\APP_NAME.png" (no spaces in name)

Use CFC GUI to convert PNGs:

Up to date versions in this thread: http://xdaforums.com/showthread.php?t=437777

Browse to "MyTools\Icon_Tools\CFC_Tool" folder, run "cfc_gui.exe", press "F3" (or "File"=>"Select folder"), choose the path:

"MyTools\Icon_Tools\CFC_Tool\_QTCs". Choose "Tools"=>"Import from PNGs"=>"Yes", locate the folder, where your PNGs are stored.

After conversion has been done, you'll end up with some new files in "MyTools\Icon_Tools\CFC_Tool\_QTCs" folder. So you can close

"CFC GUI".

Compress the icon:

Start "MyTools\Icon_Tools\CFC_Tool\1_compress_to_cfc.bat". The new files are stored in "MyTools\Icon_Tools\CFC_Tool\_CFCs\"

Renaming the files:

Rename the files to the naming convention. (e.g.: "MPI_MY_AIM.qtc") by starting: "MyTools\Icon_Tools\CFC_Tool\2_rename_to_qtc.bat"

Correct last spelling issues like capitalisation.

Copying the files:

From your PC copy the compressed icon files in "MyTools\Icon_Tools\CFC_Tool\_CFCs\*.*" to your phone's storage card. To test the files

on your device open "Total Commander" from "Utilities" folder and copy them to "\windows" folder.

Testing the icons:

Start "PHM RegEdit" from "Utilities" folder. Navigate to: "[HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher]" The folders from

"0" till "29" contain the different apllications and the icon link. Choose the one you want to change. (e.g. "10:"IconPath"="windows\MPI_MY_ICQ.qtc"")

SOFT RESET!

Exporting for the kitchen:

When everything works fine, start "PHM RegEdit" again and export the: "[HKEY_LOCAL_MACHINE\Software\HTC\Manila\ProgramLauncher]" key

to your storage card.

Copy the CONTENT! of the reg file into app.reg file in "EXT\SHARED\MY_Packages_EXPERIMENTAL\APP_Manila_ProgramsTab_ON\0407\app.reg"

into the kitchen folder. (For german translations, 0409 for WWE)

Copy the icon files from "MyTools\Icon_Tools\CFC_Tool\_CFCs\*.*" to "EXT\SHARED\MY_Packages_EXPERIMENTAL\APP_Manila_ProgramsTab_ON\files\*.*"

Enable "APP_Manila_Rhodium_QTC" and "APP_Manila_ProgramsTab_ON" in ervius kitchen! You are ready to have cooked in manila program launcher icons! :D

Hints:

"OEM\BlackStone\0407\OperatorPkg\mxipupdate_oemoperators_102.provxml" contains the OEM standard links. (These were commented out

as sample, changes should be made to "EXT\SHARED\MY_Packages_EXPERIMENTAL\APP_Manila_ProgramsTab_ON\0407\app.reg") instead.