help with ds wifi

Discussion in 'NDS - Emulation and Homebrew' started by ChibiDenDen, Jan 29, 2010.

Jan 29, 2010

help with ds wifi by ChibiDenDen at 6:35 PM (812 Views / 0 Likes) 9 replies

  1. ChibiDenDen
    OP

    Newcomer ChibiDenDen Newbie

    Joined:
    Jan 24, 2010
    Messages:
    9
    Country:
    Israel
    hii...
    can anyone help me with a little thing...
    i want to send an image from the PC to the DS using wifi
    plz help [​IMG]
     
  2. tj_cool

    Supervisor tj_cool Stuff

    Joined:
    Jan 7, 2009
    Messages:
    9,942
    Location:
    This planet
    Country:
    Belgium
    A DSi or a normal DS (Lite) ?
     
  3. ChibiDenDen
    OP

    Newcomer ChibiDenDen Newbie

    Joined:
    Jan 24, 2010
    Messages:
    9
    Country:
    Israel
    does it matter?
     
  4. tj_cool

    Supervisor tj_cool Stuff

    Joined:
    Jan 7, 2009
    Messages:
    9,942
    Location:
    This planet
    Country:
    Belgium
    yeah

    what are you going to do with images on a normal DS?

    Unless you mean you want them on a flashcart or something
     
  5. ChibiDenDen
    OP

    Newcomer ChibiDenDen Newbie

    Joined:
    Jan 24, 2010
    Messages:
    9
    Country:
    Israel
    just to be the bg of my program
     
  6. ChuckMcB

    Member ChuckMcB GBAtemp Fan

    Joined:
    Mar 30, 2007
    Messages:
    373
    Country:
    United Kingdom
    Try using DSFTP on your DS and an FTP program on your PC to transfer it over. (warning DS homebrew WiFi is ++slow)
     
  7. ChibiDenDen
    OP

    Newcomer ChibiDenDen Newbie

    Joined:
    Jan 24, 2010
    Messages:
    9
    Country:
    Israel
    i think im missunderstood...
    i need help in programming a program that will recive a sent image from the PC and use it as background
     
  8. Countbisquit

    Newcomer Countbisquit Advanced Member

    Joined:
    Jan 12, 2010
    Messages:
    63
    Location:
    Essex, England
    Country:
    United Kingdom
    Please 'splain
    What is the background for?
    Where would you store this picture on your DS? do you have a flashcard?
    Wut are you talking about?
     
  9. Masked Ranger

    Member Masked Ranger GBAtemp Advanced Fan

    Joined:
    Nov 24, 2009
    Messages:
    502
    Country:
    Antarctica
    Help using a program is totally different than programming. [​IMG] Give us more details, like what the program is and your flash cart type. Can't you just use a microSD reader to move the image to the card?
     
  10. ChibiDenDen
    OP

    Newcomer ChibiDenDen Newbie

    Joined:
    Jan 24, 2010
    Messages:
    9
    Country:
    Israel
    i want a real time update of the picture in my program
    i use a C# server

    and this code to convert the image to byte array

    MemoryStream ms = new MemoryStream();
    BMP.Save(ms, System.Drawing.Imaging.ImageFormat.Png);
    byte[] bitmapData = ms.ToArray();


    and i send it using

    s.Send(bitmapData);


    (BMP is a bitmap of 240*190)
    (s is an open Socket connected to the DS)


    all i need is the code in C or C++ that changes the byte array to picture and displays it as the background
     

Share This Page