Mayflash WiiU GameCube Adapter causes program to crash.
When I try to use the program while my Mayflash 4-port WiiU Gamecube controller adapter is connected, it crashes the program when I select the .INI file.
If it helps, Windows identifies the adapter as 4 different controllers at once, if that's possibly related to the issue.
What version of the tool were you using? You can see the version in Help->About. Additionally, if you have a copy of your ini file I can look to see if I can reproduce the issue.
Using the most up-to-date version. 1.4. My current config is mapped to my Switch Pro controller via Bluetooth, but when I tried mapping the Mayflash controller there were no bindings mapped at all. soh_ini.zip soh_ini_no_Mappings.zip
Both crash no matter what.
Hmmm, it looks like this is hardware dependent or requires a number of controllers I don't have on hand. If you're comfortable, collecting a memory dump would help diagnose the issue. There are two ways to do so:
- Visual Studio 2022 a. Install Visual Studio 2022 Community b. Launch SoHConfig (don't select an ini file yet). c. Launch Visual Studio and continue without a project. d. Go to Debug -> Attach to Process and attach to the SoHConfig process. e. Load the ini file in SoHConfig with your adapter connected. f. The debugger should break in when the crash happens, go to Debug -> Save Dump As. Make sure you select "Minidump with Heap".
- WinDBG
a. Install WinDBG
b. Launch SoHConfig (don't select an ini file yet)
c. Launch WinDBG and go to File -> Attach to Process and attach to the SoHConfig process.
d. If WinDBG automatically breaks in, you can use the
gcommand to continue execution. e. Load the ini file in SoHConfig with your adapter connected. f. The debugger should break in when the crash happens. Type.dump /mfa <path to save .dmp file>
After that, feel free to attach the dump here and I can take a look. Otherwise I'll need to try and reproduce this when I have enough controllers or I can get my hands on a similar adapter. No worries if you're not comfortable with these steps!
I'm trying to do this, but Visual Studio isn't giving me debug options, and WinDBG causes Sohconfig to freeze when I attach it.
If it freezes with WinDBG, that means that the debugger has broken in. Go to the WinDBG window and enter the g command to continue execution. Or you can click the green "play" button, it's the same thing.