Headkaze, you already know that I think CPWizard is an incredible program and that you provide invaluable services for this community, so I値l jump right into the problem I知 having (but, for the record, CPWizard is awesome and you're an incredible help to the folks around here!).
The default button assignments on many fighting games need to be changed to make them more consistent with the original arcade controls. So I致e been making changes for awhile now using MAME痴 ctrlr file. For most games, CPWizard (version 2.21) has been displaying the changes correctly. On a lot of fighting games, however, the buttons for Player 2 are messed up, even though the buttons for Player 1 show up just fine.
For example, in Mortal Kombat, here痴 how Player 1 and Player 2 controls look with the default assignments:
To more accurately reflect the original controls, I made the following additions to the ctrlr file for Player 1 (all of which worked fine when testing in MAME):
<port type="P1_BUTTON1">
<newseq type="standard">
KEYCODE_LSHIFT
</newseq>
</port>
<port type="P1_BUTTON2">
<newseq type="standard">
KEYCODE_LALT OR KEYCODE_Z
</newseq>
</port>
<port type="P1_BUTTON3">
<newseq type="standard">
KEYCODE_X
</newseq>
</port>
<port type="P1_BUTTON4">
<newseq type="standard">
KEYCODE_LCONTROL
</newseq>
</port>
<port type="P1_BUTTON5">
<newseq type="standard">
KEYCODE_SPACE
</newseq>
</port>
<port type="P1_BUTTON6">
<newseq type="standard">
NONE
</newseq>
</port>
Those changes resulted in the following CPWizard display for Player 1, which is exactly how it should look:
I also made the following additions to the ctrlr file for Player 2 (again, all of which worked fine when testing in MAME):
<port type="P2_BUTTON1">
<newseq type="standard">
KEYCODE_W
</newseq>
</port>
<port type="P2_BUTTON2">
<newseq type="standard">
KEYCODE_I OR KEYCODE_S
</newseq>
</port>
<port type="P2_BUTTON3">
<newseq type="standard">
KEYCODE_K
</newseq>
</port>
<port type="P2_BUTTON4">
<newseq type="standard">
KEYCODE_A
</newseq>
</port>
<port type="P2_BUTTON5">
<newseq type="standard">
KEYCODE_Q
</newseq>
</port>
<port type="P2_BUTTON6">
<newseq type="standard">
NONE
</newseq>
</port>
Those changes resulted in the following CPWizard display for Player 2, which is...um...strange.
I致e checked the CPWizard assignments, and everything looks like it should work fine.
Has anyone seen this problem before, or does anyone have any idea what could be wrong, or where I should look for the problem? If you need any additional information or details, please ask.
Thanks in advance for your help!