yashsingh1/xdaforums huggingface dataset:
[Windows Mobile Apps and Games] myso:
Well, there are no any problems on the wallpaper of S2U2 updating before but the wallpaper can't be updated since last week. And also, I have set the path of the S2U2 wallpaper by the IPTWeather Config function. Thus, I feel very wonder what happens on the wallpaper... Any suggestions???

Thanks and Best Regards,

MYSO
[Windows Mobile Apps and Games] michoob:
Maybe you have disabled the update of the S2U2 wallpaper, or removed your pictures.
[Windows Mobile Apps and Games] myso:
Well, it seems that all settings, which you mentioned, have already been set as default (enabled status) and wallpapers are still under the assigned folder and set by the IPTWeather Config function either... Any comments???

Thanks and Regards,

MYSO
[Windows Mobile Apps and Games] michoob:
Where are stored your wallpaper weather pictures?

If on the Storage Card, they aren't available when you connect your device to a computer, then IPTWeather won't update the wallpaper.

Strange that it used to work but not anymore. You must have changed something. The question is what.
[Windows Mobile Apps and Games] tito12:
Hi Michoob

I have more than one (4 in fact) weather iconsets, so I made a little script for fast switching between them ;).

Preparations:

1- Create folders in Storage card for each iconset

2- Edit weather.ini in this manner: IPTWaccuWeatherIconPath=\Storage Card\IPTWeather Iconsets\One (replace One with the name f.e. Spilicons) and place it in that same folder

3- Same procedure for every iconset folder

4- Create a shortcut for iPhoneTodayAccuWeather.mscr in IPTWeather folder, I called it WeatherUpdate

5- Download and unzip ChangeWeatherIcons.mscr, edit (with any text editor) the path for each copy of weather.ini and name of folders. Save and copy the script to your device ( to IPTWeather folder or anywhere else)

6- Create a new icon in IphoneToday pointing to ChangeWeatherIcons.mscr

That's it, when you press this icon you'll get a menu with iconsets, choose one and press OK, the weather and the new icons will appear soon.

Hope you can find this useful :)
[Windows Mobile Apps and Games] JJ0217:
Here is registry in HKCU\Software\iPhoneToday\AccuWeather.

It shows strange temperature data.
[Windows Mobile Apps and Games] michoob:
Ok, it seems the ° symbol used in the parser is not recognized on with you OS language.

Just remove all the ° symbols in the config5.xml file and you shouldn't have the strande "/data" displayed.

I'll try to find a way so the ° symbol is displayed on any OS language, but the thing I just tried wasn't a success.
[Windows Mobile Apps and Games] JJ0217:
Hi Michoob

Would you like to show me the original file "config5.xml" ?

I wonder there are some changes in "config5.xml" after I install IPTWeather on my PPC.

I can't find 。, but find "?/data" in "config5.xml".

After remove "?/data", my S2U2 show only current temperature (of course, no ?/data), but it does not show high and low temperature.

Attached is my config5.xml file.
[Windows Mobile Apps and Games] michoob:
Ok, something strange. Maybe the xml files are not valid UTF-8, I don't know.

Try to replace all occurrences of "?/data" with "</data" in the config5.xml.

The ? symbol you see is normally "°<", but as your OS language doesn't support the ° symbol, then if you replace "?/data" with "</data", you will have the temperatures without the ° symbol.
[Windows Mobile Apps and Games] JJ0217:
Wow, that's awesome.

Thanks, Michoob.

After I change ?/data to </data>, my S2U2 looks good.

Just one more trivial thing: the temperature now only shows number without unit (C or F) (of course, no 。), can you do something for this ?

Thank you again.
[Windows Mobile Apps and Games] michoob:
The unit has never been shown in S2U2 with IPTWeather.

Actually, you cannot really add the unit for the moment, but you can edit the IPTWS2U2UserWeatherTextPattern setting of IPTWeather to add the C or F symbol manually.

I guess I should add the %TUNIT% and %SUNIT% (for speed unit) as possible values in IPTWS2U2UserWeatherTextPattern.

Funny thing, I'm noticing that when you write the ° symbol, you actually write 。 instead.

So I really guess the ° symbol is not compatible with your language.

Then, you could maybe try to edit again your config5.xml file and replace <data type="text"></data> with <data type="text">。</data>.

Another thing to try, would be to add manually in the IPTWS2U2UserWeatherTextPattern setting the ° symbol and check if it works.

But I really mean the ° symbol, not the 。 one.

Let us know the result of your tests.
[Windows Mobile Apps and Games] JJ0217:
What an idiot I am!

I used to edit config5.xml on my Desktop, both ° and 。are recognized on my Desktop.

Today I try to key in ° or 。on my PPC with PPC keyboard, then I find it does not have these symbols.

So after I change "?/data>" to "°</data>" or "。</data>", S2U2 shows strange data again !

You are right !

:rolleyes:
[Windows Mobile Apps and Games] michoob:
You may have discovered a new weather script called TRITitaniumWeather.

I will have a look at it in order to find ideas for new features in IPTWeather.

What is for sure is that I don't plan to use another weather website than AccuWeather.com nor to add weather to Titanium.

But if you think some other features might be interesting to have in IPTWeather, please tell me.

I am actually already testing for a week or two the feature of weather auto-updates for multiple locations (but still with only one location displayed at once).
[Windows Mobile Apps and Games] tito12:
Actually I like the configurability in IPTW, that it can be displayed anywhere in IPT. In TRITW I like the display of all locations at once (as I travel a lot it's very convenient).

So now I use both until I make my mind :D

Thank you for your sharing.
[Windows Mobile Apps and Games] michoob:
I might think of displaying several locations at once, but would you like to be able to display only the current weather icon of several locations at once, or also possibly the forecasts?

I'm afraid I already know the answer... ;)
[Windows Mobile Apps and Games] tito12:
Oh no! I'll make it real worse!!!

Update displays all locations at once, pressing a location displays forecast icons for this location :D
[Windows Mobile Apps and Games] claus1953:
From Tritanium i like the feature that it goes through all possible connection api and takes the first one that works. Same as Tito i like also that it shows all configured weather locations at once. I also like that it can use yahoo, as it is the only site that displays the weather in my location. AccuWeather only takes a location 50 km away and the weather is not the same as here.
[Windows Mobile Apps and Games] Luke-ro:
That's the best solution, even if probably the most complicate to obtain :D
[Windows Mobile Apps and Games] michoob:
Actually, displaying forecast icons for the pressed location is easier to do than displaying current weather for each location... it just requires few changes.

But I don't know yet how to add the display of the current weather for each location. I mean, you might want to be able to configure the position of the current weather icon for each location. I think I will have to add a new setting for this, but I already have an idea of how to implement it.

For the Yahoo! Weather API, I don't know. It is not the first time it is requested so I might think about it. But I am surprised you cannot find your city in AccuWeather.com. What location are you looking for?

As for the automatic choice of the API, I am not sure, as you cannot really say which one is the best : some of them have only 3-days forecasts, or 5 or 7, and depending on your data plan, you might prefer to use only the 3-days forecast API...
[Windows Mobile Apps and Games] tito12:
It's true you can end up with too many icons in a page, maybe skip the night forecast to reduce their number?
[Windows Mobile Apps and Games] michoob:
You can already skip the night forecast if you wish to. Just check the weather.ini settings ;).

But I meant that I need to change many things to display the current (not forecast) weather for each location at once.

Or, maybe what I should do, is just display all the current weather icons of all locations just after the first current weather icon. Thus, it wouldn't require any new setting...

I have an idea. Tell me what you think about it.

For the moment, I am testing the feature of downloading all favorite locations which you prefix with a * in the manage location script.

I could add the feature to show after the usual current weather icon all favorite locations which you prefix with a + in the manage location script.
[Windows Mobile Apps and Games] tito12:
Stop reminding me the ini ! I wish my wife came with an ini so perfect :D

When you mention locations, you have in mind the weather icon or the city icon?

Sounds very good!
[Windows Mobile Apps and Games] Luke-ro:
Personally i think this solution would be very good
[Windows Mobile Apps and Games] michoob:
Thanks tito12 and Luke-ro.

By location, I meant the current weather icon of the location, not the city icon.

Don't expect those changes to be made before the end of the month.
[Windows Mobile Apps and Games] claus1953:
My city is Ezequiel Montes, state of Queretaro, Mexico. In Yahoo Weather it is the code MXQA1871. The nearest one in AccuWeather is Queretaro, capital of the state of Queretaro and it is 50 km away, code is NAM/MX/MX020/Queretaro. Also if i use My Location it will take the same location as it is the nearest one.

The only advantage i see in going automatically through the api's is that if one ceases to work it will automatically take the next working one.
[Windows Mobile Apps and Games] michoob:
@claus1953: you have not looked for it with the manage location script, have you? I just searched for Ezequiel Montes, and I found Ezequiel Montes, Mexico(Queretaro De Arteaga), NAM|MX|MX022|EZEQUIEL+MONTES. So it is useless to use Yahoo! Weather ;).
[Windows Mobile Apps and Games] claus1953:
You are totally right michoob, i only looked for the code in accuweather, typing it in the manage location script works for all my locations... thanks a lot for the info.
[Windows Mobile Apps and Games] bismuth89:
I'm a new user of S2U2 (and I don't use IphoneToday) so these are all new to me.

Thanks a lot for this useful program, I don't have Manila or SPB so this is very useful for me to have the weather data directly from Accuweather and display it on S2U2

But I still cannot have full screen weather on S2U2 (I have a QVGA device), the weather image is displayed in the left and is cut off (even though it is a full screen image)

What I did is:

- Install S2U2

- In S2U2 Settings/Information/Weather, choose Today's weather forecast from: Option 5 (Userweather)

- Copy all fullscreen weather image to gfx\weather (named 1.png, 2.png... 44.png, rename 0.png to 10000.png)

- Install IPTweather

- Choose my location in IPTWeatherLocation.mscr and choose OK when asked: "Update weather now?"

- In IPTweatherconfig.mscr/S2U2 Settings:

+ Set IPTWtodayForecastInS2U2Wallpaper=0

+ IPTWtomorrowForecastInS2U2UserWeather=-1

- Click StartIPTweather.mscr

- Restast S2U2

Attached the screenshot of S2U2 in my phone and weather.ini file.

Hope someone can help me to solve this problem, I'm really out of ideas now :( I would be really grateful for that.

Also one more small question: How can I change the position of the date in S2U2?
[Windows Mobile Apps and Games] tito12:
Hi Bismuth

I have a feeling the png's are not QVGA ;)
[Windows Mobile Apps and Games] michoob:
You did all right, but just that the fullscreen weather icons are for WVGA screens not QVGA...

I cannot really help here.
[Windows Mobile Apps and Games] bismuth89:
The pack I have are 240x204 weather images, for QVGA, the same pack in this thread: http://xdaforums.com/showthread.php?t=467596

I really don't understand why this happened :confused:
[Windows Mobile Apps and Games] michoob:
I can't tell, but something's wrong with those PNGs...

Anyway, you can also try to use IPTWeather to update the wallpaper of S2U2, not only the UserWeather...

We can't really help you, especially not because the zip file containing your weather.ini file seems corrupted.
[Windows Mobile Apps and Games] bismuth89:
ok, thanks for your help anyway, I will try it again some other time :)
[Windows Mobile Apps and Games] claus1953:
Michoob

I have a question. I am using the folders (modified IPT) by Tito and i would love to have one with the weather inside. Can i modify one of the scripts to make IPTW write the icons inside one of those modified IPT's?
[Windows Mobile Apps and Games] michoob:
Hi claus1953, you can modify whatever you want. Just make sure to share your work here.

The problem is I think the renamed IPT executables cannot read from the registry the reloadIcon data... so to have this changed, you would have to review all the scripts so you don't use the reloadIcon feature of IPT but just write into the icons.xml files... huge work! Unless you can hexedit the IPT exe so it reads data from the HKLM\Software\iPhoneToday1 registry key instead of HKLM\Software\iPhoneToday... then it could be quite easy to change IPTWeather, and I could even add an option for this... maybe tito12 has made some tests of this?

In the meantime
[Windows Mobile Apps and Games] tito12:
Here's a new exe according to tronikos's explanation, without hexedit, I used "Folder" instead of Foo :)
[Windows Mobile Apps and Games] michoob:
Ok, good news is my tests are successful and I managed to update weather in the Folder instance :).

Bad news is that with my test version of IPTWeather, you have to have the Folder.exe running (even minimized), otherwise icons are not updated.

I have to check if I can find an easy solution so it can work even if Folder.exe is not running. Then, it would update the weather icons once you start Folder.exe.

Stay tuned! ;)
[Windows Mobile Apps and Games] tito12:
Keep up the good work and if you need testing just call :)
[Windows Mobile Apps and Games] michoob:
Ok, it's working now. I do have on my device a version of IPTWeather that can update weather icons to any iPhoneToday class name, e.g. Folder, even if it is not running! :)

I've reworked a lot IPTWeather in the last two weeks, also to add the display of the current weather icon for several locations at once!

And suprise, IPTWeather can now also update automatically a list of locations within your favorite locations!

I've reworked the Manage Location script so it is more user-friendly: it doesn't quit after each action, so you can manage all your favorite locations without the need of running the Manage Location script several times.

In the following days, I will clean up a little the code :p and also continue testing so I hope I can release a new version of IPTWeather before Valentine's day! :D

I would never have said two months ago that I would still be able to recode IPTWeather so much. This newest version has so many great changes, it is comparable to the Killing Dragon version released on September 29, 2010 and which I know you enjoyed a lot! ;)
[Windows Mobile Apps and Games] tito12:
Wow! A lot of work :)

You know that with integration to Folders and the possibility of updating many locations at once you are very close to create a standalone app: I can imagine just one button will launch another instance of IPT (what we call a folder) with the favorite location and a swipe will display next and so on. No need to code every time replacement of existing icons with weather icons and reverting back to originals.
[Windows Mobile Apps and Games] claus1953:
Great news Michoob, i now use only IPT, and with your new IPTW this will be a killer couple, congratulations and thanks a lot for your wonderful work.
[Windows Mobile Apps and Games] michoob:
Thanks claus1953 and tito12 for your support.

Sorry tito12, but this won't happen. If you want a free standalone weather app using AccuWeather.com, I would suggest you install Weather 4 Me or you can also try Weather Watcher ;).
[Windows Mobile Apps and Games] tito12:
No michoob, I didn't formulate well, I know that it's linked with steel cables to IPT :). I was thinking of Vito's winterface weather that is really very aesthetic and similar to iphone's weather (but not as configurable as IPTW ;) and has also a nag screen to install winterface)
[Windows Mobile Apps and Games] michoob:
Yeah, I know that you know :).

I just mean that I don't want ITPWeather to be able to update the forecast icons for several locations on different pages in iPhoneToday, what I thought you meant by "launch another instance of IPT with the favorite location and

a swipe

will display next and so on".

But what will be possible is to "launch another instance of IPT with the current weather icon of some choosen favorite locations and a click on each one of them will display the forecasts".
[Windows Mobile Apps and Games] tito12:
Here you got me right, that's what I meant :) but if you don't want to, hey you're the boss :D

So it will be on one page, let's say there are 6 to 8 locations and pressing one will overwrite all the other locations icons with forecast icons (which can present an issue with returning to main display) or... there's no overwriting and the forecast icons will be displayed below the location icons (with the possibility that the page will not display all the icons without scrolling down).

Is it right or you have another plan ?

Ps I hope you don't mind my commenting before the release of the new version
[Windows Mobile Apps and Games] michoob:
First, I actually really appreciate your comments before I release the new version.

As you may have noticed, I don't like releasing versions too often, as a proof of stability :).

So your comments before I release the new version can help me to point some things I haven't thought of.

Let me explain how it will work.

You will have all current weather icons displayed on the page IPTWcurrentWeatherPage starting from icon IPTWcurrentWeatherIcon to the number of locations to be displayed.

The first icon will always display the weather of the IPTWaccuWeatherLocation location, and this icon will not be displayed twice, even if it is also in your favorites and marked as to be displayed :).

The forecast icons will be displayed on page IPTWforecastStartPage starting from icon IPTWforecastStartIcon.

By default, on each automatic update, the forecast icons of the IPTWaccuWeatherLocation location will be displayed.

But by clicking on one of the current weather icons, it will overwrite the forecast icons of the IPTWaccuWeatherLocation location with the selected favorite location (IPTWeather will write all Execute and Parameters fields for the icons).

The Execute and Parameters fields are not changed for the first icon (IPTWcurrentWeatherPage, IPTWcurrentWeatherIcon). But as usual you can map it to iPhoneTodayAccuWeather.mscr manually to ensure it will display the forecast icons of the IPTWaccuWeatherLocation location.

So if you set IPTWforecastStartPage = IPTWcurrentWeatherPage, it will be your configuring task to ensure that (IPTWcurrentWeatherIcon + number of displayed current weather icons) < IPTWforecastStartIcon.

One bonus thing in the new version (I did this because of your comment in the TRITitaniumWeather thread ;)): if you remove some current weather icons through the Manage Location script, they will be automatically blanked! :)

And the same goes for the forecast weather icons if IPTWwriteForecastInFile=1: if there are less icons to display than usual (for instance if you haven't updated the data for one day), it will blank the old icons. It only works when IPTWwriteForecastInFile=1 simply because this feature is useless if IPTWwriteForecastInFile=0.

Also, if IPTWwriteForecastInFile=1, the day icon will always be displayed, even if the sun has set.

Yeah, this new version has many many new features to discover!! All for your pleasure!
[Windows Mobile Apps and Games] michoob:
Ah, also another thing in this version: the IPTWtranslationLanguageCode setting is back!

This time the translation features is not based on a download from the website of AccuWeather.com, but the correct language is directly downloaded through the AccuWeather API. So having the weather description in different languages doesn't make you download more data anymore! This is a good point.

But (there is always a but), I didn't succeed to have MortScript download the data in the correct code page (even though the MortScript Manual states you can choose the code page with ReadFile), so if you have non-ASCII characters, you will have to edit them in the language file manually :(.

Another but: less languages are available. In addition of the default US English, you have also de, es, fr, it and pt.
[Windows Mobile Apps and Games] tito12:
Sounds great, can't wait to try it !
[Windows Mobile Apps and Games] michoob:
Hi all, I'm sorry to tell you that you won't have a new version of IPTWeather before Valentine's Day.

Actually, even if almost all new features are already committed, I don't have time to finish all by that date.

But as I can access to the Google Project page of IPTWeather at work, I'll try to update the change logs today so you have an overview of the changes of the new version to be released probably before February 16 ;).

Stay tuned!

:D
[Windows Mobile Apps and Games] claus1953:
Take your time michoob, you are doing a great job, and i can wait without problems, as i am sure the next version be much better.
[Windows Mobile Apps and Games] michoob:
I'm even now thinking of a great improvement of the iniEditor.mscr script that I use for the IPTWeather configuration script that will decrease drastically the size of the weather.ini file and give better speed performance to IPTWeather :).

But that will be for a next version.

It is difficult to find time to work on IPTWeather, because I have so many good things to do in my life :).

But time is money, so you know what to do to put IPTWeather on my top priority list :p.
[Windows Mobile Apps and Games] michoob:
I'll update the forum tomorrow, but you can already enjoy the latest version IPTWeather_20110213 with many new features (see full changelogs on the Google Code page).
[Windows Mobile Apps and Games] michoob:
IPTWeather_20110213

Please find below the changelogs of the latest version that I actually released in two version, because I wasn't sure that the feature of the latest release could be done so easily and that has been inspired by the following post of tito12:

Enjoy! :D
[Windows Mobile Apps and Games] tito12:
Congrats michoob for the new release, right now I'm away guiding a group, will try this version in a few days :)
[Windows Mobile Apps and Games] basil12:
I cannot see the humidity icon and percentage pls help me

My friends can you help me?

I have Omnia2 and I can't see humidity unfortunately.What I can do?Be always good.

Isaak12
[Windows Mobile Apps and Games] michoob:
Hi, please read the F... FAQ.
[Windows Mobile Apps and Games] basil12:
I am sorry I don't understand

Can you tell it more analytically?
[Windows Mobile Apps and Games] claus1953:
More analytically?

1.Go to the first page

2.Click on the FAQ link

3.Read the FAQ

4.There you will find answers
[Windows Mobile Apps and Games] tito12:
Hi claus

You're not detailed enough, where's the first page? can you provide a link?:)
[Windows Mobile Apps and Games] michoob:
@basil12: is this a joke? Have you read the first post? There is a link the FAQ there where you can find information about the humidity icon. If you cannot find such an information, then I wonder how you can run IPTWeather...

Ok, I'm in a good mood today, so here are the settings to configure to get the humidity icon:

[Custom settings]

IPTWdisplayHumidityIcon=

IPTWhumidityIcon=

IPTWhumidityPage=

IPTWhumidityIconName=

But for more information, please read the FAQ, or at least run the IPTWeather Config script in Start Menu -> IPTWeather.
[Windows Mobile Apps and Games] basil12:
No Humidity icons,nore humidity percentage on Omnia2

Hello Michoob

I read finally all the F...FaQ but I may have not understand the changes or Omnia2 cannot display Humidity...I 'd like it too much,any help please? Which is the right IPT? Thank you at first.