• Welcome to TodayPlus Boards v2.
 

Hammerskin Version 1.05.4 QVGA English Reduced

Started by uk_skinner, December 14, 2004, 12:47:13 PM

Previous topic - Next topic

uk_skinner

Per Abram requested, here is the reduced version of Hammerskin Version 1.05.4 QVGA.

There is about 29 pixels at the bottom for you to have one Today Plugin.  I tested most of the function, but please let me know if there is anything needs to be fixed.

uk_skinner

Hammerskin Version 1.05.4 QVGA Reduced File.

Only skin file

Abram

Many thanks, uk! You are the best. PMed you, then I saw your post.  :lol: I need to speed up to catch up with your trail! Will test this now.

uk_skinner

Quote from: AbramMany thanks, uk! You are the best. PMed you, then I saw your post.  :lol: I need to speed up to catch up with your trail! Will test this now.

Sounds you still have the problem to get the radar work.  Can you post the url you wish to use, then some of us can generate a radar.txt for you to test?

Abram


uk_skinner

Quote from: AbramHi uk,
Thanks for your offer to help.
I'm trying to use these 2 urls

http://www.bbc.co.uk/weather/maps/mancf1512041200t024symsxxxx.jpg

http://www.bbc.co.uk/weather/live/brsat1.jpg


Again many thanks for all your help!

Abram:

There is no problem for the second one, it is a fix url.  I need to play around the first one, it looks like a dynamic one to me.  I saw a date "151204" and a possible update time "1200".  I will see I can find a pattern or not.

grayme

I'd like to use a similar picture (so I'll be able to use your calculations) http://www.bbc.co.uk/weather/maps/norwf1512041200t024symsxxxx.jpg

How would I get the forecast in too (ie have two pictures instead of one for my city)?

http://www.bbc.co.uk/weather/maps/norwf1512041200t048symsxxxx.jpg

In actual fact, there are loads of maps that can be brought in, wind, rain, temperature, both for today and tomorrow...

http://www.bbc.co.uk/weather/ukweather/east/temperature.shtml

grayme

There are so many options too, how about showing rainfall over a period...

http://www.bbc.co.uk/weather/ukweather/ukrainfall_06.shtml

So many options!  :)

uk_skinner

Here is something I don't quite understand.  :wall:  :wall:

It seemed to me that the images from bbc are saved as "yesterday" date.  For example, today is 16Dec and the file we saw on the web got "151204".  And yesterday's image (Wednesday) had "141204" tag in the file.  Well, this is something different from we anticipated when Rotlaus developed the program.  I will try and let you know what happened.

Alternatively, I can come up the one using EZDownload to get image (I only know how to tweak it).  To make radar.exe handle this situation, we have to wait Rotlaus has spare time to work on it.

uk_skinner

For the users who wish to download the image from www.bbc.co.uk, here is a package for you.  It will use EzDownload to download the image with "date" fromat, for insatnce:
http://www.bbc.co.uk/weather/maps/mancf1512041200t024symsxxxx.jpg
or
http://www.bbc.co.uk/weather/maps/norwf1512041200t024symsxxxx.jpg

There are total 13 images, from East to West.

The bbcimagedl.exe will download the image based on the parameters you generate in bbcimagedl.txt.

For example : http://www.bbc.co.uk/weather/maps/norwf1512041200t024symsxxxx.jpg

the format in the .txt file should be:

norwf
\Program Files\TodayPlus\Images\Radar1\1.jpg



Remember to hit "enter" at the end of each line.
Please see example if you still have question.

Here is the step-by-step instruction:

1) Unzip the files and you should find 3 files (bbcimagedl.exe, bbcimagedl.txt and EzDownload.exe)
2) Copy EzDownload.exe to \Windows (at this moment, this is the only place, it is possible to tweak the registry to launch it from other places)
3) Copy bbcimagedl.exe and bbcimagedl.txt to TodayPlus folder (you can put in anywhere but both exe and txt has to be the same place)
4) First try to run bbcimagedl.exe in file explorer.  You should see something happened at the bottom of your task bar due the action of EzDownload.
5) When the downloading is finished (depends on how many images your do, it will take about 3 secs/image),  go to the "/Program Files/TodayPlus/Images/Radar1" to see you have your images.  If you use the included .txt, you should have 1-13.jpg.  Open them with your image viewer to make sure the images are right.

As for how to incorporate into Hammerskin1.05.4, there are several options:
1)  Make a shortcut (apps-7-2) point to bbcimagedl.exe and add a update code in the weather updateing code area.
2)  Make a seperate update icon in the radar area to update the images seperately.

If you can let me know what is your preference, I will walk you through to add the code.

Final note, this is different from radar.exe.  Without Rotlaus around, I don't know how to tweak radar.exe to do this downloading.  If Rotlaus see this post, I believe he will come out some solution.  My way is just a temp before that happened.  As for those images with fixed url, you still can use radar.exe to download them.

grayme

Uk,got as far as 4, but got

"Cannot find 'bbcimagedl' (or one of its components)...."

uk_skinner

Quote from: graymeUk,got as far as 4, but got

"Cannot find 'bbcimagedl' (or one of its components)...."

1) What is your device? PPC2003 or PPC2002?
2) What is your internet connection? ActiveSync? Wi-Fi? GPSR?
3) Did the 4 you downloaded looked right?

grayme

1. 2002
2. ActiveSync
3. I didn't download anything, that was the error point.  :(

uk_skinner

Quote from: grayme1. 2002
2. ActiveSync
3. I didn't download anything, that was the error point.  :(

I need to complier the 2002 for you.  The one I posted was for 2003.

uk_skinner

grayme:

 This is 2002 version.  It works on my 2003 device.  Please try it and let me know the result.  This time, you will see a window shows the updated date and time after download finished.  If you don't like the format of date and time, let me know, I can change it.

 Please note the exe name is bbcimagedl2002 so you have to keep this name for your txt file too.