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 > Need help with a DS2DS File Transfer project...

#144039 - SnakerDLK - Sun Oct 28, 2007 4:18 pm

Well....

have's:
-a DS with R4
-friends with DS with R4
-tried out many homebrews
-somewhat experience in C
-somewhat experience in sockets with C(smtp client)
-an idea.. XDDD

dont have's:
-knowledge in DS coding


My idea is to make a filetransfer homebrew between DSs, where you can offer a file and someone else can get it....
This homebrew should include an filebrowser with some capabilities like directory as well as file creating/moving/removing/renaming....


The things I wish to know...
-how to make a DS connect with another DS(like simple multiplayer gaming)
-how to make a DS be able to send a file to another DS

and...

if its possible to make this homebrew "download & play"-able...
...I think its not possible, because to be able to write to the flash card(or whatever) the DS must me booted through the R4 for example...
and therefor you should not be able to download & play this homebrew...

thanks for any help/corrections ^^

(ok...trying the whole thing out using an AP first could be better...but its not what Im really aiming at...)

#144061 - zAlbee - Sun Oct 28, 2007 10:22 pm

Actually, homebrew hasn't gotten as far as DS to DS networking yet. You can connect a DS to an AP via dswifi lib.

Here is your best bet for information:

DS to DS communication: need tests - As you can see, the topic is very recent (Sep 2007), and people are still trying to make it work.
_________________
DS Lite white, R4DS, 1GB Kingmax microSD

#144064 - Mighty Max - Sun Oct 28, 2007 10:35 pm

Actually there is a very simple file transfer example in the liblobby's SVN now.

You are welcome to work on a better one :D
_________________
GBAMP Multiboot

#144069 - Dood77 - Sun Oct 28, 2007 10:56 pm

What kind of speeds have you experienced Mighty Max?
_________________
If I use a term wrong or something then feel free to correct, I?m not much of a programmer.

Original DS Phat obtained on day of release + flashme v7
Supercard: miniSD, Kingston 1GB, Kingston 2GB
Ralink chipset PCI NIC

#144075 - Mighty Max - Sun Oct 28, 2007 11:26 pm

Dood77 wrote:
What kind of speeds have you experienced Mighty Max?


Very slow (3-4kB/s). But this is not a limitation by the lib, but by the method i am using to transfer right now: Send single Request, wait for answer, send next request. The wait takes the most time as i am waiting for all ack's also, so i am taking at least 4 vblanks/512 Bytes :p

This was done to test memory usage/problems. When using multiple 512 Byte requests before waiting for completion, this speed should increase alot.

:edit: after measuring now, it are 4889.6 Bytes/sec. Not as slow as i had guessed it ;)
_________________
GBAMP Multiboot


Last edited by Mighty Max on Mon Oct 29, 2007 11:09 am; edited 1 time in total

#144123 - SnakerDLK - Mon Oct 29, 2007 10:58 am

thanks for the advice ^^

but it seems the world is not ready for my idea hahahahahahahahaha

i will (eventually) start experimenting with AP connecting and different transfer methods ^^