yashsingh1/xdaforums huggingface dataset:
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
Concentrichron

i'm sorry some of you are having difficulties using this clock. it works fine on the 6.5 released verizon version.

i developed it for a 12-hour format phone, not 24 hour. that's causing poyensa's problem.

let me explain why this breaks it. i use this code to get the weekday string:

"weekday1 = machineStatus.CurrentTime.Value: GetDateString( Locale:GetString("IDS_DATEFORMAT"))" and "weekday2 = string.sub(weekday1, 1, 2)"

if there is any error in the execution of either of these two lines, the program STOPS running at that point. by this point, the seconds, minutes, and hours wheels have already been set, month's name and day has been set, and the date stamp string has been set. everything after that breaks, that is, doesn't show up AND the clock won't work because of the errors.

so to fix this, make sure your phone's time format is 12 hour. Settings -> Date & Time -> uncheck the 24-hour format box.

mike2nl: you obviously tried to de-compile the lua script. i rarely was able to decompile someone else's script without getting those de-compiler error messages. the de-compiler isn't able to handle very complex syntax...i guess.

anyway, i added that script as a text file to a previous post. you can download and rename to see exactly what my program is doing and how.

valentincasino: i hope you can use this clock on your phone. thanks for your comments.

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
CHT 2.0 Widgets

Hi Poyensa, sure, i'd like to help as i can. sounds fun.

will the kitchen you referenced allow for developing on multiple versions of sense?

here's a test for you to verify where the issue is with your phone.

(1)

in the 1EC5924B_manila file, comment out the line that begins with weekday1.

insert a line below them like this:

weekday1 = "Monday" just for this test, we'll use Monday. now the next line will extract "Mo" from it and proceed ok. if this works (and i suspect it will), then we will have to use another location for getting the weekday.

(2)

in the 1E1A6CCD_manila using m9editor, remove the GLESText sprite whose value="ShowAmPM". this will remove it from the clock, but i'm still wanting to see if these 2 issues are ALL that prevent this clock from running on your phone.

let me know how it goes or if you have more questions...

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] poyensa:
wow marvin, concentrichron is working!!! of course the day shown in the wheel is Mo, and Mon in the white area, but i hope you solve that soon. The rest is OK, the seconds wheel is moving. No am-pm is shown. Uploading the revised files with the changes in 1EC5924B_manila & 1E1A6CCD_manila you said inthe previous post :)

will the kitchen you referenced allow for developing on multiple versions of sense? yes sure, any manila 2.5.xxxx
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
IDS_Dateformat

great!

can you check something on your phone for me? go to settings->Locale & Text ->Regional and tell me what format the "Long Date" is set to?

on my phone, it is "dddd, MMMM dd, yyyy". the first 4 "d"'s tell the O/S to format the full name of the day of the week. what is yours set to?

marvin

p.s. i'm working on another means getting the weekday.
[HD2 Windows Mobile 6.5 Themes and Apps] poyensa:
mine is dddd, dd' de 'MMMM' de 'yyyy
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
mncessna _ poyensa:

Jesus, i am away for 1 1/2 days and many things are changed. I will have a look on it. Thanks for all updates...
[HD2 Windows Mobile 6.5 Themes and Apps] rat_2665:
@ mcessna and poyensa

I think the issue is a localization problem. You check the days against the english names. That causes a clash if you have non english language files (like poyensa and me). In my clocks the day of week is shown in the local language like in other places on the screen. That's why I use the "IDS_DATEFORMAT" object. For your purpose this function is better suited:

local locweekday = machineStatus.CurrentTime.Value.DayOfWeek
weekday.String = tostring(locweekday) -- shows the number of the day of week

But there may be a catch. You have also to check for the first day of week, because this value can be set to Monday or Sunday. That I haven't check yet.

For AMPM maybe you can add some lines

Handle_TwentyFourHours = function()
local val = (AnalogAMPMColor / 10) * 255
ShowAMPM.Color = Color(val, val, val, 255)
if machineStatus.CurrentTime.Value.IsTwentyFourHour then
local lochour = machineStatus.CurrentTime.Value.Hour
if lochour > 12 then
ShowAMPM.String = "PM" else
ShowAMPM.String = "AM" end
else
ShowAMPM.String = machineStatus.CurrentTime.Value:GetTimeString("tt")
end
end

Change also the value in the m9 file for ShowAMPM from AMPM to ShowAMPM. That should make AMPM independent from the regional settings.

That's my first guesses at the moment. I havent' checked this out.
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
This screenshot is done whith the last files...

- time is not working on the bottom

- time rings not working

- actually day is sunday not monday

So far the infos...

rat_2665:

that´s a good idea rat...
[HD2 Windows Mobile 6.5 Themes and Apps] poyensa:
hi mike, have set time format to 12h am-pm? change it in regional settings or doing this changes in the registry HkLM\nls\overrides:

ITime = 0

S1159= AM

S2359= PM

STFmt = h:mm:ss tt
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
Hi poyensa,

the dutch rom isn´t working in that way. After restart the default values are back. Strange but i have seen this on two different HD2. I think we have to start from the beginning. Redefine co0kies aoriginal and then look again, ring by ring. And at first the hours, minutes and seconds.
[HD2 Windows Mobile 6.5 Themes and Apps] rat_2665:
I changed the luascript and the mode 9 file like described before (and made some variables from global to local). Now the clock is working for me with German settings and 24 hour use.
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
Hi rat2665,

i can confirm that. It is working. But what have you changed. That will be very interesting, because i don´t have seen it until now.

You will do a widget from this?

Now i can chgnage the size and position again, because it is not 100% in my way :D. I will publish it when i have changed the mode9 file.
[HD2 Windows Mobile 6.5 Themes and Apps] rat_2665:
There are three major changes (the other are all "local" addings):

- instead of the english day names numbers in the "setWeekday" part

setWeekday = {
[0] = function(x) wDay = 0 wdaystr = "Sun" end,
[1] = function(x) wDay = 1 wdaystr = "Mon" end,
[2] = function(x) wDay = 2 wdaystr = "Tue" end,
[3] = function(x) wDay = 3 wdaystr = "Wed" end,
[4] = function(x) wDay = 4 wdaystr = "Thu" end,
[5] = function(x) wDay = 5 wdaystr = "Fri" end,
[6] = function(x) wDay = 6 wdaystr = "Sat" end,
}

- the weekday variable with day numbers in the CalendarDate1 function

weekday2 = machineStatus.CurrentTime.Value.DayOfWeek

- and the new Handle_TwentyFourHours function like described before with the change in the mode9 file.

A widget is no problem, only careful work. The basic core is layed by mcessna. If he will do it, I'm glad to help.
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
Hi rat_2665,

yes the cents are falling, oh no.....

The positions are changed for the chars in 1E1A6CCD_manila.zip...

Also the background 41c36290_manila.zip, for the chars is now a little bit more white...

I have made a cab file for my self to switch faster back to original...

Possible you two (rat_2665 and mncessna) can test it to be shure that´s all ok.

You see in the screenshot when i use the original size from CHT, the outfit is not 100%

nice, but it shows what´s going on. Great work at all. Crazy is the moment when the minute

is changing. Really holy stuff !!!

And now a widget from this amazing clock and i can link it in the CHTArtwork thread...
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
what a wonderful thing time zones are!!

so while i was asleep, you folks across the atlantic were working on concentrichron.

thanks rat_ for the changes to the scripts that make this clock work internationally and 24 hour independent!

if this does become a widget, could you be sure to include my correct name (mncessna) instead of mcessna (missing an "n")!? thank you.

i'm really glad that concentrichron is doing well. when slimbrown suggested the idea, several posters thought it wouldn't be possible to do. i thought it was worth a try.

and now it's a widget readty for CHT 2.0? is that right? again---great-cool!

this forum rocks!

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] valentincasino:
Incredible!!!!

you guys are truly incredible...

rat_2665 ...you must be the best clock developer on this site...amazing work mate...just amazing...

i installed the clock and it works perfect...

but i think there are still some little things that need some more attention...or maybe it's just my phone...i don't know,so i will just post my feedback on this...

first...the date,week day and hour are not well focused...they are not in the middle of the withe-semi'transparent zone where they should be...on top of that...the hour seems to be to big...it does not fit in the withe-semi'transparent zone...so i can see only the top half...you have a screen-shot of the clock on my phone...

otherwise...everything it's just sweet...

i have some ideas how this clock will look even better (in my opinion...:D)...but that...in another post...

my phone has:

ROM: english Energy Leo 21682 Sense2.5 Cookie 2.0

Manila: 2.5.2018.....

thanx again for your work...
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
i'd like to help but...

poyensa and rat_2665 made changes to the original mode 9 and lua scripts. i haven't looked into the changes yet. it seems like the size of the text has been changed tho. i'll be looking at it when i get up tomorrow, but the other two will be up and awake while i'm sleeping so they'll probably get it fixed before i come back on line. good luck.

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
change is in the mode 9 file

the locations of the timestring was moved from the original location.

if you can use mode 9 editor, change the x val to 65 and the y val to -180.

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] rat_2665:
That can be caused by your system fonts. Normally it is Helvetica Neue OTS. The screenshot shows the clock with this font. It is also in the mode9 file, but I think you changed your whole font. So maybe you have to do a special mode9 file for your font by trial and error ;).
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
Hi valentincasino,

about the focus issue for chars on the background...

You have tested my changed files in posting #47?

Because all that i have changed the things. Please test it.

BTW:

the chanings are for the 24 hours time system..
[HD2 Windows Mobile 6.5 Themes and Apps] boymonkey1987:
how do i remove the damn box around the clock. i want it completly gone. can someone link me a standard clock or a cab to make it go awAY thanks.
[HD2 Windows Mobile 6.5 Themes and Apps] valentincasino:
thanx for your answer

stupid of me not to think about the fonts...that must have been the problem...:D

BUT...when i tried to change the font to Helvetica(with KDFont)...SURPRISE!!!...SENSE CRASHED!!!!:eek::eek::eek::eek::eek::eek:

i can not find an explanation for this......:confused::confused::confused:...but it must be something about the clock,because that's the only thing i did before attempting to restart(so the new fonts take effect...but i never got to see if it works or not)

so...i had to hard reset...

i will try again the concentric clock after reconfiguration...

i will be back...after hard reset...:D
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
box or clock?

you want the box gone or the clock gone? if it's the box, a screen shot would have been helpful as no one else has mentioned seeing a box around the clock and i've never seen one either.

if it's the clock, you only need to place the original system clock files into the \windows directory.
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
Hi marvin,

that was me, because the CHT used font(s). And when you use this clock as the original one for CHT in the mode of:

left digital, middle weather and right the new amazing clock (screenshot)

Then the positions and the font size are not really ok. So i had changed it :o. Sorry..
[HD2 Windows Mobile 6.5 Themes and Apps] h@ns1976:
hi

first of all i love this clock its really awsome.

i have just 1 question is it possible to make the rings a little transparent i find the black and white rings a bit hard of colour..

thnx
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
changes to the clock

i'm still happy that so many favorable responses are coming in about this clock.

i also have a lot to learn about making things for an international audience!

thanks for your comments and help in getting this clock of use to other people besides me!

marvin

Hey mike, what are the little boxes directly above the concentrichron on you phone? are those indicators for the screen your on? i never saw that option before.
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
what percentage of transparency would you like?

sure, i can apply a transparency to the rings. why don't you provide me a list of wheel name (year, month, day, weekday, hour, minutes-tens, minutes-ones) and transparency percentage and i'll see what i can do.

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
That is the page indicator from the CHTE (co0kies home tab editor). I use the whole series ;), because the beta. The other two in the middle at the same hight are from the CHTScheduler
[HD2 Windows Mobile 6.5 Themes and Apps] h@ns1976:
Hi marvin..

sorry but i'm a noob in all of this but.

for me i love to see the year and day a bit transparent maybe 25 procent

of course it still has to be readable..

thnx
[HD2 Windows Mobile 6.5 Themes and Apps] poyensa:
Hi friends, meanwhile the Concentrichron's CHT2.0 Widget is coming, i have made some mods just for fun. Tourbillon wheel is moving! I hope you like it.

This is not a CHT2.0 Widget, just the Co0kie Home Clock. I have uploaded in zip & cab. All credits for mncessna & rat_2665. Thanks to them for share!
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
Love that shiny look!

That's awesome looking!

check the next posts. i'm uploading a newer version of the script that incrementally rotates ALL the wheels when within 5 seconds of time to change their position. i played with the time on my phone and man you should watch what it looks like on December 31, 2010 11:59:55pm! all 7 wheels turning at the same time.

marvin

One thought...IF your Tourbillon wheel rotates completely around, would you put some sort of indicator on it like i did on my secondhand to indicate the "0" position? i'd use your second hand if you did. thanks.

One more thought, i think the time stamp plate would look more like the rest of the clock if its corners were more rounded and not so square. what do you think?
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
comin right up...later today that is :)

i tried it at 25% and it is quite readable, just a bit more gray. is that what you want? if so, i'm posting it in a few hours.

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] h@ns1976:
I think that is perfect..

If you could post it that would be great..

thnx..
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
here ya go...all the black wheels are now the same as the gray wheels.

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
Hi mncessna,

can you post a screenshot from this? Sounds interesting when i use a black wallpaper...
[HD2 Windows Mobile 6.5 Themes and Apps] poyensa:
The tourbillon wheel is a balance wheel not rotating completely, just right-left. Rat_2556 passed the code to add it to this CHT2.0 Analog Clock with Tourbillon, and i have used the same for this v3. (BTW i have lost the movement for the tourbillon in the CHT2.0 widget clock with tourbillon when installed concentrichron_v3 so i have to review the compatibility)

I will retouch that corners to fit better. Also i am trying all the silver rings :rolleyes:

Now I am also looking the way is shown datestamp & dayoftheweek, may be you can help me to add it to the CHT2.0 Widget Digital Clock to get something looking like typoclock
[HD2 Windows Mobile 6.5 Themes and Apps] rat_2665:
In the widget give the global variables counter, secondscheck (for second hand) and Counter2, turn2 (for balance wheel) unique names (poy_counter, ...). Else the two clocks use the same variables and interfere with each other.
[HD2 Windows Mobile 6.5 Themes and Apps] poyensa:
thankyou rat, i was thinking on that ... in concentrichron_v3 i did that changing every variable to counterCC, turnCC, etc
[HD2 Windows Mobile 6.5 Themes and Apps] leocan:
Pls. Change 1EC5924B_manila my friends

[ 1] = function (x) monstr = "Oca" end,

[ 2] = function (x) monstr = "Sub" end,

[ 3] = function (x) monstr = "Mar" end,

[ 4] = function (x) monstr = "Nis" end,

[ 5] = function (x) monstr = "May" end,

[ 6] = function (x) monstr = "Haz" end,

[ 7] = function (x) monstr = "Tem" end,

[ 8] = function (x) monstr = "Ağu" end,

[ 9] = function (x) monstr = "Eyl" end,

[10] = function (x) monstr = "Eki" end,

[11] = function (x) monstr = "Kas" end,

[12] = function (x) monstr = "Ara" end,

}

setWeekday = {

[0] = function(x) wDay = 0 wdaystr = "Paz" end,

[1] = function(x) wDay = 1 wdaystr = "Pts" end,

[2] = function(x) wDay = 2 wdaystr = "Sal" end,

[3] = function(x) wDay = 3 wdaystr = "Çar" end,

[4] = function(x) wDay = 4 wdaystr = "Per" end,

[5] = function(x) wDay = 5 wdaystr = "Cum" end,

[6] = function(x) wDay = 6 wdaystr = "Cts" end,
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
h@ns1976 -> could you post screenshot?

Hi mike,

i'm asking h@ns1976 to post since i don't use that version. if he doesn't post in a day or two, i'll go ahead and do it for you.

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
using mode 9 editor

hi leocan,

if you download the mode 9 editor, i will post for you a decompiled version of the lua script. then you can edit it with the changes you need, and from within the mode 9 editor, select the lua script, right-click, select "compile and import", and then copy the compiled lua script to your windows directory, reset sense, and voila.... will this work for you?

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] h@ns1976:
Hi mike2nl,

I made screenshot of before and after..

@Marvin Thnx.

I think the gray rings look alot better
[HD2 Windows Mobile 6.5 Themes and Apps] leocan:
Hi mncessna;

I have the mode 9 editor (v3.3.0.1), select the lua script, right-click,but can't see select "compile and import". This my proglem why cant see? Just see copy and delete select.

I work ExamDiff but in telefon install dont work.:mad:
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
attached lua script with Turkish names

Hi Leocan,

i think the issue is this. when you open a lua script in mode 9 editor, the options to "decompile and save" and "Compile and import" ONLY show up IF there exists in the directory a compiled lua script and a decompiled version of that lua script. i found this out while making these changes for you.

i copied the lua script to a "Turkey" sub-directory, opened it with mode 9 editor. there was NO decompile or Compile options. Yet, when i opened the same lua script in its parent directory these options showed up. so on a hunch, i copied a compiled version of the lua script to the "Turkey" sub-directory, re-opened the lua script with mode 9 editor, and both the decompile and compile options showed up.

give this a try and see if it's true...let me know please.

either way, i've attached a .7z file with the compiled lua script with the Turkish text strings as you;ve requested.

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
i still like the black rings better!

Hi H@ns1976, i think the grey rings are ok :).....but to my eyes, the black ones look better :)

glad your satisfied!

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] leocan:
Thaks day ok, but time bug
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
excuse me?

i don't understand your comment..."time bug" what do you mean?
[HD2 Windows Mobile 6.5 Themes and Apps] leocan:
My english sory:o

Day and month ok.

Time not work.
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
it works just fine on my tp2?

Leocan, i just copied the lua script i compiled for you onto my phone and it worked just fine...except i couldn't tell what month or weekday it is :)

i just spent the last 30 minutes staring at that script looking for what is wrong...and i can't see anything...that's why i copied the one i sent to you to my phone. it works just fine.

from the image you attached, everything worked except the hour and minutes wheels, and the time stamp. i'm at a loss just now as to why it didn't function.

i'm off to run errands for my wife for a few hours, but will be looking at it again later.

HEY---try editing the original lua script i sent you...the one that worked on your phone except for the english text strings....change the texts, re-compile, and ypou should be good to go....

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] leocan:
I thank you for your interest and study.
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
i know why it's broken

Hi Leocan,

i think i know what the problem is....i noticed that you are using the modified clock that Poyensa made. He uses a 24 hour clock, and he made changes to the way the second hand functions....and it's the secondhand function that controls the time stamp.

so, i'll download his stuff, see if i can fix it and upload it for you sometime today.

marvin
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
unfortunately, the mode 9 decompiler can't handle very complex logic. it can't decompile any of my lua scripts and it can't de-compile my script that Poyensa modified to add the tourbilon effects.

but it "looks like" (from what the compiler was able to generate) that the timestamp function was removed???

maybe Poyensa will check in on this thread today, read this and help you out.

sorry,

marvin:(
[HD2 Windows Mobile 6.5 Themes and Apps] leocan:
We wait marvin:)
[HD2 Windows Mobile 6.5 Themes and Apps] mike2nl:
Jesus, what alot of postings since my one. And thank you for the screenshots. And yes that is gray ;)
[HD2 Windows Mobile 6.5 Themes and Apps] poyensa:
may be silver
[HD2 Windows Mobile 6.5 Themes and Apps] User_99:
Please change 1EC5924B_manila

[ 1] = function (x) monstr = "Jän" end,

[ 2] = function (x) monstr = "Feb" end,

[ 3] = function (x) monstr = "Mär" end,

[ 4] = function (x) monstr = "Apr" end,

[ 5] = function (x) monstr = "Mai" end,

[ 6] = function (x) monstr = "Jun" end,

[ 7] = function (x) monstr = "Jul" end,

[ 8] = function (x) monstr = "Aug" end,

[ 9] = function (x) monstr = "Sep" end,

[10] = function (x) monstr = "Okt" end,

[11] = function (x) monstr = "Nov" end,

[12] = function (x) monstr = "Dez" end,

}

setWeekday = {

[0] = function(x) wDay = 0 wdaystr = "Son" end,

[1] = function(x) wDay = 1 wdaystr = "Mon" end,

[2] = function(x) wDay = 2 wdaystr = "Die" end,

[3] = function(x) wDay = 3 wdaystr = "Mit" end,

[4] = function(x) wDay = 4 wdaystr = "Don" end,

[5] = function(x) wDay = 5 wdaystr = "Fre" end,

[6] = function(x) wDay = 6 wdaystr = "Sam" end,

}

too :)

I'll make a german version and post the result later, but I've problem to edit the lua file...so it would be great if you can help me...
[HD2 Windows Mobile 6.5 Themes and Apps] mncessna:
Localization

Hi Everybody!

if you would like to have the text strings for the concentrichron clock localized,

please send me by PM or in a reply in this thread the data similar to what is posted in the thread previous to this one. :)

i will localize the lua script file and post them on dropbox. then in the future, users can just download a localized version of the lua script from my dropbox, rename it, compile it with the mode 9 editor, and put it on their phone.

i will post the turkish version i have already completed and this one also.

marvin