mame icon indicating copy to clipboard operation
mame copied to clipboard

pce/sf2 and sgx/sf2 unworking Slot Devices (6button controllers included)

Open soundsnow opened this issue 1 year ago • 5 comments

MAME version

0.262

System information

Android 12 Snapdragon 750G

INI configuration details

No response

Emulated system/software

PC Engine and SuperGrafx (or TurboGrafx-16)

Incorrect behaviour

Street Fighter II Champion Edition Options Run, II, I ,SEL Slot Devices: Arcade Pad 6 or Avenue Pad 6 Reset System Options Run, II, I ,SEL

I tried the Mega Drive's MD Pad 6 and it was detectable by SF2

I'm pretty sure SF2 is a six button game. I guess other Slot Devices may also not work. Joypad 2 is available. Arcade Pad 6 and Avenue Pad 6 are not available. I haven’t tested the rest: Joypad 2 Turbo, Mouse, Multitap, Pachinko, PC Joy.

Expected behaviour

Street Fighter II Champion Edition Slot Devices: Arcade Pad 6 or Avenue Pad 6 Reset System Options I, II, III, IV, V, VI I remember that this game will automatically switch as long as the six-button controller is plugged in, no reset required. And fix other slot devices if they are unavailable.

Steps to reproduce

No response

Additional details

No response

soundsnow avatar Feb 07 '24 11:02 soundsnow

I guess MAME may think that all PCE/SGX/TG16 input devices are two-button controller, so no matter what input device is replaced, nothing will change.

soundsnow avatar Feb 07 '24 11:02 soundsnow

You didn't check one thing: 2/6 mode select is in TAB -> Machine Configuration Screenshot from 2024-02-07 17-10-06 I feel like it shouldn't necessarily be there (it's a pad toggle after all, it can be accessed by the user at any time), but I loathe at the alternative of using IPT_TOGGLE in Input Assignments without some kind of visual feedback.

angelosa avatar Feb 07 '24 16:02 angelosa

You do get visual feedback for IPT_TOGGLE – that’s what the “toggle inputs” menu is for. If you make them IPT_TOGGLE, you can assign keys to toggle them as well as changing them in a menu.

cuavas avatar Feb 07 '24 16:02 cuavas

I mean: that's not ideal either, my experience with a real PCE pad is that I quickly push back and forth the autofire lever because I know what's the state all the time (i.e. don't need to open TAB menu specifically for that), and iirc the input state is saved on restarts, which is something I gladly opt-out as alternative here.

angelosa avatar Feb 07 '24 16:02 angelosa

IPT_POSITIONAL? They are mostly multi-state levers after all.

angelosa avatar Feb 10 '24 15:02 angelosa