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: MAME 0.120 controller configuration  (Read 3236 times)

0 Members and 1 Guest are viewing this topic.

Sailing_Nut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:May 01, 2009, 11:27:28 pm
MAME 0.120 controller configuration
« on: October 26, 2007, 09:01:25 am »
I am trying to set up a custom configuration file for my control panel that is powered by a GP-Wiz.

I had it mostly working with an earlier version of MAME, but I just loaded 0.120 and it no longer works.

I've looked all over for documentation on .CFG files for MAME and have not had any luck. I just need to find out what all of the possible input types and port types are so that I can create a file.

Hopefully someone can help me out! If not I may loose it!  :hissy:

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: MAME 0.120 controller configuration
« Reply #1 on: October 26, 2007, 12:17:57 pm »
I gave a basic answer in the other forum (summary: remap in-game and then compare the cfg/cfg file with your ctrlr/cfg file), but you you want to post your ctrlr file, I'll skim it.
Robin
Knowledge is Power

Sailing_Nut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:May 01, 2009, 11:27:28 pm
Re: MAME 0.120 controller configuration
« Reply #2 on: October 26, 2007, 12:47:57 pm »
I found that setting the "joystick" setting to "1" in the mame.ini file is a great help!

Do you know of anywhere that defines all of the <port type="?????"> and <newseq type="???>????</newseq> tags?

That reference would be a great help!

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: MAME 0.120 controller configuration
« Reply #3 on: October 26, 2007, 04:22:51 pm »
I found that setting the "joystick" setting to "1" in the mame.ini file is a great help!

It's the simple things that hit you :dizzy: 
;)

Quote
Do you know of anywhere that defines all of the <port type="?????"> and <newseq type="???>????</newseq> tags?

That reference would be a great help!

Not really any simple easy lists. :-\

You can look in the source: src/emu/inptport.c in the const input_port_default_entry for most of it, and src/osd/windows/input.c in the function osd_customize_inputport_list for the four (as of 0.120) windows changes.
Robin
Knowledge is Power

Sailing_Nut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:May 01, 2009, 11:27:28 pm
Re: MAME 0.120 controller configuration
« Reply #4 on: October 26, 2007, 04:47:34 pm »
I figured it was going to come down to reading the source!

Good thing I develop softwre for a living!  ;)

If I get ambitious, maybe I'll do a document of all of the stuff. If I do, where should I send / post it so that others can make use of it too?

specialmoose

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:February 10, 2010, 06:46:12 pm
Re: MAME 0.120 controller configuration
« Reply #5 on: October 30, 2007, 04:07:34 am »
I'm having the exact same problem. Maximus Arcade recognizes my joystick and all inputs connected to GP Wiz. I can scroll up and down using the joysticks and launch games by pressing one of the arcade buttons. However, MAME doesn't recognize the joystick or any inputs from the GP Wiz. When I try and change them in settings (Tab -> etc.) and reassign a function, just sits there blank waiting for an input even though I am pressing the designated button.

Any suggestions?


Command-line mame: mame0120b.exe, MAME 0.120, Windows command-line
GP Wiz: GP Wiz MAX 32 inputs USB



PS: Works fine in MAME32 (Windows GUI) however doesn't work in MAME (command-line) when ran by itself without Maximus Arcade

PS2: I copied over the MAME32 config file for my controls to MAME and although it lists the button in MAME (Player 1 Up = Joy 1 Up) still doesn't work.
« Last Edit: October 30, 2007, 04:57:01 am by specialmoose »

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: MAME 0.120 controller configuration
« Reply #6 on: October 30, 2007, 12:36:54 pm »
I'm having the exact same problem....

Enable joysticks.  Mame's default is leave joysticks disabled.  Either add "-joy" to the commandline, or edit the mame.ini to "joystick 1" instead of "joystick 0".
Robin
Knowledge is Power

specialmoose

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 31
  • Last login:February 10, 2010, 06:46:12 pm
Re: MAME 0.120 controller configuration
« Reply #7 on: October 30, 2007, 04:58:39 pm »
I'll try the -joy because I must be blind since I don't see mame.ini anywhere.