PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks > Pocket PC Themes
Register Community Search

Notices


Closed Thread
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 06-27-2009, 11:02 AM
ppclover2's Avatar
PPCGeeks Regular
Offline
Pocket PC: htc touch pro
Carrier: sprint
 
Join Date: Aug 2007
Posts: 127
Reputation: 30
ppclover2 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Talking Re: MoonPhase Manila (regular and HD/Squished versions)

Quote:
Originally Posted by signothefish View Post
This doesn't work for me. I did the steps exactly as described. I am using V4.3 Mortscript. Could that be the problem?
GO WOLFPACK!!!! C/O 07
  #22 (permalink)  
Old 09-18-2009, 04:55 PM
dgaud007's Avatar
Lurker
Offline
Pocket PC: FUZE
Carrier: AT&T
 
Join Date: Aug 2008
Posts: 3
Reputation: 5
dgaud007 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

Thanks for the patch. I have it working in Mortscript 4.3b. For some reason, the new moon phase (ph) was being calculated as 2.4, instead of 24 (or > 23 = 0). I just needed to change this line:

b = Floor( jd, 1)

to

b = Floor( jd, 0 )

Is working now...
  #23 (permalink)  
Old 12-24-2009, 05:35 PM
shatner's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC EVO 4G and to the curb I kicked, WINMO
Carrier: Sprint
 
Join Date: Feb 2009
Posts: 273
Reputation: 135
shatner is keeping up the good workshatner is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

Hey! I used this on my TP1 for a long while and really liked it. Is there any thought on a TP2 version? i am sorry I cant offer more help in this direction other than a humble plea.

Thanks!
  #24 (permalink)  
Old 12-27-2009, 08:14 PM
DavidMMorley's Avatar
DavidMMorley
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

Edited for TP2 WVGA SenseUI 2.5.1921+2.5.1922

Have not fully tested but updated the script with the fix and the new manila files and cabed up to try.

assume you have mortscript already, if not install first

Last edited by DavidMMorley; 12-28-2009 at 11:34 PM.
  #25 (permalink)  
Old 12-28-2009, 04:30 PM
DavidMMorley's Avatar
DavidMMorley
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

Quote:
Originally Posted by DavidMMorley View Post
Edited for TP2 WVGA SenseUI 2.5.1921+2.5.1922

Have not fully tested but updated the script with the fix and the new manila files and cabed up to try.

assume you have mortscript already, if not install first
Well I have tested and found 3 bugs so far. Have this working now script wise but the file that has the moon in the newer versions I found was, so it must be one of the moons but not the right one. Ill figure out this last step and upload a new cab that works perfect.

Last edited by DavidMMorley; 12-28-2009 at 04:37 PM.
  #26 (permalink)  
Old 12-28-2009, 05:15 PM
DavidMMorley's Avatar
DavidMMorley
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

Here is the script tested and working on Manila 2.5.1921.
Thanks to OP for the cool code, just fixed a few things and added Sense UI stop/start on run since that tends to piss off Manila.exe when you change a active file.

Code:
# moon phase TF3d image mover v1 2/6/09
# schettj/ppcgeeks edition
# you don't have to buy me a beer, it's free!
# donations via paypal? Why not: schettino@writeme.com
# current time
GetTime(hour,min,sec,day,month,year)
d=day
m=month
y=year
# current time for tomorrow's run
utime = TimeStamp() 
# expect to run from \Windows\Startup, but you never know what people do!
mort = SystemPath("ScriptExe") & "\MortScript.exe"
script = SystemPath("ScriptPath") & "\" & SystemPath("ScriptName") & SystemPath("ScriptExt")
# Set next notification runtime for myself for tomorrow, at 8 hours 0 minute
# make it tomorrow (based off utime)
utime = utime + (((8+(24-hour))*60)-min)*60
# kill any lingering notification
RemoveNotifications(mort, script)
# set notify for myself at next time
RunAt( utime, mort, script)
# standard moon phase algorithm from the web
# note should be UTC time, so phases can be off by a day or so
# we're not talking hubble telescope here, just close enough is fun!
if (m < 3) 
        y = y - 1
        m = m + 12
endif
m = m + 1
c = 365.25*y
e = 30.6*m
jd = c+e+d-694039.09
jd = jd / 29.53
b = Floor( jd, 0 )
jd = jd - b
phw = jd*24
ph = Round(phw, 0)
if (ph > 23) 
  ph = 0
endif
fname="\Windows\moon-" & ph & "_manila.x"        
RegWriteDword("HKLM","\Software\Microsoft\Today\Items\HTC Sense","Enabled","0")
RedrawToday
SetFileAttribs( "\Windows\0fed33be_manila", "readonly", FALSE)
Copy (fname, "\Windows\0fed33be_manila", 1)
RegWriteDword("HKLM","\Software\Microsoft\Today\Items\HTC Sense","Enabled","1")
RedrawToday
I will fix my .cab install file I posted yesterday later with the fix.
This post has been thanked 1 times.
  #27 (permalink)  
Old 12-28-2009, 11:34 PM
DavidMMorley's Avatar
DavidMMorley
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

Does not look like anyone cares, but here is a install cab for working WVGA Manila 2.x.1921 - 1922 for this. Thanks again to schettj for this cool program.
Attached Files
File Type: cab wvga.2.x.192x+ MoonPhase Manila.cab (239.0 KB, 86 views) Click for barcode!

Last edited by DavidMMorley; 12-29-2009 at 07:32 PM.
This post has been thanked 4 times.
  #28 (permalink)  
Old 12-30-2009, 02:16 AM
shatner's Avatar
Regular 'Geeker
Offline
Pocket PC: HTC EVO 4G and to the curb I kicked, WINMO
Carrier: Sprint
 
Join Date: Feb 2009
Posts: 273
Reputation: 135
shatner is keeping up the good workshatner is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

I CARES! But I am crazy busy at work, and have to lay off my phone tweek time for a bit, THANKS for all your effort!
  #29 (permalink)  
Old 01-27-2010, 07:56 PM
tealdub's Avatar
Lurker
Offline
Pocket PC: HTC TP2
Carrier: VZW
 
Join Date: Dec 2009
Posts: 16
Reputation: 0
tealdub is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

just tried to hook it up. says there is no application associated with moon?
  #30 (permalink)  
Old 01-27-2010, 08:14 PM
DavidMMorley's Avatar
DavidMMorley
Guest
 
Posts: n/a
Mentioned: Post(s)
Tagged: Thread(s)
Re: MoonPhase Manila (regular and HD/Squished versions)

Quote:
Originally Posted by tealdub View Post
just tried to hook it up. says there is no application associated with moon?
sounds like you need to install mortscript from post #1
Closed Thread

  PPCGeeks > Windows Mobile > Windows Mobile Hacks/Tweaks > Pocket PC Themes


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 07:46 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com