Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Developing MaLa plugin (extra buttons using Joustick/GamePad)  (Read 3864 times)

0 Members and 1 Guest are viewing this topic.

Sailing_Nut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:May 01, 2009, 11:27:28 pm
Developing MaLa plugin (extra buttons using Joustick/GamePad)
« 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!
« Last Edit: April 25, 2009, 09:04:41 pm by loadman »

Sailing_Nut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:May 01, 2009, 11:27:28 pm
Re: Developing MaLa plugin
« Reply #1 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!

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: Developing MaLa plugin
« Reply #2 on: October 29, 2007, 05:50:07 pm »

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

My DK low scores
-------------------
1) 180700
2) 165000
3) 162900
4) 162600
5) 158500


W.W.P.M.D.?                                       I'm here to help ... I just don't do it. ™

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Developing MaLa plugin
« Reply #3 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   :-)

Sailing_Nut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:May 01, 2009, 11:27:28 pm
Re: Developing MaLa plugin
« Reply #4 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.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Developing MaLa plugin
« Reply #5 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!!!

Kayden

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 154
  • Last login:February 17, 2023, 07:20:44 pm
  • Oh crap! Is it suppose to spark like that?
Re: Developing MaLa plugin
« Reply #6 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.

Sailing_Nut

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 16
  • Last login:May 01, 2009, 11:27:28 pm
Re: Developing MaLa plugin
« Reply #7 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!

Kayden

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 154
  • Last login:February 17, 2023, 07:20:44 pm
  • Oh crap! Is it suppose to spark like that?
Re: Developing MaLa plugin
« Reply #8 on: April 07, 2009, 11:23:11 am »
Neato, thanks.  =D

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Developing MaLa plugin
« Reply #9 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?
« Last Edit: April 25, 2009, 09:07:29 pm by loadman »

Kayden

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 154
  • Last login:February 17, 2023, 07:20:44 pm
  • Oh crap! Is it suppose to spark like that?
Re: Developing MaLa plugin (extra buttons using Joustick/GamePad)
« Reply #10 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.

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Developing MaLa plugin (extra buttons using Joustick/GamePad)
« Reply #11 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

loadman

  • Moderator
  • Trade Count: (+3)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 4306
  • Last login:May 26, 2024, 05:14:32 am
  • Cocktail Cab owner and MaLa FE developer
    • MaLa
Re: Developing MaLa plugin (extra buttons using Joustick/GamePad)
« Reply #12 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