Main > Software Forum

CPWizard v2.63 Released

Pages: << < (100/145) > >>

headkaze:

Version 2.21 Released

- Fixed bug in analog to digital mapping system

TAG:

Headkaze, you already know that I think CPWizard is an incredible program and that you provide invaluable services for this community, so I’ll jump right into the problem I’m 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’ve been making changes for awhile now using MAME’s 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’s 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):


--- Quote ---
            <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>


--- End quote ---

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):


--- Quote ---
            <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>


--- End quote ---

Those changes resulted in the following CPWizard display for Player 2, which is...um...strange.



I’ve 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!

headkaze:

You can zip up your CPW layout file, ctrlr, and any cfg's and I will take a look when I get some time. Not sure if attachments are still not working here but you can e-mail them to me if you like.

TAG:


--- Quote from: headkaze on August 21, 2009, 05:25:32 am ---You can zip up your CPW layout file, ctrlr, and any cfg's and I will take a look when I get some time. Not sure if attachments are still not working here but you can e-mail them to me if you like.

--- End quote ---

Thanks, email sent!

headkaze:

Tried the files you sent and it worked fine for me (see attached image). So here are a few things I would check.

1. Make sure the ctrlr folder is correctly set in Edit->Options->Mame Folders
2. Make sure mame.ini is located in the root of your Mame folder. It should also have "ctrlr main" in it to specify your ctrlr file
3. You may need to delete the cfg\default.cfg. You shouldn't need one if your using a ctrlr file anyway

Give those a try and hopefully it should work. There is not a problem with the files you sent me so it must be some other configuration issue.

Pages: << < (100/145) > >>

Go to full version