gbadev.org forum archive

This is a read-only mirror of the content originally found on forum.gbadev.org (now offline), salvaged from Wayback machine copies. A new forum can be found here.

DS Misc > DSLiveWeather

#99414 - Lick - Mon Aug 21, 2006 1:48 pm

If you don't want to read through the whole thread..

Here is the most current official release:
clicky
_________________
http://licklick.wordpress.com


Last edited by Lick on Tue Sep 05, 2006 8:53 pm; edited 7 times in total

#99431 - MaHe - Mon Aug 21, 2006 5:15 pm

Sounds pretty useful, though if I am at home, I don't need it at all, but if I'm on the road, I cannot retrieve the code, so a location search function would certainly be nice ^_^
_________________
[ Crimson and Black Nintendo DS Lite | CycloDS Evolution | EZ-Flash 3-in-1 | 1 GB Transcend microSD ]

#99434 - emphyrian - Mon Aug 21, 2006 5:53 pm

Always a nice surprise to have useful program come out of nowhere!

#99437 - Thomas - Mon Aug 21, 2006 6:31 pm

Connects and works fine with ICAO code EHAM (Amsterdam Schiphol), but it doesn't work with my nearest ICAO code, EBGT (Gent-Industriezone). This is what it displays on the upper screen:

Code:

DSLiveWeather! (C) Rick Wong
Time: 0
ICAO:
Location: Gent / Industrie-Zone,
 Belgium
Max. Temp.: 0 C
Min. Temp.: 0 C
Rel. humidity: 0.000000
Wind direction: 0 degrees
Wind: 0.000000 m/s
Weather desc.:
Precipiation:
Intensity:


It seems like there isn't any weather information available for this ICAO.

#99440 - TJ - Mon Aug 21, 2006 6:41 pm

Very nice, I have always been a sucker for weather programs.

#99446 - Liter - Mon Aug 21, 2006 7:43 pm

This is great, just the kind of thing I've been hoping will one day appear. :)

What are your plans for it?

How about a touchscreen world map so you tap on a location on the lower screen and it will show the weather from the airport closest to where you are? With nice graphics on the top screen of course. :)

Also, how about making use of the free GFS (and other) weather data as used by:

www.xcweather.co.uk

This will then give additional info for people whose locations aren't close to airports.

BTW, here's a world list of codes for anyone who can't find theirs:

http://www.azworldairports.com/indexes/p-icao.htm

Nice work. Thanks. :)

#99470 - Lick - Mon Aug 21, 2006 11:42 pm

First thing to do is display graphics according to the weather report.
Second will be adding all the features you guys request, hehe. (Thanks for the xmweather site, will look into it asap)

However, first things go first, so is anyone interested in creating icons? I need big (64x64) and small icons (32x32). Images of the sun, the moon, clouds (4 images: 1-4 clouds) and rain (3 images: light, moderate, heavy) would be useful. Please support this project!

- Lick
_________________
http://licklick.wordpress.com

#99489 - neonext - Tue Aug 22, 2006 1:11 am

great job on such an unexpected, awesome project.

what about thunderstorms? most weather icon sets always including lightning.

also, for those like me that live in the midwest, severe weather alerts would be very cool (as an eventual feature of course), although i'm not sure if that sort of info could be tapped into

#99491 - Lynx - Tue Aug 22, 2006 1:19 am

If you don't mind borrowed graphics, here are some resized graphics from MythTV.. I only did a couple in each size.. if you like them, I can do all of them.

[Images not permitted - Click here to view it]

NDSweather.zip
_________________
NDS Homebrew Roms & Reviews

#99496 - TJ - Tue Aug 22, 2006 1:56 am

I have a home on the water myself, and I also think weather alerts could be useful.

In fact, now that I think about it, it would be nice if you could have maybe two or three locations saved, and cycle between them to see the weather at those locations, as well as alerts for those individual areas. So I would know when there was severe weather at my shore home when I am still in the city.

#99499 - Lick - Tue Aug 22, 2006 2:04 am

All cool ideas, I will make sure they get in the application. Currently it's 3AM so I'm off to bed.

Thanks for those images! I will use them for now, we'll see if they're good enough to keep! =D
If you could, I'd like to see a layout of somekind. A mockup, if you will. Think that's easier to work with.

Goodnight!
_________________
http://licklick.wordpress.com

#99528 - ghaxaq - Tue Aug 22, 2006 8:29 am

Hi I tried your appliction but it does not display anything about the temperature etc it just stops after saying hello.I put the file on the root..I am using an SC CF.

#99536 - Lick - Tue Aug 22, 2006 9:55 am

qhaxaq, do you valid wifi configuration of a real game? DSLiveWeather uses the default wifi settings.
_________________
http://licklick.wordpress.com

#99539 - ghaxaq - Tue Aug 22, 2006 10:10 am

Look this is what it displays:

Code:

file done.
fat done.
DSLIVEWEATHER etc...
Setting up Wifi...
Connecting to AP...
Wifi ready!
Hello user.


Thats all and the touchscreen displays a green background image.

#99540 - Lick - Tue Aug 22, 2006 10:21 am

Guys, I found out why some locations don't work. PHPWeather (back end I use) is out-dated. I need to update 'stations.csv' with the latest stations from here. Then afterwards, you could pick the ones on that website.

I might move to another weather resource, but currently this is the best international one.
_________________
http://licklick.wordpress.com

#99541 - Lick - Tue Aug 22, 2006 10:24 am

That's REALLY strange you know. It is 100% connected to the AP as I make it connect and connect if it fails. The thing is, the next step should be the actual connecting to the website. And if -that- fails, it should say 'rss_fd = -1' and 'connect() failed'.

Strange. Thanks for reporting the bug.
_________________
http://licklick.wordpress.com

#99542 - ghaxaq - Tue Aug 22, 2006 10:25 am

I even tried the example you gave in the first post but does not display anything.Any help or something to try to see if it works or provide any file??

<edit> how much does it take to retrieve the info??

#99545 - Lick - Tue Aug 22, 2006 10:44 am

If you see 'file done. fat done' then it means the file is loaded. If you only see 'fat done' it means the file was not found and the default settings will be used. Try to delete icao.txt, and the second scenario should start: it defaults to EHAM. Maybe it is something wrong with libFat.

It usually takes about 5 seconds for me to reach the end of the application. The retrieved data is about 100 characters (bytes).
_________________
http://licklick.wordpress.com

#99547 - Tyrian? - Tue Aug 22, 2006 10:52 am

this is great! it's a very nice idea to have weather on my ds, thanks mate and I hope to see better versions soon!
good work!

#99559 - ghaxaq - Tue Aug 22, 2006 12:13 pm

Still it does not work on my sc CF.Maybe something with the fat library??

#99561 - Liter - Tue Aug 22, 2006 12:32 pm

ghaxaq wrote:
Still it does not work on my sc CF.Maybe something with the fat library??


Works fine on my SC CF

#99563 - ghaxaq - Tue Aug 22, 2006 12:50 pm

Ok it works now.I found out that I had two connections set in the wfc settings and one of them was not working so I left the other one only.sry my fault.And btw great app..waiting for images and stuff..and I would like to suggest the ability to enter/choose your code/location instead of editing every time the text file.

#99574 - Lick - Tue Aug 22, 2006 2:42 pm

Great, at least I don't have to fix a bug now. And yes, all that is planned. Have some designs in my head. Have to make the graphics now.
_________________
http://licklick.wordpress.com

#99659 - jbullfrog - Wed Aug 23, 2006 1:33 am

if you could include the Fahrenheit conversion, that would be great!

#99665 - Lynx - Wed Aug 23, 2006 4:15 am

Here is a quick mockup from the MythTV Design.. I'm not sure what information you can pull from your provider.. They use multiple locations to gather information..

DSLiveWeather - MythTV Mockup
_________________
NDS Homebrew Roms & Reviews

#99677 - Sektor - Wed Aug 23, 2006 6:19 am

I didn't have my CF card handy, so I hex edited the .nds and replaced EHAM with YMML (Melbourne Australia) and it worked fine with WMB. Hex editing or making a small patcher would be easier than supporting every CF/SD/miniSD/microSD/flashcart device.
_________________
GTAMP.com/DS

#99695 - Lick - Wed Aug 23, 2006 11:35 am

Lynx wrote:
Here is a quick mockup from the MythTV Design.. I'm not sure what information you can pull from your provider.. They use multiple locations to gather information..

DSLiveWeather - MythTV Mockup


Hey, that's pretty good! I like the layout very much. Hopefully the texts will fit better in the screen though. The forecast is a bit too big actually, I wanted 4-5 periods to forecast (like weather.com does). But thanks for your effort, do you have an idea where to put wind direction?

Sektor: nice! I don't know if it's smart to release a patcher thoguh, I'm working on the next version (actually a rewrite) so.. But if you could release a patcher, I'm sure it will last for a week or 2. Hehe, gives me some time.

I'm currently rewriting DSLiveWeather!:
- Implementing tabs. ('Now', 'Forecast', 'Settings')
- Textbox input.
- Using Weather.com XML.
- Graphics!!

I'm not progressing as fast as I wanted so bear with me!
_________________
http://licklick.wordpress.com

#99697 - Mrshlee - Wed Aug 23, 2006 11:51 am

http://xbmc.cvs.sourceforge.net/xbmc/XBMC/media/weather.rar?revision=1.1&view=markup

I gave this it lick before but this is just for history sakes.. Those the alpha blended images from XMBC weather :)
_________________
MrShlee.com
Projects
Dev-Scene
MyTechpedia

#99711 - Lick - Wed Aug 23, 2006 2:30 pm

[Images not permitted - Click here to view it]
Done:
# Implementing tabs. ('Now', 'Forecast', 'Settings') - "It looks AWESOME!!"

I'm currently rewriting DSLiveWeather!:
- Textbox input.
- Using Weather.com XML.
- Graphics!!

Thanks for everyone's support!

Update:
I decided to release this binary. Just for fun! :D
To see how it runs on a Phatty, use NO$GBA. For Lite, you must use real hardware. Note that this is only a tabmenu-demo. No weather/wifi yet.

http://lick.huuf.net/DSLiveWeather%21-tabmenu.nds
_________________
http://licklick.wordpress.com

#99716 - Liter - Wed Aug 23, 2006 3:45 pm

Nice one. :)

#99741 - Lynx - Wed Aug 23, 2006 6:30 pm

Is there a reason you are not using both screens? You could even put tabs on the top as well and just use L/R to switch between them.
_________________
NDS Homebrew Roms & Reviews

#99745 - Lick - Wed Aug 23, 2006 6:52 pm

I have no clue what to put on top, yet. Any idea?
_________________
http://licklick.wordpress.com

#99748 - Liter - Wed Aug 23, 2006 7:01 pm

My original thoughts were that the top screen would be used for displaying data, ie graphics (alongside text) displaying the actual weather data. Perhaps a compass displaying wind direction, various cloud symbols for cloud cover, sun symbols, snow, ice, etc, etc, etc.

The bottom screen would then be used mostly for anything that required input, such as displaying a screen where the location was entered - either via ICAO codes, some kind of list or, much much better, a map of the world where you tap on a country with the stylus then tap on the airport that's closest to your location.

Better still, also make use of the non-airport stations that I mentioned earlier via the free data utilised by the likes of by xcweather.co.uk - this ensures even greater coverage.

But it's all up to you - don't let us influence you. :)

#99749 - Lick - Wed Aug 23, 2006 7:07 pm

Liter: the bottom screen is enough to handle all that.. I can even cleverly design the settings-tab to set multiple 'profiles' (which the other tabs can rotate through).
As for the ICAO situation, I plan on moving to weather.com XML, so.. And xcweather is not global, last time I checked. So no USA, no Canada, no Asia.

I'm really thinking hard about what to put on the topscreen. BLeaghYK!!
_________________
http://licklick.wordpress.com

#99751 - Liter - Wed Aug 23, 2006 7:13 pm

Lick wrote:
Liter: the bottom screen is enough to handle all that.. I can even cleverly design the settings-tab to set multiple 'profiles' (which the other tabs can rotate through).
As for the ICAO situation, I plan on moving to weather.com XML, so.. And xcweather is not global, last time I checked. So no USA, no Canada, no Asia.


Actually, xcweather uses data from GFS which is global - xcweather just uses the data pertinent to the areas it covers.

Quote:
I'm really thinking hard about what to put on the topscreen. BLeaghYK!!


A picture of a naked woman? ;)

#99752 - Lick - Wed Aug 23, 2006 7:17 pm

How do I access the global info's of xcweather then?

How about a naked man, or even better three naked men? :p
_________________
http://licklick.wordpress.com

#99753 - Liter - Wed Aug 23, 2006 7:30 pm

Lick wrote:
How do I access the global info's of xcweather then?


I'm not sure - I thought I read that xcweather got their weather data from GFS but now I can't find that reference. Whatever, there must be sites that provide freely available weather station data that they wouldn't mind you using for free.

Quote:
How about a naked man, or even better three naked men? :p


I'll stick to women thanks. :)

#99784 - Lick - Wed Aug 23, 2006 11:39 pm

Liter: yes, weather.com is one of them, hehe.

And I was just kidding bout that other thing..
_________________
http://licklick.wordpress.com

#99787 - Liter - Thu Aug 24, 2006 12:01 am

Lick wrote:
Liter: yes, weather.com is one of them, hehe.


Fair enough. :)

Quote:
And I was just kidding bout that other thing..


Hehe. :)

#99830 - TJ - Thu Aug 24, 2006 4:30 am

I imagined the interface pretty much how Lynx laid it out.

With the bottom screen just being the forecasts, only having minimal information (hi/lo, and an icon for the general condition), and then when you tapped that particular day on the bottom, it would open up full screen on the top screen, with the complete data (or however much is available).

Or if not that, then at least the current conditions always being on the top screen in high detail, and then just the low detail representations for the rest of the week.

Essentially, the weather display for XBMC broken into two separate screens:

http://nino.dnsalias.org/xbox/xbmc/Weather.jpg

That just makes a lot more sense to me.

Now, as for the tabs on the bottom, I think that would make a lot of sense to get into the options obviously, but also each tab could be a different location, as we mentioned earlier.

So hitting the location tabs on the bottom screen would pull in the current conditions and forecast for that area.

#99833 - Lick - Thu Aug 24, 2006 4:40 am

I got it all worked out man, all worked out.. So relax and chill.. I'm almost at the point of releasing another (weatherless) binary so you can check out how it's going to work.. Thanks for the kind input and lovely support. I can't keep focussed without you guys posting in this topic, so go ahead.. Spam this topic and give me POWER!!

SLeepz..
_________________
http://licklick.wordpress.com

#99842 - Lynx - Thu Aug 24, 2006 6:04 am

Like in my mock-up, I was thinking all the current info would be on the top screen, and the forcast on the bottom. The table was supposed to help it "look" like it was on a DS with the two screens and space inbetween.. yeah.. it sucked..

DSLiveWeather - MythTV Mockup[/quote]

And the icons Mrshlee linked to are way better..

Oh.. and another idea, you could have a tab for "Radar" and pull the radar image from weather.com.. though. I don't know how it would look at 256x192.
_________________
NDS Homebrew Roms & Reviews

#99844 - TJ - Thu Aug 24, 2006 6:10 am

Radar might be nice, but it would need to be animated to really show you anything. Plus, as you said, the resolution is a concern.

Probably not worth it, in the long run.

#99886 - buZz_ - Thu Aug 24, 2006 4:00 pm

I use lowres radar a lot : http://m.buienradar.nl/
Really nice to pull up on your cellphone to see if the rain will stop soon ;)

#99888 - Liter - Thu Aug 24, 2006 4:11 pm

The only problem with radar is that it isn't free in some countries - it's fine if you're in the US but in the UK, for example, it's subscription services only.

This site IS free though:

http://www.meteox.com/

and it covers Europe and the UK - not sure if they'd like anyone else to use their data though. :)

#99896 - Lick - Thu Aug 24, 2006 5:37 pm

Great investigations guys! After I finish what I'm doing right now, I could add a customizable radar thingee. So one could add his own resource.
_________________
http://licklick.wordpress.com

#99901 - Liter - Thu Aug 24, 2006 6:10 pm

That's a good idea. :)

#99903 - Lick - Thu Aug 24, 2006 6:26 pm

Update

Guys, I have written a keyboard to edit the specific variables that are needed, and those are saved to FAT with libfat. That all works, so now I'll have to code the PHP server that does the XML parsing.

Ow, and it looks really nice, I think.
_________________
http://licklick.wordpress.com

#99906 - Liter - Thu Aug 24, 2006 6:34 pm

Screenshot request. :)

#99910 - Lick - Thu Aug 24, 2006 7:01 pm

Screenshots
1 | 2

;)

P.S. The thing at the top right is the profile chooser. You can have up to 10 profiles (0-9).

edit, thanks TJ!
_________________
http://licklick.wordpress.com


Last edited by Lick on Thu Aug 24, 2006 8:10 pm; edited 2 times in total

#99912 - TJ - Thu Aug 24, 2006 7:11 pm

The first link is broken, needs a period in the file name.

So by the looks of this, all requests for weather information are going to be filtered through a server of yours first?

#99913 - Liter - Thu Aug 24, 2006 7:12 pm

Nice, ta. :)

#99914 - CrimsonReaper - Thu Aug 24, 2006 7:13 pm

For some reason it can't seem to connect to my AP. It works fine with wifi-enabled games but I can't seem to connect to the AP using this program. Or maybe do I have to set another setup besides this configuration. Help is appreciated. Thank you.
_________________
One Piece is the best manga/anime I've ever read or watched. Its just so cool (for me).

#99916 - Lick - Thu Aug 24, 2006 7:15 pm

Pretty much. I'm going to use a PHP XML parser instead of writing my own. As for connectiondelay, it won't mather much cause it's not going to be topspeed anyway (reason: dswifi). It might be faster too, seeing that I output in my own format that doesn't have all those unneeded <>/ tagging elements = more stuff to download.

The current text-only binary (the one that works) uses a "proxy" too.
_________________
http://licklick.wordpress.com

#99917 - Lick - Thu Aug 24, 2006 7:18 pm

CrimsonReaper: are you sure connection #1 is usable? (AFAIK, DsWifi chooses #1 to autoconnect to..)
_________________
http://licklick.wordpress.com

#99924 - Liter - Thu Aug 24, 2006 7:30 pm

Lick wrote:
Pretty much. I'm going to use a PHP XML parser instead of writing my own. As for connectiondelay, it won't mather much cause it's not going to be topspeed anyway (reason: dswifi). It might be faster too, seeing that I output in my own format that doesn't have all those unneeded <>/ tagging elements = more stuff to download.

The current text-only binary (the one that works) uses a "proxy" too.


Hmmm, so if your server goes down then we won't be able to access any weather data at all?

#99930 - CrimsonReaper - Thu Aug 24, 2006 7:45 pm

I set my Wi-Fi connection to connection 3. So I have to change it to connection 1? Ok I will try. Eager to try this program (I love wifi homebrew programs at least not homebrew games).

I am wondering whats the problem with my connection. SO far I haven't been able to successfully connect to wifi using homebrews. I still can't connet to wifi.
_________________
One Piece is the best manga/anime I've ever read or watched. Its just so cool (for me).


Last edited by CrimsonReaper on Thu Aug 24, 2006 7:51 pm; edited 1 time in total

#99932 - TJ - Thu Aug 24, 2006 7:46 pm

That would be a concern, but perhaps in the final version you will be able to specify two servers, so it can try the other one if the primary is down.

Certainly a few people would be willing to run backup servers.

#99933 - Liter - Thu Aug 24, 2006 7:49 pm

A good idea, but surely servers shouldn't be needed? I mean, why can't the program access the relevant data and process it?

#99935 - Lick - Thu Aug 24, 2006 8:10 pm

If you take a look at the screenshot, you'll see that the server-url can be edited. :D This mean that everyone can run a DSLiveWeather! PHP-server when I release the web-files of those. (But I'm just in the process of coding those.. Hehe..)

Using a proxy server to me has a few pros (like I said before):
1) I don't have to code the XML parser. (There are millions of PHP-libs that do that for me.)
2) I can output in a smaller format, like ini-format.
3) Then the DS would have lesser data to process + lesser data to receive from the www.

But don't worry, I repeat: I will allow you guys to run your own servers! (See screenshot)
_________________
http://licklick.wordpress.com

#100069 - Lick - Fri Aug 25, 2006 10:07 pm

Screenshot
http://www.dev-scene.com/Image:DSLW%21-WIP60.png

Download
http://lick.huuf.net/weather/DSLiveWeather--.nds

Instructions
Optional If you want to store your location-profiles, make sure you have a /DSLiveWeather! directory in your root. It only requires it to exist. No more editing text-files! :D
Required Weather.com Location ID: find out this on Weather.com. Example: "NLXX0002" (Amsterdam).
Required DSLiveWeather! Server: use 'lick.huuf.net' or 'lick.whatalicefound.net'.
Required File: on huuf use 'weather/fetch.php'. on alice use 'fetch.php'.

Update
It shows weather again. ;)
I wrote the PHP-script that acts as a proxy-server to the Weather.com XML feed.
I made a basic display of the weather, it will be worked on tomorrow.

More info on: http://www.dev-scene.com/DSLiveWeather%21


Enjoy and test! Thanks..
- Lick
_________________
http://licklick.wordpress.com

#100074 - Liter - Fri Aug 25, 2006 10:45 pm

Great stuff, BUT I think you need to give more details on how to find your location.

In fact, here goes for anyone that is stuck:

go to:

weather.com

and click on 'World' in the top selection area

then enter your location (city, country or just country) in the box

when your city of choice is displayed, look at the web address (URL) in your browser's address field and enter the 8 digit alphanumeric code that you'll see.

For example for London, United Kingdom the URL will be:

http://www.weather.com/outlook/travel/businesstraveler/local/UKXX0085 (then a load of other data)

So on your DS, in the 'Weather.com Location ID: box, enter: UKXX0085 (it can be in upper or lower case, it doesn't matter which)

Then tap on the 'Currently' tab and tap the green tick.

It's very fiddly, but I'm sure that this will be made much, much easier in future releases. :-)


Added note: various profiles are available so that other locations can be stored and skipped to directly - simply click on the left and right black arrows (as required) in the top right corner of the DS touchscreen then tap on the Settings tab and enter the weather.com ID for the new location. It is though worth remembering that when you browse to a previously configured profile you'll need to tap on the green tick again in the 'Currently' tab to update the data.


BTW, does anyone know how often the weather.com data is updated?


Lick - well done on your work so far. :-)


Last edited by Liter on Sat Aug 26, 2006 1:56 pm; edited 5 times in total

#100078 - awh85 - Fri Aug 25, 2006 11:06 pm

hi lick,

i like ur program and i think its very useful. according to ur instructions, im supposed to create a folder called "DSLiveWeather!" in the root directory of my card right? i created the folder and when i turn off my ds and enter the program again i have an error saying "LibFat failed. Could not find profiles (FAT)." Could it be that im doing something wrong?

I also see that currently only the "Current" tab is up. hope to see the forecast tab working in one of ur next releases.

here are some opinons from me which i think can help improve ur lovely little program.

1. Enable a customizable profile name so that users can refer to the city instead of refering to codes such as "MYXX0008"
2. Perhaps you could add a few more attributes such as humidity and visibility. The visibility could come in handy coz sometimes here in Malaysia we get haze (from indonesia) and the visibility levels are quite bad.
3. Although already mentioned by many here, i would like to see images and more attactive and slightly larger text.

thats all for now. hope to contribute something in ur project...tho only opinions. cheers and keep up the great work man
hi Liter,

yea. im from malaysia here and at first i had problems finding the location id for kuala lumpur...after looking around i finally realised it was in the URL.

#100089 - TJ - Sat Aug 26, 2006 1:11 am

Could it support the configuration files being in "/data/DSLiveWeather" as well? Just to keep the root directory orderly.

#100115 - ghaxaq - Sat Aug 26, 2006 8:14 am

The screenshot you have taken is not blurred but on my DSPhat the letters are blurry although readable.Nice job anyway!! Btw the forecast does not work for now?

#100126 - falcon!!! - Sat Aug 26, 2006 12:20 pm

Great! It works perfectly!
Thanks|

but i didnt understand how to put code in profiles.. Because it doesn not save from ds (FAT)
I'm using gbamp

#100127 - Lick - Sat Aug 26, 2006 12:57 pm

Liter's post explains *exactly* how to find out your "Weather.com Location ID".

Because LibFAT currently doesn't support a function like mkdir (make directory), that's why you need to create one manually. So put "DSLiveWeather!" as a directory in your memcard. This way, the client can automatically load and save your profiles.
_________________
http://licklick.wordpress.com

#100128 - falcon!!! - Sat Aug 26, 2006 1:14 pm

Thank you!
I didnt read your previous reply, sorry it's my fault ^^
Now all it's perfect ;)
Keep up the good work!

#100130 - TheYak - Sat Aug 26, 2006 1:26 pm

Worked great on my DSL M3msd. Now to set up more profiles.

#100133 - Liter - Sat Aug 26, 2006 1:45 pm

Lick - in the next release will it be possible to browse through the profiles and have the old (or new) data automatically displated without needing to click on the green tick first?

Thanks

#100135 - Lick - Sat Aug 26, 2006 2:07 pm

Yes I'm going to do that.

Next:
+ Every profile will have it's own weather_data saved to fat. So download is not needed, everytime.
+ Name for profile.
+ Forecast file for profile.
(+ Up to 32 profiles??)
+ Keyboard with better detection.

+ Button to connect to the AP or to disconnect, so not everytime you download.
+ Add forecast information.
+ Add more current condition info.

Future:
+ Graphics..

Next release is probably tomorrow or monday.
_________________
http://licklick.wordpress.com

#100137 - ghaxaq - Sat Aug 26, 2006 2:32 pm

Good Job you are doing great!!!

#100149 - Liter - Sat Aug 26, 2006 3:51 pm

Great job Lick. :)

#100163 - Mrshlee - Sat Aug 26, 2006 4:52 pm

Very impressive :D

Saving the forcast is excellento!

Updated: You sure like updating the Dev-Scene news - Your pretty much the only one using it.. keep it up
_________________
MrShlee.com
Projects
Dev-Scene
MyTechpedia

#100165 - Red XIII - Sat Aug 26, 2006 5:18 pm

Well,I tested the app on both my Phat and Lite,and I notice that both show the text blurry,like the problem beup used to have.

Anyway,yay for Lick's todo list!
_________________
He who laughs last, obviously didn't get the joke.

If at first you don't succeed, redefine success.

Jesus said to John "Come forth and I will grant you eternal life." John came fifth and won a toaster.

#100168 - falcon!!! - Sat Aug 26, 2006 5:42 pm

Do you (lick) think that you can implement an option to do translation files?
I mean, like on Dsorganize/language folder, where we put *.lng files

They could be like this:

Light rain shower = XXXXXX
Cloudy = XXXX

where XXX is our language.

thx ^^

#100203 - brennan - Sat Aug 26, 2006 8:27 pm

I can't connect to my AP. Most other wifi programs work fine (I'm using WEP)
_________________
Hardware: GBAMP v2, Datel MML, NDS phat (Flashme v7)

#100217 - Nintendo Maniac 64 - Sat Aug 26, 2006 9:51 pm

LICK! BIG TEXT PROBLEM.

You're using the sub-pixel ability LCDs have. Nothing wrong with that, in fact, I think everyone should use it because the DS can ONLY have LCD screens :D

Anyway, the problem is your text. It's formatted for Red-Green-Blue pixels. On the DS, that's the TOP screen. The bottom screen is actually in Blue-Green-Red order.

You can see this by saving this screenshot onto your homebrew device:
http://www.dev-scene.com/images/d/de/DSLW%21-WIP60.png

If you view it in DSOrganize, it'll look fine because it's the top screen.

If you view it on Moonshell, it'll have the funky text like the program because the image is viewed on the BOTTOM screen.

EDIT: oh yeah, I have a folder named "DSLiveWeather!" but my settings still aren't saved >_> I'm using a Supercard CF BTW.

EDIT 2: Apparently this applies to the DS phat. I don't know about the DS Lite though, both screens may be RGB. Maybe there's some way to detect if it's a DS Lite, kinda like how Mario says something "Here we go" instead of "Yahoo" when booting on a Lite.


Last edited by Nintendo Maniac 64 on Sat Aug 26, 2006 11:55 pm; edited 6 times in total

#100218 - tepples - Sat Aug 26, 2006 9:54 pm

Nintendo Maniac 64 wrote:
You're using the sub-pixel ability LCDs have. Nothing wrong with that, in fact, I think everyone should use it because the DS can ONLY have LCD screens :D

Unless the RGB/BGR order varies from DS to DS. And it does vary between original DS and DS Lite.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#100220 - Liter - Sat Aug 26, 2006 9:54 pm

Great tip that man. :)

#100222 - Nintendo Maniac 64 - Sat Aug 26, 2006 9:55 pm

tepples wrote:
Nintendo Maniac 64 wrote:
You're using the sub-pixel ability LCDs have. Nothing wrong with that, in fact, I think everyone should use it because the DS can ONLY have LCD screens :D

Unless the RGB/BGR order varies from DS to DS. And it does vary between original DS and DS Lite.


Really? Well, then what different? I was talking about the DS phat. On the Lite, are the screens both RGB?

#100226 - tepples - Sat Aug 26, 2006 10:01 pm

I think both are BGR on the Lite, which improves compatibility with the GBA, which was also BGR. Game Boy Player is not RGB or BGR; it's YCC.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#100227 - Nintendo Maniac 64 - Sat Aug 26, 2006 10:19 pm

well of course the GBP isn't, it's for a TV >_>

But if both screens on the Lite are BGR, there shouldn't be any problem with making the bottom screen text BGR then, because the bottom screen is BGR on the Phat too.

Like I said, you can test it out with the screenshot I linked to and by viewing it in DSOrganize and Moonshell. I would, but obviously I don't have a Lite ;)

#100251 - Lick - Sun Aug 27, 2006 12:06 am

I fixed it, if the following code is correct:

Code:
#define RGB15_to_BGR15(x) ((x>>10)&31)|(x&0x3E0)|((x&31)<<10))


Thanks for telling about this bug! DSLiveWeather! just got a little bit better, again. Hehe..

I think it's easier to do the language setting on the server than on the DS. I'll see what I can do.

Once again, I'm using DSWifi and LibFAT, the normal way. Perhaps with the next version of DKP everyone will be able to connect and load/save without problems. Let's raise our heads and hope.. ;)

Had a tough day, I'll add some more updates and go to sleep..
You guys are awesome users! I can't believe that there have been over 100 locations requested! (And that's only the cached files! )
I will make this application bigger, I promise.

- Lick (zzz..)
_________________
http://licklick.wordpress.com

#100253 - Nintendo Maniac 64 - Sun Aug 27, 2006 12:09 am

yo Lick, how are we supposed to put that code in? I didn't see the source code anywhere... Not to mention the downloadable .NDS still has the RGB sub-pixel text.

And the location saving isn't working for me. I have a folder names exactly "DSLiveWeather!" in my root. I'm using a Supercard CF.

#100257 - TJ - Sun Aug 27, 2006 12:35 am

Location saving didn't work for me either on SC CF, even though the debug messages said that it wrote the file.

Last edited by TJ on Sun Aug 27, 2006 2:34 am; edited 1 time in total

#100259 - Lick - Sun Aug 27, 2006 12:52 am

Nintendo Maniac 64 wrote:
yo Lick, how are we supposed to put that code in? I didn't see the source code anywhere... Not to mention the downloadable .NDS still has the RGB sub-pixel text.

And the location saving isn't working for me. I have a folder names exactly "DSLiveWeather!" in my root. I'm using a Supercard CF.


I meant that it will be fixed in the next release.

I have no clue why the debug messages would say it saves while it doesn't. Do you see a file in /DSLiveWeather!/ on your card?
_________________
http://licklick.wordpress.com

#100264 - Lick - Sun Aug 27, 2006 1:20 am

Bold features are finished.

Next:
+ Every profile will have it's own weather_data saved to fat. So download is not needed, everytime. - Reports are auto-saved now.
+ Name for profile.
+ Forecast file for profile. - Removed, bad idea!
(+ Up to 32 profiles??) - You can have 64 now.
+ Keyboard with better detection.
* RGB -> BGR for font display! - Thanks Nintendo Maniac 64!

+ Button to connect to the AP or to disconnect, so not everytime you download.
+ Add forecast information.
+ Add more current condition info.

Going to bed now.. If anyone has any idea on why the Supercard CF won't save problem, tell me.. tell me quick..
- Lick

Edit:
Because I'm a nice guy.. I decided to post an underground release. Note: delete your profiles, or you'll get messy ones.. =(
_________________
http://licklick.wordpress.com

#100266 - brennan - Sun Aug 27, 2006 1:49 am

I can't connect, is it because of my WEP encryption?

EDIT: I turned off WEP and it still won't connect.
EDIT2: Now no DS wifi games will work (even official ones :()
_________________
Hardware: GBAMP v2, Datel MML, NDS phat (Flashme v7)

#100270 - Nintendo Maniac 64 - Sun Aug 27, 2006 2:44 am

Well, saving works on Supercard CF now... but WTF. WIERD GLITCH!

As soon as you enter anything 8-digits long in the Weather.com code text box, FREEZAGE! (and the text box outlines go away if the text box is filled, but only on the lock-up) These happens even if the DSLiveWeather! folder isn't present and you're just saving to the RAM!

EDIT: BTW, is there a lib or something for the Sub-Pixel text? I think it should be used a lot more ;)

#100284 - TJ - Sun Aug 27, 2006 5:45 am

Mine also locked up a few times with the SC CF.

It would sometimes lock after entering the location code, and then other times, after I put in the code, when it went back to the settings screen, there would be random characters and gibberish after the code.

Like:

USNJ0524~!dsgkm0s9t;sf.;;

A few times it also added the server URL after my location code, which of course made the location lookup fail.

#100297 - ghaxaq - Sun Aug 27, 2006 8:15 am

I tried the app and it freezed for me too for the first time after I entered the Weather.com ID and pressed the OK button, but then I deleted the profile again and somehow avoided the freezing part.

The problem that I noticed is that in the Weather.com Location Id after the XX000 etc it writes also lick.huuf.net and even if you remove it is still there.
But it's still not a final release so still a good work.

Btw> I would like to suggest the use of the shoulder buttons to scroll between tabs so you don't have to use the stylus everytime.

#100305 - Lick - Sun Aug 27, 2006 8:50 am

Oooh.. Guys, have you deleted profiles.b of the previous versions? If you are experiencing weird lock ups and see strange characters, it's possible that you haven't.
Otherwise, I'll have to check it again..

L & R sounds good to me (Try pressing L in the keyboard screen). I've thought about adding button-control, it shouldn't be hard to implement.
_________________
http://licklick.wordpress.com

#100307 - ghaxaq - Sun Aug 27, 2006 8:59 am

Yes I did delete the profile before I ran the application and then created a new one but still lock ups.

#100309 - Lick - Sun Aug 27, 2006 9:16 am

Could you explain the steps you did, starting from deleting the *.b files? I just downloaded it myself, and it runs smoothly..
_________________
http://licklick.wordpress.com

#100311 - falcon!!! - Sun Aug 27, 2006 9:21 am

PERFECT!
this release rocks for me!
Many many thanks!

#100323 - Red XIII - Sun Aug 27, 2006 11:13 am

SC SD here. I delete profiles.b of previous versions. Then I boot the app.


1)It freezes when I input the Weather.com ID before the profile name.

2)After I input the profile and then the ID,when it goes back to the settings menu it freezes. If it doesn't freeze,it will put the server name next to my ID,

GRXX0008lick.huuf.net

and even if I delete the extra letters,they still show up in the setting menu.
_________________
He who laughs last, obviously didn't get the joke.

If at first you don't succeed, redefine success.

Jesus said to John "Come forth and I will grant you eternal life." John came fifth and won a toaster.

#100326 - awh85 - Sun Aug 27, 2006 11:23 am

hi lick,

here is some feedback from me. when i was using ur DSLiveWeather--.nds release all was working fine except that i couldnt save my profiles despite creating a "DSLiveWeather!" folder in the root of my card. The error said it couldnt save to FAT.
Now im testing out your DSLiveWeather++.nds version when i start, it says

LibFat failed.
Could not find profiles. (FAT)
Could not find previous reports. (FAT)

then after entering a profile name and the weather.com id and pressing tick it hangs there and i cant move to the other tabs or press anything else. The error comes out as Could not save profiles. (FAT)

Could you or anyone tell me what im doing wrong? Or could it be a compatibility issue or something? Im using SCSD now with a kingston 2 GB 50X SD Card.

oh and btw lick, maybe you would want to name each of your BETA releases for easier reference. Maybe something like DSLiveWeather 0.1Beta or Beta 1


Last edited by awh85 on Sun Aug 27, 2006 11:58 am; edited 2 times in total

#100328 - Lick - Sun Aug 27, 2006 11:37 am

Nintendo Maniac 64 wrote:
BTW, is there a lib or something for the Sub-Pixel text? I think it should be used a lot more ;)


I use DragonMinded's (coder of DSOrganize) font-generator tool. It generates per-pixel values of a font at a given fontsize. Not the best solution, but it works! :)

The situation is very bad, as I don't know why it's working on my system and not on a lot of other systems. The only thing I know that has changed is that I now allocate memory from the RAM.

Anyway, here is another underground release that adds a AP-connect/disconnect button. Now the report-speed is really quick. I hope it works..

Thanks for testing everyone! It sure helps building a better product!
- Lick
_________________
http://licklick.wordpress.com

#100330 - ghaxaq - Sun Aug 27, 2006 11:47 am

Yess!! it works..again.. lol
Nice job now everything works smoothly and even the text is better thanks.

The things you need to work on now are the forecast,the graphics(maybe radar) and the ability to retreive some other info such as wind power/direction,UV index,Pressure(Low/High), etc

#100331 - awh85 - Sun Aug 27, 2006 11:50 am

Hi Lick,

I just tested out your DSLiveWeather~~.nds release. Compared to the previous release I dont get any hangups with this version :)

I also noticed your connect and disconnect buttons in the form of :) and :(
Nice feature there. I also like that extra information you added. Its good to see that you are listening to our opinions.

But somehow I still get the error
Could not get reports (FAT)

So besides not being able to store profiles, the program is working great for me now. Cheers and keep up the good work

#100334 - Liter - Sun Aug 27, 2006 12:05 pm

Lick - the latest ~~~ rlease is much better - works fine on my DSL with Supercard CF. :)

A couple of comments though:

First, the black left/right scroll arrows (in the upper right corner) for the Settings seem VERY erratic - sometimes they don't respond at all (especially left arrow) and sometimes they're very 'twitchy' and way too fast. This is ONLY when using them in the Settings menu, they're fine when in the Currently menu.

Settings still work even if a Profile name isn't given - should this be 'allowed'? It doesn't concern me as such but if the field is there then perhaps users should be 'forced' to enter a Profile name for each location?

The 'Connect to AP' icon isn't that obvious - perhaps it should be in red when disconnected and green when connected? Just trying to go for bit of consistency, therefore green tick/smiley = okay and red cross/sad smiley = not okay. Etc.

Looking really good though, can't wait to see those flashy graphics. :)

#100337 - Lick - Sun Aug 27, 2006 12:43 pm

ghaxaq: Yes those are actually already retrieved, but not displayed. Don't worry bout it! ;)

awh85: Good that it's not hanging anymore.. I can't believe that the FAT is still not worknig on some cards. I will investigate this and probably ask Chishm what to do..

Liter: probably forgot to change that.. My code is pretty messy as it's getting bigger. I think I need to refactor the large pieces of code in to smaller functions. That'll keep me from making those little bugs! =)
I'll put a default 'Untitled' value there and I'll complain if there is no LocID given. Thanks for the 'user-friendly' tip! =)
I like the icons.... It's supposed to be like faded (tired smiley!) when not connected, and strong (energetic smiley!) when connected. Can I keep this one? PleaaaasE??!!

Guys, you may not have noticed, but I added some key-input to the app, so you can use the d-pad L&R XAB on some menus.
Forgot to mention that earlier.
Okay and I uploaded a build with a lightblue/darkblue console to the same file-URL. People who downloaded version ~~ the very first moment (my fans! I love you!) could re-download it, if you want to.
_________________
http://licklick.wordpress.com


Last edited by Lick on Sun Aug 27, 2006 12:55 pm; edited 1 time in total

#100341 - kevinc - Sun Aug 27, 2006 12:53 pm

Nintendo Maniac 64 wrote:
EDIT: BTW, is there a lib or something for the Sub-Pixel text? I think it should be used a lot more ;)


Well, there's also beup's dstype (a TTF font renderer). You can use most font files (like Verdana in beup), and it lets you render lots of unicode charas. However, your executable will need 200Kb extra for the ttf file :(
_________________
http://akzeac.blogspot.com

#100342 - Lick - Sun Aug 27, 2006 12:54 pm

Hmm.. Unicode is good. I wish there was a complete font that could be loaded with libfat.

By the way, I'm going to name my releases from now on. ;P
_________________
http://licklick.wordpress.com

#100343 - awh85 - Sun Aug 27, 2006 1:08 pm

Hi Lick,

After testing your latest release again I have found some bugs I think.
First, I see that you are using the Directional keys to jump between profiles. The Down Key Increasing by 10 profiles while the Up Key Decreasing by 10 profiles. However, when I am at profile 37 for example, and i want to return to profile #0, i press up 3 times and end up at profile #7. I cant press it anymore to go to 0. Is there anyway to make it go all the way to 0 instead? So I guess it subtracts by 10s and if the number is less than 10, it wouldnt work.
I also see that you are using the Right Key to increase by 1 profile
ie. 1 > 2 > 3 > 4 and etc
But I assume that the Left Key sould decrease the profile count by 1 also right? Somehow its not working for me and maybe you left it out.

I see that you have implemented L and R to scroll between tabs. Nice feature. Also using the X Key to connect and disconnect while using the A Key to retrieve the data. As you mentioned, you have enabled the directional keys, L and R and also X A B.
Somehow I cant figure out where the B Key works and what it does. Thats all my feedback for now...Cant wait for your next releases. Cheers


Last edited by awh85 on Sun Aug 27, 2006 1:12 pm; edited 1 time in total

#100344 - ghaxaq - Sun Aug 27, 2006 1:10 pm

Thanks for the added wind info.But please change that ugly blue color on top I don't like it or else make two versions.For the shoulder buttons etc its great thanks its more handy now. Looking forward to future releases...

#100345 - Lick - Sun Aug 27, 2006 1:14 pm

B is to cancel an connect-to-ap-attempt. I will change this to X, as it's more logical.

@ bugreports: I will save those stuff up for the next release with forecasting. I figured I release too much versions, it's harder to track bugs that way.


- Lick
_________________
http://licklick.wordpress.com

#100354 - tepples - Sun Aug 27, 2006 2:49 pm

If keys do different things at different times, then dedicate part of the screen to displaying what they do. DSOrganize (homebrew) and Tetris DS (Game Card) do this.
_________________
-- Where is he?
-- Who?
-- You know, the human.
-- I think he moved to Tilwick.

#100356 - Liter - Sun Aug 27, 2006 2:57 pm

Lick, another small bug - Left and Right on the D-Pad move down and up through the profiles, BUT Left on the D-Pad ONLY works on the 'Currently' menu, it won't work on Settings or Forecast.

#100377 - falcon!!! - Sun Aug 27, 2006 4:50 pm

Great work
I think you could remove the sunrise and sunset and put other meteo data.
And what about my previous request? Is it possible?
Quote:
Do you think that you can implement an option to do translation files?
I mean, like on Dsorganize/language folder, where we put *.lng files

They could be like this:

Light rain shower = XXXXXX
Cloudy = XXXX

where XXX is our language.


Thank you

#100378 - Red XIII - Sun Aug 27, 2006 4:54 pm

Latest version works and recieves data just fine.

Another D-pad bug is that after some ups and downs, the 4 headlines "profile name","weather.com Location ID" etc disappear,although it doesn't freeze.

Generally the D-pad code needs work:

Right works fine,as it moves to the next profile.
Left doesn't.
Up and Down should only move through the 4 tabs,no? I think moving through +10 or -10 profiles is nothing more than a bug,correct?
_________________
He who laughs last, obviously didn't get the joke.

If at first you don't succeed, redefine success.

Jesus said to John "Come forth and I will grant you eternal life." John came fifth and won a toaster.

#100399 - Lick - Sun Aug 27, 2006 6:11 pm

falcon!!! wrote:
Great work
I think you could remove the sunrise and sunset and put other meteo data.
And what about my previous request? Is it possible?


I'm going to make this serversided. Along with the request for weather data, it will send a language and the server will respond in that language. Easier I suppose. That will probably be done later though.

At the key-bugs: yes, those will be removed eventually. I thought I'd put them in real quick, but seems like I wasn't paying too much attention when copying code blocks. Yikes! I'm going to fix them, they're easy bugs.

Once again, thanks everyone for testing DSLiveWeather. Yes DSLiveWeather. It's official, I am removing the trailing exclamation mark (!). Seems nicer to me hehe.
- Lick
_________________
http://licklick.wordpress.com

#100479 - Nintendo Maniac 64 - Mon Aug 28, 2006 4:41 am

here's a question, why can't we use area codes? I think those are much more known... Even better would be someway to just enter the name and state/country for data, though that'd probably take some time. If you can do it on Weather.com, why not here?

OH, how about displaying UV index, pressure, and visibility? Hating sunburn as much as I do, I'm VERY concerned about UV index. And for the time being, seeing if the pressure's going down or up is kinda a poor-man's weather forcast. It'd do until that's implamented. Visibility would be good here cause fog is quite frequent. (I'm on the East US coast :P NE Ohio to be precise)

EDIT: Oh, what about alerts, like for pollen, flooding, of sever weather? Could that be in the "Current" tab, or would there be an "Alerts" tab?

EDIT 2: noticing there's omething about the PGA tour on Weather.com, I felt like mentioning I was born in Akron, OH and pretty much all of my reletives live there. I'm just 25 miles NE of it :D In fact, I just came back from Akron! YES it was raining the hard like you saw near the end at sparatic moments :P

#100537 - Lick - Mon Aug 28, 2006 3:23 pm

Areacodes: how do you do that on Weather.com? Is it international?

UV index, pressure and visibility: I'll porbably use the topscreen as well so i have more room for those.

Alerts: Those are good questions, I'm going to see how it will fit in to DSLW.
_________________
http://licklick.wordpress.com

#100558 - ghaxaq - Mon Aug 28, 2006 7:33 pm

I'd like to suggest an events feature or else add it to alerts.Like when there is a full moon, or falling stars or a comet approaching etc..or maybe the moon phase.I know weather.com does not display any of these but there are other sites I think.

#100581 - MechaBouncer - Mon Aug 28, 2006 9:00 pm

You don't think you could do one of these for traffic reports, could you? ;)
_________________
Cobalt/Black NDSL
CycloDS Evolution (firmware 1.55 BETA 3) and EZFlash 3-in-1
Kingston SD-C02G JAPAN 2GB MicroSD
MoonShell 1.71, DSOrganize 3.1129, QuakeDS Pre3, ScummVM DS 0.11.1, Pocket Physics 0.6, OpenTyrian DS 0.3

#100586 - Lick - Mon Aug 28, 2006 9:31 pm

I'm still working on the basic stuff, I'll remember these requests for later. Kinda busy at the moment, have to make a living y'know, it isn't like people are paying me to do this, hehe.. ^_^'
Just nagging, I'll back working on DSLW asap..

Traffic reports? Yeah, I originally planned that for Dii but don't think the project will ever take off now =(. Seems like there aren't any websites that provide world-wide traffic reports. Not even continental.. It's not like I can write an app for each and every country in the world y'know. Requests are good, but within reachable borders!
Anyway, if there's a worldwide traffic report XML/RSS webfeed that you know of, I'm willing to give it a second thought.

Thanks for asking though, I take it as a prove of support.. I'm honored.
Off to bed..
- Lick
_________________
http://licklick.wordpress.com

#100597 - MechaBouncer - Mon Aug 28, 2006 10:07 pm

D'oh. Hadn't thought of that. Only one I know of that only covers some major US cities is www.traffic.com and its coverage is slim, let alone anything worldwide. I can see how that would be a problem now. Thanks for considering it, anyway. If I come across a better source, I'll pass it along. Hey, Yahoo and Google got to get its traffic info from somewhere, right?
_________________
Cobalt/Black NDSL
CycloDS Evolution (firmware 1.55 BETA 3) and EZFlash 3-in-1
Kingston SD-C02G JAPAN 2GB MicroSD
MoonShell 1.71, DSOrganize 3.1129, QuakeDS Pre3, ScummVM DS 0.11.1, Pocket Physics 0.6, OpenTyrian DS 0.3

#100674 - impulse - Tue Aug 29, 2006 2:17 pm

as someone else said, would be nice if you could put the DSLiveWeather! folder inside the DATA folder

great app!

#100744 - falcon!!! - Wed Aug 30, 2006 7:32 am

a bug:
temperatures below 32 F are not ttranslated in ?C
(theya re always 0?C)

#100764 - Lick - Wed Aug 30, 2006 12:04 pm

Thanks for reporting that!
_________________
http://licklick.wordpress.com

#100780 - Lick - Wed Aug 30, 2006 2:19 pm

I just found out how to get Severe Weather Alerts out of the Weather.com XML. I still have to test if it works though (like there has to be a place that is in severe weather and I need to be on time to check the xml if it contains the untested tag).. But in any case, it's a good thing. I can also get a detailed text-description of the day-by-day forecast. I don't see any use of it though. Graphics will suffice right?

There's also an hour-by-hour forecast that I can fetch, but I don't know how useful that is and where I can display the information. I'm thinking of putting the current conditions with the hour-by-hour forecast [Currently-tab], and in the [Forecast-tab], I'd then put the day-by-day forecasts.
_________________
http://licklick.wordpress.com

#100806 - falcon!!! - Wed Aug 30, 2006 8:22 pm

Do what you want, you're the master :D
Then we'll test and let you know what we think ^^

#100863 - HyperHacker - Thu Aug 31, 2006 7:00 am

Hm, it'd be cool if when there's a severe weather alert it could rumble (if any rumble pak is present), beep etc. Have it use as little power as possible when the lid is closed. Then you could just keep it in your pocket and whenever you walk by a wifi hotspot it connects and alerts you if necessary.

I know, it'll never happen, but eh. :p
_________________
I'm a PSP hacker now, but I still <3 DS.

#100867 - Link_of_Hyrule - Thu Aug 31, 2006 7:44 am

Cool now all we need is Beup Live messenger!

#100870 - falcon!!! - Thu Aug 31, 2006 7:55 am

well, a standby option would be useful

#100874 - awh85 - Thu Aug 31, 2006 9:00 am

edit bcoz im a n00b.

Last edited by awh85 on Thu Aug 31, 2006 2:48 pm; edited 1 time in total

#100885 - Lick - Thu Aug 31, 2006 12:31 pm

awh85 wrote:
as of current the program can remember users names. but in future would it be possible for the program to remember multiple user names and passwords. something like a drop down menu would be nice so that ppl using 2 accounts wouldnt have to type the whole time. btw, im not sure if the nudge is working or not but it would be nice to have a sound effect nudge on Beup


lol wtf get outta here! :p Joke, I think you're in the wrong thread, hehe.
_________________
http://licklick.wordpress.com

#100890 - falcon!!! - Thu Aug 31, 2006 12:52 pm

LOL
Wrong topic hehe XD

#100891 - ghaxaq - Thu Aug 31, 2006 12:57 pm

What progress have you made with the app? Any underground release? :p

#100894 - awh85 - Thu Aug 31, 2006 2:46 pm

sorry lick, i was reading two topics and pressed reply to the wrong topic..ill edit my topic...sorry mate

#100934 - Lick - Thu Aug 31, 2006 10:19 pm

awh: Not a problem.

I haven't had much time since I suddenly got a job as a flyer-guy. Going through large house-complexes putting flyers in each mailbox I spot, hehe. Not really refreshing work, surely tiring, but it pays well.
But to the point, I've been working on an improved DSLW-serverscript for the use with forecasts. After that, I'll put graphics into the currently-tab. I'm sick and tired of text myself too. ;)

So no underground release for you guys! Keep the hopes up,
- Lick no Jutsu!
_________________
http://licklick.wordpress.com

#101187 - ghaxaq - Sun Sep 03, 2006 7:11 pm

So how is it going??? Any new additions or info?

#101209 - Lick - Sun Sep 03, 2006 9:32 pm

I am so smart: I loaded up alpha-channel-included PNGs up in Firefox and took a screenshot of those, so I can convert them into 16-bit icons without losing the 'per pixel alpha effect'. Funny that I tried to convert them using all sorts of converters before. That actually took me more time (a few hours) than writing a javascript that loads up all images (about 30 seconds). Ugh.. Now I can FINALLY start working on loading them into DSLW. =)

Not much work has done and I have bad news: school is starting! ! Oh NOeS!
_________________
http://licklick.wordpress.com

#101216 - mastertop101 - Sun Sep 03, 2006 10:11 pm

hi.. it doesnt work for me using a supercard CF
could not find profiles. (FAT)
could not find reports. (FAT)
and then, when i put information
Could not save profiles. (FAT)

#101228 - Drood - Sun Sep 03, 2006 11:34 pm

Could anyone post a configuration file for the dsliveweather directory? It won't save on my M3, so I'm hoping that it can at least READ the directory and have a default configuration so I don't have to keep remembering my code.

Not even sure if this is possible, but figured I'd ask.

#101240 - doedill - Mon Sep 04, 2006 12:17 am

mastertop101 wrote:
hi.. it doesnt work for me using a supercard CF
could not find profiles. (FAT)
could not find reports. (FAT)
and then, when i put information
Could not save profiles. (FAT)


did you read the part about creating a folder inorder for it to work??

#101279 - mastertop101 - Mon Sep 04, 2006 4:05 am

doedill wrote:
mastertop101 wrote:
hi.. it doesnt work for me using a supercard CF
could not find profiles. (FAT)
could not find reports. (FAT)
and then, when i put information
Could not save profiles. (FAT)


did you read the part about creating a folder inorder for it to work??


well, no, I searched on Lick's webpage, dev scene, and a few pages but didn't fin anything..

#101282 - heyyouguys - Mon Sep 04, 2006 5:57 am

I get the same error as the above. have a dslite/sclite.

I also get at first DsWifi ready!

then the above posts

I read through all 10 pages, but could not find how to fix the issue. I may have missed it but I DID try before posting.

What is all need to run? And where to get?

thanks in advance,

#101294 - falcon!!! - Mon Sep 04, 2006 8:26 am

Drood wrote:
Could anyone post a configuration file for the dsliveweather directory? It won't save on my M3, so I'm hoping that it can at least READ the directory and have a default configuration so I don't have to keep remembering my code.

Not even sure if this is possible, but figured I'd ask.


here we go.
http://84.222.9.54:1080/PROFILES.zip

Extract the 2 files in the dsliveweather! directory

sorry but they are almost all italian location

#101316 - Lick - Mon Sep 04, 2006 11:54 am

Actually, just creating the 'DSLiveWeather!' directory should be enough. You can even do this in DSOrganize, if you want to. The problem is that libFat currently doesn't ALLOW me to create directories, it just doesn't work. The next release of libFat (that comes with the next release of DevKitPro), will have directory functions so hopefully I can create the directory for you, if it didn't exist yet.

Thanks for trying out DSLW though! I'm working on the next version right now.. (which ironically requires you to create a 'DSLiveWeather' directory, without the exclamation icon (!). So sorry about this..)

- Lick
_________________
http://licklick.wordpress.com

#101336 - Lick - Mon Sep 04, 2006 3:26 pm

Underground Release:
DSLiveWeather "Tepidus"

Download URL:
http://lick.huuf.net/DSLiveWeather_Tepidus.nds

Information:
First build with graphics included. Using XboxMediaCenter Icons by Mathias Mahling.

Installation Notes:
- Make sure to create a directory in the root, named "DSLiveWeather". (If you're upgrading from previous installations, remove the trailing exclamation icon ("!") from the directoryname.)
- Another important change is the access to 'fetch2.php' instead of 'fetch.php'. Only the mainserver (lick.huuf.net) has the new script, so the alternative (lick.whatalicefound.net) does NOT work with this build.

Bugs
Please report any bugs that you find so I can remove them ASAP.
Known bugs:
1) Icon covers up some text. =/
2) Visibility says 'kph' while that should be 'km'.

Gonna add a 'change F/C' button that switched from F + miles to C + kilometers.

-Lick
_________________
http://licklick.wordpress.com

#101343 - mastertop101 - Mon Sep 04, 2006 4:11 pm

ok now it says,
Profiles were loaded (FAT)
Could not find reports. (FAT)
even using USNY0996

#101345 - Lick - Mon Sep 04, 2006 4:30 pm

Well try to get some weather information first, then next time you start DSLW, it will load the reports. The whole 'saved reports' thing is to let you download reports once, and check them without an internet connection, later. This will be more useful when I get forecasts.
_________________
http://licklick.wordpress.com

#101346 - ghaxaq - Mon Sep 04, 2006 4:35 pm

Nice release,well done.All the basic info is right there now, and also good job for the white background.

why did you remove the left and right buttons that scrolled through profiles?
And what problems are you encountering in the forecast?Or are you still testing it?

Suggestion: Why don't you display the images on the upper screen and the info on the lower one? I know that the upper screen shows connectivity data but maybe a work around could be made.

You're great man!! Thumbs up :D

#101347 - Lick - Mon Sep 04, 2006 4:39 pm

I removed the keys because they weren't working right. I'm going to put them back in soon. Thanks for reminding me, hehe.. Almost forgot them.

The forecasts, I'm still thinking about how to put the info there. And what information would be important enough to include.

The problem is, I don't have enough info to put on 2 screens, but yet too much to put on 1 screen. Really stuck on this layout problem.
_________________
http://licklick.wordpress.com

#101352 - Liter - Mon Sep 04, 2006 5:52 pm

I had a problem at first with loads of extra numbers being displayed alongside the valid data and fixed it by deleting both the PROFILES and REPORTS files. Before I did this it was also hanging at "Processing data.."

Some suggestions:

after the 'UV Index', put the number as it is then the letters in brackets, for example:

UV Index: 1 (Low)

Same for Pressure, so use:

Pressure: 29.21 in. (Steady)

Etc.

Is Visibility not implemented yet, or does a reading depend on the station?

Would it be possibile to put the time of the last data update on the Currently (and Forecast) screens?

Also, will you be adding a list of stations so people don't need to go online with another machine first to find their codes?

I still think that, eventually, it would be nice for you to display a map of the world where people can then zoom in and tap on their location with the stylus. :)


Will test more later, but looking very good so far. :-)

#101353 - ghaxaq - Mon Sep 04, 2006 6:32 pm

The data could be shown in a horizontal way like weather.com does.Look at this page

http://www.weather.com/outlook/travel/businesstraveler/tenday/MTXX0001?from=36hr_fcst10DayLink_business

You could show a small graphical image, the date, if it is sunny etc, low/high temp in red and blue colors so you do not have to type low temp etc, humidity, and the uv index. Thats all. You should show the tommorrow,and the next 4 days to come or if you can make use of the two screens maybe you could fit a whole week if you use small images.

I liked the suggestions Liter found they are very practical.Plus I am a big fan of this app and I use it atleast 3 times a day to check the weather and now to see the graphics also.

Hope you'll continue like this cause with some more extra additions this will be the greatest app I have ever seen.

#101355 - Liter - Mon Sep 04, 2006 6:45 pm

ghaxaq wrote:

You could show a small graphical image, the date, if it is sunny etc, low/high temp in red and blue colors so you do not have to type low temp etc, humidity, and the uv index. Thats all.


I'd rather not 'lose' humidity, UV Index, etc as they're very useful.

Quote:
I liked the suggestions Liter found they are very practical.


Thank you. :)

#101358 - Lick - Mon Sep 04, 2006 6:49 pm

I think he's talking about the forecasts.. =P
_________________
http://licklick.wordpress.com

#101359 - Liter - Mon Sep 04, 2006 6:51 pm

Ah, okay, in that case no problem. :)

#101360 - Liter - Mon Sep 04, 2006 7:06 pm

Okay, some more comments:

If an unknown (or no) location ID is given and the tick clicked for the forecast, why is: 'There is no Location ID!' printed nine times on the top screen? Why not just print it once?

At one location, for the Wind it displayed:

From CALMX at 0mph/0kph

Can you get it to simply display CALM instead?

As reported for the last versions, left and right black arrows are still sometimes erratic and mostly insensitive when touched with the stylus. I think perhaps you need to extend the sensitive area a little to the left and right of the left and right arrows accordingly.

Keep up the great work. :)

#101361 - falcon!!! - Mon Sep 04, 2006 7:06 pm

this version freezes at "processing data"

edit: i'll delete my profiles as said ;) sorrry

#101364 - Lick - Mon Sep 04, 2006 7:15 pm

Do you guys even read the notes?! To avoid freezing on processing of data, fetch from 'fetch2.php'.

Thanks for the testing, I'm going to do a check if it's "CALM" or a real direction "SW", before displaying it.

The keyinput will be in the next release, I miss them too. =(
_________________
http://licklick.wordpress.com

#101366 - falcon!!! - Mon Sep 04, 2006 7:22 pm

if you can make the pressure in Mb or Hpascal it would be great

#101367 - Liter - Mon Sep 04, 2006 7:23 pm

Lick wrote:
Do you guys even read the notes?! To avoid freezing on processing of data, fetch from 'fetch2.php'.


Yes, we read them, but in my case we sometimes forget.

If the software automatically made the correct adjustments (deleting old files as required, etc) then it would avoid such problems. :)

Quote:
Thanks for the testing, I'm going to do a check if it's "CALM" or a real direction "SW", before displaying it.


It should be calm seeing as the wind speed was 0mph. :)

BTW, was my previous list of comments useful?

#101368 - Liter - Mon Sep 04, 2006 7:24 pm

falcon!!! wrote:
if you can make the pressure in Mb or Hpascal it would be great


Perhaps there could be something in the settings to display readings as the users prefers, ie Celcius or Fahrenheit, etc?

#101372 - falcon!!! - Mon Sep 04, 2006 7:33 pm

good work anyway,
the bug i posted about the farenait is disappeared (now 30?F is translated correctly in -1?C)

#101434 - heyyouguys - Tue Sep 05, 2006 2:19 pm

What causes thiss?

could not find profiles. (FAT)
could not find reports. (FAT)

I have read thru post with no luck (or missed it)

What am I missing when setting up?

#101440 - ghaxaq - Tue Sep 05, 2006 3:52 pm

Code:
Installation Notes:
- Make sure to create a directory in the root, named "DSLiveWeather". (If you're upgrading from previous installations, remove the trailing exclamation icon ("!") from the directoryname.)
- Another important change is the access to 'fetch2.php' instead of 'fetch.php'. Only the mainserver (lick.huuf.net) has the new script, so the alternative (lick.whatalicefound.net) does NOT work with this build.


Search and read carefully

#101443 - MechaBouncer - Tue Sep 05, 2006 4:18 pm

Can this use a the "\data\" folder from the root with a "DSLiveWeather" subfolder in it (so "\data\DSLiveWeather\")? So many homebrew programs seem to be jumping onboard with that standard now. Does DSLiveWeather support this too?
_________________
Cobalt/Black NDSL
CycloDS Evolution (firmware 1.55 BETA 3) and EZFlash 3-in-1
Kingston SD-C02G JAPAN 2GB MicroSD
MoonShell 1.71, DSOrganize 3.1129, QuakeDS Pre3, ScummVM DS 0.11.1, Pocket Physics 0.6, OpenTyrian DS 0.3

#101450 - ghaxaq - Tue Sep 05, 2006 5:11 pm

You are crazy on the fucken /data/ thing.My goodness!!! You can try and put dsliveweather.nds in the same folder of the dsliveweather folder and see if it works but I don;t fucken know.

#101451 - Lick - Tue Sep 05, 2006 5:22 pm

I'll make a small patcher that allows you to change the working directory.. Guess that's fine for all?
_________________
http://licklick.wordpress.com

#101453 - heyyouguys - Tue Sep 05, 2006 5:51 pm

ghaxaq wrote:
Code:
Installation Notes:
- Make sure to create a directory in the root, named "DSLiveWeather". (If you're upgrading from previous installations, remove the trailing exclamation icon ("!") from the directoryname.)
- Another important change is the access to 'fetch2.php' instead of 'fetch.php'. Only the mainserver (lick.huuf.net) has the new script, so the alternative (lick.whatalicefound.net) does NOT work with this build.


Search and read carefully


I saw this already and i am trying the tepidus version as well. I had removed the ! from the folder.

It starts out DsWifi Ready! at this for awhile. Then goes to,

LibFat Failed.. Then goes to to,

could not find profiles. (FAT)
could not find reports. (FAT)

It also will not save. I am using SClite with micro ultra II 1g.

ghaxag, am i missing something cause had all that set up?


edit: I have in the root directory:
DSLiveWeather (folder, empty)
DSLiveWeather_Tepidus.nds

#101459 - TJ - Tue Sep 05, 2006 6:51 pm

Quote:
I'll make a small patcher that allows you to change the working directory.. Guess that's fine for all?


I don't really think it would be necessary to go through all that trouble. People only are going to want it in one of two locations; either on the root of the card, or under /data. In fact, I would go so far as to say most people would want /data/DSLiveWeather, but that is besides the point.

Given that there are really only two options, couldn't the program first check to see if the folder exists on the root, and if not, then attempt to load it from inside of /data? Or the other way around?

#101462 - Vasco - Tue Sep 05, 2006 7:23 pm

I use all my homebrew from Root/Homebrew/Programas

So dont say all, cause you dont know all people, or at least half...

#101465 - Lick - Tue Sep 05, 2006 7:59 pm

TJ: that's a good suggestion. If /DSLiveWeather fails, it tries /data/DSLiveWeather. Simple, yet efficient. Thanks!

By the way, this will be added, unfortunately, when the next version of libfat comes out.
_________________
http://licklick.wordpress.com

#101467 - Lick - Tue Sep 05, 2006 8:09 pm

heyyouguys: it could be that the version of libFat I use, doesn't like Supercard Lite. In that case, you'll need to wait for the next release of DevKitPro (and DSLW).

How do I convert pressure from in. to ..whatever is the standard?
_________________
http://licklick.wordpress.com

#101471 - heyyouguys - Tue Sep 05, 2006 8:20 pm

lick, thanks for the info. From what I have read on this post, you really are trying to please all! That's a tough job but you are doing a great job at succeeding. I look forward to using this!

#134110 - antoontje - Tue Jul 10, 2007 6:28 pm

If i start up i get the eror:

Eror loading profiles (FAT)
'' reports (FAT)
'' forecasts (FAT)

I can't save (profiles and reports)

Whats the problem?

#134111 - OSW - Tue Jul 10, 2007 6:51 pm

Its a problem with the latest release. Saving profiles is broken.

we'll have to wait for a fixed update release.