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: How can i make a plugin for MALA?  (Read 3648 times)

0 Members and 1 Guest are viewing this topic.

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:Today at 10:57:48 am
    • My personal forum
How can i make a plugin for MALA?
« on: September 10, 2014, 03:21:45 am »
I would like to make a plugin for MALA. Do I need to program it in delphi or I can make it in VB?
I need information, please. Any idea?

Thanks in advance.

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: How can i make a plugin for MALA?
« Reply #1 on: September 10, 2014, 09:46:15 am »
Hey Empardopo

I saw your comment on my Engine18 thread, but I just saw this one.

You can do a Mala plugin in anything that supports C style call backs and structures.

Loadman and the Mala site have some pretty good info on that.

I'm virtually positive Delphi would work as I believe Mala is written in Pascal.

I'm not sure which VB you're talking about. VB.net works, definitely, because that's what I wrote Engine18 in.
VB6 could would, but it would require quite a few hoops to jump through since VB6 doesn't natively support callbacks and the kind of structures required.

If you're talking about .net, my Engine18 project was built specifically for that purpose (ie making it REALLY easy to write plugins for mala).

There's a few areas that I'm not completely satisfied with (one being how I'm handling reading and writing configuration), that's the main reason that I haven't opensourced it yet.

But if you want to have a look, I could package up everything for you.

The biggest reason to use Engine18 would be Intellisense. Basically, it wraps all the Mala API's and sctructures in .net friendly ways so that everything you're used to seeing in a .net app, you see while developing a plugin for mala. Because of that, even though Engine18 is writtenin VB.net, you could use any .net compatible language to write your plugin (F#, or IronPython anyone? :) )


empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:Today at 10:57:48 am
    • My personal forum
Re: How can i make a plugin for MALA?
« Reply #2 on: September 11, 2014, 07:04:57 am »
Drventure,

I was talking about VB 2010 .net.
I would like to see some example plugin. If it was programmed in VB .net much better.

Some documentation about it?

Thanks very much in advance!

drventure

  • Trade Count: (+2)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 4152
  • Last login:April 23, 2024, 06:53:06 pm
  • Laser Death Ray Bargain Bin! Make me an offer!
Re: How can i make a plugin for MALA?
« Reply #3 on: September 11, 2014, 09:03:52 am »
Best place for Docs is the Mala WIKI

http://wiki.arcadecontrols.com/wiki/Mala_Plugins

I'll get you the engine18 info later today.

empardopo

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 526
  • Last login:Today at 10:57:48 am
    • My personal forum
Re: How can i make a plugin for MALA?
« Reply #4 on: September 12, 2014, 02:46:19 am »
I think there isn't much info in the wiki!
I hope to learn with an example.

Thanks!