| View previous topic :: View next topic |
| Author |
Message |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Fri Jul 08, 2005 3:53 pm Post subject: RELEASE: pspWeather v1.0 |
|
|
Please read the README FIRST.txt
I will release the source soon, I want to clean up the code a little before I do so.
http://mcdongle.i8.com/
Readme File:
pspWeather v1.0
by mcdongle
Buttons:
Triangle key - (DISABLED) for refreshing was disabled due to it being somewhat buggy so disregard that message
Circle key - will exit, just as hitting menu and yes will exit
Square key - captures a screenshot of the display and places it at
\PSP\GAME\PSPWEATHER\screenshot.tga
Cross Key - (DISABLED) used to capture the weather image of your location to view later on.. but isn't working yet
Notes:
- I will release the code sometime soon after I clean it up a little bit
- Thanks to PspPet's posts on the new structures for sockaddr_in which made this possible.
- I used wifi_sample as a shell to create this.
- The weather icon will not update as of yet, I've not converted over the other images yet
To use: (this was taken from wifi_sample's readme and edited)
* There must be one configuration (multiple configuration selection not implemented)
* Do not use "DHCP" (otherwise the Connecting status will stop at "Waiting for DHCP")
#1) Be sure you can connect to that WiFi net using your PC
#2) Edit \PSP\GAME\PSPWEATHER\pspWeather.cfg and place your zip code in there
NOTHING ELSE! (must be a 5 digit zip code)
#3) run the program on PSP (both 1.0 and 1.50 versions available)
#4) on exit, see file \PSP\GAME\PSPWEATHER\pspWeather-errlog.txt on the memory stick for error logging
I'm sure there are bugs, please be patient and I'll try to fix them, or when I release the source you can =) |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sat Jul 09, 2005 4:25 am Post subject: |
|
|
| pspWeather v1.01 will be released very soon, with source code included. I'm doing some minor fixes and adding ability for non US users to also get weather. |
|
| Back to top |
|
 |
Techit
Joined: 22 May 2005 Posts: 13
|
Posted: Sat Jul 09, 2005 4:56 am Post subject: |
|
|
You want ideas for the future I got one. Have a option to choose more than one zip code. I thought of using it when I travel or something. _________________ Techit.org |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sat Jul 09, 2005 5:20 am Post subject: |
|
|
Yeah I've also thought of this, I'll brainstorm a little and see if i can do that for 1.01
Thanks =) |
|
| Back to top |
|
 |
Techit
Joined: 22 May 2005 Posts: 13
|
Posted: Sat Jul 09, 2005 5:45 am Post subject: |
|
|
eh I havnt messed with any of the WiFi stuff, but what does it mean by do not use DHCP? _________________ Techit.org |
|
| Back to top |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
Posted: Sat Jul 09, 2005 5:55 am Post subject: |
|
|
Make sure that you dont use "automagically connect me to my router" settings when setting up a wifi connection on your PSP. Instead do it the manual way and set yourself up with at static IP address. _________________ Lego of my Ago! |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sat Jul 09, 2005 5:56 am Post subject: |
|
|
DHCP stands for Dynamic Host Configuration Protocol
It basically assigns you an IP address to use, what most people do use. I based this off of wifi_sample which also requires a static ip (doesn't know how to talk to the DHCP server I assume) so I have the same drawback in my application. |
|
| Back to top |
|
 |
Techit
Joined: 22 May 2005 Posts: 13
|
Posted: Sat Jul 09, 2005 6:15 am Post subject: |
|
|
What would be the Default Router address then? _________________ Techit.org |
|
| Back to top |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
Posted: Sat Jul 09, 2005 6:21 am Post subject: |
|
|
the gateway... usually xxx.xxx.xxx.1 _________________ Lego of my Ago! |
|
| Back to top |
|
 |
Techit
Joined: 22 May 2005 Posts: 13
|
Posted: Sat Jul 09, 2005 6:26 am Post subject: |
|
|
er Sorry.. Ok on your PSP you have IP Address, Subnet Mask, Default Router, Primary DNS, and Secondary DNS.
Thats the Default Router address i'm talking about. _________________ Techit.org |
|
| Back to top |
|
 |
Agoln

Joined: 08 Jun 2005 Posts: 326 Location: Fort Wayne, IN
|
Posted: Sat Jul 09, 2005 6:30 am Post subject: |
|
|
it varies from router to router, but it's usually like this
IP:192.168.1.[anything below 100] -linksys (or 192.168.0.[anything below 100])-dlink
Subnet Mask: 255.255.255.0
Default Router: 192.168.1.1 (or 192.168.0.1)
Primary DNS: Don't really need.
Secondary DNS: again, dont need.
DNS is used to make "yahoo.com" into "127.0.0.1" (not really that, but you get the point). Right now, I don't think that there is a way on WIFI to do that conversion, so you don't need to use DNS.
If that tests OK, then you're good to go. If not, then check on your main computer what you IP address is and just change the last digit to like... 10. _________________ Lego of my Ago! |
|
| Back to top |
|
 |
Techit
Joined: 22 May 2005 Posts: 13
|
Posted: Sat Jul 09, 2005 6:40 am Post subject: |
|
|
Hmm ok thats really weird. I had all the same address like you posted but I had both promary DNS and secondary DNS filed. I just change secondary to 0.0.0.0 and first one to something random.
That worked! Thanks for not picking on me. We can get back to the main topic on the really cool pspWeather program. Which by the way works great for me. _________________ Techit.org |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sat Jul 09, 2005 6:41 am Post subject: |
|
|
| Agoln wrote: |
If that tests OK, then you're good to go. If not, then check on your main computer what you IP address is and just change the last digit to like... 10. |
Or any other number but the one that's in use by that computer or any other computer on your LAN =) |
|
| Back to top |
|
 |
wulfie
Joined: 08 Jul 2005 Posts: 28
|
Posted: Sat Jul 09, 2005 11:56 pm Post subject: |
|
|
| I must say that PSPWeather is just awesome! I'm hoping to possibly see the weather icon change in v1.01? ;) |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sun Jul 10, 2005 3:15 am Post subject: |
|
|
| wulfie wrote: | | I must say that PSPWeather is just awesome! I'm hoping to possibly see the weather icon change in v1.01? ;) |
Well since I've changed more than i thought, I'm going to jump up to 1.05 instead of 1.01, and yes it will change the icons =)
After a bit, I'm going to recode again so it uses the PSPSDK more and not any custom stuff I've been using. PspPet released a new wifi_sample that will probably help me alot =) |
|
| Back to top |
|
 |
Mike/Pippin
Joined: 05 Jun 2005 Posts: 40
|
Posted: Sun Jul 10, 2005 7:02 am Post subject: |
|
|
Hey How about you make a Menu thing that looks similar to this-
-The Add New Profile Asks for the City Name and the Zip code. Then adds it to the profiles.
-When you click one of the profiles it writes that Zipcode to the Reader one.(The config file)
Its simple and its a good idea. :D |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sun Jul 10, 2005 7:40 am Post subject: |
|
|
| Mike/Pippin wrote: | Hey How about you make a Menu thing that looks similar to this-
-The Add New Profile Asks for the City Name and the Zip code. Then adds it to the profiles.
-When you click one of the profiles it writes that Zipcode to the Reader one.(The config file)
Its simple and its a good idea. :D |
Yeah it is a good idea. I would love to have something similar to this but as of right now I'm having issues with the new implementation of more than one zipcode (9 max so far, when I redo this code so it works with the PSPSDK 100% then I can increase this limit). I just hope to get out this new version VERY SOON and the source so maybe someone else who is better than I am at doing the GUI might want to take a shot at it. If not i'll surely make something like you're asking, but no clue as to when.
Thanks for your idea =) |
|
| Back to top |
|
 |
Techit
Joined: 22 May 2005 Posts: 13
|
Posted: Sun Jul 10, 2005 1:14 pm Post subject: |
|
|
If ya ask me.. no more than 9 zip codes are needed... I wouldnt think any ways. _________________ Techit.org |
|
| Back to top |
|
 |
wulfie
Joined: 08 Jul 2005 Posts: 28
|
Posted: Sun Jul 10, 2005 3:19 pm Post subject: |
|
|
| how about a display that looks like something similar to the one in the top right of my desktop image found here |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sun Jul 10, 2005 3:21 pm Post subject: |
|
|
| Aye, you're using weather 2004 on Serious Samurize right? This is what I was going to use and figure out where to get the maps from =) |
|
| Back to top |
|
 |
wulfie
Joined: 08 Jul 2005 Posts: 28
|
Posted: Sun Jul 10, 2005 3:28 pm Post subject: |
|
|
| don't really need the maps, I was just talking about the top of my configuration. If you wanted to use the maps, just use the zipcode and get 'em from weather.com. Unfortunately it'll only work for the states. But I think a display like that would make PSPWeather the KING of weather apps for the PSP! ;) |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sun Jul 10, 2005 3:40 pm Post subject: |
|
|
| wulfie wrote: | | don't really need the maps, I was just talking about the top of my configuration. If you wanted to use the maps, just use the zipcode and get 'em from weather.com. Unfortunately it'll only work for the states. But I think a display like that would make PSPWeather the KING of weather apps for the PSP! ;) |
This actually works for all over, i've successfully gotten pictures of Italy. I just need to figure out some problems i'm having with pointers because I just plain suck with them and 1.05 will be released :\
I'll make a nicer display and forecast later on. Trying to concentrate on just the core of the app |
|
| Back to top |
|
 |
wulfie
Joined: 08 Jul 2005 Posts: 28
|
Posted: Sun Jul 10, 2005 3:47 pm Post subject: |
|
|
| well if you need any help with gfx, i.e. icons and such, just give me a holler. Keep up the good work! :) |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sun Jul 10, 2005 4:39 pm Post subject: |
|
|
| wulfie wrote: | | well if you need any help with gfx, i.e. icons and such, just give me a holler. Keep up the good work! :) |
Will do, thanks =) |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Sun Jul 10, 2005 7:42 pm Post subject: |
|
|
pspWeather v1.05 is now released. Get it at http://mcdongle.i8.com
Spread the word =) |
|
| Back to top |
|
 |
wulfie
Joined: 08 Jul 2005 Posts: 28
|
Posted: Sun Jul 10, 2005 8:01 pm Post subject: |
|
|
nice to see a new build so quickly! :D I do have a question though. I noticed that you have multiple location id's in the config yet I can't figure out a way to switch 'locations'. I'm guessing this feature hasn't been implemented yet?
edit: man, that's what I get for testing stuff at 4am! Just noticed the 'location id's' under the shoulder buttons. DUH!! |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Mon Jul 11, 2005 12:54 am Post subject: |
|
|
| Haha hey yeah I guess I completely forgot to say that in the readme =P thanks i'll edit it on the site |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Mon Jul 11, 2005 1:13 am Post subject: |
|
|
Tripod disabled my account, need to find somewhere to host v1.05. The current website says my quota is full.
edit: pointed the download link to www.pspupdates.com. They fortunately grabbed a copy in time |
|
| Back to top |
|
 |
mcdongle
Joined: 08 Jul 2005 Posts: 19
|
Posted: Mon Jul 11, 2005 1:42 am Post subject: |
|
|
| Could this topic be locked please? New thread open for v1.05 |
|
| Back to top |
|
 |
|