2008-05-05, 06:53 AM
(This post was last modified: 2008-05-05, 09:32 AM by idkpmiller.)
5058 Wrote:Alright the quick window in the pop up says it cannot find the controller cfg file. Anyone have any luck making there own cfg files? I am using a wingman wireless. Everything works using the game specif cfg but I would like to map a button on the gamepad for coin and start since I VNC to the box and don't have a keyboard hooked up for the default 5 for coin and 1 for 1 player start.
I have a similar setup; all I do is vnc in to the PC, start my game and then press the "TAB" key then use the PC's arrow key to select "Input (this game)"
if you go to Player 1 start and press enter on the PC, Mame will wait for you to press a key, now pickup your joypad/stick and press the key you want the "start" to be mapped to. do this for any other keys then come out and enjoy your game.
Alternatively, if you want to make up a ctrlr file for your controller and place it in your ctrlr folder and call it gamezone.cfg, then change the config option from "Game Specific" to GameZone Joypad" this will then load your customised ctrl file. take a look here to see how to create one
I just made up a customised controller file where my playstation p[layer 2 joypad is required to control the games as player 1 (faulty USB adaptor) heres what I have in my gamezone.cfg file:
Code:
<mameconfig version="10">
<system name="default">
<!-- P2 mapped as P1 joypad input configuration file -->
<input>
<port type="START1">
<newseq type="standard">JOYCODE_2_BUTTON12</newseq>
</port>
<port type="COIN1">
<newseq type="standard">JOYCODE_2_BUTTON9</newseq>
</port>
<port type="P1_JOYSTICK_UP">
<newseq type="standard">JOYCODE_2_UP</newseq>
</port>
<port type="P1_JOYSTICK_DOWN">
<newseq type="standard">JOYCODE_2_DOWN</newseq>
</port>
<port type="P1_JOYSTICK_LEFT">
<newseq type="standard">JOYCODE_2_LEFT</newseq>
</port>
<port type="P1_JOYSTICK_RIGHT">
<newseq type="standard">JOYCODE_2_RIGHT</newseq>
</port>
<port type="P1_BUTTON1">
<newseq type="standard">JOYCODE_2_BUTTON0</newseq>
</port>
<port type="P1_BUTTON2">
<newseq type="standard">JOYCODE_2_BUTTON1</newseq>
</port>
<port type="P1_BUTTON3">
<newseq type="standard">JOYCODE_2_BUTTON2</newseq>
</port>
<port type="P1_BUTTON4">
<newseq type="standard">JOYCODE_2_BUTTON3</newseq>
</port>
<port type="P1_BUTTON5">
<newseq type="standard">JOYCODE_2_BUTTON4</newseq>
</port>
<port type="P1_BUTTON6">
<newseq type="standard">JOYCODE_2_BUTTON5</newseq>
</port>
</input>
</system>
</mameconfig>
Hope this helps