Front End Support > MaLa Frontend

Can I do this with Mala?

(1/2) > >>

millercentral:
I'm in the process of setting up MaLa for use on my 3-sided cocktail, and I'm using the very cool "change orientation/gamelist based on which side of the cocktail is activated" feature -- the only challenge I have is that for games launched from the "number 2" side (ie, 270 degree vertical orientation), I would like to be able load an alternate MAME controller config that remaps those controls as the Player 1 controls. (ie, when MaLa is in the 270degree orientation, it should call mame with a "-ctlrl 270.cfg" parameter)

Does this (a) make sense and (b) sound possible to do? I know I can manually remap all the games that launch from that orientation, but that is a big hassle (and in some cases I'll allow a game to launch from either side).

Thanks for any ideas,
-james

loadman:
...I'm @ work

But thinking aloud for a solutions

You could possibly:
1) In using Mame you could allocate keys for both controllers (as you can allocate multiple keys in mame) .Easy to do as but not ideal
2) Have a plug-in change the line in mame.ini to another 'ctrlr_directory' when a game is launched depending on the way the screen or orientated. Not sure if the orientation is passed from MaLa to the plug-ins? I will check when I get home
..[EDIT] scratch that idea.  :-(

millercentral:
Well, thanks for looking... I guess this falls into the category of would be a great feature-add to the orientation-switching feature...

arzoo:
I've asked swindus if he would consider adding some of the auxiliary files (controls.dat, history.dat, etc.) to the info passed during the Emulator Selected event. This would allow the plugin to know the game orientation. But since these files are specific to mame, he didn't feel they belonged in that data structure.

My plugin requires the controls.ini data and I have to use a setup file which must be configured with a pointer to the controls file. Not the best solution, but it works. The same could be done for millercentral's suggested plugin.

loadman:
..yeah the Plug-in is passed the games orientation from MaLa already (be it Vertical or Horizontal)

But the way I understand it.    millercentral wants mame to be launched with a different mame controls depending on which way MaLa is orientated on his 3 sided cocktail table

I put a request to SWINDUS to have that passed in a future version of mala..  So it could happen  :dunno

Navigation

[0] Message Index

[#] Next page

Go to full version