The NEW Build Your Own Arcade Controls

Main => Software Forum => Topic started by: Sailing_Nut on October 26, 2007, 09:01:25 am

Title: MAME 0.120 controller configuration
Post by: Sailing_Nut 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:
Title: Re: MAME 0.120 controller configuration
Post by: u_rebelscum 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.
Title: Re: MAME 0.120 controller configuration
Post by: Sailing_Nut 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!
Title: Re: MAME 0.120 controller configuration
Post by: u_rebelscum 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.
Title: Re: MAME 0.120 controller configuration
Post by: Sailing_Nut 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?
Title: Re: MAME 0.120 controller configuration
Post by: specialmoose 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.
Title: Re: MAME 0.120 controller configuration
Post by: u_rebelscum 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".
Title: Re: MAME 0.120 controller configuration
Post by: specialmoose 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.