Main > Main Forum
MAME P1 start default not being accepted
Diewrecked:
Hi guys
Now that I've got my U360 buttons all working (many thanks for that! :cheers:) I am trying to set P1 start to be a button on the P1 U360 harness. I have RENAMED the entire INI folder because it was full of various settings for various games (not to mention video settings I was playing with that failed) that I was testing whilst configuring my cab. I then started random game (Scramble as it goes) and set GENERAL P1 start to that button (I think it called it GameController 0 button 6), however every game I go into uses the THIS GAME P1 start button of kbd1 (General still set to GameController 0 button 6)
Why doesn't it accept the new start button as defined in the General settings and how can I fix it? I'm SOOOO CLOSE to finishing this project now!! And it's only taken three years hahahaha!!!
Thanks in advance you guys.
Cheers
BobA:
Delete the cfg for the separate games that have been changed so the general will be used. The cfg will be rewritten back to normal when the game is run.
severdhed:
--- Quote from: BobA on November 08, 2010, 10:48:51 am ---Delete the cfg for the separate games that have been changed so the general will be used. The cfg will be rewritten back to normal when the game is run.
--- End quote ---
+1 controller mappings are saved in the .cfg files for the games, not the .ini files.
Diewrecked:
Thanks guys - yeah I completely forgot about the cfg folder! I've also renamed that now.
However I still have the same issue, but it's just got much, much weirder.
My CP has three buttons underneath, for pause, exit and power. Power obviously cabled to the PC power button; pause and exit each cabled to a U360 as button 8 (button 7 for P1 and P2 respectively).
I launched a game (Galaxians) and went into the Controls (General) page. I set P1 start to U360-1 button 7 and P2 start to U60-2 button 7. Pause is set to U360-1 button 8 and exit to U360-2 button 8. The default.cfg file (now the only file in the cfg folder, I deleted the galaxian.cfg file when I quit the game) looks like this:
--- Code: ---<?xml version="1.0"?>
<!-- This file is autogenerated; comments and unknown tags will be stripped -->
<mameconfig version="10">
<system name="default">
<input>
<port type="P1_START">
<newseq type="standard">
JOYCODE_1_BUTTON7
</newseq>
</port>
<port type="P2_START">
<newseq type="standard">
JOYCODE_2_BUTTON7
</newseq>
</port>
<port type="UI_PAUSE">
<newseq type="standard">
JOYCODE_1_BUTTON8
</newseq>
</port>
<port type="UI_CANCEL">
<newseq type="standard">
JOYCODE_2_BUTTON8
</newseq>
</port>
</input>
</system>
</mameconfig>
--- End code ---
However, Pause and Exit now action on those two buttons under the CP, but P1 start is still kbd1 and P2 start is still kbd2. Where is it picking them up from and how do I fix it please?
Worst case I'll just cable them up to the J-Pac and program it so that they ARE kbd1 and kbd2 but I'd rather actually fix this very odd problem!
Cheers all.
Stobe:
i have a similar problem on one of my cabs that I haven't spent enough time troubleshooting yet. But on mine, it seems most games work fine, except galaga won't accept P1 Start, despite being listed as using the same button as every other game (which all work).
I'll have to look at the CFGs also. But when I hit tab, and go into "inputs - this game", they are listed just like the other games that work.