Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: edge on January 05, 2007, 12:49:58 pm

Title: Mala LEDWizard v1.1 Available
Post by: edge on January 05, 2007, 12:49:58 pm

(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=51525.0;attach=64302)


Mala LEDWizard Overview:
LEDWizard allows you to create LEDWiz CFG files.  These CFG files can be used with Mala for full LEDWiz RGB support.  Combined with the power of the Mala LEDWiz Plugin and Controls.Dat, you can:

v1.1 Release Information:

Much More To Come:

Thanks, again, to swindus and loadman for their help.

I would love to hear your feedback and suggestions.
Edge
Title: Re: Mala LEDWizard v1.1 Available
Post by: youki on January 05, 2007, 01:48:20 pm
What i can say, it is i like the look'n feel of your dialog!  :)

But how you can change settings for each game in your dialog?


Nice work.  :cheers:   



Title: Re: Mala LEDWizard v1.1 Available
Post by: squirrellydw on January 05, 2007, 02:43:31 pm
Would love to test it out but my cocktail table won't be ready for testing till February sometime.  Looks great so far
Title: Re: Mala LEDWizard v1.1 Available
Post by: edge on January 05, 2007, 04:05:14 pm
What i can say, it is i like the look'n feel of your dialog!  :)
Nice work.  :cheers:   
Thank you, youki!  That means alot.

But how you can change settings for each game in your dialog?
Great question.

When you hit SAVE, another dialog pops up...
(http://forum.arcadecontrols.com/index.php?action=dlattach;topic=51525.0;attach=64308)

From here, you can save your settings as a main mala config, game config or emulator config.

At first, I had seperate buttons for each type of save, but it got confusing.  I think this streamlines it a bit.  What do you think?

Title: Re: Mala LEDWizard v1.1 Available
Post by: loadman on January 05, 2007, 04:05:55 pm
Edge is now a 'Delphi' Wizard  ;)
Title: Re: Mala LEDWizard v1.1 Available
Post by: edge on January 05, 2007, 04:22:10 pm
Edge is now a 'Delphi' Wizard  ;)

hehe.. thanks, loadman.  you have come a long way yourself.  :cheers:
Title: Re: Mala LEDWizard v1.1 Available
Post by: headkaze on January 05, 2007, 05:49:47 pm
Nice work egde, very sexy GUI :)

I am confused about how you were dependant on the .NET Framework though when you were coding in Delphi.
Title: Re: Mala LEDWizard v1.1 Available
Post by: edge on January 05, 2007, 06:45:21 pm
Nice work egde, very sexy GUI :)

I am confused about how you were dependant on the .NET Framework though when you were coding in Delphi.

Headkaze - Thanks!  As for .net... The first version was in Visual Basic.  This version, I rewrote it in Delphi.
Title: Re: Mala LEDWizard v1.1 Available
Post by: loadman on January 07, 2007, 04:01:03 pm
Just to summarise

Much More To Come:
Attract mode
Batch CFG generation
Ability to define and light admin buttons
Save emulator CFG files in directories
Support for button Flashing/Ramping
*** Fix up/work around to make .lnk files (PC GAMES) use LedWiz

And Possibly Potential integration with loadman's Speech plugin:
 This would flash each button/Control and say (with speech) it's function
* This would be triggered by games played less than 5 times or when manual triggered
 * In and case you would have the option to skip or repeat
Title: Re: Mala LEDWizard v1.1 Available
Post by: squirrellydw on January 07, 2007, 04:23:34 pm
Yes, please make the speech work  :notworthy:  :applaud: :notworthy:
Title: Re: Mala LEDWizard v1.1 Available
Post by: edge on January 07, 2007, 06:27:55 pm

And Possibly Potential integration with loadman's Speech plugin:
 This would flash each button/Control and say (with speech) it's function
* This would be triggered by games played less than 5 times or when manual triggered
 * In and case you would have the option to skip or repeat

Nice, loadman.  I am sure your wife is very happy. ;)
Title: Re: Mala LEDWizard v1.1 Available
Post by: loadman on January 07, 2007, 06:38:04 pm

And Possibly Potential integration with loadman's Speech plugin:
 This would flash each button/Control and say (with speech) it's function
* This would be triggered by games played less than 5 times or when manual triggered
 * In and case you would have the option to skip or repeat

I would be happy if I cold skip her speech sometimes  :laugh2:
Nice, loadman.  I am sure your wife is very happy. ;)
Title: Re: Mala LEDWizard v1.1 Available
Post by: headkaze on January 11, 2007, 04:24:57 am
Just some advice when working on the "Speak Buttons Actions" feature, if you create a thread to loop through each button, you should not use SpeechVoiceSpeakFlags.SVSFDefault or WaitUntilDone because "The WaitUntilDone method explicitly blocks program execution until the voice finishes." You must use the SpeechVoiceSpeakFlags.SVSFlagsAsync flag with the SpeakCompleteEvent Method and the WaitForSingleObject() API function.

So first you create thread for method SpeakButtons()

Eg. Some pseudo code...
Code: [Select]
SpeakButtons()
{
   loop(through each button)
   {
       light up button on LEDWiz

       get button action

       voice.Speak(button action, SpeechVoiceSpeakFlags.SVSFlagsAsync);

       int handle = voice.SpeakCompleteEvent();

       WaitForSingleObject(handle, INFINITE);
   }
}

It's important you do it that way otherwise the whole FE will freeze up until each word is spoken. Using the above method in a thread, it will continue executing.

Just thought I'd share my results, hope it helps.
Title: Re: Mala LEDWizard v1.1 Available
Post by: loadman on January 11, 2007, 05:52:20 am
Thanks again Mr Headkaze