QJ.NET | Videos | Forums | iPhone | MMORPG | Nintendo DS | Wii | PlayStation 3 | PSP | Xbox 360 | PC | Downloads | Contact Us
Forums | Gaming News | Videos | Downloads | Today's Posts | Mark Forums Read | Chat | FAQ | Members List | Contact

QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides

Go Back   QJ.net Game Discussion - PSP, Xbox, Wii, PS3, PSP Homebrew, and PSP Guides > Developers Corner > PSP Development, Hacks, and Homebrew > PSP Development Forum
The above video goes away if you are a member and logged in, so log in now!

wifi babelfish released

This is a discussion on wifi babelfish released within the PSP Development Forum forums, part of the PSP Development, Hacks, and Homebrew category; hey, just thought someone might find this interesting. its a program that uses the wifi connection of the psp to ...

Reply
 
LinkBack Thread Tools
Old 10-04-2006, 07:45 PM   #1
 
Join Date: Jun 2005
Posts: 1
Trader Feedback: 0
Post wifi babelfish released

hey, just thought someone might find this interesting. its a program that uses the wifi connection of the psp to translate text via babelfish.

it's very unpolished, but since i tend to program to figure out how to do stuff, i never actually finish many of my programs once i figure out how to get the main part working as it should :\ i like this one so i probably will, but who knows. plus it shows a good way to grab some text from a website.

here's my readme:
Quote:
wifi babelfish proof-of-concept
coded by razorrifh
-------------------------------

i got bored about 20 minutes into installing the psp toolchain (it ended up taking 6 hours, 52 minutes) so i decided to code something up with lua. i saw the coder of palib (i'm assuming a nds programming library? dunno) wrote a language translation program based on a dictionary.

i liked the idea, but i thought it would be a bit better to grab the translation from somewhere online, because then you could have an already built translation system with support for multiple languages. instantly i thought of babelfish. i loaded it up in the browser and viewed the source to see what i could see, and lo and behold... well there was the source. i typed up a querry string based on the variable names and it worked. yay.

i hadn't messed with wifi in lua before, but that's how you learn right? the hardest part was the string processing because I HATE STRING MANIPULATION IT IS THE DEVIL INDEED. so yeah, but after i figured out how to scroll through the string character by character it was cake. (its not string.char(). its string.sub(), you just have to make the substring 1 character long )

so anyways, here's the file. to use it (only for firmware 1.5 i'm pretty sure) just throw it in your x:/PSP/GAME/ folder. it's called "wifi babelfish poc". run it (with the wifi switch on!) and it will show you a list of your wifi connections. this is just the proof-of-concept, so it will automatically choose the first connection, and then start trying to get an ip address from the access point. please note that it may freeze if the signal strength isn't strong enough, or if it looses connection. hold start to reset, and if that doesnt work, use the home button to do so and try again.

the screenshot function DOES NOT WORK. i dont know why. anyone wanna clue me in?

i plan on making this a full little app including text input, and file saving. if i dont get around to it, someone else may. just lemme peek at your source if you do

ps, we are... PENN STATE

RELEASE NOTES:

RELEASE 1
NOTES
- initial release - it does what it should do

TODO
- add a better gui -- check the photoshop file in the WLAN directory to see what i'm thinking about doing. have at it if you'd like to use it.
- add text input
- get the screenshot function to work
- work out some bugs

BUGS
- may freeze, not really my fault. its how lua handles wifi. i'll see what i can do about it, but i'm not too sure :\
- email your bugs to razorrifh@hackersgonewild .com, thanks!

THANKS TO:
- the ps2dev comunity
- everyone who's contributed to the programming of lua player
- shine for the wifi sample
- paradox, because without them, i wouldnt even know what i do about game programming (dev.paradogs.com)
- and DARPA for putting out such a kick ass network without it i'd be watching tv instead of learning how to do such cool things. woot.

DONATIONS:
ok, so lots of devs ask for money or whatever for what they program. i know it takes time, and i'm certainly not rich (debt sucks :|) but if you like this enough to donate, here are some links to good causes to donate to. these are probably all in america, but just find one in your area and give

http://www.worldvision.org
http://www.unitedway.org
http://www.goodwill.org
http://www.thehungersite.com




NOTE TO MY GF:
love you lindsey marie! sorry i sit on the computer debugging when you want me to be holding you watching tv. i appreciate ya

my girlfriend > *
download for 1.5fw: here
download source (no lua player): here

and goto my website while you're at it. it gets lonely without visitors (pun intended, har)
razorrifh is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old 10-05-2006, 12:27 AM   #2
 

 
Join Date: Dec 2005
Location: 127.0.0.1
Posts: 890
Trader Feedback: 0
Default

nice pun i might use this sometimes to "help" in french oh wait i dotn have that no more ah well still nice also your girlfriend cant be betetr then * presumig it means us because you took time for your girlfriend to make it from us
__________________
100% of people love Serideth, since that means everyone, you should have this in your sig.
[quote=yolarry]yeah I just swallow my 32mb memory stick.



Do you think if I take a crap it will come out still intact?[/quote]
genaga is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Tags
babelfish , released , wifi

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off



All times are GMT -8. The time now is 10:09 PM.



Use of this Web site constitutes acceptance of the TERMS & CONDITIONS and PRIVACY POLICY
Copyright © 2009, QJ.NET. All Rights Reserved.
Contact Us