GamePad to PC Controller [RELEASE/TUTORIAL]

Discussion in 'Wii U - Hacking & Homebrew' started by vashgs, Feb 4, 2013.

Feb 4, 2013
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    Hello there, tempers! Thought I'd make a new thread for the official release of my GamePad to PC Input application. I've also included a tutorial for how you can get it going on your local machine. WARNING: This tutorial requires a small amount of technical know-how.

    Downloads:

    The downloads come in two flavors: Regular and Fat-Free! The "normal" download includes Node with NowJS (which is required for the server-side of this application). If you'd like a lighter download and to run your own Node/NowJS copy, feel free to grab the fat-free version.

    Normal Release:
    GamePadtoPC.rar [8.7MB]

    Light Release (sans Node/NowJS):
    GamePadtoPC-nonode.rar [332KB]

    Tutorial (PC-only):

    Installation:
    1) Extract the contents of the archive to a directory on your local web server. I prefer to use XAMPP, but there are certainly plenty of options out there.

    2) Open index.html in your favorite editor and change the IP address pointing to now.js to your PC's local IP address (ie. http://192.168.2.1:8080/nowjs/now.js). The port (although you can change it if you please, within server.js) will remain 8080, and the path to now.js will remain constant as well.

    3) Run "regplugin.bat" OR alternatively, open a command prompt in the extracted content's directory and run "regsvr32 npWiiU.dll /s".

    Usage:
    1) Run "simpleserver.bat" OR alternatively, open a command prompt in the extracted content's directory and run "node server.js".

    2) Navigate to the extracted content's directory on your local web server (ie. http://192.168.2.1/wiiu/) in the Wii U's Internet Browser.

    3) Navigate to the pc.html page in your browser on the PC (ie. http://localhost/wiiu/pc.html).

    4) Set your hotkeys from the PC side and enjoy!

    By request, a quick XAMPP tutorial video:


    Demonstration Video:


    Demonstration Video #2 (Mouse/CS:GO):


    Kotaku Article:
    http://kotaku.com/5981657/the-wii-u-controller-now-works-on-pc-games-courtesy-of-this-handy-software
    Last edited by vashgs, Feb 7, 2013
    Ghork, WiiUBricker, mezut360 and 6 others like this.


    • Banned

    Pattonfiend67 You're F'ng Out!

    Member Since:
    Oct 7, 2009
    Message Count:
    235
    Country:
    United States
    thanks a lot, vash! going to try it out now!
    • Member

    wiibob New Member

    Member Since:
    Nov 8, 2008
    Message Count:
    255
    Location:
    New York
    Country:
    United States
    Looking good! Could you add an in depth tutorial on how to use this with XAMPP? I've never used it and im not sure on where to put the files.
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    By default, the web server root for XAMPP is the htdocs folder in the XAMPP directory. You can certainly change that, but that is the default for a fresh install.
    • Member

    wiibob New Member

    Member Since:
    Nov 8, 2008
    Message Count:
    255
    Location:
    New York
    Country:
    United States
    Alright, I have done that but its not loading my pages. Do i need to start any of the services other than simple server? I've changed the IP to my local one but it still doesn't want to load the pages.
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    Oh, if you're using XAMPP, you'll have to open its control panel and actually start the web server.
    • Member

    GorTesK New Member

    Member Since:
    Jan 29, 2013
    Message Count:
    485
    Country:
    Germany
    A little tutorial on how to properly use this XAMPP program would be very much appreciated. Sadly I can't seem to make it work either.
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    Quick tutorial video added to the first post, by request.
    • Newcomer

    lampjese New Member

    Member Since:
    Oct 11, 2009
    Message Count:
    84
    Location:
    Schoorl
    Country:
    Netherlands
    Good work, thx for the release.
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    Added demonstration video :)
    • Member

    Maxternal Peanut Gallery Spokesman

    Member Since:
    Nov 15, 2011
    Message Count:
    5,173
    Location:
    Deep in GBAtemp addiction
    Country:
    Costa Rica
    Does the computer running the server have to be the computer being controlled or is there a way to just pair up any Wii U and computer that connect to the server?
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    Excellent question! The computer running the server does NOT have to be the computer being controlled. Both the GamePad side and the PC side connect via a web page, so you could in theory host your server on a separate rig.
    Maxternal likes this.
    • Member

    Plunt New Member

    Member Since:
    Nov 21, 2010
    Message Count:
    100
    Location:
    Ontario
    Country:
    Canada
    I'm able to connect with the game pad, but none of the set keystrokes seem to be working pc side. No firewall enabled, server seems to be running correctly otherwise (I'm able to connect with the gamepad) I'm just getting no response from button presses. Tried setting different keys/buttons no response in Windows or VBA.
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    Did you follow the installation instructions properly? You need to run regplugin.bat prior to doing any of the other fun stuff. Also, restart your browser if you haven't at some point (although that sounds kind of silly). It needs to register the npapi plugin properly.
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    Updated first post with link to Kotaku article ;)
    • Member

    Plunt New Member

    Member Since:
    Nov 21, 2010
    Message Count:
    100
    Location:
    Ontario
    Country:
    Canada
    @vashgs, I did restart my browser (firefox). I also did a Windows update in between, plus reset (couldnt even connect with gamepad prior to update)... I was about a month or two behind on Vista updates. Now everything connects properly minus input access.

    edit, I ran the the .bat's as well as tried them in a cmd prompt... and they appeared to work properly

    edit edit: I am quite intoxitacted right now, so I will retry again tomorrow when I wake up and present my results... but prior to this I was in a sober state of mind, and I am not a complete noob.
    Last edited by Plunt, Feb 5, 2013
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    Very interesting. Did you edit the files to your local IP (of the PC) properly?
    • Member

    Plunt New Member

    Member Since:
    Nov 21, 2010
    Message Count:
    100
    Location:
    Ontario
    Country:
    Canada
    Yes, though my ip isn't static to my computer I have edited it corespondingly as needed... again, intoxicated tonight.. Will retry tomorrow and give sober results ;)
    • Member

    vashgs New Member

    Member Since:
    Feb 1, 2008
    Message Count:
    234
    Country:
    United States
    The only thing I can think might be your problem is that you're not using your local ip (from ipconfig). I'm not really sure, keep me posted, though!

    The download files have been updated to a newer version which supports DirectInput. This means games (and emulators) relying on DirectInput scancodes rather than virtual keys can now be used with your GamePad.
    • Member

    Devin "Local Hardware Wizard"

    Member Since:
    Aug 17, 2009
    Message Count:
    5,593
    Location:
    The Nexus
    Country:
    United States
    After tons of tinkering I got it to work. Now I can play Pokemon Emerald without using my keyboard. If you're somehow about to get video/audio from the computers to the gamepad I will love you forever. Thanks a bunch for this.

    P.S. If you need any testing of more things let me know. :tpi:
    Last edited by Devin, Feb 5, 2013
    vashgs and Maxternal like this.

SPONSORED LINKS
 

Share This Page