[Homebrew] 3DS Remote Desktop

Discussion in '3DS - Homebrew Development and Emulators' started by retrozelda, Feb 15, 2015.

  1. retrozelda
    OP

    retrozelda Member

    Newcomer
    39
    54
    Jun 27, 2007
    United States
    I have been working on a project on and off for about 2 weeks now. I decided to work on something else so I am releasing what I have. a 3DS Remote Desktop app that allows you to remote control your PC for games, movies, porn, etc.

    It is still fairly rudimentary, but it works.

    To use, set the server config file to set button input mappings, the port to use, and the destination screen size(mostly used for other platforms so just leave it at 400x240 because thats the 3DS' screen size). The input mappings require win32 virtual key code int values(ascii decimal value). A list of these can be found here. NOTE: The values here are HEX, so just convert them to decimal with windows calculator or online tools like this.

    The client is still a bit ugly, but once you set the server and port to connect to(D pad for server, and L and R keys to set port), press A to connect. Once connected, press SELECT to start video link. At any point, press start to exit the client. You can press ESC to stop the server. Connects/disconnects still arent exactly clean, but oh well :P

    A build can be found here, but I also have a build attached. The source can be found here. Please note, i have not included the source to LZ4, but i have included prebuilt library's. if you use these librarys, dont forget to forward lz4's licenced :D




    Enjoy.

    Thanks to Zoogie, there is a CIA build below(Idk how to link individual posts here ><)
    https://gbatemp.net/attachments/3dsremotedesktopclient_3dscia-zip.15753/
     

    Attached Files:



  2. gothicall

    gothicall Blah blah blah!

    Member
    213
    31
    Apr 29, 2010
    Colombia
    Good Job, cool homebrew. :grog:
    Can you compile it as CIA?
     
    Margen67 likes this.
  3. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany
    I really want a .cia version for my CFW :D
     
    Margen67 likes this.
  4. 4ur0r

    4ur0r GBAtemp Fan

    Member
    373
    86
    Feb 7, 2015
    Italy
    Geez, pandas are the worst. Dammit I wanted to code something like this too xD
    Good job!
     
  5. ehnoah

    ehnoah GBAtemp Fan

    Member
    361
    72
    Oct 9, 2012
    Netherlands
    Awesome!

    Stuttering Gamebased or early Version based?

    I am not sure, how such Screen working.
     
  6. Rinnegatamante

    Rinnegatamante GBAtemp Psycho!

    Member
    3,127
    3,263
    Nov 24, 2014
    Italy
    Bologna
    Very good work ;)
     
    Margen67 and retrozelda like this.
  7. zoogie

    zoogie simple pimp tool

    Member
    6,250
    7,918
    Nov 30, 2014
    United States
    Quick and dirty conversion to cia and 3ds attached.
     

    Attached Files:

  8. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany
    It's not possible to "revert" the function, right?
    I mean... stream 3DS Games on PC?
     
    LinkSoraZelda and 4ur0r like this.
  9. NicEXE

    NicEXE GBAtemp Fan

    Member
    397
    123
    Dec 6, 2009
    Cyprus
    so is the next step a VNC/SSH client?
     
  10. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany
    btw. which files I need to start the Server? It always crash. I downloaded two dlls i needed, but it crash
     
  11. YoshiInAVoid

    YoshiInAVoid GBAtemp Advanced Fan

    Banned
    560
    336
    Jan 10, 2011
    Looks solid, good job! Hopefully it will make my old tool obsolete now.
     
  12. Asia81

    Asia81 In my Ecchi World <3

    Member
    4,950
    2,434
    Nov 15, 2014
    France
    Albi
    It's possible to stream Dolphin and GC game on 3DS xD ?
     
    NekoMichi likes this.
  13. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany
    possibly :P You can Stream WoW, so you should able to stream NGC :D (with laggs :/)
     
  14. weatMod

    weatMod GBAtemp Advanced Maniac

    Member
    1,915
    600
    Aug 24, 2013
    United States
    Would be really cool if we could run run a 3d emulator on our PC maybe like a n 64 one then ply in 3d on 3 ds
    Do you think n3ds hardware will offer any way to improve the video lag?
     
  15. weatMod

    weatMod GBAtemp Advanced Maniac

    Member
    1,915
    600
    Aug 24, 2013
    United States
    Anyone test if it streams 3d video yet ?
    Like open a 3d YouTube video on the PC and seeif it shows in 3d on the 3ds screen ?
     
  16. ChrisX930

    ChrisX930 Banned

    Banned
    788
    317
    Sep 3, 2013
    Gambia, The
    Germany
    not able to test it xD Server won't start... xD
    What do I need for the server?
     
  17. retrozelda
    OP

    retrozelda Member

    Newcomer
    39
    54
    Jun 27, 2007
    United States
    you need directx 9 for the actual video capture. and maybe some runtimes? what errors are you getting?


    3D stream IS possible, but it is not setup for that. enabling 3D would essentially double the packet size, and right now the packets are still big when playing a game, although i might try LZ4HC to compress the packets. But right now, the main slowdown is packet compression.


    as of right now, no. And I dont think it would be possible unless we are able to eventually run "background" applications


    The stuttering is caused by packet size and my poor network setup(this was running through 2 different routers where my pc and the 3DS are on different subnets, and one of the routers is old and crappy).

    I grant you the gift of a blessing on your genitals to receive endless pleasures for eternity.




    Yes, I was playing(watching) Super Mario Galaxy on dolphin(FYI: I do not support piracy). I have found that games that use direct input dont work properly with the remote input mapping thingy. I have been looking into using vjoy as a bridge so you can map the 3DS to an actual remote device. No ETA on this functionality tho
     
    LinkSoraZelda and Games&Stuff like this.
  18. Necrojinsei

    Necrojinsei GBAtemp Regular

    Member
    116
    48
    Jan 1, 2015
    United States
    Michigan
    I am getting the error "the program can't start because libgcc_s_dw2-1.dll is missing from your computer."

    When searching for this error it has something to do with the fact that I don't have the right environment nor the correct files to run the program. Should I go and download some files in order to run the program other than the program its self?
     
  19. blunt420force

    blunt420force Advanced Member

    Newcomer
    65
    32
    Mar 28, 2014
    Canada
    I also had this problem as well as another libstdc++-6.dll missing, i got those sorted out but now when i try to open the server it opens then freezes and i get a windows error saying that it has stopped working
     
  20. retrozelda
    OP

    retrozelda Member

    Newcomer
    39
    54
    Jun 27, 2007
    United States
    here, try this. I set the compiler to use static libraries. let me know if this fixes your issues :D
     

    Attached Files:

    ETM and Chrisser_75 like this.