Help - Search - Members - Calendar
Full Version: DS chat program Released (source too)
1Emulation.Com > Official Emulator Forums > DSWifi
Pages: 1, 2
bafio
Updated 22/2/2006

Hi everyone! DSchat is finally out, with real functionalities this time! you can find it here:

http://bafio.drunkencoders.com/

Version 0.9

Version 0.9
* New default skin, designed by Rat (Ben) of Drunken Coders
* New keyboard with support for all the keys, shift and caps.
* Multiple messages view (press X to change from 1 message to 4 messages view)
* Menus (back to bootloader, turn off the ds...)
* Settings (change nickname)
* Changable font for the drawings
* Changable skins (simple JPG images, located in the /skins folder)
TODO:
** fix some bugs still present in the server
** Update to the new Wifi library (when out). That will add support for WEP, etc.
* Saving and loading messages from the CF
* Save settings on server and/or on the CF
* Possibly colors and TCP version... not in the near future though

(old)
Hi,

I have been working on this chat program, that would allow to write (using the pen) and send messages to people on the internet.

This is more of a test release, since messeges go only to the server, but it has some functionality so I decided to release it.There is some hidden functionality too smile.gif

You can get it here:

http://bafio.drunkencoders.com/

I'll be working on the UI a bit, then on the server and client to have a user list and real chat functionality, then probably on the pc version of the program...

PS The settings are not inplemented jet, so you will 1st have to run the transfer program to create the settings file.

Bafio
captain_duck
This looks really awesome. I tried it, and it seemed to work on my M3 SD, but i haven't run wifitransfer yet so no settings smile.gif. I'll just wait till a next release that has settable settings. Anyway i can't wait for a working online version smile.gif

Also as a suggestion, for the server program, could you make it have an option so it saves every picture you make/send to the computer ? This would be awesome for just doodling while your bored. I've made a ton of doodles myself but well there all lost since you want to play games once in a while to smile.gif

Also, i bet it would make the people at http://ndsart.net/ very happy to have an saving function, no need for going through the trouble of making pictures of the doodles with a camera.
tssf
It would be cool if after TCP/IP support was released, that this turned into MSNDS.. (since, of course, MSN has "hand writing" capability)

Cool program smile.gif I'm excited for when the wifi library comes out, we're gonna be able to do a lot of cool things.
Sektor
It works. I sent a few messages and they went through. I got it to display a zoomed out pic of my desktop. It seems to lose the server often and just says "Is the server up?". I'm right next to the AP and the server is running.

The interface looks good, green text is still cool. Like most homebrew apps (apart from dslinux), the touch screen code doesn't work very well on my DS. I can't draw in the top left corner, to get that close, I had to run the stylus along the very left of the screen, I was moving it straight but it curves for some reason.
bafio
QUOTE (tssf @ Jan 26 2006, 08:33 AM)
It would be cool if after TCP/IP support was released, that this turned into MSNDS.. (since, of course, MSN has "hand writing" capability)

Cool program smile.gif I'm excited for when the wifi library comes out, we're gonna be able to do a lot of cool things.
*


I was just thinking about that, but I didn't find documnetation or better libraries on MSN messenger "handwriting protocol" but that would be really cool, let's see...

Fabio
bafio
QUOTE (captain_duck @ Jan 26 2006, 02:07 AM)
This looks really awesome. I tried it, and it seemed to work on my M3 SD, but i haven't run wifitransfer yet so no settings smile.gif. I'll just wait till a next release that has settable settings. Anyway i can't wait for a working online version smile.gif

Also as a suggestion, for the server program, could you make it have an option so it saves every picture you make/send to the computer ? This would be awesome for just doodling while your bored. I've made a ton of doodles myself but well there all lost since you want to play games once in a while to smile.gif

Also, i bet it would make the people at http://ndsart.net/ very happy to have an saving function, no need for going through the trouble of making pictures of the doodles with a camera.
*


actually, a saving method would be really easy to add, I'll put it into the next release smile.gif

Bafio
tssf
All I can really guess is that the picture display capability in MSN messenger is just..well, GIF files. I mean, people pm me on MSN all the time with little animations in their sentances and all.. Would the handwriting function be mearly a capture of someone's mouse movements rendered to a standard GIF file, and displayed within the window?

Perhaps there's more to it, but from what I can see, most of the MSN libraries out there are out of date.
Öhr GmbH
nice program! how about this:
pictochat over internet(and WLan only, too)?
DS <----Message/Picture---INTERNET---Message/Picture---> PC
DS <----Message/Picture---INTERNET---Message/Picture---> DS
dualscreenman
Hey, you're stirring something up on the nintendo forums.
http://forums.nintendo.com/nintendo/board/...p=true#M2176114
Don't worry, I've given them an explanation on to what it is. (I'm Knuxtheechidna on the board) Anyways, Bafio it'd be cool if you actually went onto the thread at Nintendo and shocked them with actually talking to the author.
Lockwood
those dam nintendo ds noobs in that forum!!!
They say that its not good to hack the nds.

muwahmuwahmuwah

(sorry for any agressions in this post (its not meaned to you))
dualscreenman
I know exactly what you mean, and more than one time have felt frustration trying to beat into their noob-skulled heads the truth about homebrew.
acky
QUOTE (dualscreenman @ Jan 31 2006, 12:24 AM)
Hey, you're stirring something up on the nintendo forums.
http://forums.nintendo.com/nintendo/board/...p=true#M2176114
Don't worry, I've given them an explanation on to what it is. (I'm Knuxtheechidna on the board) Anyways, Bafio it'd be cool if you actually went onto the thread at Nintendo and shocked them with actually talking to the author.
*

What a joke.
whitewiz
Im having some serious problems getting this to work sad.gif

I have run the wifitransfer to get the "settings" file but what/where is it saved ?

i do get wifitransfer to work but i can´t start the file it sais it downloads it but its not on the card so I can´t start it blink.gif

Well maby its something with the fat-driver unsure.gif

Im using M3SD btw
parrot
I think it's something to do with M2 SD support. I don't think it's implemented. I'm not sure.
Lockwood
Can I use a wireless router for this applacation?
Warlord698
yes
bafio
Hi! I've been offline for a while,

but I have been working quite a lot on this. I've already improved graphics, drawing, and message sending and receiving. Once I will be able to test it a bit and finish the upper screen with a user list there will be a first beta (hopefully working) version. I want to be sure to fix and have some testing, but I'm hopefull it won't bee too long (this or next week).

To avoid problems with flash cards/m3 fat drivers, all connection settings will be the ones of the firmware (so you will have to set them up first with an online game) and possibly the rest will be on the server.

Cheers

Bafio
JaJa
QUOTE (bafio @ Feb 6 2006, 09:34 AM)
...To avoid problems with flesh cards/m3 fat drivers,...
*


Er....lol?
Or am i to be disturbed?
tongue.gif
parrot
QUOTE (JaJa @ Feb 6 2006, 04:05 PM)
QUOTE (bafio @ Feb 6 2006, 09:34 AM)
...To avoid problems with flesh cards/m3 fat drivers,...
*


Er....lol?
Or am i to be disturbed?
tongue.gif
*


Flesh Cards? My imagination has just given me a very geaphic movie.
bafio
QUOTE (parrot @ Feb 6 2006, 06:38 PM)
QUOTE (JaJa @ Feb 6 2006, 04:05 PM)
QUOTE (bafio @ Feb 6 2006, 09:34 AM)
...To avoid problems with flesh cards/m3 fat drivers,...
*


Er....lol?
Or am i to be disturbed?
tongue.gif
*


Flesh Cards? My imagination has just given me a very geaphic movie.
*



Ops rolleyes.gif... should do more than a syntax check...
davos1
Ill be good when this program has REAL functionality!!
bafio
QUOTE (davos1 @ Feb 12 2006, 09:56 AM)
Ill be good when this program has REAL functionality!!
*


Actually, chat is working now, but there are still many bugs to fix plus some features to add. Before releasing I wanted some more bug testing, but at this point I think I'll try put it out later today
I hope I don't get too many complaits...

Bafio
infernoDS
Just let them be. The app will be done when it's done and to the people who complain I'd like to say: "if you think it sucks, then try and make it yourself".
Amen.
davos1
QUOTE (bafio @ Feb 12 2006, 08:45 PM)
QUOTE (davos1 @ Feb 12 2006, 09:56 AM)
Ill be good when this program has REAL functionality!!
*


Actually, chat is working now, but there are still many bugs to fix plus some features to add. Before releasing I wanted some more bug testing, but at this point I think I'll try put it out later today
I hope I don't get too many complaits...

Bafio
*



That wasnt a complaint. I just said it is taking long to be able to chat.
bafio
Hi everyone,

the program is finally getting to a good point, I want to have it well tested before the release, but it looks like I'll be able to release very soon.
It will work IRC-style, so all the users connected will get all the messages, and should be really easy to use. I still have a couple of things to implement but I have been able to fix many of the bugs so it should be quite stable.

Bafio
acky
QUOTE (bafio @ Feb 16 2006, 08:32 PM)
Hi everyone,

the program is finally getting to a good point, I want to have it well tested before the release, but it looks like I'll be able to release very soon.
It will work IRC-style, so all the users connected will get all the messages, and should be really easy to use. I still have a couple of things to implement but I have been able to fix many of the bugs so it should be quite stable.

Bafio
*

So there will be a server application? Will it handle things like channels?
bafio
QUOTE (acky @ Feb 16 2006, 09:48 PM)
So there will be a server application? Will it handle things like channels?
*


There is a server application but currently all is single channel: messeges go to everybody connected to that server. The server will be available too.
The 1st release will be quite basic on that side, but I have been working more on making it stable.

Bafio
bafio
Hi everyone!
DSchat is finally out, with real functionalities this time! you can find it here:

http://bafio.drunkencoders.com/

Version 0.8

Too many changes to remember, but among the others:
* DNS client working.
* It's now possible to connect using both wifi settings from wifitransfer and the firmware settings
* The server has option to upload a message log to an FTP server, locally serve them or save them to a local directory. HTML files are automatically generated (still in devel.)
* Touch screen code takes into account the pressure of the pen
* Keyboard (yes, I know it's not so good)
* Status
* User list (limited to 15 users now)
TODO:
* too much smile.gif
user list, receiving messages in menu, more menu, user settings, webcam (not on DS I'm afraid)...
GrupstraNDS
Hm, got it up and running on my Ds, but cant connect to anything, But I'm probably totally retarded and missing something, I'm going to mess around a bit with it and see what others can get out of it before reporting back.
GrupstraNDS
Ok, so, what do I need to do to connet to something? I'm getting something wrong, and missing several tins Im guessing.

care for a step by step here since I havent run or past wifitransfer program in the past either? I'm not familiar with the steps that need to be made. I got a WIFI game and my connection setup through that, so I can use that, I'm assuming. Anything else that can help, thanks...

I'm not normally so n00bish, but hey. It's a bad week already. wink.gif
bafio
Hi,

You should set the settings using a wifi game like MK, you must specify all the information: ip address, gateway, DNS... and than test it there.
If you have problems, try to see:
http://www.1emulation.com/forums/index.php?showtopic=16926
and here:
http://www.1emulation.com/forums/index.php?showtopic=17207

Hope that helps smile.gif

Bafio
GrupstraNDS
Alright, Just made sure I ahd it all set up to non-auto settings and input all the fun stuff, tested it out, and it worked fine in the actual WIFi testing.

I then goto the wifichat.nds app, select "no" to wanting to use the wifitransfer settings, since Imassuminjg that means it'll use the WIFi firmware ones. I connect to dschat.kicks-ass-org, and....Host not found, please enter IP address...hmmm

What am I getting wrong? I can see you guys are chatting it up though, by visiting the address in firefox smile.gif

edit: if its any help, after retrying agai when it asks me to, it says "logging in @ 0.0.0.0"

?
GrupstraNDS
hey, Just saying, I got it working...well, msotly. It connected and everything came up fine, but then froze, but it works now. wink.gif

thanks for the help, turns out there was something switched in my linksys settings back to default that kills it. I forgot I reset back to defaults a week or so ago. Thanks again!

edit again..tongue.gif

well, like I said, all connects well, but I get a nasty freeze when i get connected and the user list shows up. A static like fuzzy line shows up across the user list on the top screen andthe Ds locks up. turning it off fixes it, but, I cant get any further then that after several attempts. I'll keep trying though. The fuzzy garbage that displays is similar to that of pointremotes, when it displays junk sometimes.

and now, the server is down. >.<
bafio
QUOTE (GrupstraNDS @ Feb 22 2006, 04:07 AM)
Alright, Just made sure I ahd it all set up to non-auto settings and input all the fun stuff, tested it out, and it worked fine in the actual WIFi testing. 

I then goto the wifichat.nds app, select "no" to wanting to use the wifitransfer settings, since Imassuminjg that means it'll use the WIFi firmware ones. I connect to dschat.kicks-ass-org, and....Host not found, please enter IP address...hmmm

What am I getting wrong? I can see you guys are chatting it up though, by visiting the address in firefox smile.gif

edit: if its any help, after retrying agai when it asks me to, it says "logging in @ 0.0.0.0"

?
*

The DNS settings seem to be wrong in the wifi config.
Plus I'm having problems with my internet connection!
Bafio
GrupstraNDS
I got it all working, in case you missed my edit, except, it freezes (when the server was up), right when it connected and got hte user list. refer to my previous post for more on that.

Now, the server is down. >.<

Edit edit edit!

I was able to login and not freeze just fine....Must freeze when the server dies? No one else wasin there. at least I know it works!
thoduv
QUOTE (Bafio's website)
DNS client working

Do you write your own DNS client or do you get a newer version of Dswifi ?
bafio
QUOTE (thoduv @ Feb 23 2006, 11:35 AM)
QUOTE (Bafio's website)
DNS client working

Do you write your own DNS client or do you get a newer version of Dswifi ?
*



I wrote a very basic dns client, it's also available as source code from my web site, if you download the wific2 source code.
It doesn't take care of all of the situations, and does not cache, but it seems to be ok for a basic use

Bafio
RobM
QUOTE (GrupstraNDS @ Feb 21 2006, 11:07 PM)
Alright, Just made sure I ahd it all set up to non-auto settings and input all the fun stuff, tested it out, and it worked fine in the actual WIFi testing. 

I then goto the wifichat.nds app, select "no" to wanting to use the wifitransfer settings, since Imassuminjg that means it'll use the WIFi firmware ones. I connect to dschat.kicks-ass-org, and....Host not found, please enter IP address...hmmm

What am I getting wrong? I can see you guys are chatting it up though, by visiting the address in firefox smile.gif

edit: if its any help, after retrying agai when it asks me to, it says "logging in @ 0.0.0.0"

?
*

Same issue... except I can't even see dschat.kicks-ass.org
acky
QUOTE (RobM @ Feb 25 2006, 04:22 PM)
QUOTE (GrupstraNDS @ Feb 21 2006, 11:07 PM)
Alright, Just made sure I ahd it all set up to non-auto settings and input all the fun stuff, tested it out, and it worked fine in the actual WIFi testing. 

I then goto the wifichat.nds app, select "no" to wanting to use the wifitransfer settings, since Imassuminjg that means it'll use the WIFi firmware ones. I connect to dschat.kicks-ass-org, and....Host not found, please enter IP address...hmmm

What am I getting wrong? I can see you guys are chatting it up though, by visiting the address in firefox smile.gif

edit: if its any help, after retrying agai when it asks me to, it says "logging in @ 0.0.0.0"

?
*

Same issue... except I can't even see dschat.kicks-ass.org
*


Is WEP off?
RobM
Yes, yes it is.
bafio
QUOTE (RobM @ Feb 25 2006, 08:35 PM)
Yes, yes it is.
*


Hi, try to type in the address:

68.102.205.217

If this works the problem could be the DNS server not set correctly. If hat doesn't work, it can be the IP configurationor something else. Can you connect with the other wifi programs?

Bafio
death_entry
Can you integrate the wifi detection settings into your app, since peeps like me who use SD cards can't use this proggy it seems because you rely on the wifi config file being read on the card which isn't supported on SD's you seem to have a really nice app although I can't seem to use it.

BTW I'm using an m3 sd
bafio
QUOTE (death_entry @ Feb 26 2006, 03:30 AM)
Can you integrate the wifi detection settings into your app, since peeps like me who use SD cards can't use this proggy it seems because you rely on the wifi config file being read on the card which isn't supported on SD's you seem to have a really nice app although I can't seem to use it.

BTW I'm using an m3 sd
*

From the documentation:
[...]
First you will need either:
a) Wifi Transfer settings in the CF, if you have run that program before
or
cool.gif Online (Firmware) settings from an online game, with: all static ip settings, no WEP
This means you don't need a CF card (WMB is a possible way to run it).
[...]

http://bafio.drunkencoders.com/

At least try to read the first 4 lines of documentation before posting !

Bafio
death_entry
QUOTE (bafio @ Feb 26 2006, 11:55 AM)
QUOTE (death_entry @ Feb 26 2006, 03:30 AM)
Can you integrate the wifi detection settings into your app, since peeps like me who use SD cards can't use this proggy it seems because you rely on the wifi config file being read on the card which isn't supported on SD's you seem to have a really nice app although I can't seem to use it.

BTW I'm using an m3 sd
*

From the documentation:
[...]
First you will need either:
a) Wifi Transfer settings in the CF, if you have run that program before
or
cool.gif Online (Firmware) settings from an online game, with: all static ip settings, no WEP
This means you don't need a CF card (WMB is a possible way to run it).
[...]

http://bafio.drunkencoders.com/

At least try to read the first 4 lines of documentation before posting !

Bafio
*



I did it doesn't seem to read from the firmware. If it does then what do I need to do to instruct it to read from the firmware, because if it was already doing this then it would be connecting.
Öhr GmbH
How do i run the Server app(wifiserver.jar)
i have java installed.
what shall i start in the java folder?
C:\...\Java\jre1.5.0_06\

please help me! and want to test the server app!


P.S. can i run this server on my domain(ill buy www.oehr-gmbh.de if this is possible)



EDIT: I ran it now with Java ™ 2 Platform Standart Edition, but nothing happend. It seems something load, but then, nothing...
bafio
QUOTE
I did it doesn't seem to read from the firmware. If it does then what do I need to do to instruct it to read from the firmware, because if it was already doing this then it would be connecting.
*

It does automatically always read from the firmware. Can you run win2DS? Otherwise there is some other problem. Beleive me if I tell something. Otherwise go figure it out yourself.

Fabio
bafio
QUOTE (Öhr GmbH @ Feb 26 2006, 03:28 PM)
How do i run the Server app(wifiserver.jar)
i have java installed.
what shall i start in the java folder?
C:\...\Java\jre1.5.0_06\

please help me! and want to test the server app!


P.S. can i run this server on my domain(ill buy www.oehr-gmbh.de if this is possible)



EDIT: I ran it now with Java ™ 2 Platform Standart Edition, but nothing happend. It seems something load, but then, nothing...
*


Hi, I have added some (small) instructions on the website.
Basically, forward port 9999 to the computer running it (UDP). Open a command prompt and run java -jar chatserver.jar
also try to download the latest version. You don't need to use ftp etc, if it does not work in may have to do with network setup (like, to conencto to my server I have to use the internal nw address (192.168.....) instead of the public one, but people from outside can conenct to the public ip.

Bafio
Öhr GmbH
im getting this error if i enter "java -jar chatserver.jar" in the "cmd"-window:
Unable to access jarfile chatserver.jar
or where should i enter the "java -jar chatserver.jar"? where have to be the chatserver.jar?

sorry but i didnt use java and im from germany, i dont undestand this: command prompt
RobM
QUOTE (bafio @ Feb 25 2006, 03:44 PM)
QUOTE (RobM @ Feb 25 2006, 08:35 PM)
Yes, yes it is.
*


Hi, try to type in the address:

68.102.205.217

If this works the problem could be the DNS server not set correctly. If hat doesn't work, it can be the IP configurationor something else. Can you connect with the other wifi programs?

Bafio
*


Still does not work sad.gif

I can run Win2DS fine, FYI.
Öhr GmbH
w00t i cant connect to the standart server anymore, too!
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2010 Invision Power Services, Inc.