yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] poyensa:
Yes I still use WinMo 6.5, ninety percent of my time. So I wanted to try a weather widget for my personal use of all the great stuff already made for UCCW in my beloved WinMo + Co0kie Home Tab 2.0.

The target is to use all the icon files we all already have in our \SD\UltimateCustomClockWidget\weather\ in the home tab of HTC Sense 2.5. Something simple. I have not created any of the code, just use some lines already done by Co0kie Master and Genius rat_2665. I am not taking any credit of this widget, all credits & thanks goes to them, also to vineetksirohi for the incredible UCCW source of inspiration which make possible great creations in our devices, also credit to all the creators of the weather files so nice, and credit to JMHL for JMLMenuSense 1.65 used in this widget to easily select the folder where the files are stored, instead to do it through registry.

Installation

Install CHTwPoy9weather_v1.cab in device. Once activated it will display a blank box, just press on it to open the setting menu and select the folder where the weather icons are stored, save and exit and enjoy. Additionally can be displayed the temperature and weather condition, with the possibility to change the text font, color, size and position. The widget does not include any weather icon, so you need first to have them in your SD. Many can be found in XDA.

For uninstall be sure you have near the file 6639bcc4_manila (inside the zip attached) you may need to copy back to windows folder for CHT to work again.

How it works

I really dont think is many CHT users out there (any!?) so I make this very simple for my personal needs. The file weatherforhome.lua has been edited to write the temperature & condition in the registry, so the widget can later read it and display it. The widget does not contain any weather library, self update, etc, just use the existing information in HTC Sense weather tab.

About the selection of the folder with the UCCW weather icons, the version of JMLMenuSense I use cannot choose folders, so I choose the .png file and manually delete the file and leave the path with a \ at the end.

Once selected the folder it will automatically change to night icons after 21:00h and day icons after 9:00h.

This widget is working in my Leo + WM65 + CHT2.0 + CHTtweaks. It has not been deeply tested but it may work in your device as far as it can have HTCSense 2.5 + CHT2.0. If there is any body out there who wants to try I am here to help.

:cowboy:
[Windows Mobile Apps and Games] RoryB:
Very nice. Makes me wish I still had my Fuze.
[Windows Mobile Apps and Games] cocopuff:
IM HERE

I will test it Master poy and it is good to see u back my friend I was in hospital these couple of weeks so just getting back and thanks for all your hard work.

​

SKIN for Master Poy wonderful widgets Its just the day folder near future work on night folder.
[Windows Mobile Apps and Games] poyensa:
Aloha my friend, nice to see another zombie around. I hope your "vacation" in hospital was no big problems and you be completely recovered.

The problem with the graphics must be that some file is not present, or bug in the code. These files names are used in both default & night folders:

sunny.png

partly sunny.png

cloudy.png

clear.png

partly cloudy.png

snow.png

rain.png

storm.png

dunno.png

Not many, just a beginning. The code for the UCCW weather icons to be displayed is quite easy:

if Poy9WeatherEstate == 1 or Poy9WeatherEstate == 30 then
--weatherComponent = "SunComponentClipCharacter"
Poy9WeatherIcon:SetTexture(Poy9IconFolder .. "sunny.png")
elseif Poy9WeatherEstate == 2 or Poy9WeatherEstate == 5 or Poy9WeatherEstate == 3 then
--weatherComponent = "SunCloudComponentClipCharacter"
Poy9WeatherIcon:SetTexture(Poy9IconFolder .. "partly sunny.png")
elseif Poy9WeatherEstate == 4 or Poy9WeatherEstate >= 6 and Poy9WeatherEstate <= 11 or Poy9WeatherEstate >= 35 and Poy9WeatherEstate <= 36 or Poy9WeatherEstate == 38 then
--weatherComponent = "CloudyComponentClipCharacter"
Poy9WeatherIcon:SetTexture(Poy9IconFolder .. "cloudy.png")
elseif Poy9WeatherEstate == 33 then
--weatherComponent = "MoonComponentClipCharacter"
Poy9WeatherIcon:SetTexture(Poy9IconFolder .. "clear.png")
elseif Poy9WeatherEstate == 34 or Poy9WeatherEstate == 37 then
--weatherComponent = "MoonCloudComponentClipCharacter"
Poy9WeatherIcon:SetTexture(Poy9IconFolder .. "partly cloudy.png")
elseif Poy9WeatherEstate >= 19 and Poy9WeatherEstate <= 29 or Poy9WeatherEstate == 31 or Poy9WeatherEstate == 43 or Poy9WeatherEstate == 44 then
--weatherComponent = "SnowComponentClipCharacter"
Poy9WeatherIcon:SetTexture(Poy9IconFolder .. "snow.png")
elseif Poy9WeatherEstate >= 12 and Poy9WeatherEstate <= 14 or Poy9WeatherEstate == 18 or Poy9WeatherEstate == 39 or Poy9WeatherEstate == 40 then
--weatherComponent = "RainComponentClipCharacter"
Poy9WeatherIcon:SetTexture(Poy9IconFolder .. "rain.png")
elseif Poy9WeatherEstate >= 15 and Poy9WeatherEstate <= 17 or Poy9WeatherEstate == 41 or Poy9WeatherEstate == 42 then
--weatherComponent = "ThunderComponentClipCharacter"
Poy9WeatherIcon:SetTexture(Poy9IconFolder .. "storm.png")
elseif Poy9WeatherEstate == 32 then
--weatherComponent = "WindyComponentClipCharacter"
Poy9WeatherIcon:SetTexture(Poy9IconFolder .. "dunno.png")
end
end

Every weather estate has a number, this number is used to select the weather icon, and this number can be shown in the screen in test mode, so it helps to improve the assignation of icons. Also UCCW2.0 has a new weather icon list, some work is needed to use the new UCCW icon pack.
[Windows Mobile Apps and Games] cocopuff:
thanks poy

Master poy still having some problems should I try and put only those png file that u listed I tryed and path it into a folder with a lot more png files in it? Would that be my problem? cocopuff aka weather widget for dummies lol
[Windows Mobile Apps and Games] poyensa:
no problem to have more icons/files in the folder, but these listed are necessary to be in the weather folder & night folder, otherwise will show a white box when there is no icon associated to the weather state.

Also be sure the path to teh weather folder finish with a \
[Windows Mobile Apps and Games] n00bvn:
I followed the install. But when I open CHTTweaks, it said: there is no application associated with "CHTtweaks"

Seem that wm cannot open .xmu file?

how can i fix this?

Thanks!
[Windows Mobile Apps and Games] poyensa:
find JMLMenuSense and install it in device vers. v1.65
[Windows Mobile Apps and Games] cocopuff:
your amazing weather widget.

Master poy im enjoying your amazing new weather widget, trying my new skins to your widget and just have a slight problem with them I always have to manually go in a change day folder to the night folder can you help me my brother.:);)
[Windows Mobile Apps and Games] poyensa:
Yes i can. Will be nice to go back to WM :) may i update it to uccw 2.0?

sent from my time-machine-HD2 JB-PACman-nativeSD rom
[Windows Mobile Apps and Games] cocopuff:
thanks

thanks my brother I cant wait for u to updated to uccw 2.0 that would be great winmo fo lifz.
[Windows Mobile Apps and Games] poyensa:
CHTtweaks also available in in this rom:
[Windows Mobile Apps and Games] Tröger Marco:
lock button

Hi Friends! I will make the lock button transparent, one can help me?:confused:
[Windows Mobile Apps and Games] poyensa:
copy the file in windows folder accept overwrite and restart sense

ps.- rename it as cht_lock_small.png just in case it has some other name
[Windows Mobile Apps and Games] Tröger Marco:
Great thank you Poyensa.:good:
[Windows Mobile Apps and Games] poyensa:
I could extend the Pie Controls to the whole Sense (tested on manila 2.5.2021). This tweak is a small modification of the file manila.lua & manila.mode9 (285d005a_manila & 3a8e04af_manila). If any wants to test just copy the content of the zip to windows & restart Sense. Pie controls will appear in all sense tabs. It does not need Co0kie Home Tab to work.

To deactivate just copy back to windows your original files, that you have previously saved.

Also attaching the source code of the modified manila.lua

Still WIP needs to be finished the setting menu to customize icons, colors, links, maybe longpress, etc. At the moment I have power button linked to screenOff.exe -from end-key4.5 by johcos; recent apps linked to iManager.exe by antru, it have a nice effect to go from any app to other similar to android recent apps; home; camera; and people (third apps not provided). Suggestions for other links or any other feature is welcome.

All the script work is based on Dunc001's SimClock, and original idea from noname81 of course.
[Windows Mobile Apps and Games] RoryB:
Wow, really good work. Makes me sad I no longer have a WM device to mess with.
[Windows Mobile Apps and Games] poyensa:
hide flipclock line only works when transparent homeclok, otherwise it makes dissapear the time. I will fix it in v0.91.
[Windows Mobile Apps and Games] stonyhawk:
oke nice :p
[Windows Mobile Apps and Games] mike2nl:
Hi stonyhawk,

can you tell us which rom do you use. A stock ROM or a newer cooked one?
[Windows Mobile Apps and Games] poyensa:
UPDATE CHTtweaks.v0.91.beta

Thanks to the amazing work of Dunc001 in SimClock a lot of new possibilties are comming to the world of CHTwidgets. This version of CHTtweaks add the feature to easily change the texture of some elements of the homeclock using png files.

REQUIRES JMLMENUSENSE​

Just open CHTtweaks menu setting (CHTquicklink / CHTfreelink >> miscellaneous) and use JMLMenuSense explorer to find your favourite texture for the home analog clock, the numbers of the home flipclock and the colon (two dots). Initialy you can find them in the folder \Program Folder\CHTtweaks, but you can use any. You can always restore the defeult textures just deleting the texture path and restarting sense

Installation

1.- Uninstall previous verssion, but do not accept soft-resset. Copy the files included into the restore.CHT.original.rar to \windows folder and accept overwrite, then do a softresset.

2.- Install now JMLMenuSense.v1.60.cab (or higher) only in case you dont have installed previously. If you installed JMLMenuSense previously for CHTtweaks.v0.90 or any other CHTwidget no need to install it again

3.- Install CHTtweaks.v0.91.beta. You can access to it by quicklinks or freelinks>>miscellaneous

Features

Add two dots in the home clock between hours & minutes (colon)

Hide flipclock line in homeclock

Transparent home clock background & flipclock stacks

Transparent Home Music Widget

Transparent Home Title Bar

Access to CHTwidgets settings

Change color of all Sense Tab Titles

Use png files and change texture for home analog clock (files must be named **HomeAnalogClock.png)

Use png files and change texture for home digital clock numbers (files must be named **HomeClockNumbers.png)

Use png files and change texture for home clock colon (files must be named **Colon.png)

CHTScheduler

CHTtweaks is not fully integrated in CHTS yet, but CHTS saves the texture paths modded by CHTtweaks. So you can use CHTS to switch differents textures only if the texture still exist in your device. MichelDiamond is working on a full integration that allow to save also the texture files (only in \windows folder)

Credits & thanks

Its a very big list, because all this is like a path of knowledge. But a big percentage of this concrete CHTtweaks is done because the work of Dunc001. Also the png included in the cab (just as examples) I did find in this great XDA community, and have been done by _leciel_, MrBeOtP2, Santod040 & jdpl@. Also thanks for the tests done by BHS interceptor, lnando84 and the rest of the DreamTeam. Of course no CHTtweaks is possible without Co0kieMonster & MichelDiamond CHT2.0.0 & JMHL JMLMenuSense.

Download in first post

EDIT: With so many changes of home analog clock may be useful this set of clock hands good for any light-dark clockface :D
[Windows Mobile Apps and Games] mike2nl:
Hi poyensa,

very fine work at all, thank you.

I have done some tests and i am a little bit afraid about what was happend. After testing the tweaks on a TP2 and a HD2 with stock roms, i have a problem. All my previous installed Widgets are gone. I had installed on both phones the same 6 widgets. I have this allways for a testing procedure. These 6 widgets have a very personal note about colors for the very good theme from Nordpolcamper.

What is happend with the CHT widgets? Where they are?

I have read that this is working perfect with CHT V2.0 final. Interested in some new features i have downloaded and installed the tweaks. We have done today two more tests with some friends here from our city. They using CHT too, because my XDA promotion work ;), but they have the same issue.

Can you give us some advise or a solution how to solve this problem. Because i think i am not alone as a Stock ROM user.

Update:

tomorrow some dutch friends wil come to me to have the 1st Barbeque this year.

We expect around 23 degrees. Then we have two HD mini with different roms and

five HD2's for the next tests. All guys are very frequently users of XDA. This

will be the first XDA party this year. Let's have a lot of coding fun and Schnitzel :D...
[Windows Mobile Apps and Games] jdpl@:
Hi Maestro Poyensa,

I installed CHTtweaks.v0.91.beta and everything is working perfectly, all setting changes are done appropriately, I found nor bugs or conflict with other widgets so far, so nothing wrong to report :D

From my humble point of view, due to its simplicity, speed and effectiveness this CHT_Tweaks app will revolutionize the way people make mods and customizations.

Once again, Big Thanks for sharing another awesome work Amigo ;)

PS: when you have a second, please check you mailbox.
[Windows Mobile Apps and Games] poyensa:
Thanks Mike for the feedback. CHTtweaks is a beta development to explore new possibilties and experiment new things we find in CHTwidgets. Hopefully you will restore previous situation with CHTS and recover your lost widgets ;)

Anyway I can hardly think that CHTtweaks can interfere with any other widgtes, because its a very simple lua file and makes no changes in the CHT2.0.0 core, its just a simple CHT_AddonLink. The only small modification occurs in file 4B558519_manila to control homeclock background transparency from outside CHT core, but you can easily reload the original 4B558519_manila file attached (into restore.CHT.original.rar) without any change the others CHTtweaks features.

Have a nice BBQ!!! :)
[Windows Mobile Apps and Games] BHS Interceptor:
Hola amigo, you know I like "Tweaks" and also am aware of it beeing a beta :D

I do agree, it´s a great tool and can serve as you write, to explore and mod some of the "hidden" options. Hopefully part of this will also be implemeted in future options/release for CHT Editor. As you also know, I´ve been very involved with CHTS and mostly theme & widget switching and that´s precisely why I think your app should not be "ruled" as a widget, but as part of CHT Editor or as an addon for CHT Editor rather than an Addon Widget for the Home Tab. Especially regarding the way CHTS and the registry works. I know MD is looking into how to save and switch all these changes, but for "Tweaks" to be really effective & reliable, it would need to be installed at the very beginning and would also have to be present & active throughout ALL layouts, profiles and themes AND precisley here could be the conflict with one of CHTS most basic and important features/functions: the "Life Saver". Also I would like to remember, that not all devices share the same manila versions, meaning that mods for other tabs besides the Home tab can have undesired consequences...

Some issues from HD2 (specs in sig) of former version (will test new version soon, once finished with other requested widget tests)

Minor Issues:

- On Lockscreen showing & enabeling of keyboard making LS not reliable

- Apearing and disapearing "Background" of Analog Clock!!!

- Sometimes aplied changes are not sense restart resitent

- Sometimes aplied changes would not take effect

Mayor issues:

- file 4B558519_manila is not beeing saved by CHTS, so if trying to switch back to a save layout or profile, this file is not beeing replaced

- registry changes remain and issues mentioned above where still there after uninstall - solved partially by using the original file provided by cht

Other issues:

- as commented in Beta Group and PM

Screenshots and issues on HD Mini

- Hidding background resulting in FlipClock unusable (pics 177-179)

- Enabeling Background did not reestablish FlipClock properly (181-184)

- No other changes made, since I know that the HD Mini has other peculiarities regarding other tabs (180)

continues...
[Windows Mobile Apps and Games] BHS Interceptor:
Tweaks & HD Mini part 2

continued from post before...

Reestablished original file after uninstall of CHT Tweaks and fresh install

- Starting Setup (185 - 186)

- Error Message when applying change in CHT Editor (187 - 189)

- Transparent HomeTitleBar, enabeling colon and hiding FlipClock line (190 - 193)

Final thoughts about the tests, well just had to do another HR, but this time because I didn´t want to spend more time chasing the bug. Fact is, I couldn´t re-install some other widgets. Usually I have always been able to, so I´m not doing an HR because I couldn´t recover my Sense, which I could, but because I could not repeat the install of some widgets. My suspicion lies within either CHT Tweaks, or JMLMenuSenseV1.60. I´m not sure, but I guess it could be something around/within the Tweaks that generates conflicts, even after uninstal, because when using MenuSense for the RSS Full config alone, no issues, but as soon as "Tweaks" is beeing used, booooom - and some of the changes can not be reverted ;)

Hope you find this info usefull since I haven´t got any feedback to my PMs :)

And please advice HD Mini users that this "Tweaks" are not compatible for HD Mini with CHT :(
[Windows Mobile Apps and Games] poyensa:
Thanks a lot Ber, what a report!

Regarding keyboard on CHT lockscreen, this randomly happens to me with and without CHTtweaks installed, I think its related to have some programs opened at the same time (its more frequent to me when I have opera opened and go to LS) I would say its a problem of CHTlockscreen.

Regarding changes are non residets, this is not implemented yet. I am trying to give some 'memory' to CHTtweaks in future versions.

Regarding mods for other tabs besides the Home tab, mothing is done there yet, everything is done in CHT by now ...

Regarding file 4B558519_manila is not beeing saved by CHTS, thats why the original file is provided for restoring previous situation. I am thinking a bit on that (sometimes I do :D) should not be a good idea to add this file 4B558519_manila to CHTWidget_basic.xml?

Regarding the HDMini issues, I am afraid you are right, as the Mini has a prted version of CHT this may not work ... yet. I will look also on that files.
[Windows Mobile Apps and Games] poyensa:
MIUI homeclock

The .rar includes the necessary BG for the MIUI homeclock, just transparent BG and skinned flip-clock tabs. Copy all the files from inside the rar to \windows folder, accept overwritte and restart sense. The do the changes with CHTtweaks.v0.91: hide flipclock line and select MIUI textures, save the changes ... et voila!
[Windows Mobile Apps and Games] poyensa:
Starting in MIUI, just a couple of clicks in CHTtweaks ....

A good wallpaper :) and ...

WorldChampions phone :D Thanks jdpl@!
[Windows Mobile Apps and Games] BHS Interceptor:
Hola amigo, you´re welcome ;) That was the summarized version of the test :D

1. I knew about the keyboard issue having apps open, but I made sure no apps were running/open at that time and checked a lot of times back and forth first without issues, and then after installing Tweaks the issues were always there :( I sometimes do my "thinking" too :p

Maybe an unwanted side effect using/depending on MenuSense?

2. Regarding "CHTWidget_basic.xml" and adding this file to it, as you know from CHTS Beta Group, we are still considering other files which might need to be included, since CoOkie himself never ment these files to be "altered" or "modded" :confused:

This is also why I have been having such a hard time lately, as well as other members involved in Theme or Widget switch tests, but especially MichelDiamond and mike2nl with some of the "base" CHT files beeing altered, in order to "protect" as you wrote in your first post, the functionality and compatibility of CHT. What will be the next step then, altering CHT "core" files? :eek:

Let me please quote CoOkie from original release thread post 4 on this one:

3. Thanks for taking another look at the Mini Port. We are also going through the files and will finish a new "update" for some of the missing items soon :D
[Windows Mobile Apps and Games] BHS Interceptor:
CHT LockScreen issue not Tweaks

Hola Poy,

just wanted to give you an update on some other tests we have been doing this weekend ;)

Regarding the CHT LockScreen issues showing & enabeling the "keyboard" softkey (button), it could be easily reproduced with all widgets using JMLMenuSense, as well as "disappearing" Taskbars :cool:

I know this had opened aparently a lot of new possibilities but there are still some parts of both, JML MenuSense and CHT that need to be "adapted" to each other, and I can asure you, that both sides are looking at this :D

You may probably have read in CHTS Beta Group, that there have been crashes of CHT/CHTE reported with newer dlls of MenuSense since it was released and that we where also checking it ... As soon as I have more information about this issues beeing solved, I´ll let you know :)
[Windows Mobile Apps and Games] BHS Interceptor:
UpDate on MenuSense

Hola Poy, after some PMs and checking back with JMHL, he made the following "addition" to his second post in thread in order to avoid these issues when using JMLMenuSense so it´s not in memory all the tiime for a faster response :)

So please, add forcequit='yes' in <menu> tag for all .xmu file. :D

If you don´t mind, could you also arrange for this with your other addon widgets, especially for the newly added menue for "Notes" (the "hola" widget) ;)
[Windows Mobile Apps and Games] stonyhawk:
nice update but still some things dont work on my phone :p.

i cant get my homebar and softkeybar transparent.

it also would be nice if you can change the color of the digital clock. its already nice that you have some clocks build in this tweak.

thx :D
[Windows Mobile Apps and Games] poyensa:
softkeys bar is comming .....
[Windows Mobile Apps and Games] stonyhawk:
and what about the home bar? is this known problem or?

i really would love transparent bars :p

dont know if it has to do something about which rom you use.

if it does i can search it up for you

good luck
[Windows Mobile Apps and Games] BHS Interceptor:
Yes, device, ROM & Manila version are important for OP to take a look at your issues ;)
[Windows Mobile Apps and Games] stonyhawk:
oke if it helps here is the info

HTC touch pro 2

energy rom 01.feb.2011 WWE cookie hometab

manila version 2.5.20212114.0

radio 4.49.25.17
[Windows Mobile Apps and Games] stonyhawk:
btw are there more people where cht tweaks doesnt save. I mean when i reboot my phone everything has changed back and i have to go to cht tweaks again and save and exit.
[Windows Mobile Apps and Games] poyensa:
thats happend to everybody, will try to fix in future verssions ....
[Windows Mobile Apps and Games] jdpl@:
Hi Maestro,

What a nice WorldChampions phone!!!

You're very welcome amigo and THANKS to you for sharing all your amazing work ;)