CPWizard v2.35 Released
#2
Posted 23 November 2007 - 03:47 PM
Uh, oh... I'm getting an error when I hit the "x" to close CPWizard. Here's the error:
Attached Files
#3
Posted 23 November 2007 - 11:06 PM
- Joystick 1 does not work
- Joystick 2 partially work (only button, direction auto-accept but it does not work ingame)
- gs path work only if I edit cpwizard.ini
- cpwizard detects the pause of mame correctly but mame remains paused when so exiting cpwizard
- display work fine in my custom mame resolutions setting
If I want to use my custom controls.ini how can I do? With Gameex cpviewer it work
... True Love ...

#4
Posted 23 November 2007 - 11:55 PM
bkenobi, on Nov 24 2007, 12:47 AM, said:
Uh, oh... I'm getting an error when I hit the "x" to close CPWizard. Here's the error:
Can you please post your CPWizard.log
Quote
- Joystick 2 partially work (only button, direction auto-accept but it does not work ingame)
- gs path work only if I edit cpwizard.ini
- cpwizard detects the pause of mame correctly but mame remains paused when so exiting cpwizard
- display work fine in my custom mame resolutions setting
Can you please post your CPWizard.ini. I'll check out the GS path bug. The pause remaining is normal. Ahh glad the custom Mame resolutions works
#5
Posted 24 November 2007 - 12:07 AM
CPWizard.ini.zip 976bytes
7 downloadsp.s. Most of all I want the joystick
... True Love ...

#6
Posted 24 November 2007 - 12:12 AM
Quote
SelectKey=KEYCODE_LCONTROL
BackKey=KEYCODE_LALT
MenuUp=KEYCODE_UP
MenuDown=KEYCODE_DOWN
MenuLeft=KEYCODE_LEFT
MenuRight=KEYCODE_RIGHT
VolumeDown=KEYCODE_MINUS
VolumeUp=KEYCODE_EQUALS
ShowDesktop=KEYCODE_HOME
HideDesktop=KEYCODE_END
I don't see any JOYCODE's in there. You have to go to Edit->Options->Input tab, then use the "..." button to add JOYCODE's. You will need to press the button or whatever on your joystick to put the code in there. I'm wondering how Joystick 2 was partially working at all without those codes in there.
#7
Posted 24 November 2007 - 12:23 AM
I want joy1 : up and down directions and buttons
Anyway this configuration was :
[Input]
ShowKey=KEYCODE_L
SelectKey=KEYCODE_LCONTROL|JOYCODE_2_BUTTON1
BackKey=KEYCODE_LALT|JOYCODE_2_BUTTON2
MenuUp=KEYCODE_UP|JOYCODE_2_XAXIS_LEFT_SWITCH
MenuDown=KEYCODE_DOWN|JOYCODE_2_XAXIS_RIGHT_SWITCH
MenuLeft=KEYCODE_LEFT
MenuRight=KEYCODE_RIGHT
VolumeDown=KEYCODE_MINUS
VolumeUp=KEYCODE_EQUALS
ShowDesktop=KEYCODE_HOME
HideDesktop=KEYCODE_END
Note :
joy 1 : not detected
joy 2 : left and right detected and configured but do not work, up and down do not detected,buttons detected and works
... True Love ...

#8
Posted 24 November 2007 - 12:51 AM
Attached Files
#9
Posted 24 November 2007 - 02:40 AM
- Fixed joystick detection bug, GS path bug, added DirectInput dll to setup
sbaby: Hopefully that solves the joystick problem, if you can test this new version and get back to me. You will have to add JOYCODE's for both joysticks.
bkenobi: I did add all those extra joycodes you wanted, but need that tested when you get some time
#10
Posted 24 November 2007 - 06:13 AM
#11
Posted 24 November 2007 - 10:09 AM
Good...
I tested v1.03 Beta 1 on 2 pc (only mame)
Pc 1) CABINET Intel dual core, 640x480 resolution, xp
- Joysticks psx1-usb 1 and 2 don't work (only buttons work)
- Resolution and desktop ok
- Volume control : I am also very interested at volume, I found that on a normal PC there are no problems.
On my pc-cab with a device m-audio (sometimes use them to make professionally music) the xp-mixer has not master volume control so when I use the buttons of cpwizard a crash sound happens.
Let me know if you can apply automation of cpwizard control on the WAV-fader of xp-mixer and not on master-fader
Pc 2) Pentium 4 , 1024x768 , xp, sound blaster
- Joysticks dualshock psx2-usb 1 and 2 work fine (rarely it does not detect input, but if cpwizard.ini is correct it works)
- Resolution and desktop : My mame setting is the same of my cab (640x480) but this pc has 1024x768. I play mame fine but cpwizard has this problem :

- Volume control OK
With mame and cpviewer I use my "custom" controls.ini (some games adapted to my control panel).
How to use it with cpwizard also ?
... True Love ...

#12
Posted 26 November 2007 - 08:15 AM
sbaby said:
Can you tell me the names of the JOYCODE_* in Mame for the controls that don't work in CPWizard. The joysticks I use for testing may not have the axis you need on your psx joysticks. If you can tell me the names used in Mame it should help me figure out whats missing.
sbaby said:
I may need to aquire the joysticks again after pausing Mame. I will keep that in mind.
sbaby said:
The volume control is designed for the master fader. I don't really have any intention on changing that.
sbaby said:
Hmm I have a feeling I still have to put a delay in there to allow for the resolution change. That screenshot shows that CPWizard is displaying at 640x480 which probably means it's showing before the PC has changed back to 1024x768. I'm guessing you don't have this problem if you run your desktop at the same resolution as Mame?
#13
Posted 26 November 2007 - 09:30 AM
headkaze, on Nov 26 2007, 11:15 AM, said:
JOYCODE_1_YAXIS_UP_SWITCH
JOYCODE_1_YAXIS_DOWN_SWITCH
JOYCODE_1_XAXIS_LEFT_SWITCH
JOYCODE_1_XYAXIS_RIGHT_SWITCH
JOYCODE_1_BUTTON1
JOYCODE_1_BUTTON2
JOYCODE_1_BUTTON3
JOYCODE_1_BUTTON4
JOYCODE_1_BUTTON5
JOYCODE_1_BUTTON6
JOYCODE_1_BUTTON7
JOYCODE_1_BUTTON8
JOYCODE_1_BUTTON9
JOYCODE_1_BUTTON10
JOYCODE_2_YAXIS_UP_SWITCH
JOYCODE_2_YAXIS_DOWN_SWITCH
JOYCODE_2_XAXIS_LEFT_SWITCH
JOYCODE_2_XYAXIS_RIGHT_SWITCH
JOYCODE_2_BUTTON1
JOYCODE_2_BUTTON2
JOYCODE_2_BUTTON3
JOYCODE_2_BUTTON4
JOYCODE_2_BUTTON5
JOYCODE_2_BUTTON6
JOYCODE_2_BUTTON7
JOYCODE_2_BUTTON8
JOYCODE_2_BUTTON9
JOYCODE_2_BUTTON10
headkaze, on Nov 26 2007, 11:15 AM, said:
... True Love ...

#14
#15
Posted 26 November 2007 - 03:42 PM
And YEAAAAHHHHHH finally, the joypad work fine
I have a problem remaining:
With mame and cpviewer I use my "custom" controls.ini (some games adapted to my control panel).
How to use it with cpwizard also ?
... True Love ...

#16
Posted 27 November 2007 - 12:52 PM
sbaby, on Nov 27 2007, 12:42 AM, said:
How to use it with cpwizard also ?
CPWizard uses controls.xml not controls.ini. I'm not sure what you mean by games adapted to your CP, as CPWizard should adjust for any custom mappings in Mame. If you just mean adding games missing in ControlsDat or changing labels, you could edit the controls.xml file in CPWizard\DATA\controls.xml.
#17
Posted 27 November 2007 - 02:45 PM
Example : some buttons for Mortal Kombat 3 are configured in different mode.
I edit my controller.ini and I put it in mame CTRL folder
<system name="mk3">
<input>
<port type="P1_BUTTON5" mask="2" index="19" defvalue="2">
<newseq type="standard">
KEYCODE_Z OR JOYCODE_1_BUTTON6
</newseq>
</port>
<port type="P1_BUTTON6" mask="4" index="20" defvalue="4">
<newseq type="standard">
KEYCODE_X OR JOYCODE_1_BUTTON5
</newseq>
</port>
<port type="P2_BUTTON5" mask="32" index="23" defvalue="32">
<newseq type="standard">
JOYCODE_2_BUTTON6
</newseq>
</port>
<port type="P2_BUTTON6" mask="64" index="24" defvalue="64">
<newseq type="standard">
JOYCODE_2_BUTTON5
</newseq>
</port>
</input>
</system>
Mame now has this mk3 config default
Cpviewer ok but Cpwizard remain mame default
... True Love ...

#18
Posted 27 November 2007 - 03:41 PM
sbaby, on Nov 27 2007, 11:45 PM, said:
Can you post your controller.cfg file from the ctrlr folder. It should work in CPWizard but I have not being able to test every scenario yet, so if you can post your controller.cfg file I should be able to fix that. Can you also post your mame.ini file.
#19
Posted 27 November 2007 - 04:08 PM
CTRLR_MyCab.zip 1.67K
10 downloadsMy Mame.ini :
mame.ini.zip 1.35K
3 downloadsMany thanks for your support
... True Love ...

#20
Posted 28 November 2007 - 04:15 AM
Here is your layout file
CP1.png 383K
53 downloadsHere are your button mappings in the layout
P1_BUTTON1: KEYCODE_LCONTROL P1_BUTTON2: KEYCODE_LALT P1_BUTTON3: KEYCODE_SPACE P1_BUTTON4: KEYCODE_LSHIFT P1_BUTTON5: KEYCODE_Z P1_BUTTON6: KEYCODE_X P2_BUTTON1: JOYCODE_1_BUTTON1 P2_BUTTON2: JOYCODE_1_BUTTON2 P2_BUTTON3: JOYCODE_1_BUTTON3 P2_BUTTON4: JOYCODE_1_BUTTON4 P2_BUTTON5: JOYCODE_1_BUTTON5 P2_BUTTON6: JOYCODE_1_BUTTON6
Now I'm using your 1-MyCab.cfg ctrlr file but _WITHOUT_ the mk3 entry, here is what CPWizard displays
CP2.png 235.14K
48 downloadsSo far so good? This is what we expect CPWizard to display right? Okay now I add in the mk3 entry to your 1-MyCab.cfg ctrlr file. So this is now _WITH_ the mk3 entry.
CP3.png 236.84K
35 downloadsIs this correct? It looks correct to me, because player 2, buttons 5 and 6 are reversed. That is exactly what should be happening according to your mk3 entry. Lets have a look at it in detail.
<system name="mk3"> <input> <port type="P1_BUTTON5" mask="2" index="19" defvalue="2"> <newseq type="standard"> KEYCODE_Z OR JOYCODE_1_BUTTON6 </newseq> </port> <port type="P1_BUTTON6" mask="4" index="20" defvalue="4"> <newseq type="standard"> KEYCODE_X OR JOYCODE_1_BUTTON5 </newseq> </port> <port type="P2_BUTTON5" mask="32" index="23" defvalue="32"> <newseq type="standard"> JOYCODE_2_BUTTON6 </newseq> </port> <port type="P2_BUTTON6" mask="64" index="24" defvalue="64"> <newseq type="standard"> JOYCODE_2_BUTTON5 </newseq> </port> </input> </system>
According to this you are remapping the following:
P1_BUTTON5: KEYCODE_Z -> KEYCODE_Z OR JOYCODE_1_BUTTON6 P1_BUTTON6: KEYCODE_X -> KEYCODE_X OR JOYCODE_1_BUTTON5 P2_BUTTON5: JOYCODE_1_BUTTON5 -> JOYCODE_2_BUTTON6 P2_BUTTON6: JOYCODE_1_BUTTON6 -> JOYCODE_2_BUTTON5
Those player 1 buttons 5 and 6 are not being remapped, your mapping them to the same keys. But the player 2 buttons 5 and 6 are being swapped over. That is how they are being displayed in the CPWizard. Can you explain how it's mapping incorrectly?
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users













