Build Your Own Arcade Controls Forum
Main => Main Forum => Topic started by: Sir Headless VII on March 08, 2010, 10:46:20 pm
-
Ok, so I downloaded the plugin and I can't figure out how it figures out what map it will apply to a game. So my question is, how does it figure it out?
-
you shouldn't need to. Mame does the mapping for you on an analog joystick.
-
It's most likely using the controls.ini and/or mame.xml files.
-
As the author, I can say that MaLa tells the plugin what type of game is being played (4-way, 8-way, 2-way, etc.) and it applies a map file accordingly. There are default files installed named 4way.ugc, 8way.ugc, etc. (or at least close to that). If you want a different map for a game than what is being applied by default you create a new UGC file and put the correct maps to be applied. This new file would be called <romname>.ugc. But, basically, the plugin usuallly just works and the fact you can't tell if it's working or not is probably good.
-
I'm pretty sure mala determines the joystick type from the controls.ini
-
Yep, me too.
-
My point was that MALA is not required for joystick mapping if you are using an analog joystick.
MAME takes care of that internally.
-
That is most certainly true. However, this plugin and UltraMap allow you to make custom maps for just one game, which I think is not possible in the MAME mapping system?
-
[see newer post below]
-
Current MAME handles analog stick mapping, and you can create your own maps for it, even per game/romset by giving the map the rom name. The convenience of the Mala plugin is that it affects all emus (or at least all I am using), with the obvious caveat that the data in the file used may be different between builds of the same emu.
-
Current MAME handles analog stick mapping, and you can create your own maps for it, even per game/romset by giving the map the rom name. The convenience of the Mala plugin is that it affects all emus (or at least all I am using), with the obvious caveat that the data in the file used may be different between builds of the same emu.
Thanks for the info.
I just tried this.
I took a previously created INI file and added an additional line for Joystick Mapping.
It does work as you described. Fantastic!
-
Thank you that is exactly what I wanted to know.