[Homebrew] 3DS Remote Desktop

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

Feb 15, 2015

[Homebrew] 3DS Remote Desktop by retrozelda at 4:39 AM (96,761 Views / 42 Likes) 273 replies

  1. retrozelda
    OP

    Newcomer retrozelda Member

    Joined:
    Jun 27, 2007
    Messages:
    39
    Country:
    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

    Member gothicall Blah blah blah!

    Joined:
    Apr 29, 2010
    Messages:
    210
    Country:
    Colombia
    Good Job, cool homebrew. :grog:
    Can you compile it as CIA?
     
    Margen67 likes this.
  3. ChrisX930

    Banned ChrisX930 Banned

    Joined:
    Sep 3, 2013
    Messages:
    788
    Location:
    Germany
    Country:
    Germany
    I really want a .cia version for my CFW :D
     
    Margen67 likes this.
  4. 4ur0r

    Member 4ur0r GBAtemp Fan

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

    Member ehnoah GBAtemp Fan

    Joined:
    Oct 9, 2012
    Messages:
    315
    Country:
    Netherlands
    Awesome!

    Stuttering Gamebased or early Version based?

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

    Member Rinnegatamante GBAtemp Psycho!

    Joined:
    Nov 24, 2014
    Messages:
    3,127
    Location:
    Bologna
    Country:
    Italy
    Very good work ;)
     
    Margen67 and retrozelda like this.
  7. zoogie

    Member zoogie simple pimp tool

    Joined:
    Nov 30, 2014
    Messages:
    5,719
    Country:
    United States
    Quick and dirty conversion to cia and 3ds attached.
     

    Attached Files:

  8. ChrisX930

    Banned ChrisX930 Banned

    Joined:
    Sep 3, 2013
    Messages:
    788
    Location:
    Germany
    Country:
    Germany
    It's not possible to "revert" the function, right?
    I mean... stream 3DS Games on PC?
     
    LinkSoraZelda and 4ur0r like this.
  9. NicEXE

    Member NicEXE GBAtemp Fan

    Joined:
    Dec 6, 2009
    Messages:
    397
    Country:
    Cyprus
    so is the next step a VNC/SSH client?
     
  10. ChrisX930

    Banned ChrisX930 Banned

    Joined:
    Sep 3, 2013
    Messages:
    788
    Location:
    Germany
    Country:
    Germany
    btw. which files I need to start the Server? It always crash. I downloaded two dlls i needed, but it crash
     
  11. YoshiInAVoid

    Banned YoshiInAVoid GBAtemp Advanced Fan

    Joined:
    Jan 10, 2011
    Messages:
    560
    Country:
    United Kingdom
    Looks solid, good job! Hopefully it will make my old tool obsolete now.
     
  12. Asia81

    Member Asia81 In my Ecchi World <3

    Joined:
    Nov 15, 2014
    Messages:
    4,720
    Location:
    Albi
    Country:
    France
    It's possible to stream Dolphin and GC game on 3DS xD ?
     
    NekoMichi likes this.
  13. ChrisX930

    Banned ChrisX930 Banned

    Joined:
    Sep 3, 2013
    Messages:
    788
    Location:
    Germany
    Country:
    Germany
    possibly :P You can Stream WoW, so you should able to stream NGC :D (with laggs :/)
     
  14. weatMod

    Member weatMod GBAtemp Advanced Maniac

    Joined:
    Aug 24, 2013
    Messages:
    1,844
    Country:
    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

    Member weatMod GBAtemp Advanced Maniac

    Joined:
    Aug 24, 2013
    Messages:
    1,844
    Country:
    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

    Banned ChrisX930 Banned

    Joined:
    Sep 3, 2013
    Messages:
    788
    Location:
    Germany
    Country:
    Germany
    not able to test it xD Server won't start... xD
    What do I need for the server?
     
  17. retrozelda
    OP

    Newcomer retrozelda Member

    Joined:
    Jun 27, 2007
    Messages:
    39
    Country:
    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

    Member Necrojinsei GBAtemp Regular

    Joined:
    Jan 1, 2015
    Messages:
    116
    Location:
    Michigan
    Country:
    United States
    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

    Newcomer blunt420force Advanced Member

    Joined:
    Mar 28, 2014
    Messages:
    65
    Country:
    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

    Newcomer retrozelda Member

    Joined:
    Jun 27, 2007
    Messages:
    39
    Country:
    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.

Share This Page