Jump to content

All my products and services are free. All my costs are met by donations I receive from my users. If you enjoy using any of my products, please donate to support me. My bare hosting costs are currently not met so please consider donating by either clicking this text or the Patreon link on the right.

Patreon

Recommended Posts

Posted

For what seems like random games CPwizard shows normally not active buttons as active. I have no idea what is wrong.

I'm running the newest version of GameEx 9.30 and CPwizard 1.76.

I have this button setup for both 1 and 2 players.

123

456

7

Player 1 is mapped like this:

1234567 (buttons)

wertyui (keyboard map)

UDLR (Up left down right)

keyboard up, left, down, right

Player 2:

1234567

sdfghjk

UKDR

vbnm

Attached is an example of the problem i am having

post-4185-1211838472_thumb.jpg

Posted

For future reference (in case anyone else reads this thread), you need to supply your config and usually the .cfg file for an example game that exhibits the problem. It's really tough to figure out these problems without enough info.

Posted

I'm having the same kind of problem.

I designed my 4 player control panel in cpwizard. it works fine but for some games it shows buttons that I don't use and don't have mapped in my default.cfg file. This happens for more then one game but I attached Centipede cause its simple. My centipede cfg file has nothing in it cause I just use the default keys.

to help clear up all these buttons, I've included a layout of my button mappings, as well as the CPwizard layout for Centipede with 2 extra buttons.

What file (or files) does Cpwizard get its info from?

Thanks

(Sidenote: When you try to load or save a game in mame F7 or Shift+F7, CPWizard pops up because it detects Mame is paused... no biggie just something I thought I would mention in case its a simple fix)

post-784-1212326962_thumb.jpg

centiped.cfg.txt

default.cfg.txt

post-784-1212327808_thumb.jpg

Posted
I'm having the same kind of problem.

I designed my 4 player control panel in cpwizard. it works fine but for some games it shows buttons that I don't use and don't have mapped in my default.cfg file. This happens for more then one game but I attached Centipede cause its simple. My centipede cfg file has nothing in it cause I just use the default keys.

to help clear up all these buttons, I've included a layout of my button mappings, as well as the CPwizard layout for Centipede with 2 extra buttons.

What file (or files) does Cpwizard get its info from?

Thanks

(Sidenote: When you try to load or save a game in mame F7 or Shift+F7, CPWizard pops up because it detects Mame is paused... no biggie just something I thought I would mention in case its a simple fix)

I had the same problem with centipede. I did not know this, but you do not need to assign mouse x, and mouse y, for the trackball in mame for the trackball to work. Set your trackball back to default in your default.cfg, (or just move the default .cfg out of the folder, and let mame build a new default one) and move any other .cfg files out of the mame config folder, and see what happens. CPWizard will read all of your .cfg files for individual games, and I can almost gaurantee you that there is something wrong with your key assignments. If you need more help, just ask...

Please let me know if you get it working as well...

Posted

I glanced at your config and it looks like you have several buttons setup that you don't use in the default.cfg. For example P1_UP_Left is keycode_c. This is also the same for P2_... I would personally start off by changing any of these settings to "none" by manually editing the cfg file. Next, it appears from the CPWizard image that it's setting down to both down and up and right is right and left for both P1 and P2. I didn't look much further, but I had similar problems that turned out to be my cfg file was AFU.

Posted

Thanks guys for getting back.

I wouldn't be surprised if my cfg was messing things up cause I spent alot of time setting up, but I mapped many of the buttons in the default.cfg just so i would have to do so many individual game setups.

For example; I do have

P1_Up= Keycode_C and P2_Up= Keycode_C

because I use the player 1 and player 2 joystick for games like Crazy Climber that calls for 2 joysticks.

So I went ahead and moved all my cfg's so there were none in the folder and I could start fresh. But before I started Mame, I went and tried CPWizards Preview mode. With no cfg's to read it still showed some wrong buttons... actually it had some new wrong buttons thrown in just to make it weirder :blink:

I'm going to remove each button map in my default.cfg one by one to find which are doing this but in the mean time CPwizard is obviously getting info from somewhere else if I delete the default.cfg and it still shows me buttons.... right?

Posted

CPWizard reads the key defaults from Data\std.ini then it reads any ctrlr file, then default.cfg then [ROMNAME].cfg. So any of those files can change the way the keys are mapped.

If buttons are being labelled when they shouldn't be it's probably because you are using default keycodes that are mapped to something. Common controls this happens to are Player 3 and Player 4 controls which are often mapped to the same default's as some Player 1/2 controls. So you will need to go into "Input (general)" and set those to none.

Posted
CPWizard reads the key defaults from Data\std.ini then it reads any ctrlr file, then default.cfg then [ROMNAME].cfg. So any of those files can change the way the keys are mapped.

If buttons are being labelled when they shouldn't be it's probably because you are using default keycodes that are mapped to something. Common controls this happens to are Player 3 and Player 4 controls which are often mapped to the same default's as some Player 1/2 controls. So you will need to go into "Input (general)" and set those to none.

Which Ctrl file does it read? I have a bunch in there and I use non of them

Posted

I was using one to try it out. I loaded it from gameex (-ctrl Nelson) and cpwizard still did the same thing. I've removed it for now to make tracking this down easier.

Posted

Ok so I found the problem! Its in the std.ini file. I guess all the mappings in it are the mame defaults and I have my controller wired differently.

So can I edit the std.ini file or is it getting its setting from somewhere else (if I edit it, will it just get overwritten by another file's settings?)

Posted
Ok so I found the problem! Its in the std.ini file. I guess all the mappings in it are the mame defaults and I have my controller wired differently.

So can I edit the std.ini file or is it getting its setting from somewhere else (if I edit it, will it just get overwritten by another file's settings?)

HK said above:

CPWizard reads the key defaults from Data\std.ini then it reads any ctrlr file, then default.cfg then [ROMNAME].cfg. So any of those files can change the way the keys are mapped.

So yes, it reads the std.ini, but then it overwrites those "standard" configurations with anything found in the ctrlr file, and then it overwrites that with the default.cfg, and then it overwrites that with [ROMNAME].cfg.

read posts #171, and #173 in this thread:

http://www.gameex.info/forums/index.php?sh...4655&st=160

Guest
This topic is now closed to further replies.
×
×
  • Create New...