Hacking Nintendont Controller-Configurations

Pineapples

Active Member
Newcomer
Joined
Apr 22, 2017
Messages
33
Trophies
0
Age
49
XP
79
Country
Hi I could really do with some sound advise and pointing in the right direction. I have nintendont working on the VWii side of my Wii U - I use it through USB Loader Gx, I have an official gamecube controller that is connected using a Gameseek-Mayflash Wii U to gamecube controller adapter - https://www.amazon.co.uk/GameSeek-Mayflash-GameCube-Controller-Adapter/dp/B00T9MR210
I have found a list of controller config files with a download of nintendont and one is titled 057E_0337.ini and first line is [Nintendo Wii U GameCube Controller Adapter], I have renamed file to controller.ini and put on root of SD card and root of HD containing gamecube games, I have enabled cheats in nintendont. I have no problem loading games and I can use the official gamcube controller but the issue is with the C-stick - it seems to be mixed up, for example on mario sunshine Left and right on the C-stick should turn the carmera accordingly and Up and down on the C-stick should zoom camera in and out but they dont, Up on the stick turn camera left and down turns it right so it makes the game very frustrating to play.
I have tried loading straight from nintendont instead of Usb loader GX and have same issue.
Am I missing a step in regards to attributing the controller.ini file? here are the contents of the controller.ini I am using. Your help is massively appreciated, huge thanks in advance!

[Nintendo Wii U GameCube Controller Adapter]
VID=057E
PID=0337
Polltype=1
DPAD=1
MultiIn=3
MultiInValue=09
Power=3,0F
A=2,01
B=2,02
X=2,04
Y=2,08
Z=3,02
L=3,08
R=3,04
S=3,01
Left=2,10
Down=2,40
Right=2,20
Up=2,80
RightUp=2,A0
DownRight=2,60
DownLeft=2,50
UpLeft=2,90
StickX=4,0,100
StickY=5,0,100
CStickX=6,0,100
CStickY=7,0,100
LAnalog=8
RAnalog=9
 

pedro702

Well-Known Member
Member
Joined
Mar 3, 2014
Messages
12,714
Trophies
2
Age
33
XP
8,669
Country
Portugal
Hi I could really do with some sound advise and pointing in the right direction. I have nintendont working on the VWii side of my Wii U - I use it through USB Loader Gx, I have an official gamecube controller that is connected using a Gameseek-Mayflash Wii U to gamecube controller adapter - https://www.amazon.co.uk/GameSeek-Mayflash-GameCube-Controller-Adapter/dp/B00T9MR210
I have found a list of controller config files with a download of nintendont and one is titled 057E_0337.ini and first line is [Nintendo Wii U GameCube Controller Adapter], I have renamed file to controller.ini and put on root of SD card and root of HD containing gamecube games, I have enabled cheats in nintendont. I have no problem loading games and I can use the official gamcube controller but the issue is with the C-stick - it seems to be mixed up, for example on mario sunshine Left and right on the C-stick should turn the carmera accordingly and Up and down on the C-stick should zoom camera in and out but they dont, Up on the stick turn camera left and down turns it right so it makes the game very frustrating to play.
I have tried loading straight from nintendont instead of Usb loader GX and have same issue.
Am I missing a step in regards to attributing the controller.ini file? here are the contents of the controller.ini I am using. Your help is massively appreciated, huge thanks in advance!

[Nintendo Wii U GameCube Controller Adapter]
VID=057E
PID=0337
Polltype=1
DPAD=1
MultiIn=3
MultiInValue=09
Power=3,0F
A=2,01
B=2,02
X=2,04
Y=2,08
Z=3,02
L=3,08
R=3,04
S=3,01
Left=2,10
Down=2,40
Right=2,20
Up=2,80
RightUp=2,A0
DownRight=2,60
DownLeft=2,50
UpLeft=2,90
StickX=4,0,100
StickY=5,0,100
CStickX=6,0,100
CStickY=7,0,100
LAnalog=8
RAnalog=9
why do you have 3 avlues on the c stick and strick? it should only be 2, also did you tryed letting nintendont patch it? by that i mean use no controller ini and let nintendont boot.dol apply the standard gc adapter patch?
 

Pineapples

Active Member
Newcomer
Joined
Apr 22, 2017
Messages
33
Trophies
0
Age
49
XP
79
Country
why do you have 3 avlues on the c stick and strick? it should only be 2, also did you tryed letting nintendont patch it? by that i mean use no controller ini and let nintendont boot.dol apply the standard gc adapter patch?
Thank you for the reply! They are the values that are set in the controllerconfigs folder downloaded with latest version of nintendont (https://github.com/FIX94/Nintendont) - I haven't changed any of the values. Do you know which of the 3 values I should remove from the C-stick on in the controller.ini file I posted? EDIT: I noticed someone posted the same question here: https://gbatemp.net/threads/nintendont-controller-config.475857/#post-7420862 - I have tried with no controller.ini on the HD and have exact same issue - still works but wih inverted C-sticks. The axes of the C-stick are inverted - X is Y and is X. Should it be creating a controller.ini on the root of my HD?..because it isnt doing.

I changed the controller.ini from:
CStickX=6,0,100
CStickY=7,0,100
to
CStickX=7,0,100
CStickY=6,0,100
Thinking this could cure the issue, but didn't make any difference. Im now wondering if my controller.ini is even working!?
 
Last edited by Pineapples,

pedro702

Well-Known Member
Member
Joined
Mar 3, 2014
Messages
12,714
Trophies
2
Age
33
XP
8,669
Country
Portugal
Thank you for the reply! They are the values that are set in the controllerconfigs folder downloaded with latest version of nintendont (https://github.com/FIX94/Nintendont) - I haven't changed any of the values. Do you know which of the 3 values I should remove from the C-stick on in the controller.ini file I posted? EDIT: I noticed someone posted the same question here: https://gbatemp.net/threads/nintendont-controller-config.475857/#post-7420862 - I have tried with no controller.ini on the HD and have exact same issue - still works but wih inverted C-sticks. The axes of the C-stick are inverted - X is Y and is X. Should it be creating a controller.ini on the root of my HD?..because it isnt doing.

I changed the controller.ini from:
CStickX=6,0,100
CStickY=7,0,100
to
CStickX=7,0,100
CStickY=6,0,100
Thinking this could cure the issue, but didn't make any difference. Im now wondering if my controller.ini is even working!?
for your controller.ini to be readed it needs to be on the sd or usb root, and i mean root where you have your isos and it needs to be named "controller.ini"
 
Last edited by pedro702,

Pineapples

Active Member
Newcomer
Joined
Apr 22, 2017
Messages
33
Trophies
0
Age
49
XP
79
Country
for your controller.ini to be readed it needs to be on the sd or usb root, and i mean root where you have your isos and it needs to be named "controller.ini"
I've just tried that, Gc games are in folder labeled 'games' on root of HD, put controller.ini in games folder and changed a few values round - didn't make any changes in game so im kinda snookered here right now!...any other ideas would be much appreciated. Thanks
 

pedro702

Well-Known Member
Member
Joined
Mar 3, 2014
Messages
12,714
Trophies
2
Age
33
XP
8,669
Country
Portugal
I've just tried that, Gc games are in folder labeled 'games' on root of HD, put controller.ini in games folder and changed a few values round - didn't make any changes in game so im kinda snookered here right now!...any other ideas would be much appreciated. Thanks
the controller.ini does not go inside the games folder...

i explicity stated it goes on the root of your device either usb or sd.

if isos are on usb you put it on ysb root, if they are on sd you put it on sd root.
 

Pineapples

Active Member
Newcomer
Joined
Apr 22, 2017
Messages
33
Trophies
0
Age
49
XP
79
Country
the controller.ini does not go inside the games folder...

i explicity stated it goes on the root of your device either usb or sd.

if isos are on usb you put it on ysb root, if they are on sd you put it on sd root.
ok thats what I have been doing! You threw me by saying to put on the root of where I have my ISOs!...
So I still cant get the controller.ini to change the layout of my official gamecube controller buttons.
I am using USB drive if thats a difference
 
Last edited by Pineapples,

pedro702

Well-Known Member
Member
Joined
Mar 3, 2014
Messages
12,714
Trophies
2
Age
33
XP
8,669
Country
Portugal
ok thats what I have been doing! You threw me by saying to put on the root of where I have my ISOs!...
So I still cant get the controller.ini to change the layout of my official gamecube controller buttons.
I am using USB drive if thats a difference
its correctly renamed to controller.ini? and not controller.ini.ini(if you have hidden extensions) also try switch the buttons around and you know if it readed them
 

Pineapples

Active Member
Newcomer
Joined
Apr 22, 2017
Messages
33
Trophies
0
Age
49
XP
79
Country
its correctly renamed to controller.ini? and not controller.ini.ini(if you have hidden extensions) also try switch the buttons around and you know if it readed them
Yeah its defo controller.ini - no hidden extensions, have swapped A and B in the in file and is having no effect - so for some reason the controller.ini wont work - I have tried it from several sources.
I have tried using the ocarina codes mentioned here https://github.com/FIX94/Nintendont/issues/360 and wasn't able to get it to work, but then I realised that the code was to invert the C-stick and what I want is for the axes of the C-stick to be swapped.
Just to make it clear that is my issue - The X axes of the C-stick is the Y-axes, everything else with the controller is fine.

why do you have 3 avlues on the c stick and strick? it should only be 2
After some research, the C-stick for the gamecube controller.ini has 3 values, Offset,DeadZone,Radius - https://github.com/FIX94/Nintendont/issues/260

Im starting to think this is becuase its on the vwii/wii u and the code is slightly altered in translation for the controller.ini and the cheat code to both not work for me. Any input or further things to try would be appreciated. thanks
 
Last edited by Pineapples,

fabiano9

New Member
Newbie
Joined
Dec 21, 2017
Messages
2
Trophies
0
Age
46
XP
51
Country
Brazil
hi, i have one gamecube controller that i used to play on Wii but the analog stick has broken. My question is: can i set up my gamecube controller to replace the analogic button by the D-pad using the same method of this post?
 

pedro702

Well-Known Member
Member
Joined
Mar 3, 2014
Messages
12,714
Trophies
2
Age
33
XP
8,669
Country
Portugal
hi, i have one gamecube controller that i used to play on Wii but the analog stick has broken. My question is: can i set up my gamecube controller to replace the analogic button by the D-pad using the same method of this post?
what? you wanna use the tinyass dpad to control games? lol
 

arquillos

Well-Known Member
Newcomer
Joined
Aug 28, 2012
Messages
80
Trophies
1
XP
1,212
Country
I create a new profile for a Nintendo Switch USB Wired Controller Plus Power A controller

Code:
[Nintendo Switch USB Wired Controller Plus Power A]

#
# This controller.ini was made for a PowerA Nintendo Switch Wired Controller Plus
# https://www.powera.com/products/nintendo-switch-wired-controller-plus-super-mario-edition/
#######

VID=20D6
PID=A711
Polltype=1
DPAD=1
DigitalLR=1
A=0,4
B=0,2
X=0,8
Y=0,1
######## Star Wars Rogue Squadron
# A Button: Primary Weapon
#A=0,4
# B Button: Secondary Weapon
#B=0,2
# Y Button: Chase Camera / Cockpit
#X=0,1
# X Button: Targeting Computer
#Y=0,8
# "Z" button assigned to "ZR"
Z=0,80
L=0,10
R=0,20
# Start Button assigned to "HOME"
S=1,2
Power=1,4
# Digital Pad
Left=2,06
Down=2,04
Right=2,02
Up=2,00
RightUp=2,01
DownRight=2,03
DownLeft=2,05
UpLeft=2,07
# Left Analog Stick
StickX=3
StickY=4
# Right Analog Stick
CStickX=5
CStickY=6
RAnalog=0
LAnalog=0
# This controller has not a rumble option
Rumble=0
RumbleType=1
RumbleDataLen=0E
RumbleDataOn=51,00,00,00,FF,00,00,FA,FE,00,00,00,00,00
RumbleDataOff=51,00,00,00,00,00,00,FA,FE,00,00,00,00,00
RumbleTransferLen=07
RumbleTransfers=2


I also included the "X" and "Y" interchange option to play Star Wars in a better way (for me at least).

Hope you enjoy it...
 
  • Like
Reactions: Nin4one

Septimo

Well-Known Member
Member
Joined
Apr 23, 2013
Messages
121
Trophies
0
XP
292
Country
United States
Hey, I could really use some help here!

I'm trying to create a controller configuration for the 8Bitdo SN30 Pro and have run into an issue. The L2 and R2 triggers/shoulder buttons on the controller share the same value, and I'm not sure how I can distinguish between the two in the configuration file.

Default:

00 00 0F 80 80 80 80 00 00 00 00 00 00 00 00 00 00 00 00 00

L2 (L):

00 01 0F 80 80 80 80 FF 00 00 00 00 00 00 00 00 00 00 00 00

R2 (R)

00 02 0F 80 80 80 80 00 FF 00 00 00 00 00 00 00 00 00 00 00

Here's how I've (incorrectly) mapped the L and R buttons in my configuration file:

L=1,FF
R=1,FF

How can I distinguish between the two buttons when they share the same value as indicated by HIDTest 0.6? This is the first time I've tried making a profile, so some help or insight would be greatly appreciated. Thanks!

Edit:

I’ve got it working now! I’ll go ahead and upload my configuration later in case anyone finds it helpful. Thanks anyway!

I spoke too soon. HIDTest can detect the L and R buttons being pressed individually, but they’re somehow still bound together in-game? I’ll look into it later and update.

Alright, so I believe I've narrowed down the issue to the analog triggers. Rather, lack thereof? I think I've managed to disable/mapped the analog triggers to the digital triggers. I understand some games may be affected by the lack of analog triggers, like Super Mario Sunshine. Can someone help me set a button combination for activating or emulating analog triggers on my controller?

Code:
[8BSN30PRO]
VID=2DC8
PID=6001
Polltype=1
DPAD=1
DigitalLR=1
A=0,01
B=0,02
X=0,08
Y=0,10
Z=0,80
L=1,01,FF
R=1,02,FF
S=1,08
Left=2,06,FF
Down=2,04
Right=2,02,FF
Up=2,00
RightUp=2,01,FF
DownRight=2,03,FF
DownLeft=2,05,FF
UpLeft=2,07,FF
StickX=3
StickY=4
CStickX=5
CStickY=6
LAnalog=1,01,FF
RAnalog=1,02,FF
Power=1,04
 

Attachments

  • controller_8BitdoSN30PRO.rar
    297 bytes · Views: 195
Last edited by Septimo,
  • Like
Reactions: rommy667

billyme

Active Member
Newcomer
Joined
Mar 6, 2014
Messages
40
Trophies
0
Age
35
XP
175
Country
Hello im using my PS2 controller with usb adapter and the keys works with my ini file but if i press the R button in Mario Sunshine, Mario stands still i can target to spray water but the water is not spraying what am i doing worng? This is my Config


[Dual Shock]
VID=054C
PID=0268
Polltype=1
DPAD=0
DigitalLR=0
MultiIn=0
A=2,04
B=2,08
X=2,02
Y=2,01
Z=2,80
L=2,10
R=2,20
S=3,02
Left=11,FF
Down=10,FF
Right=0F,FF
Up=0E,FF
StickX=6
StickY=7
CStickX=8
CStickY=9
LAnalog=3,04
RAnalog=3,08
Power=3,10


Any help?
 

Cooleye

New Member
Newbie
Joined
Feb 23, 2018
Messages
1
Trophies
0
Age
53
XP
45
Country
Belarus
Hello
This is my config for 3-in-1 chinese wireless gamepad.
Code:
[ShanWan a018 Wireless GamePad]
VID=2563
PID=0575
Polltype=1
DPAD=0
DigitalLR=1
MultiIn=0
MultiInValue=01
Power=1,10
A=0D,FF
B=0C,FF
X=0E,FF
Y=0B,FF
Z=1,1
L=0F,FF
R=10,FF
S=1,2
Left=8,FF
Down=0A,FF
Right=7,FF
Up=9,FF
StickX=3
StickY=4
CStickX=5
CStickY=6
LAnalog=11
RAnalog=12
 

Attachments

  • Controller_ShanWan_a018_Wireless_GamePad.zip
    368 bytes · Views: 216

Keizel

Well-Known Member
Member
Joined
Jun 28, 2015
Messages
381
Trophies
0
XP
372
Country
United States
switch pro controller is a bt device with hid bt, wich nintendont is not compatible with, nintendont is only compatible with wired usb hid controllers and bt controller that are wiimote+cc/ccpro,wiiu pro controller,wiimote+nunchuck.

I don't know because in Nintendon't isnt possible to use Switch Pro Controller but in HID-to-VPAD, only you need connect the Switch Pro Controller by wire and then this works perfectly.

This is impossible in Nintendont?
 

NWwind

Well-Known Member
Newcomer
Joined
Feb 22, 2018
Messages
94
Trophies
0
Age
23
XP
435
Country
Hong Kong
I recommend using an existing configuration as reference (for button names etc). First test if your device is supported: press any button / move a stick and the values shown on the bottom of HID-Test should change, if they don't, your device is not supported (do this, without a sd:/controller.ini).

For example, if no button is pressed, the MayFlash Wii Classic Controller to USB Adapter gives:
7A 8A 86 2F 00 0F 00 00

Now pressing some buttons changes it to:
74 8A 86 2F 00 0F 20 00

As you can see offset 6 (it starts from 0, not 1) changed to value 20, so in the controller.ini you would write (say it's button A):

A=6,20

So you write the offset (6) and the value (20). Analog Sticks only need offset, not value. Example pressing right analog stick to the right:
FF 8A 86 2F 00 0F 20 00

As you can see offset null changed, so you would write:

CStickX=0

As CStick is the right analog, the left analog would be Stick (X and Y as per axis).

Once you created your controller.ini restart HID-Test with sd:/controller.ini. Now at the bottom HID-Test will show all available buttons (except power). Now then you press a button HID-Test should show that button pressed, if nothing happens or a wrong button is shown pressed, edit your controller.ini.

If the dpad does not work change DPAD=0 to DPAD=1 and fill additional values for diagonal directions (RightUp etc..., see available configurations as reference).

Once everything is fine, post your configuration here in order for it to be included in my repository.

I want to ask, how to load the HID-test on Nintendont or maybe you can tell me all the offset and value of the buttons on Wii CC.
 

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
    LeoTCK @ LeoTCK: yes for nearly a month i was officially a wanted fugitive, until yesterday when it ended