hid_to_vpad icon indicating copy to clipboard operation
hid_to_vpad copied to clipboard

NEOGEO X Arcade Stick [USB]

Open phantasum opened this issue 8 years ago • 5 comments

Hello Group,

I've attempted at creating a .ini file using a text editor (on mac). Unfortunately, I get no response and the application does not even boot up when the file is the ://wiiu/controller directory. I get a black screen and it appears to crash the Wii U. I would appreciate any assistance.

At the sametime I know this type of pad is going be quite common/popular in the future considering you can find them quite cheaply and they as remarkably similar to the original SNK sticks.

Thanks!

UPDATE I've reworked the code and re-examine the guide to fix any issues. Still crashed on start of HIDtoVPAD. No luck...

Below is a copy of the .ini file (file name is NEOGEO_Arcade_Stick.ini):

[vid=0x1292,pid=0x4e47]

//DPad DPAD_MODE=DPAD_HAT DPAD_MASK=0x0F VPAD_BUTTON_DPAD_N=0x02,0x00 VPAD_BUTTON_DPAD_NE=0x02,0x01 VPAD_BUTTON_DPAD_E=0x02,0x02 VPAD_BUTTON_DPAD_SE=0x02,0x03 VPAD_BUTTON_DPAD_WS=0x02,0x05 VPAD_BUTTON_DPAD_S=0x02,0x04 VPAD_BUTTON_DPAD_W=0x02,0x06 VPAD_BUTTON_DPAD_NW=0x02,0x07 VPAD_BUTTON_DPAD_NEUTRAL=0x02,0x0F

//Buttons VPAD_BUTTON_A=0x00,0x01 VPAD_BUTTON_B=0x00,0x02 VPAD_BUTTON_X=0x00,0x08 VPAD_BUTTON_Y=0x00,0x04 VPAD_BUTTON_PLUS=0x01,0x02 VPAD_BUTTON_MINUS=0x01,0x01 PAD_COUNT=1

phantasum avatar May 15 '17 08:05 phantasum

Someone else had a similar problem with his .ini file

I tried both, and had no issues (at loading). Did you try a fresh SD card? Here is the ini I tested

neo_geo.zip

Maschell avatar May 25 '17 09:05 Maschell

For reference. I'm using a SanDisk Ultra 64GB Class 10. HID to VPAD - nightly (v0.9j-nightly-cf54450

Used your file on the original SD card, had a black screen(freeze/crash). Used your file on different SD card (Sandisk 16GB), still crashed/froze.

Might be something in the way Mac OS does file storage and the software interprets the .ini file type. Could I suggest an auto HID set up for HIDtoVPAD so a person with a USB HID device could just associate control prompts to the button presses. That or adding a feature within HID Test that allows for creation of ini files.

Thanks for all your help.

phantasum avatar May 27 '17 22:05 phantasum

I've attempted at creating a .ini file using a text editor (on mac)

Which text editor did you use? TextEdit, even if it is in plain text mode, replaces punctuation marks like apostrophes and quotation marks (' and ") with the appropriate Unicode characters, rather than ASCII. This causes issues in software that expect ASCII characters. (Even GCC yells at me if I use TextEdit.) I would recommend using another plain text editor.

CreeperMario avatar May 28 '17 20:05 CreeperMario

I don't believe your suggestion is an issue at this point. Since I used the file Maschell created, the he tested and claimed worked(see second post).

Edit: Just to be clear this is not fixed. Screen still goes black/crashes/freezes.

phantasum avatar May 29 '17 22:05 phantasum

The newest version has more checks while parsing config files. At this shouldn't crash anymore with "faulty" files. Can you confirm it?

Maschell avatar Nov 02 '17 09:11 Maschell