Can you use Delphi or C++? I only started with Delphi a year ago...
I currently use VB. I have done a little bit in C, but I'd like to try Delphi. I have been kicking around whether it would be possible to create a plugin to execute different emulators within a gamelist. This would be better than moving roms and creating batch files. I guess my biggest question is:
In the game selected event, does Mala allow your plugin to cancel the event, or is Mala definitely going to execute mame.exe after the plugin code is executed?
Sorry for the thread Hi-jack Guys
'MaLaGameSelected' event just means the is the higlighted game in the list. When it does it sends the Plug-in the following info:
'EVENT: Game selected' + nl +
'Name: ' + String(g.Description) + nl +
'Manufacturer: ' + String(g.Manufacturer) + nl +
'Genre: ' + String(g.Genre) + nl +
'Year: ' + IntToStr(g.Year) + nl +
'Clone of: ' + String(g.CloneOf) + nl +
'-------------------- INPUTS ---------------------------------' + nl +
'Coins: ' + IntToStr(g.InputCoins) + nl +
'Buttons: ' + IntToStr(g.InputButtons) + nl +
'Players: ' + String(g.InputPlayers) + nl +
'Control: ' + String(g.InputControl) + nl +
'-------------------- VIDEO ----------------------------------' + nl +
'Screen: ' + String(g.VideoScreen) + nl +
'Orientation: ' + String(g.VideoOrientation) + nl +
'Video size: ' + IntToStr(g.VideoWidth) + 'x' + IntToStr(g.VideoHeight) + nl +
'-------------------- DRIVER ---------------------------------' + nl +
'Status: ' + String(g.DriverStatus) + nl +
'-------------------- CONTROLS.INI ---------------------------' + nl +
'Control: ' + String(g.Controls) + nl +
'JoyUp: ' + String(g.JoyUp) + nl +
'JoyDown: ' + String(g.JoyDown) + nl +
'JoyLeft: ' + String(g.JoyLeft) + nl +
'JoyRight: ' + String(g.JoyRight) + nl +
'Button1: ' + String(g.Button1) + nl +
'Button2: ' + String(g.Button2) + nl +
'Button3: ' + String(g.Button3) + nl +
'Button4: ' + String(g.Button4) + nl +
'Button5: ' + String(g.Button5) + nl +
'Button6: ' + String(g.Button6) + nl +
'Button7: ' + String(g.Button7) + nl +
'Button8: ' + String(g.Button8) + nl +
'-------------------- ROMFILE --------------------------------' + nl +
'Rom name: ' + String(g.Rom) + nl +
'Rom path: ' + String(g.RomPath) + nl +
'Rom extension: ' + String(g.Extension) + nl +
'-------------------- STATS ----------------------------------' + nl +
'Game played: ' + IntToStr(g.Played) + nl
But I assume you mean 'MaLaGameStart'. And yes after the Plug-in is executed it wil continue to launch Mame or whatever emulator is set in MaLa.
But PM Swindus. He is full of simple solutions :-)