The NEW Build Your Own Arcade Controls

Front End Support => MaLa Frontend => Topic started by: Sailing_Nut on October 29, 2007, 03:27:51 pm

Title: Developing MaLa plugin (extra buttons using Joustick/GamePad)
Post by: Sailing_Nut on October 29, 2007, 03:27:51 pm
I'm working on developing a simple little plugin for MaLa, but I'm having problems getting MaLa to recognize it.

I have my dll renamed to .mplugin and it is located in the plugins subdirectory off of my MaLa directory, but MaLa does not list it as a plugin.

I also tried placing the MaLaEventLogger.mplugin that comes with the plugin AIP development kit in the directory and it is not recognized either. However, I downloaded the MatureAlarm.mplugin and MaLa does recognize it.

Is there something that I'm missing in my DLL?

FYI, My plugin works perfectly with the MaLa stub program.

Help is greatly appreciated!
Title: Re: Developing MaLa plugin
Post by: Sailing_Nut on October 29, 2007, 04:12:07 pm
Fixed this one on my own.

I had a flash of brilliance (very rare for me) after posting here and discovered it was that the VC runtime DLL was not present on my target system. I simply changed to statically link the runtime and all is well in plugin land!
Title: Re: Developing MaLa plugin
Post by: fatfingers on October 29, 2007, 05:50:07 pm

Yes indeed.  I had the same issue when developing my first plugin.  Microsoft Visual Runtime Crap.

Title: Re: Developing MaLa plugin
Post by: loadman on October 29, 2007, 07:31:08 pm
Fixed this one on my own.

I had a flash of brilliance (very rare for me) after posting here and discovered it was that the VC runtime DLL was not present on my target system. I simply changed to statically link the runtime and all is well in plugin land!

Look forward to see what you develop...

Bring on more plug-In's I say   :-)
Title: Re: Developing MaLa plugin
Post by: Sailing_Nut on October 29, 2007, 09:19:32 pm
What I'm currently developing is a very simple (and hard coded) plugin that starts JoyToKey when MaLa starts and kills it when MaLa starts a game, then re-starts it when the game exits.

I'm doing this because MaLa only supports up to 12 joystick buttons and I'm using a GP-Wiz for my CP and I need to map buttons to MaLa UI functions that are above button 12. I also don't need or want JoyToKey running when MAME is running because it messes up my mappings in MAME.
Title: Re: Developing MaLa plugin
Post by: loadman on October 30, 2007, 02:25:01 am
Cool.

Don't forget to post it to SWINDUS as someone else may like to use it  :-)

Have Fun!!!
Title: Re: Developing MaLa plugin
Post by: Kayden on April 07, 2009, 10:57:28 am
I hate to necro thread, but has there been any progress made here?  I know I'd love to use the rest of my buttons in Mala.
Title: Re: Developing MaLa plugin
Post by: Sailing_Nut on April 07, 2009, 11:07:56 am
I was remiss in posting my solution here.

I was able to get around this by using the Joy2Key functionality to have different mappings for different applications. I have one mapping for MaLa and then no mappings for any other application.

Hope this helps you out!
Title: Re: Developing MaLa plugin
Post by: Kayden on April 07, 2009, 11:23:11 am
Neato, thanks.  =D
Title: Re: Developing MaLa plugin
Post by: loadman on April 25, 2009, 09:04:08 pm
I hate to necro thread, but has there been any progress made here?  I know I'd love to use the rest of my buttons in Mala.

How many more buttons would you want (within reason) ?

32?
Title: Re: Developing MaLa plugin (extra buttons using Joustick/GamePad)
Post by: Kayden on April 26, 2009, 09:15:11 am
Personally, I'd only need 15, but Windows does support up to 32, so I think it makes sense to just go to 32 as long as it's not exceptionally difficult.
Title: Re: Developing MaLa plugin (extra buttons using Joustick/GamePad)
Post by: loadman on April 26, 2009, 06:59:09 pm
Personally, I'd only need 15, but Windows does support up to 32, so I think it makes sense to just go to 32 as long as it's not exceptionally difficult.

I will put 32 in then
Title: Re: Developing MaLa plugin (extra buttons using Joustick/GamePad)
Post by: loadman on April 27, 2009, 06:37:33 am
Personally, I'd only need 15, but Windows does support up to 32, so I think it makes sense to just go to 32 as long as it's not exceptionally difficult.

OK Try this please.

http://forum.arcadecontrols.com/index.php?topic=90230.msg964524#msg964524 (http://forum.arcadecontrols.com/index.php?topic=90230.msg964524#msg964524)