UsendMii

Discussion in 'Wii U - Hacking & Backup Loaders' started by Crayon2000, Feb 7, 2016.

  1. Crayon2000
    OP

    Crayon2000 GBAtemp Regular

    Member
    106
    74
    Feb 4, 2013
    Canada
    UsendMii is a Windows (32-bit and 64-bit) and macOS software that will let use your Wii U GamePad on your computer. UsendMii will also allow you to view MP4 videos from your PC on the Wii U GamePad and your TV.

    :arrow: Official web site
    :arrow: Site Web officiel (French)


    [​IMG]

    Downloads
    :download: UsendMii Windows 32-bit
    :download: UsendMii Windows 64-bit
    :download: UsendMii macOS 32-bit

    How To Use
    PC Inputs
    Wii U Internet Browser
    • Select Internet Browser for the Client Type.
    • Choose an available port for the web server. By default port 80 is used.
    • Map the GamePad buttons to the wanted keys.
      • Left-click on the button to detect the input (keyboard or mouse).
      • Right-click on the button to show a pop-up menu. The Clear, vXbox, vJoy, Detect and Mouse option could be used to set a key.
    • Click on the Start button.
    • Open the Wii U Internet Browser and use one the URLs shown in UsendMii (URL to use in the Wii U Internet Browser).
    • In the menu tap on the PC Inputs button.
    • You may need to click on the Refresh button each time UsendMii starts.
    Wii U Homebrew
    • Select Homebrew for the Client Type.
    • Choose an available port for the UDP server. By default port 4242 is used.
    • Map the GamePad buttons to the wanted keys.
      • Left-click on the button to detect the input (keyboard or mouse).
      • Right-click on the button to show a pop-up menu. The Clear, vXbox, vJoy, Detect and Mouse option could be used to set a key.
    • Click on the Start button.
    • Start UsendMii Client.
      • Download latest version from GitHub.
      • Extract the archive content to the /wiiu/apps/ folder on your SD card.
      • Launch UsendMii Client from the Homebrew Launcher.
      • Change the IP address to the one shown in UsendMii (IP address to use in the homebrew).
      • Click on the A button.
    Video
    • Use the same steps as above.
    • Choose a Media Folder where MP4 videos are stored.
    • Tap on the Videos button.
    • On the Wii U GamePad click on the video you want to view.
    Screenshot
    • Use the same steps as above.
    • Choose a Media Folder where to upload a screenshot.
    • Tap on the Images button.
    • Click the Select button.
    • Pick the image to save. The one on the TV or the one on the Wii U GamePad.
    • Click the Upload button.
    • A new JPG file should now be available in your Media Folder.
    How Does It Work
    • UsendMii is an HTTP server that delivers Web content to the Wii U Internet Browser software.
    • The Internet Browser uses specialized JavaScript to obtain button states of the GamePad.
    • The button states are converted to JSON and sent to UsendMii using WebSocket protocol. POST request are used for version before 4.0.0.
    • When received, UsendMii will simulate keystrokes, mouse motions, or button clicks.
    Credits
     
    Last edited by Crayon2000, May 14, 2017
    DeoNaught, Roboman, Ricken and 31 others like this.


  2. EpicLPer

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    923
    601
    Mar 13, 2015
    Austria
    Austria
    Nice :D
     
  3. Crayon2000
    OP

    Crayon2000 GBAtemp Regular

    Member
    106
    74
    Feb 4, 2013
    Canada
    UsendMii 0.3.0 is now available.

    Changes:
    • Works with New Nintendo 3DS.
    • Showing all available IPv4 addresses.
    • Improved web menu.
    • Updated Bootstrap to version 3.3.6.
    Here is my video to announce the new version:
     
  4. Filo97

    Filo97 Zelda's totally my sister! Not lying!

    Member
    3,641
    1,212
    Oct 8, 2015
    Italy
    Hyrule Castle
    can we use it for 5.5.0+?
     
    imthe666st likes this.
  5. EpicLPer

    EpicLPer Nice unless you give me a reason to hate you ;)

    Member
    923
    601
    Mar 13, 2015
    Austria
    Austria
    Okay, one bug: The "L"-Button actually goes a page back and thus won't work as a button.
     
    imthe666st likes this.
  6. Crayon2000
    OP

    Crayon2000 GBAtemp Regular

    Member
    106
    74
    Feb 4, 2013
    Canada
    Yes, to have a faster button state transfer it's best to have 4.0.0 and up.
    Simply open the PC Input page in a new tab and close all other tabs. That's the trick I'm showing in this video at 1:05
     
    Kupie likes this.
  7. Majk

    Majk Member

    Newcomer
    14
    1
    Jan 22, 2016
    First of all: Amazing work glad to see this project alive :)

    I tried streaming 2 movies to the WiiU but one of them didn't work.

    Working Moive: MP4, 1.44GB, Lenght: 1h30m, 1920x1080, bitrate 2176kbps, 23FPS

    Not Working Movie: MP4, 2.15GB, Lenght: 2h30m, 1920x800, bitrate 2063 kbps 23FPS

    audio is pretty much the same.

    The error says something like this: Could not load video, Reload?


    Possible subtitle support in the future ?

    Thanks M* :)
     
  8. Crayon2000
    OP

    Crayon2000 GBAtemp Regular

    Member
    106
    74
    Feb 4, 2013
    Canada
    For the video feature I'm only using what is available on the Wii U Internet Browser. Here is the information from the Nintendo web site:
     
  9. sigboe

    sigboe Advanced Member

    Newcomer
    60
    17
    Feb 3, 2016
    Norway
    Have you done any latency testing?
    And have you looked into implementing direct connection with the PC and the gamepad? I know some people made an opensource library for Linux in C that did this, but no update on that for a few years.
     
  10. Crayon2000
    OP

    Crayon2000 GBAtemp Regular

    Member
    106
    74
    Feb 4, 2013
    Canada
    Hello, I'm able to go around 10 ms. Try it for yourself, start UsendMii by adding the -d switch. You should see the average time to get the button states.
    This is way too complicated for me. The guys from libdrc were on a good start but I think the problem was to keep it sync for a long time. Plus the major problem was that it was only working on Linux due to the obfuscated version of Wi-Fi 802.11n and WPA2 AES-CCMP.
     
    TotalInsanity4 likes this.
  11. Majk

    Majk Member

    Newcomer
    14
    1
    Jan 22, 2016
    So it would be difficult adding subtitle support ?
     
  12. piratesephiroth

    piratesephiroth I wish I could read

    Member
    3,009
    1,620
    Sep 5, 2013
    Brazil
    It would only work with certain wifi adapters with modified drivers. I think that's too much work for little benefit.
    Nice for some proof of concept demonstrations but nothing else.
     
  13. Crayon2000
    OP

    Crayon2000 GBAtemp Regular

    Member
    106
    74
    Feb 4, 2013
    Canada
    @Majk there is an HTML 5 track tag for supporting subtitles with the .vtt extension (WebVTT). The Nintendo Internet Browser support it (not tested yet). I think it could be possible to add it. I'm going to look into it.
     
  14. Jahruze

    Jahruze Member

    Newcomer
    29
    7
    Dec 14, 2015
    Chad
    may i ask.. which version of vjoy do you use to work with the game pad?
     
  15. Crayon2000
    OP

    Crayon2000 GBAtemp Regular

    Member
    106
    74
    Feb 4, 2013
    Canada
    UsendMii 0.3.0 will try to pick the one installed in the vJoy folder.
     
    Jahruze likes this.
  16. JR0DGamerz

    JR0DGamerz Member

    Newcomer
    39
    3
    Feb 3, 2016
    Canada
    Very bad, Too glitchy, doesn't control well.
     
  17. Jahruze

    Jahruze Member

    Newcomer
    29
    7
    Dec 14, 2015
    Chad
    oh ok.. i just found the problem..it doesn't work well with windows 10 vjoy :/
     
  18. narutonic

    narutonic GBAtemp Regular

    Member
    233
    48
    Feb 21, 2015
    France
    Very good works just one problem.
    If we push the button Y then the A it goes on the main page of the browser on the wii u...

    A way to avoid that ? I dont want to remap the button in another place because its a bit unconfortable in PPSSPP...
     
  19. BurningDesire

    BurningDesire GBAtemp Psycho!

    Member
    4,964
    5,817
    Jan 27, 2015
    United States
    Behind a screen reading news
    Not only is this amazing it is for mac! I LOVE YOU DUDE. #RespectTheMacintosh
     
    Crayon2000 and iStormZ like this.
  20. Crayon2000
    OP

    Crayon2000 GBAtemp Regular

    Member
    106
    74
    Feb 4, 2013
    Canada
    @Jahruze, what do you mean! vJoy does not work well in Windows 10 or UsendMii does not work well with latest version of vJoy installed on windows 10?

    Sadly the only trick is to remove all your Bookmarks.