The NEW Build Your Own Arcade Controls

Main => Main Forum => Topic started by: boogieman on July 01, 2008, 05:45:40 pm

Title: Config files for neo geo.
Post by: boogieman on July 01, 2008, 05:45:40 pm
I have read about making a .ctrlr file for neo geo games.  I found this thread: http://forum.arcadecontrols.com/index.php?topic=73532.msg760034#msg760034 (http://forum.arcadecontrols.com/index.php?topic=73532.msg760034#msg760034) and downloaded the .cfg file from there.

This is my question.  In the file it says:
 <!--
            The following keys must be mapped to shifted buttons using WinIPAC or equivalent.
            P1B8 and P2B8 can also be used (if 8 buttons per player are not required
).
         -->

         <port type="UI_PAUSE">
            <newseq type="standard">KEYCODE_P</newseq>
         </port>
         <port type="UI_CONFIGURE">
            <newseq type="standard">KEYCODE_TAB</newseq>
         </port>
         <port type="UI_CANCEL">
            <newseq type="standard">KEYCODE_ESC</newseq>
         </port>
         <port type="UI_ON_SCREEN_DISPLAY">
            <newseq type="standard">KEYCODE_TILDE</newseq>
         </port>
         
I have my jpac set up where p2 button 7 = ESC. and p2 button 8 = P (pause)  I can change this to where the esc and pause are set up to p1 button 8 and p2 button 8.

What I am wondering, is how do I need to modify that .cfg file to work with my setup?

It is going to be setup like

  4 5 6
  1 2 3
7

I suppose I need to know how to modify that file for my use.  I do have some basic code knowledge and such but thought I would get some "professional" opinions before destroying the code lol.
Title: Re: Config files for neo geo.
Post by: boogieman on July 02, 2008, 01:33:51 pm
nevermind... I think I figured this out looking at the code.  The part about shifting the keys is not really relevent to the code.