The NEW Build Your Own Arcade Controls

Software Support => GroovyMAME => Topic started by: retrogamer123 on May 12, 2017, 11:35:01 am

Title: Getting Stable controller id's...can't get it to work with gm
Post by: retrogamer123 on May 12, 2017, 11:35:01 am
Basically I was trying to follow the official docs on this
http://docs.mamedev.org/advanced/devicemap.html (http://docs.mamedev.org/advanced/devicemap.html)

I put the cfg file in the following foldre
Quote
ctrlr/xbox360.cfg

I set the ctrl path in groovy mame to ctrl
and in the core input options I set:

Code: [Select]
ctrl xbox360
Thats the working part. So fine so good. Starting groovymame with a game also uses my controller mappings.
But as soon as I add the following to my cfg file:
Code: [Select]
<mapdevice device=”XInput Player 1” controller=”JOYCODE_1” />
<mapdevice device=”XInput Player 2” controller=”JOYCODE_2” />
groovymame gives me an error that it can't load the controller cfg file
I'm using the d3d9x build of groovymame 0.183

Does anyone have any idea what I'm doing wrong ?? ???
Title: Re: Getting Stable controller id's...can't get it to work with gm
Post by: Calamity on May 13, 2017, 07:28:16 am
What happens with official MAME?
Title: Re: Getting Stable controller id's...can't get it to work with gm
Post by: ozfalcon on May 13, 2017, 11:51:18 am
Basically I was trying to follow the official docs on this
http://docs.mamedev.org/advanced/devicemap.html (http://docs.mamedev.org/advanced/devicemap.html)

I put the cfg file in the following foldre
Quote
ctrlr/xbox360.cfg

I set the ctrl path in groovy mame to ctrl
and in the core input options I set:

Code: [Select]
ctrl xbox360
Thats the working part. So fine so good. Starting groovymame with a game also uses my controller mappings.
But as soon as I add the following to my cfg file:
Code: [Select]
<mapdevice device=”XInput Player 1” controller=”JOYCODE_1” />
<mapdevice device=”XInput Player 2” controller=”JOYCODE_2” />
groovymame gives me an error that it can't load the controller cfg file
I'm using the d3d9x build of groovymame 0.183

Does anyone have any idea what I'm doing wrong ?? ???
Did you copy and paste the example?
http://docs.mamedev.org/advanced/devicemap.html (http://docs.mamedev.org/advanced/devicemap.html)

Code: [Select]
<?xml version="1.0"?>
<mameconfig version="10">
    <system name="default">
        <input>
<mapdevice device="XInput Player 1" controller="JOYCODE_1"/>
<mapdevice device="XInput Player 2" controller="JOYCODE_2"/>
        </input>
    </system>
</mameconfig>

Your double quotes are not correct (Docs have formatted double quotes, Mame requires standard double quotes).
Title: Re: Getting Stable controller id's...can't get it to work with gm
Post by: retrogamer123 on May 13, 2017, 12:33:56 pm
@ozfalcon.
Thx so much. Yes, you were right.I had the wrong doublequotes.
Its working now, cause the verbose output of mame now shows the remapped controller messages :)