Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: NEO GEO : Which .INI file in MAME 0.120 ?  (Read 3435 times)

0 Members and 1 Guest are viewing this topic.

metahacker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 166
  • Last login:January 17, 2024, 03:09:39 am
NEO GEO : Which .INI file in MAME 0.120 ?
« 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 ?
« Last Edit: November 12, 2007, 12:55:55 pm by metahacker »

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: NEO GEO : Which .INI file in MAME 0.120 ?
« Reply #1 on: November 13, 2007, 04:02:41 pm »
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?
Robin
Knowledge is Power

metahacker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 166
  • Last login:January 17, 2024, 03:09:39 am
Re: NEO GEO : Which .INI file in MAME 0.120 ?
« Reply #2 on: November 13, 2007, 10:25:12 pm »
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> )

u_rebelscum

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 3633
  • Last login:April 21, 2010, 03:06:26 pm
  • You rebel scum
    • Mame:Analog+
Re: NEO GEO : Which .INI file in MAME 0.120 ?
« Reply #3 on: November 14, 2007, 03:46:55 pm »
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?
Robin
Knowledge is Power

metahacker

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 166
  • Last login:January 17, 2024, 03:09:39 am
Re: NEO GEO : Which .INI file in MAME 0.120 ?
« Reply #4 on: November 18, 2007, 06:44:02 pm »
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 ;-)