Build Your Own Arcade Controls Forum

Main => Main Forum => Topic started by: Sir Headless VII on March 08, 2010, 10:46:20 pm

Title: Ultrastick 360 mala plugin
Post 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?
Title: Re: Ultrastick 360 mala plugin
Post by: ubiquityman on March 09, 2010, 01:02:20 am
you shouldn't need to.  Mame does the mapping for you on an analog joystick.
Title: Re: Ultrastick 360 mala plugin
Post by: arzoo on March 09, 2010, 08:38:34 am
It's most likely using the controls.ini and/or mame.xml files.
Title: Re: Ultrastick 360 mala plugin
Post by: fatfingers on March 10, 2010, 03:21:20 pm

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.
Title: Re: Ultrastick 360 mala plugin
Post by: arzoo on March 11, 2010, 08:53:54 am
I'm pretty sure mala determines the joystick type from the controls.ini
Title: Re: Ultrastick 360 mala plugin
Post by: fatfingers on March 11, 2010, 06:26:12 pm

Yep, me too.
Title: Re: Ultrastick 360 mala plugin
Post by: ubiquityman on March 12, 2010, 02:00:58 pm
My point was that MALA is not required for joystick mapping if you are using an analog joystick.
MAME takes care of that internally.
Title: Re: Ultrastick 360 mala plugin
Post by: fatfingers on March 12, 2010, 03:43:14 pm

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?
Title: Re: Ultrastick 360 mala plugin
Post by: ubiquityman on March 12, 2010, 03:52:13 pm
[see newer post below]
Title: Re: Ultrastick 360 mala plugin
Post by: I/O on March 13, 2010, 03:12:57 pm
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.
Title: Re: Ultrastick 360 Mapping in Mame Without MALA
Post by: ubiquityman on March 13, 2010, 05:36:56 pm
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!
Title: Re: Ultrastick 360 mala plugin
Post by: Sir Headless VII on March 15, 2010, 06:26:41 pm
Thank you that is exactly what I wanted to know.