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: MaLa v1.0 RC8 available  (Read 11738 times)

0 Members and 1 Guest are viewing this topic.

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
MaLa v1.0 RC8 available
« on: October 18, 2006, 12:36:08 pm »
Improvements

- Added an event plugin system which allows developers to enhance MaLa in various ways
- Added a new placeholder to the encoder programming command line: %rom%
- Added an option to use 'LED' files to overwrite the default lightning for particular games
- Added a 'lock exit' option to avoid accidental exiting
- Improved the 'copy roms to folder' in MaLaGamelist

Bugfixes
- Error creating the main game list when using a MAME 'u' versions
- Error when adding a game to another list on non mame emulators. (Not possible message)

Download MaLa here: http://mala.arcadezentrum.com/download.html

MaLa Event Plugins
MaLa can be enhanced now with plugins in various ways. The plugins can react on various MaLa event like game selection, emulator selection and so on. You can find a plugin SDK with an example (Event Logger) in Delphi and C++ on the new plugin page.

LEDWiz Plugin v1.0
A plugin to drive up to 16 LEDWiz devices with MaLa to light up the used controls for the selected game.

MatureAlarm
This plugin plays a siren sound when selecting a *mature* game. ;-)

Plugin page: http://mala.arcadezentrum.com/plugins.html
« Last Edit: October 18, 2006, 01:46:09 pm by swindus »

mr.Curmudgeon

  • It's going to hurt your brain. A lot.
  • Wiki Master
  • Trade Count: (+1)
  • Full Member
  • *****
  • Offline Offline
  • Posts: 3833
  • Last login:October 11, 2021, 07:15:49 pm
  • Huzzah!
Re: MaLa v1.0 RC8 available
« Reply #1 on: October 18, 2006, 12:56:17 pm »
LEDWiz Plugin v1.0
A plugin to drive up to 16 LEDWiz devices with MaLa to light up the used controls for the selected game.

SWEET!   :applaud:


mrC

Angry_Radish

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 521
  • Last login:October 24, 2020, 06:36:17 pm
Re: MaLa v1.0 RC8 available
« Reply #2 on: October 18, 2006, 01:52:11 pm »
eeeexcellent *rubs hands together*
I'll give the %config% placeholder bit a shot tonight with the set49mode

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: MaLa v1.0 RC8 available
« Reply #3 on: October 18, 2006, 01:55:25 pm »
eeeexcellent *rubs hands together*
I'll give the %config% placeholder bit a shot tonight with the set49mode

Better use the %rom% placeholder with set49mode.  ;)

Angry_Radish

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 521
  • Last login:October 24, 2020, 06:36:17 pm
Re: MaLa v1.0 RC8 available
« Reply #4 on: October 18, 2006, 02:26:31 pm »
That's what I said, you must have read it wrong  :P

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: MaLa v1.0 RC8 available
« Reply #5 on: October 18, 2006, 08:21:26 pm »

Sounds to me that we could now use the plugin to determine when a game was selected and then apply the proper maps for that game?  That is, if we don't want to use the fields already in existence in the gui?  I might try it just 'cuz it would be fun.
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. ™

edge

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 370
  • Last login:May 08, 2025, 09:08:47 am
  • AttractMode and GroovyArcade rock!
Re: MaLa v1.0 RC8 available
« Reply #6 on: October 18, 2006, 08:26:31 pm »
Swindus,
The plugin capability opens up so many options.  Nice job!

Fatfingers,
I think a plugin for Ultimarc / GGG 49-way sticks is a great idea... Good luck.

As for the LEDwiz plugin, more news to follow later this week.  :angel:
« Last Edit: October 18, 2006, 08:55:24 pm by edge »

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: MaLa v1.0 RC8 available
« Reply #7 on: October 18, 2006, 11:17:31 pm »
Quote
Swindus,
The plugin capability opens up so many options.  Nice job!

If a developer wants to he/or she can make other Plugins for example 'BetaBrite LED Display' or something

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: MaLa v1.0 RC8 available
« Reply #8 on: October 19, 2006, 11:52:13 am »

After more looking into this, it doesn't look like I can use this API to apply maps on a game by game basis.  This is because I don't want to apply maps at select time (do I?  Isn't select time just when the game is highlighted???) I want to apply maps at game start and end time.  The end time is currently fine since I can just apply a generic 4 or 8 way map on each game end.  But, the start event doesn't give me any game information (not even a game name) like the game selected event does, so I have nothing to go on to determine which map should be applied.

One other comment.  In your API shouldn't you include a malaplugin.h file that defines what all the structures are?  This way each plugin developer would not have to write/copy their own?  It seems like it might save lots of "oh, you forgot field xyz in your EventEmulator structure" issues.

Thanks for the cool plugin system!  8)


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. ™

youki

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 1612
  • Last login:November 19, 2016, 01:07:33 pm
  • Atomic Front End Creator
    • Atomic Front End
Re: MaLa v1.0 RC8 available
« Reply #9 on: October 19, 2006, 12:01:52 pm »
Hi,

I guess you could store the game name and other info  in a member variable of your plugin on the GameSelected event.  Then re-use it on the Start Event.

I suppose the Start event , Start the selected game , not an other??

No?

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: MaLa v1.0 RC8 available
« Reply #10 on: October 19, 2006, 12:25:14 pm »
Hi,

I guess you could store the game name and other info  in a member variable of your plugin on the GameSelected event.  Then re-use it on the Start Event.

I suppose the Start event , Start the selected game , not an other??

No?

Right, thats the way to do it.

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: MaLa v1.0 RC8 available
« Reply #11 on: October 19, 2006, 12:28:02 pm »
One other comment.  In your API shouldn't you include a malaplugin.h file that defines what all the structures are?  This way each plugin developer would not have to write/copy their own?  It seems like it might save lots of "oh, you forgot field xyz in your EventEmulator structure" issues.

Just rename the file MaLaEventLogger.h from the demo plugin to malaplugin.h.  ;)

Angry_Radish

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 521
  • Last login:October 24, 2020, 06:36:17 pm
Re: MaLa v1.0 RC8 available
« Reply #12 on: October 19, 2006, 12:50:44 pm »
How are you passing a map on game end? I'm still unable to get this to work
Thanks!

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: MaLa v1.0 RC8 available
« Reply #13 on: October 19, 2006, 01:02:21 pm »
Put the parameter (your map) in the field 'Default config (MaLa)' on this tab. Everytime you quit a game the encoder exectable is launched with this parameter.


fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: MaLa v1.0 RC8 available
« Reply #14 on: October 19, 2006, 01:15:36 pm »
Hi,

I guess you could store the game name and other info  in a member variable of your plugin on the GameSelected event.  Then re-use it on the Start Event.

I suppose the Start event , Start the selected game , not an other??

No?

Right, thats the way to do it.

Yes, I thought of doing that, it just seems a little goofy to me, that's all.  I'll try it that way.
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. ™

Angry_Radish

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 521
  • Last login:October 24, 2020, 06:36:17 pm
Re: MaLa v1.0 RC8 available
« Reply #15 on: October 19, 2006, 05:48:04 pm »
Help me out here, I'm a bit slow...  :)
I can point it to the executable, but the .txt file that you can put in the default config slot, what format should the contents be?
For example, to switch to a 4way mode, I can run set49mode.exe pacman
DO I just need to add the name of an 8way rom in the text file? Is it that simple? (at work now, can't test)

Thanks in advance, I'm learning  ;D

Put the parameter (your map) in the field 'Default config (MaLa)' on this tab. Everytime you quit a game the encoder exectable is launched with this parameter.



swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: MaLa v1.0 RC8 available
« Reply #16 on: October 19, 2006, 06:02:19 pm »
For example, to switch to a 4way mode, I can run set49mode.exe pacman
DO I just need to add the name of an 8way rom in the text file? Is it that simple? (at work now, can't test)

Yes!  ;D

Angry_Radish

  • Trade Count: (+4)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 521
  • Last login:October 24, 2020, 06:36:17 pm
Re: MaLa v1.0 RC8 available
« Reply #17 on: October 19, 2006, 08:08:24 pm »
Well, putting the romname in the text file didnt work, but just putting a romname of an 8way game in the default config section worked perfectly.
I'm happy to say I finally have everything for the 49ways and switching working just fine now! woohoo!

Quick question though, is it a limitation in mala where it only recognizes up to 12 buttons for the joystick? I had to do a little rewiring on the gpwiz inputs so all my buttons were under 12 (some were 14, 15, etc..)

Either way, thanks for all the help, it's great to be completely functional now, and able to kick donkey kong's butt with a 49way/4way!

swindus

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 391
  • Last login:July 28, 2021, 05:52:50 am
    • MaLa - M.A.M.E. Launcher
Re: MaLa v1.0 RC8 available
« Reply #18 on: October 19, 2006, 08:17:21 pm »
Quote
Well, putting the romname in the text file didnt work, but just putting a romname of an 8way game in the default config section worked perfectly.
Right, I meant that.

Quote
I'm happy to say I finally have everything for the 49ways and switching working just fine now! woohoo!
Nice!

Yes, there is a limitation. Only 12 buttons are supported, the max could be 16 (windows limit) but most people ask: Why 12 (so much) buttons?  ;)

fatfingers

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 966
  • Last login:April 17, 2025, 05:26:08 pm
  • Got UltraStiks?™
Re: MaLa v1.0 RC8 available
« Reply #19 on: October 20, 2006, 04:48:53 pm »

Sounds to me that we could now use the plugin to determine when a game was selected and then apply the proper maps for that game?  That is, if we don't want to use the fields already in existence in the gui?  I might try it just 'cuz it would be fun.


For those that are interested, I took a crack at this.  You may read about it here.
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: MaLa v1.0 RC8 available
« Reply #20 on: December 09, 2006, 05:36:41 pm »
Hi,

I guess you could store the game name and other info  in a member variable of your plugin on the GameSelected event.  Then re-use it on the Start Event.

I suppose the Start event , Start the selected game , not an other??

No?

Right, thats the way to do it.

That is the method I used for the speech plug-in and Serial Display Plugin..  Works Keeeewwwwl  :cheers: