yashsingh1/xdaforums huggingface dataset:
[8525, TyTN, MDA Vario II, JasJam ROM Development] Punker1234:
Hello. I am using the basic HTC Home on my Tilt. Before I started, I made sure to disable HTC home and the customizer. I installed the SDK certs, patched my HTCHome.dll with your auto patcher that create the .Cab and installed.

I then edited my XML file:

\WINDOWS\HH_0409_WeatherCities.xml

and added the appropriate line:

<city name="Fort Belvoir, US" locationcode="22060"/>

Side note though, every US city on my tilt int he XML file is in this format but with US cities:

<city name="Manchester, UK" loca="EUR|UK|UK174|Manchester" land="United Kingdom"/>

Copied it over into mu windows folder, loaded up HTC Home and it wasn't on the list. The only other thing I guess i should mentioned is that i'm using the HTC Home Customizer as well. Ideas? am I missing something?
[8525, TyTN, MDA Vario II, JasJam ROM Development] jac:
Success First Try!

I also had to go to cities 15-20 miles away, and is nice to see my home town! Sadly I was unable to use the zip code....

Do you think eventually there will be a way to do this, without having to mooch off your server or me setting up my own server? I don't think this is much of a priority for HTC :(

Anyway thank you for the use of your server!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
There already is - the script is on the front page (although needs minor updates, I'll upload a new one shortly!). You'll need knowledge of Apache to do it.

Why were you unable to use the zip code, out of curiousity?
[8525, TyTN, MDA Vario II, JasJam ROM Development] :
@N2A: You got PM about signing the file.
[8525, TyTN, MDA Vario II, JasJam ROM Development] jac:
Mainly due to a custom (HH_0409_WeatherCities.xml) I think? I changed it to the places I frequently visit: US, UK, Scandinavia & Turkey and deleted the rest. I'm by most standards a nooby when it comes to XML, so it could be me.

As for Apache I have no clue.... But a quick study.... I will continue to watch the first few posts for more details and updates!

Many Thanks!

-Jeff
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Look, if you can't be bothered to make your own file, you shouldn't even be here.

I've updated the first post with explicit instructions on how to get your city into the XML file.
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Thanks a lot, I'll give that a shot when I'm not quite so tired!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Check the front page post - it's got quite explicit instructions on adding ZIP codes etc now :)

As for the Apache setup, it's not difficult, you just have to have a forward-facing IP on the internet, and be able to map /htc/widget etc. It's fairly trivial.
[8525, TyTN, MDA Vario II, JasJam ROM Development] lassa10:
When i make the changes, in HTC weather citys don't have any city???????

What´s rong!?!?!??!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Sounds like you've messed up your XML file. Did you paste it on a new line, by itself?

Most importantly, did you disable the HTC Home plugin before making the alterations, as it says right at the top? If not, I suggest you soft-reset your device.

If all else fails, you'll need to uninstall your home plugin, and reinstall it, then try again. I also suggest copying the file via ActiveSync -> Explore -> My Windows Mobile-Based Device -> Windows, find the weather XML file, copy it to your desktop, edit it in Notepad or something similar, then copy it back.
[8525, TyTN, MDA Vario II, JasJam ROM Development] Trident:
Truly a spectacular piece of work.

Thank you very much. I got this working easily on the first shot on my device. And just because you asked for feedback regarding locations, I entered two nearby cities. I did one with the original "long" notation and one using the ZIP code. Both work flawlessly.

I hope that you allow us the use of your server for a while~ I'm competent enough to alter xml files, but the directions for setting this up without using your server a little over my head. Maybe a lot.
[8525, TyTN, MDA Vario II, JasJam ROM Development] ahfunaki:
working great here using my zip code...thanks!
[8525, TyTN, MDA Vario II, JasJam ROM Development] dscampari:
Hi.

Thanks again for your work. Still I seem to have the above mentioned problem regarding cities with two words.

I checked the website htc.accuweather.com and got your page. Then I checked using http://64.62.158.108/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&locCode=EUR|CH|SZ019|Sankt%20Gallen on my PC and on the PDA and got both times the xml output (including data).

In the HH_0407_WeatherCities.xml file I added the line <city name="Sankt Gallen, CH" loca="EUR|CH|SZ019|Sankt Gallen" land="Switzerland"/>

Any idea what went wrong?

Thanks!
[8525, TyTN, MDA Vario II, JasJam ROM Development] RpR:
Works perfectly fine using your server, which is great, but being the nerd I am I need to get this running on my own IIS server :-)

The strange thing is, i get the exactly same output from your server and mine, but it will only work with yours?

Here's the two URLs:

http://89.184.130.103/widget/htc/weathertranslate.php?locCode=EUR|DK|DA011|GUDERUP

http://64.62.158.108/widget/htc/weathertranslate.php?locCode=EUR|DK|DA011|GUDERUP
[8525, TyTN, MDA Vario II, JasJam ROM Development] Nghiem:
Results are varies :(

I am a little out of luck. Insert along string or zip code string to original xml in 5 buttons ain't go nowhere.

or

Facts (Cingular 8525, Black Satin, Radio 1.48, HSDPA and Wifi enable, Built-in cities work great)

1. Dissable HTChome on today screen.

2. Browse to HH_0409_WeatherCities.xml and save it to PC.

3. Edit it by NotePad, insert the string quoted above then save.

4. Delete the original xml in Cingular, copy the customized back to its location.

5. Soft reset.

6. Fire up HTCHome, then select the "new" city.

7. "Attempting to download..." then oops, "Unable to retrieve data for selected city"

Well, life is too short to mess up these things :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Did you do the pocket hosts step?
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
It's the .htaccess file, used by Apache to dynamically rewrite from /widget/htc/forecast-data_v3.asp to /widget/htc/weathertranslate.php - that's your basic issue. You need to have IIS redirect all requests to the (fake) asp file to the PHP. However, IIS may well try and execute things as ASP, and there it gets messy!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
I'll take a look today. I haven't a clue what's going wrong, but let me analyse my server logs, and see what I can come up with.
[8525, TyTN, MDA Vario II, JasJam ROM Development] dscampari:
Thank you! :)
[8525, TyTN, MDA Vario II, JasJam ROM Development] Fickle1:
I am having no luck getting my small city to work.

I get to your website from htc.accuweather.com

I checked http://64.62.158.108/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&locCode=NAM|US|OH|MARION

and get the weather information.

I added an entry in the HH file trying both the NAM|US|OH|MARION and the zip 43302 but cannot get any information.

I also tried another city, Waldo (43356) and can't get any information from that either.

One of the larger cities in my area shows up NAM|US|OH|COLUMBUS but for the life of me I can't get any of the smaller ones to work.

Thanks for your help.
[8525, TyTN, MDA Vario II, JasJam ROM Development] LeeCHeSSS:
Hmm, sadly, my phone completely ignores HOSTS entries (I'm using T-Mobile NL without a proxy) and still ends up at the real htc.accuweather.com site :(

I made a xml-parsing script myself too, directly from the accuweather site and not from the firefox-plugin xml feed (you already found the thread and linked to this thread :P).

Any ideas why the HOSTS entries are not working for me?

EDIT: Okay this is weird, when I changed the HOSTS-entry to your IP, it worked and showed your default webpage (with the error). When I changed it back to my server, it ended up at the real htc.accuweather site (the wap.wirelessaccuweather one). Changing it back to your IP again, did not do anything anymore though!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
If you're on the cheap T-Mobile connection in the US, if I remember correctly, there's some issues updating. Weather should work on the normal plugin unless you're trying to get somewhere local.

I think I need to totally rewrite the guide, it's beginning to really confuse people now.
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Okay. The line you should be adding is in this format:

<city name="Fort Belvoir, US" loca="22060" land="United States"/>

Needs to have the "loca=" not the "location=" bit.

As for the HHC, I've no real experience with what it does or doesn't do, so I don't know if it'd interfere with it or not.
[8525, TyTN, MDA Vario II, JasJam ROM Development] chaznet:
Yes, I'm on that 'cheap' T-Mobile connection ;) Thanks for the info, though I'm not sure what you mean by 'somewhere local'. I'm on the west coast, I just tried setting it to be a city on the east coast (not local?) and same thing: works fine via WiFi, but not with EDGE. Other than not-working, I like the weather app though...
[8525, TyTN, MDA Vario II, JasJam ROM Development] DJHile:
Oh NOOOOOOO!!

I recently downloaded the HTC Home 2.1 for Hermes/TyTN/Vario II (Schen cab, with Hermes brightness fix, WM6 only) from weather.not2advanced.com/files so that I could enable the weather for Jefferson City, MO. Worked GREAT! Only problem is that now I can not utilize the HTC Home Customizer program by emunutz (pocketemu.com). I am not sure if anyone else uses this program but it will not allow me to change the clock settings or anything. Any idea why or how this can be fixed? PLZ HELP!!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
You need to talk to him about it, or use the personal package creator instead.

According to the front page of pocketemu.com:

"Well, I've been doing some testing/research over the past few hours and noticed:

- The new v2.1 home plugin is NOT fully compatible with the customizer"

I'm guessing that's your issue!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
By "somewhere local", I'm asking if you altered the XML file or not, to get your local weather. (That's why the translator exists!)
[8525, TyTN, MDA Vario II, JasJam ROM Development] vj4:
o2 blocking? or am i suck a noob i cant follow instructions???

ok im on o2 in the uk i live in brighton and as everybody else found weather wasnt working ova my gprs. then i found my hero in n2a!!! followed what he sed but coulnt find htchome.ddl on my device. then scrolled down further and found a cab file for blackdiamond hurray!!!!! installed that and still have same problem it connects to gprs and then ses unabe to retreive data for selected city. grrrrrrrrrrrrrr im on o2 payandgo have loads of credit and a wizard running bd3.1 what have i done rong please help me. i like to know what the weathers like outside when i'm playing xbox with the curtains closed and lights out!!!! lol thanks guys in advance. vj
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Heh, I can answer that one right now mate. Well, there's 2 parts to the answer.

1) The reason you couldn't find your \WINDOWS\HTCHome.dll is probably that you didn't have "Show Hidden Files And Folders" enabled in Explorer.

2) o2 PAYG only allows WAP access. It's really sucky. I had an old o2 Genie SIM in a Palm Tungsten W that I beta tested ages ago and was given as a reward, and I could only use WAP on it, and not proper web access. Sadly, there's nothing whatsoever I can do there for you. Everything goes via their WAP gateway, and as far as I could tell, there was no way to do any direct connection over PAYG.

O2 PAYG sucks. I got the SIM card in the first place so I could use my old Palm on the web. The only way I could do it was to physically dial in to a "proper" ISP. Ridiculous, huh?
[8525, TyTN, MDA Vario II, JasJam ROM Development] vj4:
oh man that sucks sooooooooo much coz i can get on the web site that gives me the weather i'll just have to do that. thats so lame of o2 what a suprise do any other operators let u use gprs on pay and go? thanks for your help tho. vj
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Orange and T-Mobile do, not sure about Vodafone or 3. I think T-Mobile were doing one of the better deals on PAYG GPRS/3G last time I looked - up to a gig a day for £1.
[8525, TyTN, MDA Vario II, JasJam ROM Development] vj4:
m8 your ur a legand i might change my network just to get the weather lol is that sad? maybe a touch!!!! l8ers guys!!! pm me if ufind a way of wap doing it!!!! vj
[8525, TyTN, MDA Vario II, JasJam ROM Development] Volker42:
Rename file worked for me for Germany

I renamed HH_0409_WeatherCities.xml in HTCHome to HH_0407_WeatherCities.xml and it works fine now without any patch (I have plugin in ROM . .)

Greetings !

V.
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Your ROM might have it prepatched, or you may be using cities already on the HTC system. If it's not patched, you won't be able to use your exact local location. But the 0409 (English_United_States) to 0407 (German_Standard) is a known locale issue - each non-WWE rom needs a rename.
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
It's worth it to be able to use non-Web applications like IM or Fring! *laughs*
[8525, TyTN, MDA Vario II, JasJam ROM Development] vj4:
whats fring? so would msn messanger work aswell??? some 1 claims to have fixed the payg problem on another handset i've put up a thread asking for help with all the settings they sed but nothing so far if i find anything i'll let you know. vj
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Fring handles Skype, MSN, Google Talk, ICQ/AIM Yahoo etc, in one handy interface. Free, too. And yes, in answer to the question, MSN would work too. It's just annoying that O2 only allow WAP on PAYG.
[8525, TyTN, MDA Vario II, JasJam ROM Development] crecord:
SDK Certs

I have been trying to install the SDK certs, but it is always unsuccessful. I thought I might have done something to cause this, so I reverted to the original set-up with a hard reset (ATT ROM). I tried again and it is still unsuccesfull. The phone is unlocked to ATT. At this point, I don't have the HTC Home plug-in installed. I wanted to put the sdk certs on first. I'm a newbie, so please be gentle! :confused:
[8525, TyTN, MDA Vario II, JasJam ROM Development] edsub:
I am happy to announce that your WM5 version DOES work over GPRS on my AKU3.3 ROM (WM5seR5)

(I did not work on my previous AKU2.3 WM5seR4 ROM)!!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
That's rather interesting to know - I wonder if it's something to do with AKU 3.2. I'll update the first post accordingly. Thanks for the feedback!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
I seem to remember something about some phones being application locked. A bit of googling turned this up - try following the instructions with the registry editor there.
[8525, TyTN, MDA Vario II, JasJam ROM Development] edsub:
Well AKU3.3 has some changes in the GPRS connection behaviour I noticed.

I am now able to run connections over multiple APN's (ie Blackberry RIM and Vodafone simultaneously). This has also afected TomTom6.03 behaviour (with previous AKU it started mute if i had an active GPRS connection, now it works like suppoesed)
[8525, TyTN, MDA Vario II, JasJam ROM Development] wpbear:
Interesting:

Caribbean location for St Maarten works but any of the three choices for US Virgin Islands do not work. Using 3 BTN HTC Home.
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Um, that'd be why you add your own? *confused look* Use a zip code, or get a code from AccuWeather.
[8525, TyTN, MDA Vario II, JasJam ROM Development] tenizkid:
Error when creating Cab file

Could Not Find C:\Documents and Settings\Home\Desktop\N2A-Packager\N2A-Packager\tools\htchome.dll

The system cannot find the file specified.

Uncompressed file detected. Compressing with UPX...

upx: htchome.dll: IOException: file is write protected -- skipped

Preparing cabinet install...

Could Not Find C:\Documents and Settings\Home\Desktop\N2A-Packager\N2A-Packager\

tools\htchome.dll

=======================================================================

Process is complete, and was successful!

Install the cabfile which has been placed in this folder to your phone.

=======================================================================

I did post the file in the tools folder and ran the batch file. Also, I am using T-Mobile Web in the US. I am not the most technical person with cell phone hacks so any and all information on how I can get the weather to work using T-Mobile Web in the US is greatly greatly appreciated. Thanks in advance...
[8525, TyTN, MDA Vario II, JasJam ROM Development] luponero76:
from italy thanck to arjov & N2A for the touch dual'S htchome.dll patched!

it work great!:D
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
You're not supposed to put the DLL in the tools folder, you're supposed to put it in the folder above (the "N2A-Packager" folder). Also, the packager doesn't patch anything - that is purely if you have an already-patched DLL. You may wish to use the N2A Universal Patch Package if you don't have an already-patched DLL.
[8525, TyTN, MDA Vario II, JasJam ROM Development] tenizkid:
I did as mentioned and am using the N2A Universal Patch Package. I put the HTCHome.dll in the folder as you mentioned. The following is the error I get:

The system cannot find the file specified.

File not found - unpatched.dll

grep: unpatched.dll: No such file or directory

Performing patch...

Reading from unpatched.dll...

Error opening input file unpatched.dll

Could Not Find C:\Documents and Settings\Home\Desktop\N2A-Patcher\N2A-Patcher\to

ols\unpatched.dll

Could Not Find C:\Documents and Settings\Home\Desktop\N2A-Patcher\N2A-Patcher\to

ols\patched.dll

=======================================================================

Process failed! Unable to patch the HTCHome.dll file correctly.

Either this file has already been patched, or something has gone wrong.

If you are sure the file is not pre-patched, please report this error

on the XDA-Developers forums, using the link from

http://weather.not2advanced.com/files/

=======================================================================

Press a key to exit.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sullivan26:
I feel like such a noob.

"There is no application associated with "n2a-patcher". Run the application first, then open the file from within the application.

Been at this for hours... dll file in the folder before tools with the patcher. Searched the entire thread, to no answer. Any help? :confused:
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Running Windows 98 perchance, or something similar? It's a .cmd file, which was designed to be used with the Win2K or above command interpreter. I have however renamed them to .bat in the new packages, which should work on any Windows operating system. Grab yourself a fresh download from the download page.
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
The first message, the "The system cannot find the file specified." suggests it's not finding the htchome.dll file at all for the initial copy, which is weird - it should abort before going any further.

I've repackaged them, with a specific text file saying exactly where to put the DLL file - try the new package from the download page, and let me know if you still have the same issue.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sullivan26:
All fixed. Just have to edit my .xml file. Was grabbing the wrong .dll, and was doing it on the phone, LOL! I feel dumber than ever.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sullivan26:
Works great, but still a problem.

I've edit the XML file with Crimson and sent it back to the Windows directory. Its showing my city (Columbia, TN) at 61 degrees. Its 30 something outside as I've checked. What have I done wrong?
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
You using your zip code, or the international format? Also, is celsius/fahrenheit set correctly? Last person who had bizarre errors like that actually had it pointing to the wrong city with the same name.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sullivan26:
Using the zip code as the international way is different. Columbia, TN 38401 United States is how I have it in there. Set to farenheit.
[8525, TyTN, MDA Vario II, JasJam ROM Development] tenizkid:
New error with the packager. Here it is:

============================================================

N2A's Automatic Weather Patched DLL Package Creator

Created by N2A @ XDA-Developers.com

For all questions, please see the thread at XDA-Developers

and the site at http://weather.not2advanced.com/files/

============================================================

UPX compressed file detected. Decompressing...

Performing patch...

Reading from unpatched.dll...

=======================================================================

Process failed! Unable to patch the HTCHome.dll file correctly.

Either this file has already been patched, or something has gone wrong.

If you are sure the file is not pre-patched, please report this error

on the XDA-Developers forums, using the link from

http://weather.not2advanced.com/files/

=======================================================================

Press a key to exit.

Also, based on the last error, it says it can't find unpatched.dll from the tools folder. When I browse it, I don't see it either. I feel like such a numbskull, sorry for all this mess.
[8525, TyTN, MDA Vario II, JasJam ROM Development] godfa7h3r:
Wow, that was a pretty complicated process just to get local weather. I don't know why they don't just let you put a zip code in there and keep the data on their servers rather than in an xml on every phone.

Anyway, I got it working on my Kaiser! Thanks for all the hard work N2A!
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
Can you zip up and attach the DLL file you're using? I'd like to see if I can diagnose this one myself.
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
I'm confused by the above statement. Can you clarify?

Is your ZIP code in the XML file, or the international format?

Just trying to get this diagnosed.
[8525, TyTN, MDA Vario II, JasJam ROM Development] sullivan26:
Using 38401 as my zip code. You said NOT to use the international one, as it differs from the American one. Plus I've never seen a zip code written like that over here. Am I doing it wrong?
[8525, TyTN, MDA Vario II, JasJam ROM Development] N2A:
You're doing it correctly, just wanted to make sure - your initial wording wasn't clear. I'll investigate further shortly.
[8525, TyTN, MDA Vario II, JasJam ROM Development] tenizkid:
Here it is, thanks for your help
[8525, TyTN, MDA Vario II, JasJam ROM Development] parn74:
i'd like to try it on my orbit2, but zip seems to be corrupted;

btw: i failed, when lokked for the url

http://htc.accuweather.com/widget/htc/forecast-data_v3.asp?ac=TR2cra9U&locCode=

inside htchome.dll.

did i miss something:confused:

best regards

parn
[8525, TyTN, MDA Vario II, JasJam ROM Development] mark.peters:
Can report that your auto-patcher works exactly as you said it would with the latest Black & Blue v5 HTC Artemis (WM v6.1) Rom from Tom Codon that's posted in the Artemis section.

Only problem was that although I copied the file across from PDA to desktop computer, I couldn't see it anywhere and after a bit of head-scratching realised that it had quite a few attributes set that had to be changed :)

Thanks for a great 'patch' !

Cheers

Mark

P.S. Have attached the newly patched HTCHome.dll file for any other user that want it. Remember though - it's only for HTC Artemis / Black & Blue v5 ROM by Tom Codon.
[8525, TyTN, MDA Vario II, JasJam ROM Development] zoomy942:
just wanted to update that this patch is working great on my VX6800! i love it!