Main > Software Forum
CPWizard v2.63 Released
headkaze:
--- Quote from: doctorhifi on August 02, 2008, 11:42:09 am ---What am I doing wrong?
--- End quote ---
There are quite a few things you could be doing wrong, so it's a matter of tracking it down.
- Check your mame.ini file is located in the same folder as Mame's exe. If your using a ctrlr file CPWizard reads mame.ini to get the name
- Mame codes have changed over the different Mame versions so I've tried to keep up with it but still haven't got it working for all versions. For now the only way to support some versions of Mame is to edit the Data\std.ini file.
--- Code: ---P1_JOYSTICK_UP "KEYCODE_UP|JOYCODE_1_Y_UP_SWITCH"
P1_JOYSTICK_DOWN "KEYCODE_DOWN|JOYCODE_1_Y_DOWN_SWITCH"
P1_JOYSTICK_LEFT "KEYCODE_LEFT|JOYCODE_1_X_LEFT_SWITCH"
P1_JOYSTICK_RIGHT "KEYCODE_RIGHT|JOYCODE_1_X_RIGHT_SWITCH"
--- End code ---
If you change these codes to match your keycodes it should work okay.
doctorhifi:
Thanks.
I'm not using a ctrlr file so I tried changing the std.ini but that didnt work so clearly I'm still not getting it right. I guess I don't know where to put my mame codes. Here's what I tried:
Original
Code:
P1_JOYSTICK_UP "KEYCODE_UP|JOYCODE_1_Y_UP_SWITCH"
P1_JOYSTICK_DOWN "KEYCODE_DOWN|JOYCODE_1_Y_DOWN_SWITCH"
P1_JOYSTICK_LEFT "KEYCODE_LEFT|JOYCODE_1_X_LEFT_SWITCH"
P1_JOYSTICK_RIGHT "KEYCODE_RIGHT|JOYCODE_1_X_RIGHT_SWITCH"
changed to:
Code:
P1_JOYSTICK_UP "KEYCODE_UP|Joy 1 Up"
P1_JOYSTICK_DOWN "KEYCODE_DOWN|Joy 1 Down"
P1_JOYSTICK_LEFT "KEYCODE_LEFT|Joy 1 Left"
P1_JOYSTICK_RIGHT "KEYCODE_RIGHT|Joy 1 Right"
headkaze:
I meant something like this, it basically has to match your keycodes.
--- Code: ---P1_JOYSTICK_UP "KEYCODE_UP|JOYCODE_1_UP"
P1_JOYSTICK_DOWN "KEYCODE_DOWN|JOYCODE_1_DOWN"
P1_JOYSTICK_LEFT "KEYCODE_LEFT|JOYCODE_1_LEFT"
P1_JOYSTICK_RIGHT "KEYCODE_RIGHT|JOYCODE_1_RIGHT"
--- End code ---
doctorhifi:
I fixed it but not by changing the std.ini file.
Turns out something must have been wrong in my mame.cfg because I deleted the default mame cfg, had mame create a new one and then everything worked fine.
One last thing- I'm using two buttons for loading and saving within a game. The LOAD button is mapped to the space bar in Mame (keycode 32) and the SAVE button is mapped to the R.Shift key (keycode 161).
Seems pressing these while running a game also causes the CPW menu to come up interfering with the ability to load/save.
I don't see anything in the CPW cfg file that points to those keycodes so I'm wondering if you can tell me how to make CPW only pop up when the pause button is pressed. My pause button is mapped to L.CTRL (keycode 162).
thanks
cadmium:
I have a question, maybe it's been asked before - I couldn't find it on a quick survey. I'm using the export batch process to generate images and using the patch to show the cp's during pause.
The problem I'm having is that the only cp's that show up during pause are the ones generated by the "bezels" export which generates a zip file with a .lay and cp.png in it. But that only seems to generate a small percentage of the cp's (most cps are blank).
The "images" export creates all of the .png cp's but they don't show up when I hit pause.
What am I doing wrong?