Homebrew Official HID to VPAD

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,273
Country
Chile
Batman Blackgate crashes when using a config file for my gcn adapter, it crashes as soon I touch the right or left stick during gameplay.
 

Edgarska

Conjurer of cheap tricks
Member
Joined
Oct 24, 2011
Messages
797
Trophies
0
Age
34
XP
2,084
Country
United States
All I want to do is swap the ABXY buttons on the Wii U Pro. I have a Wii U Pro and the Mayflash usb adapter for PC/PS3. Is there a way to just connect the Pro to the Wii U and swap the buttons?
 

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,644
Country
Germany
DualShock2.ini
VPad_Button_Plus=0x06,0x20
VPad_Button_Minus=0x06,0x10
VPad_Button_Home=0x06,0x30
Even if Minus is pushed even if Plus is pushed, Home reacts.
Checkout the newest nightly, this should be fixed.

https://github.com/Maschell/hid_to_vpad/releases

---

Today I worked on getting the travis script working and I'm pretty happy with the result.
After each commit it compiles a new version, create a new meta.xml, download the newest .ini repo and uploada prerelease.
This way you can always test the newest features, but also have more bugs and crashes.
 

komabear

Well-Known Member
Member
Joined
Mar 4, 2017
Messages
113
Trophies
0
XP
1,476
Country
Bulgaria
First of all thanks so much for this. I'm using it with my Xbox One controller with the network client and loving it, but it seems to crash depending on the game and what I do.

In Mario64DS, the game loads fine, but if I move the left analog stick I get a crash. It works perfectly as long as I don't touch it (can still play the game using D-pad).

In Splatoon, everything went fine at first but then it crashed when trying to load a battle. I can use the left analog in the hub without any issues though.

I've tried both the latest stable and nightly builds.

I also have a question - if I assign my controller as a WiiU Pro Controller, games don't seem to pick it up. I can use it fine in the Wii U menu, but if I load a game it doesn't show as connected anymore.. am I doing something wrong? I've also tried this with both SM64DS and Splatoon. Is there a button combo to "sync" the controllers again?

Once again thanks for all your work. Can't wait to be able to use my Xbone controllers with this!

Edit- tried the same setup with Zelda BotW and SM3D World and both seem to be working great, no problems whatsoever!
 
Last edited by komabear,

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,644
Country
Germany
The problem is, that each game has an own method to dectect if a pro controller is connected and I have to spoof them ALL.
Currently I've seen like 8 different way to detect a controller, probably I'm missing one (or more). At least I know I method that I can't spoof currently (e.g. Zelda TP).

@Crashes:
I would be really nice if you could provide some crash logs so I can try to resolve the issue.

Please dump "/storage_slc/logs" with ftpiiu_everwhere and send it to me via PM, so I can look into it. (+ game which crash + the date/time when the crash happend).
Before you can use ftpiiu_everwhere you need to run a CFW like Mocha.
 

komabear

Well-Known Member
Member
Joined
Mar 4, 2017
Messages
113
Trophies
0
XP
1,476
Country
Bulgaria
The problem is, that each game has an own method to dectect if a pro controller is connected and I have to spoof them ALL.
Currently I've seen like 8 different way to detect a controller, probably I'm missing one (or more). At least I know I method that I can't spoof currently (e.g. Zelda TP).

@Crashes:
I would be really nice if you could provide some crash logs so I can try to resolve the issue.

Please dump "/storage_slc/logs" with ftpiiu_everwhere and send it to me via PM, so I can look into it. (+ game which crash + the date/time when the crash happend).
Before you can use ftpiiu_everwhere you need to run a CFW like Mocha.

Hi Maschell,

I usually only lurk gbatemp so I'm not sure how to send DMs, but I've attached the logs for today (I only even turned the wii u on today so I could test your plugin, so all the logs are related to it).

The only crashes I got were with Splatoon and SM64DS.

Thanks again!
 

Attachments

  • logs.zip
    46.3 KB · Views: 121

yasushi

Member
Newcomer
Joined
Mar 31, 2017
Messages
8
Trophies
0
Age
50
XP
143
Country
DualShock2.ini
VPad_Button_Plus = 0x06,0x20
VPad_Button_Minus = 0x06,0x10
VPad_Button_Home = 0x06,0x30
You could check the operation.
 

will1983

Member
Newcomer
Joined
Dec 23, 2008
Messages
11
Trophies
1
XP
243
Country
Canada
Hey, i have a crazy idea. do you think the official sony dongle can work with a configuration files ? Is the usb dongle hid standard? I don't have time to figure out but my controller are linked to the dongle so that's a great start!
 

Attachments

  • IMG_2366.JPG
    IMG_2366.JPG
    659.8 KB · Views: 140

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,644
Country
Germany
Is this normal that I can add only first xbox pad? up-left green one. I am using network method on windows 10.
No... At some point I broke it, but it should be fixed in the newest nightly. Can you confirm it?
https://github.com/Maschell/hid_to_vpad/releases/tag/HIDtoVPAD-v0.9g-nightly-e89bfbb

Would you need my error log? @Maschell
It's probably fixed in the newest nightlies. Can you try them and check if you still have these crashes?
 

komabear

Well-Known Member
Member
Joined
Mar 4, 2017
Messages
113
Trophies
0
XP
1,476
Country
Bulgaria
Been playing for a couple hours now and everything seems great, I'd like to confirm something though.

After playing #FE for a few minutes, my screen went a bit dark. I thought it was the TV at first, but then I had to mess with the gamepad and pressing a button on it lit the screen back up. I'm guessing that using a controller as the gamepad doesn't count as the actual gamepad being used, so it could lead to your Wii U shutting off while you're playing because of the power saving feature..

Not complaining though, just sharing. I'm really impressed and happy I can play my games more comfortably now.
 

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,273
Country
Chile
It's probably fixed in the newest nightlies. Can you try them and check if you still have these crashes?
Thanks, it doesn't crash anymore when using a config file and custom mapping is working fine.

However I have a problem with the dead zones in my GCN controller, my current config ini is this:

Code:
[vid=0x057e,pid=0x0337]
VPAD_L_STICK_X_DEADZONE      =   0x04
VPAD_L_STICK_Y_DEADZONE      =   0x04

But I really don't see any difference during gameplay. You'll see, the issue is that the left stick on the GCN controller can't reach the max value (or match Gamepad max value) when pressing it full (any direction).

I'm not sure how exactly explain the issue, it's like the GCN left stick gate is "narrower" than the gamepad one, so it can't reach the correct value when pressing it full in any direction.

The game is very picky with the controller, it's almost impossible make Batman decend from a platform when pressing stick down + A.

Another user report this problem with Bayonetta (I can confirm it happen with Bayonetta 2 too) where Bayonetta can't run when doing full presses on the analog stick.
 
Last edited by cucholix,

Maschell

Well-Known Member
OP
Member
Joined
Jun 14, 2008
Messages
1,090
Trophies
2
XP
4,644
Country
Germany
But I really don't see any difference during gameplay. You'll see, the issue is that the left stick on the GCN controller can't reach the max value (or match Gamepad max value) when pressing down.

Sounds like you need to adjust the min/max value. Probably lower the max value..

These are the defaults values for the left GC Stick
Code:
[vid=0x057e,pid=0x0337]
VPad_L_Stick_X_MinMax   =   0x1A,0xE4 //left stick X Axis
VPad_L_Stick_Y_MinMax   =   0x11,0xE1 //left stick Y Axis
 

cucholix

00000780 00000438
Member
Joined
Jan 17, 2017
Messages
3,246
Trophies
1
Age
44
XP
6,273
Country
Chile
Sounds like you need to adjust the min/max value. Probably lower the max value..

These are the defaults values for the left GC Stick
Code:
[vid=0x057e,pid=0x0337]
VPad_L_Stick_X_MinMax   =   0x1A,0xE4 //left stick X Axis
VPad_L_Stick_Y_MinMax   =   0x11,0xE1 //left stick Y Axis
Thanks for the quick answer, the values are hexadecimal?
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • BakerMan @ BakerMan:
    fuck ubisoft, and fuck activision
    +1
  • realtimesave @ realtimesave:
    Nintendo needs to release a new console, switch is getting such shitty little games lately lol it's pathetic
  • Purple_Heart @ Purple_Heart:
    Lmao a new flashcart... The Unlock Switch... I knew it's not fake xD
    +1
  • NinStar @ NinStar:
    A new consoles won't solve that problem
  • NinStar @ NinStar:
    It will actually make it worse
  • The Real Jdbye @ The Real Jdbye:
    well actually
    a new console won't do anything right now, because the games are still in development, that's why there are few games being released
  • The Real Jdbye @ The Real Jdbye:
    it won't make the games finish any faster
  • Veho @ Veho:
    2/3rds of launch titles for the Switch 2 will just be lazy ports of Switch games anyway.
  • The Real Jdbye @ The Real Jdbye:
    probably
  • The Real Jdbye @ The Real Jdbye:
    maybe mario kart 9 will be a launch title
  • The Real Jdbye @ The Real Jdbye:
    i really want a new mario kart
  • Veho @ Veho:
    What, you mean the endless stream of DLCs doesn't count?
  • Veho @ Veho:
    Why develop a new game when you can just sell season passes forever?
  • Veho @ Veho:
    I'm still on MKDS so I'm not bothered :tpi:
  • The Real Jdbye @ The Real Jdbye:
    i like the dlc tbh, i'd like a new game more
  • ZeroT21 @ ZeroT21:
    but the current version is still selling fine at full price
  • SylverReZ @ SylverReZ:
    Hello
  • ZeroT21 @ ZeroT21:
    sup
    +1
  • SylverReZ @ SylverReZ:
    @realtimesave, You seen the Unlock Switch flashcart yet?
  • K3Nv2 @ K3Nv2:
    I'll see the 19.0 update that blocks use ability to it
    +1
  • K3Nv2 @ K3Nv2:
    Lol newegg+
    Screenshot-20240423-053504-Gmail.jpg
  • S @ salazarcosplay:
    does update 19 really block it
  • SylverReZ @ SylverReZ:
    Update 19 never came out yet. Just the 18.1.
    SylverReZ @ SylverReZ: Update 19 never came out yet. Just the 18.1.