NintendoSpy icon indicating copy to clipboard operation
NintendoSpy copied to clipboard

Error "value cannot be null" if no COM ports are available

Open MrKitCat1210 opened this issue 4 years ago • 3 comments

im having an issue when i click on go its says value cannot be null and goes back into the menu after i click ok i have noticed i have no com ports i dont know if thats the issue but it might be

MrKitCat1210 avatar Jul 18 '20 03:07 MrKitCat1210

Seems like it would be related to that. The error message should be better though.

jaburns avatar Aug 18 '20 21:08 jaburns

I am having the same issue, all com ports are empty and there is nothing to select so I cannot set a com port and then get the value cannot be null error because no com port was set. The problem here is that this program will only recognize controllers run through an arduino OR a generic usb controller and does not have any way to map buttons if you are using say a USB SNES or Gamecube or N64 controller or something, so the only way to make those work is to go into the config file for the skin and manually change the type to generic then manually enter button mapping values for the controller you are using to get it to register the button presses for anything. If there was an option to map buttons and all skins available under the Generic Gamepad(might be better named USB controller to avoid confusion) then it would make it simpler to set up anything you have plugged in and get the button presses displaying properly. Just as an example i use a USB N64 controller for Ocarina of Time on an emulator, to get the button presses to display I need to go into the N64 skin config file and change the skin type to generic to get so that I can use it with my USB controller, then I need to go into the emulator config file and pull the button mapping values from there and input the values into the button mapping on the overlay.

Zenshu avatar Aug 22 '20 19:08 Zenshu

hello i figured out how to fix that all you do is add a com port i forgot how but its in windows settings just look up how to add com ports on windows or something similar that should help

On Sat, Aug 22, 2020 at 2:01 PM Zenshu [email protected] wrote:

I am having the same issue, all com ports are empty and there is nothing to select so I cannot set a com port and then get the value cannot be null error because no com port was set.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/jaburns/NintendoSpy/issues/74#issuecomment-678679048, or unsubscribe https://github.com/notifications/unsubscribe-auth/ANZJLWT5YHYPOTTGX5SAJETSCAIZXANCNFSM4O7I7DHA .

MrKitCat1210 avatar Aug 25 '20 01:08 MrKitCat1210