HID To VPAD Network Client

Discussion in 'Wii U - Homebrew' started by Maschell, Mar 30, 2017.

  1. Felek666

    Felek666 Archdemon | #AMDForever

    Member
    3,389
    3,620
    Jan 3, 2017
    Poland
    reddit.com/r/satania/
    I also had this installed but it didn't work so i reinstalled. If Steam installs it with a game, it will not work. It needs to be specific version.

    Also, you want to pair Xbox 360 controller or Xbox one? Xbox one controller needs special custom-made drivers for Win7.
     


  2. LuisGerdez

    LuisGerdez Member

    Newcomer
    49
    8
    May 27, 2016
    Venezuela
    I have reinstalled the version that is in the publication, I am using an xbox 360 control with windows 8.
     
  3. opendata

    opendata Advanced Member

    Newcomer
    72
    56
    Oct 23, 2016
    Xbox360 and nvidia shield with xboxdrv
     
    eckk and Maschell like this.
  4. LuisGerdez

    LuisGerdez Member

    Newcomer
    49
    8
    May 27, 2016
    Venezuela
    Finally after many attempts I manage to make it work. It works great, thank you very much! @Maschell PD: Thanks for the help @Felek666 :)
     
  5. EDFL92

    EDFL92 Newbie

    Newcomer
    1
    0
    Apr 1, 2017
    i install x86 version of c++ visual to work my system is x64
    the x64 version not work for me
    in game the only issue is that the screen goes to i dont know how to say it
    a little more dark and i have to move the wiiu pad to make it back to normal
    its like i was not playing but i am playin other than that just fine
     
    Last edited by EDFL92, Apr 1, 2017
  6. Felek666

    Felek666 Archdemon | #AMDForever

    Member
    3,389
    3,620
    Jan 3, 2017
    Poland
    reddit.com/r/satania/
    Disable Screen Burn-in Reduction and Standby [*Auto power down] in System Settings.
     
  7. briantho

    briantho Member

    Newcomer
    10
    5
    Feb 9, 2014
    United States
    What did you do to get it to work? I'm still having issues trying to get the network client to run under windows 10 x64. I've re-installed java twice, re-installed Visual C++ 2015 x64 and x86, but am still having an error when I try to launch the network client via command line or by double clicking. I'm running java 8 update 121, and windows 10 x64 from my dell laptop. Any help will be greatly appreciated.

    Here is the output from the cli
    Note it is different from your log, but I think it may be related.
    Anyway,

    Warning: Spoilers inside!

    Also, forgot to mention that i'm using a wireless 360 controller, and this happens with or without the controller being plugged in
     
    Last edited by briantho, Apr 1, 2017
  8. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    900
    1,314
    Jun 14, 2008
    Gambia, The
    What happens if you try the nightly?
     
  9. briantho

    briantho Member

    Newcomer
    10
    5
    Feb 9, 2014
    United States
    Same output, same error. just tried with v0.2-nightly-d0e7928

    Warning: Spoilers inside!
     
  10. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    900
    1,314
    Jun 14, 2008
    Gambia, The
  11. perk

    perk Newbie

    Newcomer
    2
    0
    Feb 27, 2017
    Croatia
    I have a problem with my new DS4 controller, i connect them via USB on the PC , but whenever i want to connect it to the wii u with the network client it says that there is no config file on the console. I put the configs in sd:/wiiu/controller.
    Does anyone have the same problem or knows a solution?
     
  12. briantho

    briantho Member

    Newcomer
    10
    5
    Feb 9, 2014
    United States
    Ok, the latest nightly works now, thanks. Tested with a wireless 360 Controller via wifi to the wii u. Mario Kart 8 ran superbly, with no lag using my controller. Only issue is my 360 controller is a bit old and has a bit of a deadzone issue that needs to be adjusted. is there some way to adjust deadzone in your program? as a workaround I could just control panel on my computer to adjust the deadzone. ANyway, thanks for fixing it, and keep up the good work.
     
    Maschell likes this.
  13. LuisGerdez

    LuisGerdez Member

    Newcomer
    49
    8
    May 27, 2016
    Venezuela
    If you do not have the console connected via ethernet, I recommend using a laptop as a router for more stability. Even so it comes to disconnect (it can be reconnected), or the console freezes.
     
  14. GroverCleveland

    GroverCleveland Newbie

    Newcomer
    6
    0
    Nov 11, 2016
    United States
    Hey @Maschell thanks for a great tool!

    I did some QA on my mbp running OSX 10.12 using a DS3 and a few DS4's and figured I'd send/post my results.

    I found the DS4 works perfectly out of the box with the config that's included in the release package for the program.

    That said, I found connecting 2 or more DS4's at once would make the network client act strangely. In some cases it would show only 1 controller in the client and after closing/reopening a few time there were times where no controllers were recognized at all.

    I then tried renaming the DS4's (i.e. "Black DS4 Conroller" and "Silver DS4 Controller") since I have 5 different color DS4's and this would ensure I could easily identify them in the BT settings however doing this made them not show up in the network client. To remedy this I simply unpaired and repaired the controller and it was recognized once again.

    After my DS4 fun I tried using one of my DS3's and was unable to have the network client recognize the controller no matter what I did so I simply stuck to the DS4 instead.

    Man, this tool and network client are amazing and I can't thank you enough for your hard work on it! I can do some further OSX testing if you'd need/like a QA so if you're interested just let me know otherwise I'll simply report back any bugs I may find while messing around with it.

    Thanks again!

    Edit: Added Specs/Device List Below.

    Machine: 2013 Non-Retina MacBook Pro
    OS: OSX 10.12
    Bluetooth Device: MBP built in BT adapter
    Controllers: DS3 (with rumble) & v1 DS4's
     
    Last edited by GroverCleveland, Apr 2, 2017
  15. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    784
    1,920
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    Interesting. Can you run the app from a terminal and get a log? My OSX testing amounted to a single 360 controller, so you're in uncharted territory here.
    @Maschell, we may have to fiddle with the HID backend yet; though I have an inkling of what it might be...
     
  16. SlimPortable

    SlimPortable GBAtemp Regular

    Member
    256
    46
    Aug 18, 2015
    United States
    EDIT: Ok, if I restart it it seems to eventually detect the controllers. But now it says there's not configuration for the controllers on the console even though I have the config files from the github. I updated the HIDtoVPAD .elf to the latest nightly and gives me the same message. I'll try to produce a log in a few minutes.

    I can't get the Network Client to recognize my Xbox controllers on Mac OSX. I tried a wireless 360 with a dongle and a USB wire connected Xbox One controller. They don't show up on the client with the tick box next to them. They show up connected under system preferences and work in Steam. I have the appropriate drivers installed for them. I tried the latest nightly too and it still didn't pick up the controllers. Not sure why.
     
    Last edited by SlimPortable, Apr 3, 2017
  17. QuarkTheAwesome

    QuarkTheAwesome Working for Hugs

    Member
    784
    1,920
    Apr 19, 2015
    Australia
    Stuck in the PowerPC
    Yeah, I'm pretty sure I know what the issue is; at least with the guy above. However, I can't be sure, and I'd be wasting my time without logs. To have any hope of diagnosing an issue, OSX specifically, I need logs and a specific version.

    To get logs -
    • Open up the Terminal app (Applications/Utilities).
    • Change into the client's folder (for example, "cd Downloads/client", or wherever you saved the app)
    • Run "java -jar HIDToVPADNetworkClient.jar" (substituting the name of the jar as needed)
    • Make the faulty behavior occur.
    • Copy everything in the terminal window and stick it on Pastebin or w/e, then link it here.
    The logs should highlight where the problem is, making it way easier to fix.
     
  18. GroverCleveland

    GroverCleveland Newbie

    Newcomer
    6
    0
    Nov 11, 2016
    United States
    Ok, I got eager and ran the client via terminal. I've attached the log file here so let me know if you need any additional tests or info. The test I ran was using 2 DS4's connected via BT and when the network client detected a controller it was only detecting one of the two connected.

    Code:
    Last login: Sun Apr  2 22:26:05 on ttys000
    Andrews-MBP:~ andrew$ cd /Users/andrew/Downloads
    Andrews-MBP:Downloads andrew$ java -jar HIDToVPADNetworkClient-0.2.jar
    Apr 02, 2017 10:39:01 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loading config from /Users/andrew/Downloads/config/hidtovpad.properties...
    Apr 02, 2017 10:39:01 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loaded config successfully!
    Apr 02, 2017 10:39:02 PM net.ash.HIDToVPADNetworkClient.manager.ActiveControllerManager updateControllerStates
    INFO: Added PureJAVAHid Bluetooth_054
    Andrews-MBP:Downloads andrew$ java -jar HIDToVPADNetworkClient-0.2.jar
    Apr 02, 2017 10:39:07 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loading config from /Users/andrew/Downloads/config/hidtovpad.properties...
    Apr 02, 2017 10:39:07 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loaded config successfully!
    Exception in thread "Thread-2" java.lang.NullPointerException
        at net.ash.HIDToVPADNetworkClient.util.PureJavaHidApiManager.openDeviceByPath(PureJavaHidApiManager.java:59)
        at net.ash.HIDToVPADNetworkClient.util.PureJavaHidApiManager.getDeviceByPath(PureJavaHidApiManager.java:49)
        at net.ash.HIDToVPADNetworkClient.controller.PureJavaHidController.initController(PureJavaHidController.java:66)
        at net.ash.HIDToVPADNetworkClient.controller.Controller.<init>(Controller.java:56)
        at net.ash.HIDToVPADNetworkClient.controller.PureJavaHidController.<init>(PureJavaHidController.java:52)
        at net.ash.HIDToVPADNetworkClient.controller.PureJavaHidController.getInstance(PureJavaHidController.java:47)
        at net.ash.HIDToVPADNetworkClient.manager.ControllerManager.detectControllers(ControllerManager.java:88)
        at net.ash.HIDToVPADNetworkClient.manager.ActiveControllerManager$1.run(ActiveControllerManager.java:56)
        at java.lang.Thread.run(Thread.java:745)
    Andrews-MBP:Downloads andrew$ java -jar HIDToVPADNetworkClient-0.2.jar
    Apr 02, 2017 10:39:14 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loading config from /Users/andrew/Downloads/config/hidtovpad.properties...
    Apr 02, 2017 10:39:14 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loaded config successfully!
    Exception in thread "Thread-2" java.lang.NullPointerException
        at net.ash.HIDToVPADNetworkClient.util.PureJavaHidApiManager.openDeviceByPath(PureJavaHidApiManager.java:59)
        at net.ash.HIDToVPADNetworkClient.util.PureJavaHidApiManager.getDeviceByPath(PureJavaHidApiManager.java:49)
        at net.ash.HIDToVPADNetworkClient.controller.PureJavaHidController.initController(PureJavaHidController.java:66)
        at net.ash.HIDToVPADNetworkClient.controller.Controller.<init>(Controller.java:56)
        at net.ash.HIDToVPADNetworkClient.controller.PureJavaHidController.<init>(PureJavaHidController.java:52)
        at net.ash.HIDToVPADNetworkClient.controller.PureJavaHidController.getInstance(PureJavaHidController.java:47)
        at net.ash.HIDToVPADNetworkClient.manager.ControllerManager.detectControllers(ControllerManager.java:88)
        at net.ash.HIDToVPADNetworkClient.manager.ActiveControllerManager$1.run(ActiveControllerManager.java:56)
        at java.lang.Thread.run(Thread.java:745)
    Andrews-MBP:Downloads andrew$ java -jar HIDToVPADNetworkClient-0.2.jar
    Apr 02, 2017 10:39:20 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loading config from /Users/andrew/Downloads/config/hidtovpad.properties...
    Apr 02, 2017 10:39:20 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loaded config successfully!
    Exception in thread "Thread-2" java.lang.NullPointerException
        at net.ash.HIDToVPADNetworkClient.util.PureJavaHidApiManager.openDeviceByPath(PureJavaHidApiManager.java:59)
        at net.ash.HIDToVPADNetworkClient.util.PureJavaHidApiManager.getDeviceByPath(PureJavaHidApiManager.java:49)
        at net.ash.HIDToVPADNetworkClient.controller.PureJavaHidController.getInstance(PureJavaHidController.java:38)
        at net.ash.HIDToVPADNetworkClient.manager.ControllerManager.detectControllers(ControllerManager.java:88)
        at net.ash.HIDToVPADNetworkClient.manager.ActiveControllerManager$1.run(ActiveControllerManager.java:56)
        at java.lang.Thread.run(Thread.java:745)
    Andrews-MBP:Downloads andrew$ java -jar HIDToVPADNetworkClient-0.2.jar
    Apr 02, 2017 10:39:25 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loading config from /Users/andrew/Downloads/config/hidtovpad.properties...
    Apr 02, 2017 10:39:25 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loaded config successfully!
    Apr 02, 2017 10:39:26 PM net.ash.HIDToVPADNetworkClient.manager.ActiveControllerManager updateControllerStates
    INFO: Added PureJAVAHid Bluetooth_054
    Andrews-MBP:Downloads andrew$ java -jar HIDToVPADNetworkClient-0.2.jar
    Apr 02, 2017 10:39:31 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loading config from /Users/andrew/Downloads/config/hidtovpad.properties...
    Apr 02, 2017 10:39:31 PM net.ash.HIDToVPADNetworkClient.util.Settings loadSettings
    INFO: Loaded config successfully!
    Exception in thread "Thread-2" java.lang.NullPointerException
        at net.ash.HIDToVPADNetworkClient.util.PureJavaHidApiManager.openDeviceByPath(PureJavaHidApiManager.java:59)
        at net.ash.HIDToVPADNetworkClient.util.PureJavaHidApiManager.getDeviceByPath(PureJavaHidApiManager.java:49)
        at net.ash.HIDToVPADNetworkClient.controller.PureJavaHidController.getInstance(PureJavaHidController.java:38)
        at net.ash.HIDToVPADNetworkClient.manager.ControllerManager.detectControllers(ControllerManager.java:88)
        at net.ash.HIDToVPADNetworkClient.manager.ActiveControllerManager$1.run(ActiveControllerManager.java:56)
        at java.lang.Thread.run(Thread.java:745)
    Andrews-MBP:Downloads andrew$
    
    Thanks for the response btw!
     

    Attached Files:

    Last edited by GroverCleveland, Apr 3, 2017
  19. lordelan

    lordelan GBAtemp Advanced Maniac

    Member
    1,516
    423
    Jan 4, 2015
    Gambia, The
    I hate the idea of having my PC to run all the time but doing it with my Rasp would be great!
    Linux still seems to be on "TODO"?
     
  20. Maschell
    OP

    Maschell GBAtemp Advanced Fan

    Member
    900
    1,314
    Jun 14, 2008
    Gambia, The
    @GroverCleveland
    Today I worked on the "multiple controllers" on OSX thing. I only tried it inside a Virtual Machine (Yep, I set this up, only for you :D) with only one controller, but it should work.
    Can you test it with the newest nightly of the networkclient and newest nightly of HID to VPAD?
    Auto detecting the controller on OSX is not possible, so it's only checking at startup for connected controllers.
    If you want to refresh that list (after attaching/removing a new controller) use the "scan for controller" button. When you click this button, all controller will reconnect to your console, but it should work.

    PS: For me the data of the new DS4 was different, it had one extra byte at the beginning. I added a special case to remove that byte on OSX, hopefully this was a general issue which applies to all OSX user and I didn't break stuff.

    (@QuarkTheAwesome)

    @lordelan
    Quark is mostly doing the Linux/OSX part. It should work, but I don't have an idea if you have do something special before. Thats why I added the "TODO".
    Running this on a raspberry pi actually a really cool idea, but I guess for this we would also need some kind of command line interface for connecting/disconnecting.
     
    lordelan and QuarkTheAwesome like this.