Build Your Own Arcade Controls Forum
Main => Software Forum => Topic started by: metahacker on November 11, 2007, 09:01:30 pm
-
hi,
i'm using a 7 button "neo geo" layout on my cab. and i'm having trouble reconfiguring the controls for all the neogeo games. i've tried making a neogeo.ini and a neodrvr.ini .. i've tried putting them in cfg\, ctrlr\Standard and ini\... nothing seems to work .. any tips ?
-
i'm using a 7 button "neo geo" layout on my cab. and i'm having trouble reconfiguring the controls for all the neogeo games. i've tried making a neogeo.ini and a neodrvr.ini .. i've tried putting them in cfg\, ctrlr\Standard and ini\... nothing seems to work .. any tips ?
Ctrlr files have changed. The foldername/*.ini format that you are trying to use has been removed for a few years, and now ctrlr uses a filename.cfg. Official mame binary (I don't mame32 has them, though) comes with a few example ctrlr files; I suggest looking at them, but for an overview:
The ctrlr file is xml based, and reflects closely the cfg files. Inputs are arranged by systems, systems being default, the gamename, the parentname, & the driver file name, and all systems the game starting belong to are applied in the order they are listed in the file. So put the system name=default first, the driver file names next (system name=neogeo), and the rest after with the parents before the clones.
When you look at the official mame ctrlr files for examples, make sure you are looking at the same version of mame as you are going to apply your's too, as there have been other "minor" changes. What version of mame are you using?
-
i'm using 0.120u3.
so, i need something like this?
<system name="neogeo">
<input>
<port type="P1_BUTTON1">
<newseq type="standard">KEYCODE_C OR JOYCODE_1_BUTTON7</newseq>
</port>
<port type="P1_BUTTON2">
<newseq type="standard">KEYCODE_LSHIFT OR JOYCODE_1_BUTTON4</newseq>
</port>
<port type="P1_BUTTON3">
<newseq type="standard">KEYCODE_Z OR JOYCODE_1_BUTTON5</newseq>
</port>
<port type="P1_BUTTON4">
<newseq type="standard">KEYCODE_X OR JOYCODE_1_BUTTON6</newseq>
</port>
<port type="P1_BUTTON5">
<newseq type="standard">NONE</newseq>
</port>
<port type="P1_BUTTON6">
<newseq type="standard">NONE</newseq>
</port>
<port type="P1_BUTTON7">
<newseq type="standard">NONE</newseq>
</port>
</input>
</system>
( and same <port>'s for P2 inside <input> )
-
Yup, but don't forget the <mameconfig version="10"> ... </mameconfig> containing all the systems.
Just an aside, is your 7 button "neo geo" layout on your cab wired to a keyboard encoder or a joystick encoder? You're remapping both the keycodes and joycodes, sort of as if you're wired to both (your remap isn't a problem per say except in specific conditions). Or did you do that just to show the remap clearer?
-
I'm using gamepad input (the joy codes).
I just put the key codes as an example, in there in case anyone else was looking and trying to figure out the same thing but had a keyboard encoder instead ;-)