help with ds wifi

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

  1. ChibiDenDen
    OP

    ChibiDenDen Newbie

    Newcomer
    9
    0
    Jan 24, 2010
    Iceland
    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

    tj_cool Site dev

    Supervisor
    9,993
    -1
    Jan 7, 2009
    Belgium
    This planet
    A DSi or a normal DS (Lite) ?
     
  3. ChibiDenDen
    OP

    ChibiDenDen Newbie

    Newcomer
    9
    0
    Jan 24, 2010
    Iceland
    does it matter?
     
  4. tj_cool

    tj_cool Site dev

    Supervisor
    9,993
    -1
    Jan 7, 2009
    Belgium
    This planet
    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

    ChibiDenDen Newbie

    Newcomer
    9
    0
    Jan 24, 2010
    Iceland
    just to be the bg of my program
     
  6. ChuckMcB

    ChuckMcB GBAtemp Fan

    Member
    373
    2
    Mar 30, 2007
    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

    ChibiDenDen Newbie

    Newcomer
    9
    0
    Jan 24, 2010
    Iceland
    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

    Countbisquit Advanced Member

    Newcomer
    63
    19
    Jan 12, 2010
    Essex, England
    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

    Masked Ranger GBAtemp Advanced Fan

    Member
    502
    2
    Nov 24, 2009
    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

    ChibiDenDen Newbie

    Newcomer
    9
    0
    Jan 24, 2010
    Iceland
    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