Build Your Own Arcade Controls Forum

Front End Support => MaLa Frontend => Topic started by: loadman on September 20, 2007, 07:49:38 am

Title: MaLa Plugin - Speech V1.6
Post by: loadman on September 20, 2007, 07:49:38 am
Speech 1.5

includes Flash N' Speech for the rest of us  ;D
It can either just Speak the button actions
or Flash N Speak if using a Pac-Drive (http://www.ultimarc.com/pacdrive.html) ,  MaLa hardware (http://mala.arcadezentrum.com/hardware.html) or a  Led-Wiz modded  (http://www.members.optushome.com.au/backwash/wizmod.htm)  with
 the ’IO-Warroior40-P’ chip.

I abandoned this  (http://forum.arcadecontrols.com/index.php?topic=59589.msg588129#msg588129) old thread for obvious reasons.

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

This plug-in requires MaLa v1.02 or higher to utilize the 'Flash N speak' function, 'Speak' alone will work with earlier versions.

Special thanks to Swindus, SGT and Headkaze for your help and support.

New in this version
- Added config maker
- Added filter to skip test in brackets or special characters like '*'
- Enabled 'Flash and speak' for Led Controllers
- Option for Sound Boost and/or Pause Music
- Config maker checks OS is capable of playing speech on start-up
- Button on Config maker to load windows speech control panel
- Option to just have Speak with No flash (for users without any Led Controller)
- Test Button for with Flash and Speak enabled "will flash Leds" for Player 1
if MaLa (v1.02 or higher) is running in the background.

To skip 'Speech' hold down the ESC key.

It's far from perfect but I think it's at a stage where I am ready to get feedback.

Download from here: (http://www.members.optushome.com.au/backwash/speechA.zip)

Enjoy   ;)
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: arzoo on September 20, 2007, 08:11:24 am
Looks slick! Another great plug-in from loadman  :cheers:
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: SGT on September 20, 2007, 08:50:55 am
Works great for me so far. :applaud:

Q*Bert is perfect.  Especially appreciate the ignoring of bracketed information.

Thanks a lot loadman.  Great job!  :notworthy:
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: Space Fractal on September 20, 2007, 09:50:00 am
thanks for pm.

Haven't play much on my arcade for some reasons. Rather, thanks for the update, installing it next time I play on my arcade  :D.
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: ARTIFACT on September 20, 2007, 10:27:03 am
omg i cannot wait to get his setup!!

is it possible to have it read the HISTORY and TRIVIA when the info screen is displayed?

that wuld ROCK!!!!!

thank you!
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: CM on September 20, 2007, 01:39:41 pm
Not a hijack attempt .. but curious if there is a MalA fix for using 2 PacDrives yet?  Andy W confirmed it looked like a bug and was sending a 2nd board to Mala dev a few weeks back.   
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: swindus on September 20, 2007, 01:49:08 pm
Not a hijack attempt .. but curious if there is a MalA fix for using 2 PacDrives yet?  Andy W confirmed it looked like a bug and was sending a 2nd board to Mala dev a few weeks back.   
The 2nd board arrived here some days ago. Will get into this in the next days.
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: CM on September 20, 2007, 02:10:11 pm
Not a hijack attempt .. but curious if there is a MalA fix for using 2 PacDrives yet?  Andy W confirmed it looked like a bug and was sending a 2nd board to Mala dev a few weeks back.   
The 2nd board arrived here some days ago. Will get into this in the next days.

Thanks! 
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: loadman on September 20, 2007, 05:56:47 pm
Not a hijack attempt .. but curious if there is a MalA fix for using 2 PacDrives yet?  Andy W confirmed it looked like a bug and was sending a 2nd board to Mala dev a few weeks back.   
The 2nd board arrived here some days ago. Will get into this in the next days.
Thanks! 

Good News,  Then you can confirm the Flash N speak works with 2 Pac-Drives  please :)   COOL!

omg i cannot wait to get his setup!!
is it possible to have it read the HISTORY and TRIVIA when the info screen is displayed?
that wuld ROCK!!!!!
thank you!
Not something I would want sorry  :-\
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: BULL on September 20, 2007, 11:20:48 pm
this realy rocks bigtime

Loadman you´re THE MAN  :notworthy: :notworthy: :notworthy:
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: lettuce on September 21, 2007, 10:04:39 am
Ok just a quick one, i have selected Speak N Flash, button i only get the speaking commands but no flashing of the buttons, any ideas?
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: loadman on September 21, 2007, 06:50:04 pm
Ok just a quick one, i have selected Speak N Flash, button i only get the speaking commands but no flashing of the buttons, any ideas?

Note: This is not for a normal Led-Wiz. Use one of the Led-Wiz Plug-ins for flash N Speak.

If you are using the Button 1 test in the config maker then you need:
1) Mala 1.02 or greater running in the background
2) Pac-drive or MaLa hardware set-up in Mala already
3) Details from mala.mlc file loaded

Actually using the plugin:
1) Use Mala 1.02 or later
2) In the ini file should be the path to your mala.mlc file that you saved previously in the config maker

eg:
Code: [Select]
MLC_file=C:\mametable\MaLa v1.0 RC6b\mala.mlc
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: ARTIFACT on September 22, 2007, 03:26:41 am
omg i cannot wait to get his setup!!
is it possible to have it read the HISTORY and TRIVIA when the info screen is displayed?
that wuld ROCK!!!!!
thank you!
Not something I would want sorry  :-\


Think of it as a feature request :) ... Talk about 80's feel! Think about it! ;)
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: loadman on September 22, 2007, 06:09:59 am
omg i cannot wait to get his setup!!
is it possible to have it read the HISTORY and TRIVIA when the info screen is displayed?
that wuld ROCK!!!!!
thank you!
Not something I would want sorry  :-\
Think of it as a feature request :) ... Talk about 80's feel! Think about it! ;)
If your serious then it's not a item that can be handled by a Plug-in.  It would have to be native support by MaLa. Send a request to Swindus... You never know.

Back on track... I found some small bugs (LED flash rate and Sound Boost) and will release another beta in the next few days. It would be super cool if someone was to find more bugs so I can squash them this week.   ;D
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: CM on September 22, 2007, 10:16:12 am
OK I gave it a test with 1.02 and 1.04 w/2 PacDrives  >:D

1) Flash&Speech worked, but it did not read off the button names for all games.  The more popular games were all ok, so I'm guessing its not a bug and simply that the control label info may be lacking on the lesser-known games??

2) PacDrive board #2 (P2) issues:
- P2Button#1 does not light or flash, however it does Flash P2Button#6  :-\
- P2Button#2 lights and flashes correctly, but then stays lit when it moves on to flash/say button #3.  (Can't remember but I think P1Button#2 did the same)
- P2Button#3 = OK
- P2Button#4 = OK
- P2Button#5 = OK
- P2Button#6 = Nothing happens

I also re-checked the mala.mlc LED settings and verified they were mapped correctly in 1.02 and 1.04 before setting up the speech.ini.
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: ARTIFACT on September 22, 2007, 01:40:40 pm
OMG!!!

i finally got it installed and running
I love it! total throwback... ala Berzerk ''intruder alert!'' wooow

thank you for the great work
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: BULL on September 22, 2007, 02:31:57 pm
Love this plugin.

Do you think it would be possible to make it repeat the spoken controls after the game has started by pushing a button (for those with short memory - like me  ;))

 - Also if you could make it speak swedish that would be mega cool -  ;D


(if you can´t make it speak swedish thats ok but you dropp a few notches in my book) :hissy:
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: loadman on September 22, 2007, 07:32:01 pm
OK I gave it a test with 1.02 and 1.04 w/2 PacDrives  >:D
1) Flash&Speech worked, but it did not read off the button names for all games.  The more popular games were all ok, so I'm guessing its not a bug and simply that the control label info may be lacking on the lesser-known games??
This data is read from controls ini. This is set in
MameConfig-addtional
You can try an obtain a better version of this file or go in and add items yourself manually.  :P But don't forget to refresh main game list in MaLa afterwards otherwise your changes will not be recognised.
Code: [Select]
[1942]
gamename=1942 (set 1)
numPlayers=2
alternating=1
mirrored=1
tilt=0
cocktail=1
usesService=0
miscDetails=
P1NumButtons=2
P1Controls=8-way Joystick+joy8way
P1_BUTTON1=Fire
P1_BUTTON2=Loop
P1_JOYSTICK_UP=Up
P1_JOYSTICK_DOWN=Down
P1_JOYSTICK_LEFT=Left
P1_JOYSTICK_RIGHT=Right
You just need to add new items starting with the rom name eg:
[1942]
gamename=1942 (set 1)
P1NumButtons=2
P1_BUTTON1=Fire Loadman Cannon
P1_BUTTON2=Oil Slick Stuff

Quote
2) PacDrive board #2 (P2) issues:
- P2Button#1 does not light or flash, however it does Flash P2Button#6  :-\
- P2Button#2 lights and flashes correctly, but then stays lit when it moves on to flash/say button #3.  (Can't remember but I think P1Button#2 did the same)
- P2Button#3 = OK
- P2Button#4 = OK
- P2Button#5 = OK
- P2Button#6 = Nothing happens
I also re-checked the mala.mlc LED settings and verified they were mapped correctly in 1.02 and 1.04 before setting up the speech.ini.
I will have a quick look at this but there is a chance this is related to the config error you reported in MaLa with using two Pac-Drives. Don't you think? But in any case can you send your mlc file (post it here or e-mail to me)  ;)

Love this plugin.
Do you think it would be possible to make it repeat the spoken controls after the game has started by pushing a button (for those with short memory - like me  ;))
Well, The Plug-in or Mala has not got control while the game is running.. Sorry   :(

Quote
- Also if you could make it speak swedish that would be mega cool -  ;D
(if you can´t make it speak swedish thats ok but you dropp a few notches in my book) :hissy:

Have a look above. You can edit controls ini to convert the relevant items to Swedish.  ;D
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: Space Fractal on October 04, 2007, 11:28:02 am
I have just finally tested it. It now works very fine here.

It only one quick left: I have these annoying "are you sure to quit" messages in config. It only do that, straight after I saved it config.

Other it so minor quick, and it not notice in normal use.
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: Space Fractal on October 04, 2007, 05:28:47 pm
Another tiny request:
I use my E-Stik on the second joystick to play Q-Bert as that way this game should been played. Whold been nice, if it could search for text files with the same name as the game, what he should say.

This may reflect pinball games as well (I might remap them as well)....

Otherwice it a pretty good plugin  :D
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: loadman on October 04, 2007, 07:56:52 pm
I have just finally tested it. It now works very fine here.
It only one quick left: I have these annoying "are you sure to quit" messages in config. It only do that, straight after I saved it config.
Other it so minor quick, and it not notice in normal use.
Yeah that was me being slack.  ::) Ideally the config should not confirm that you wish to quit if you have not changed anything from the last save.  :P It was not a high priority for me as the config is a 'set and forget' affair.

Quote
Another tiny request:
I use my E-Stik on the second joystick to play Q-Bert as that way this game should been played. Whold been nice, if it could search for text files with the same name as the game, what he should say.
This may reflect pinball games as well (I might remap them as well)....
Otherwice it a pretty good plugin  :D
You can edit controls.ini to make it say whatever you want.  ;D Just do not forget to refresh game list afterwards so MaLa reads this file again.  :angel: 
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: CM on October 26, 2007, 02:59:35 pm
Not a hijack attempt .. but curious if there is a MalA fix for using 2 PacDrives yet?  Andy W confirmed it looked like a bug and was sending a 2nd board to Mala dev a few weeks back.   
The 2nd board arrived here some days ago. Will get into this in the next days.

Is it "next days" yet?    ;)     Last update was Aug 31st ... so we're worried about you!
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: loadman on October 26, 2007, 06:48:38 pm
Not a hijack attempt .. but curious if there is a MalA fix for using 2 PacDrives yet?  Andy W confirmed it looked like a bug and was sending a 2nd board to Mala dev a few weeks back.   
The 2nd board arrived here some days ago. Will get into this in the next days.

Is it "next days" yet?    ;)     Last update was Aug 31st ... so we're worried about you!

Don't be worried. I know he is alive.  Work and family come first and all that...

When Swindus re-enters MaLa development (he does it it waves) I will ask him to check this plug-in with two pacdrives
Title: Re: MaLa Plugin - Speech V1.5a *Beta Test Please*
Post by: loadman on August 12, 2008, 07:54:03 am
Latest Version on -site
Title: Re: MaLa Plugin - Speech V1.6
Post by: pie taster on August 14, 2008, 10:28:26 am
Sorry for the stupid question...

I'm using the Speak Text from the LedBLink Plugin that is working well for me.

So does this Speech V1.6 provided any additional benefit?
Title: Re: MaLa Plugin - Speech V1.6
Post by: loadman on August 14, 2008, 07:26:44 pm
Sorry for the stupid question...

I'm using the Speak Text from the LedBLink Plugin that is working well for me.

So does this Speech V1.6 provided any additional benefit?

Nah...

* The first version of this plug-in was realeased before LedBlink or LedWiz Plug-in
* This Plug-in is no more for users without Led-Wiz
Title: Re: MaLa Plugin - Speech V1.6
Post by: arzoo on August 15, 2008, 08:15:36 am
* This Plug-in is no more for users without Led-Wiz

I think what Loadman meant to say is the speech plugin was designed for people who are not using the LED-Wiz. It might be a typo or some strange Aussie syntax  ;D
Title: Re: MaLa Plugin - Speech V1.6
Post by: loadman on August 15, 2008, 08:23:43 pm
* This Plug-in is no more for users without Led-Wiz

I think what Loadman meant to say is the speech plugin was designed for people who are not using the LED-Wiz. It might be a typo or some strange Aussie syntax  ;D

Yeah, What he said  :banghead:
Title: Re: MaLa Plugin - Speech V1.6
Post by: G1zm0 on August 31, 2008, 04:13:58 am
tryed this speech prog, but after running the config prog all  get is error saying

"floating point division by zero"

Title: Re: MaLa Plugin - Speech V1.6
Post by: loadman on August 31, 2008, 07:24:01 am
tryed this speech prog, but after running the config prog all  get is error saying

"floating point division by zero"


I just downloaded it and worked for me in a fresh directory.

The first thing the config prog does is a speech test.

It only works if you have speech on your OS.  (Like a standard XP install)

What OS are you using?  IS a cut down XP?

If you do not have XP, you may need to install the Microsoft Text to Speech Reader.
It can be downloaded for free here:
http://www.microsoft.com/reader/developers/downloads/tts.asp (http://www.microsoft.com/reader/developers/downloads/tts.asp)
Title: Re: MaLa Plugin - Speech V1.6
Post by: G1zm0 on September 01, 2008, 04:03:46 am
downloaded the ms speech program and msreader2.1 and installed  them, rebooted pc, ran the config file and got same floating point error.

i am trying to run it on full blowen vista premium.

*could the flash& speak function be set up to use the uhid?  as i think it has pac drive incorporated in to it, i know it has led function

Title: Re: MaLa Plugin - Speech V1.6
Post by: loadman on September 01, 2008, 06:24:41 pm
downloaded the ms speech program and msreader2.1 and installed  them, rebooted pc, ran the config file and got same floating point error.

i am trying to run it on full blowen vista premium.

*could the flash& speak function be set up to use the uhid?  as i think it has pac drive incorporated in to it, i know it has led function

Don't know if it works with Vista.  :dunno  Need to test that.