Hacking UsendMii

Crayon2000

Well-Known Member
OP
Member
Joined
Feb 4, 2013
Messages
123
Trophies
0
XP
633
Country
Canada
UsendMii is a Windows (32-bit and 64-bit) and macOS (32-bit) 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)


Usendmii.png


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, ViGEm, 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.
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, ViGEm, vJoy, Detect and Mouse option could be used to set a key.
  • Click on the Start button.
Wii U
  • Start MiisendU Wii U.
    • Download latest version from GitHub.
    • Extract the archive content to the /wiiu/apps/ folder on your SD card.
    • Launch MiisendU Wii U 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.
Wii
  • Start MiisendU Wii.
    • Download latest version from GitHub.
    • Extract the archive content to the /apps/ folder on your SD card.
    • Launch MiisendU Wii 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,

Crayon2000

Well-Known Member
OP
Member
Joined
Feb 4, 2013
Messages
123
Trophies
0
XP
633
Country
Canada
can we use it for 5.5.0+?
Yes, to have a faster button state transfer it's best to have 4.0.0 and up.
Okay, one bug: The "L"-Button actually goes a page back and thus won't work as a button.
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
 
  • Like
Reactions: Kupie

Majk

Member
Newcomer
Joined
Jan 22, 2016
Messages
14
Trophies
0
Age
25
XP
63
Country
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* :)
 

Crayon2000

Well-Known Member
OP
Member
Joined
Feb 4, 2013
Messages
123
Trophies
0
XP
633
Country
Canada
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* :)
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:
  • Video Format: MP4, M3U8+TS(HTTPLiveStreaming) (Some videos may not be playable.)

  • Video Codec: MP4, M3U8+TS(HTTPLiveStreaming) (Some videos may not be playable.)

  • Audio Codec: AAC - ISO/IEC 14496-3 MPEG-4 AAC (Some audio may not be playable.)
 

sigboe

Well-Known Member
Newcomer
Joined
Feb 3, 2016
Messages
84
Trophies
0
Age
32
XP
192
Country
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.
 

Crayon2000

Well-Known Member
OP
Member
Joined
Feb 4, 2013
Messages
123
Trophies
0
XP
633
Country
Canada
Have you done any latency testing?
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.
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.
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.
 
  • Like
Reactions: TotalInsanity4

piratesephiroth

I wish I could read
Member
Joined
Sep 5, 2013
Messages
3,447
Trophies
1
Age
101
XP
3,137
Country
Brazil
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.
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.
 

narutonic

Well-Known Member
Member
Joined
Feb 21, 2015
Messages
233
Trophies
0
Age
24
XP
142
Country
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...
 

Crayon2000

Well-Known Member
OP
Member
Joined
Feb 4, 2013
Messages
123
Trophies
0
XP
633
Country
Canada
oh ok.. i just found the problem..it doesn't work well with windows 10 vjoy :/
@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?

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...
Sadly the only trick is to remove all your Bookmarks.
 
General chit-chat
Help Users
    KenniesNewName @ KenniesNewName: Psi gets a nickel each time he bricks something