Main > Software Forum
CPWizard v2.63 Released
Charles4400:
Hey HK! As a follow up on an earlier post, how is the below possible???: :dunno
Here is the conrol layout generated for 'asteroid':
But here is the CPWizard\data\controls.xml for 'asteroid':
<game romname="asteroid" gamename="Asteroids (rev 2)" numPlayers="2" alternating="0" mirrored="1" usesService="0" tilt="0" cocktail="0">
<miscDetails>
</miscDetails>
<player number="1" numButtons="5">
<controls>
<control name="Directional Buttons(2-way left/right)">
<constant name="joy2way"/>
</control>
</controls>
<labels>
<label name="P1_BUTTON7" value="Rotate Left"/>
<label name="P1_BUTTON1" value="Rotate Right"/>
<label name="P1_BUTTON2" value="Thrust"/>
<label name="P1_BUTTON3" value="Fire"/>
<label name="P1_BUTTON6" value="Hyper Space"/>
</labels>
</player>
</game>
Why does player 2 controls show up correctly but not player 1, even though controls are mirrored??
The keys are mapped correctly in CPwiz as many games show up correctly, but I am having problems with the games having 2 directional buttons.....are there other files besides controls.xml I need to edit?
Please help as this is driving me kinda nuts and I think I sprouted a few more gray hairs over this! :banghead:
Thanks!
headkaze:
Editing controls.xml is just going to screw things up in the long run. If your using a ctrlr file make sure your mame.ini is in Mame's root folder. Make sure your labels match those you set in cfg\default.cfg and cfg\[rom].cfg. Sometimes deleting default.cfg or all the cfg's in the cfg folder improves the mapping in CPWizard. Only map the controls you need.
So basically you shouldn't be editing controls.xml at all. CPWizard maps controls for you. The most common reason labels double up is because Player 3 defaults double up the inputs. Press tab in Mame and select "input (general)" and set the P3 Up, P3 Down, P3 Left and P3 Right to none.
Popcorrin:
Headkaze,
Would support for animated gifs be a possibility?
Charles4400:
Thanks HK I followed the advice you mentioned but am still not able to properly map the controls of games which use directional buttons instead of the joystick by just changing the 'cpntrols for this game' option within mame within the game....
I was able to finally do it however but by manipulating the controls.xml which you told me is not a good thing to do though , but that's the only way I was able to do it...
Do games like asteroid, asteroid deluxe, armor attack, etc... all work correctly on your end as far as the control panel layout and manipulating the controls from just within mame?
flowbot:
I can't seem to apply the bezel patch to 129 using the
Mame compiler without getting an error, saying 1 out of 3 hunks failed or something like that. I've tried applying the patch before the hiscore one and I've also tried it after and I get errors either way. Does the 127 bezel patch still work with 129?