The Weather tab shows the moon at night, but its just a generic fixed image of the moon.
This package includes 24 high-resolution moon images scaled correctly for a native Manlia version, or the HD manila running on a Touch Pro/Diamond. It also has a small mortscript that runs once a day at 8am.
The wee script computes the phase of the moon for today, and then copies over the default moon image with the one for today. Hey presto, your weather tab will show the moon as it looks (more or less) for today.
No batteries were killed in the making (or using) of this mod.
HOW TO INSTALL
Sorry, no nice cab - here's what you need
1) Install Mortscript if you don't have it already.
http://www.sto-helit.de/index.php?mo...st&category=18
(I'm running the Beta, should work fine with 4.1, may work with 4.0)
2) Download the images for your version of Manila.
ManilaCfcMoons.zip - Cfc Compressed native aspect (non-HD-On-640x480 or HD on 800x600)
ManilaMoons.zip - as above without Cfc Compression - this is for stock versions
ManilaHdCfcMoons.zip - Cfc Compressed "squished" aspect (HD Manila on 640x480)
ManilaHdMoons.zip - as above without Cfc Compression
3) Unzip file or open zip file on your device
Contents of the zip is a single directory. Copy all 24 files (named moon-0_manila.x, etc..) to the \Windows directory. The files MUST be in \Windows.
4) Download moon.zip to your device - unzip moon.mscr, save it to \Windows\Startup.
5) Either restart or navigate to \Windows\Startup and double-tap moon.mscr
(you only need to do this once. The script sets itself a notification to be run the following day when it runs.)
6) Check your weather tab. If you are impatient for night (which is the only time you can see the moon) add a city on the other side of the planet, hopefully without rain. Australia is handy for those of us on this side, Mexico might be good for folks in the East...
7) Ooooh pretty moon!
That's it. Sorry for the manual install process, but its set it and forget it
TROUBLESHOOTING
* White Square instead of a moon? - you used the CFC images and your manila does not support it. Try again with the non-cfc version of the images (step 2-3 above)
* Squished (or Fat) moon? - use the opposite of whatever you used (ie, if you downloaded the HD version and your moon is squished, then use the non-HD images, or if you get fat moons, use the HD version... steps 2-3 above
* Moon doesn't change - the phase does not change daily, but if it does not change for more then 3-4 days something bad happened. Post back here.
* I want my old moon back! - the original manila files are attached in this post - just download yours and put it back into \Windows. Delete the moon.mscr file from \Windows\Startup. To remove the notification, you can run moon-remove.mscr (also attached) from the same directory as moon.mscr once. That will remove the notification entry.
Comments/Suggestions Welcome.
I've also attached the .png versions of the moon images if you want them, but you don't need to download them to use this.
I WANT TO BELIEVE
The moon.mscr script is just a text file, here it is if you want to see what I'm doing every day for you
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, 1 )
jd = jd - b
ph = Round(jd*24, 1)
if (ph > 23)
ph = 0
endif
# ph = 0 (NEW) thru 23 (last of the waning cresent)
# copy file
fname="\Windows\moon-" & ph & "_manila.x"
# message(fname,ph)
delete ("\Windows\060bb8f2_manila")
Copy (fname, "\Windows\060bb8f2_manila", 1)
# that's it.
FILES
See post #2 for the rest of the files.