|
||||
MoonPhase Manila (regular and HD/Squished versions)
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. See post #2 for the rest of the files.
__________________
|
This post has been thanked 14 times. |
This post has been thanked 2 times. |
|
||||
Re: MoonPhase Manila (regular and HD/Squished versions)
Works like a charm! Thanks! Waaaaayyyyyy cool!
__________________
---
MG |
|
||||
Re: MoonPhase Manila (regular and HD/Squished versions)
Me too. It's brilliant and extremely cool, J. And, among other things, I'm a professional astrologer so I am into moon changes. But I'm easily confused when there are more than 2-3 technical things to do. That's why I still have a stock rom. And I still don't know how I got Technology1's TCPMP stuff working. lol
__________________
Stephen AKA WanderingMinstrel
Jornada>Apache>TouchPro>Epic 4G |
|
||||
Re: MoonPhase Manila (regular and HD/Squished versions)
I installed per the directions, but I don't believe it is working.
Currently, we're experiencing a full moon (or pretty close to one), yet the image that is showing up is the 060bb8f2_manila.png from the pngmoon files. How can I troubleshoot this? Running a VZW Touch Pro using stock ROM, but unlocked. |
|
||||
Re: MoonPhase Manila (regular and HD/Squished versions)
Did you copy the moon images to the \Windows directory? Not the FOLDER, but the contents of the folder.
Also, did you copy the moon.mscr to \Windows\Startup And did you install mortscript? And did you run the script itself at least once? Should work. Been working for me for days now. Can be off by a day (due to the really high tech algorithm) but should be good. Also, you have to run the mortscript at least once (or soft reset if you want to be lazy) so it can run once, set the moon up, and set itself a notification for the next day. If you have the dotfred task manager you can check to see if there is a notification for mortscript @ 8am to run \Windows\Startup\moon.mscr - if there is then it should be working and I have some other problem with the script itself. But the good news is, its mostly harmless if it doesn't work |
|
||||
Re: MoonPhase Manila (regular and HD/Squished versions)
Quote:
Yesterday, I got a brief mortscript error, but it flashed so fast I couldn't read it. I checked everything again and somehow /Windows/Startup was missing from the directory (it was there previously... weird) So I recreated that directory and installed the script. It is working now... thanks for a great ap! |
|
||||
Re: MoonPhase Manila (regular and HD/Squished versions)
Cool, glad it worked. Sounds like you may have somehow deleted your \windows\startup directory?
Anywhoo, glad its working. I do need an installer of some sort for this mess, it seems |
|
|
|