Winetricks / winetricks

Winetricks is an easy way to work around problems in Wine
GNU Lesser General Public License v2.1
2.73k stars 398 forks source link

sapi verb is broken, at least on x64 #1950

Open lilmike opened 2 years ago

lilmike commented 2 years ago

When installing the sapi verb on x64, it seems to install, but speech doesn't happen on anything supporting. When using a python accessibility module called accessible output 2, the python app trying to use sapi even crashes. I don't know why -- I installed a 64 bit sapi voice, so my only guess is that somehow the sapi.dll isn't complete, or requires something else that isn't provided. I don't get any fixme or err output when running a program depending on sapi except some that I normally get when running anything through wine.

To reproduce this issue, install sapi with winetricks on x64, then install a 64 bit voice of your choice, and runn the following vbscript through cscript (or use any application that uses sapi):

dim speechobject set speechobject=createobject(sapi.spvoice) speechobject.speak "This is a test of your chosen voice. It contains multiple sentences and punctuation, and is designed to give a full representation of this voices qualities."

-Michael.

austin987 commented 2 years ago

Does this work in a 32-bit prefix? Does it work if work if winetricks speechsdk is used instead (32-bit prefixes only)?

I'm not familiar with sapi; how do you install a voice?

I noticed that speechsdk installs a control panel applet, but sapi doesn't (though it hits https://bugs.winehq.org/show_bug.cgi?id=29614 when trying to configure/test the voice, for me.

The other thing I noticed is that sapi doesn't put anything in "C:\Program Files\Common Files\Microsoft Shared\Speech", while speechsdk does, which may be related.

lilmike commented 2 years ago

speechsdk works fine, and installs its own voices. It also works fine if installing other voices, in my experience.

I installed a nuance voice through its installer, but any voice should work as long as it supports 64 bit. I've tried with two nuance voices, daniel (UK) and Tom (US).

It also fails in 32 bit winepreefixes.

-Michael.

On Sun, Aug 21, 2022 at 11:37:23PM -0700, Austin English wrote:

Does this work in a 32-bit prefix? Does it work if work if winetricks speechsdk is used instead (32-bit prefixes only)?

I'm not familiar with sapi; how do you install a voice?

I noticed that speechsdk installs a control panel applet, but sapi doesn't (though it hits https://bugs.winehq.org/show_bug.cgi?id=29614 when trying to configure/test the voice, for me.

The other thing I noticed is that sapi doesn't put anything in "C:\Program Files\Common Files\Microsoft Shared\Speech", while speechsdk does, which may be related.

-- Reply to this email directly or view it on GitHub: https://github.com/Winetricks/winetricks/issues/1950#issuecomment-1221912670 You are receiving this because you authored the thread.

Message ID: @.***>

-- Sorry about the test, it's just a me thing. Michael Taboada, Creator of Games. Does that make me a god, well, sorta. My pgp key: 79BC390E8864CD71305D4DD606CD2197A6EE5ED7 My website: https://michaels.world 2MB website: https://2mb.games Don't believe everything you read on the internet. I might not be real, you might not be real, and this email certainly isn't real. Sent from my hall closet... sink

lilmike commented 1 year ago

Any update on this?

-Michael.

gverm commented 1 year ago

@lilmike I'll have a look this week. (I initially wrote the sapi verb)

lilmike commented 1 year ago

Hiya,

Have you had a chance to look at the verb?

-Michael.

On Tue, Oct 11, 2022 at 10:03:40AM -0700, Gijs Vermeulen wrote: @.*** I'll have a look this week. (I initially wrote the sapi verb)

-- Reply to this email directly or view it on GitHub: https://github.com/Winetricks/winetricks/issues/1950#issuecomment-1275006502 You are receiving this because you were mentioned.

Message ID: @.***>

-- It's halloween! But it's kind of hard to scare people through email, so... here goes: Jesus, Moses and an old dude were golfing. Jesus hits the ball, and it goes and goes... straight in to a lake. So he walks on the water, picks the ball out and puts it on the other side, hits it... and hole in two. Moses hits the ball, and it goes and goes... straight into the same lake. He parts the water, picks out the ball, and sets it on the other side, hits it... Hole in two. The old dude steps up, hits the ball, and it just flies.... Way way out, but also off course. It's about to go out of bounds when a squirrel grabs it, and starts running down the course. Then, as they watch, a hawk swoops down from the sky and grabs the squirrel and flies away. As the hawk is flying over the green, a lightning bolt from a blue sky hits the hawk, who drops the suiqrrel. The squirrel lands on the green a few feet away from the hole, the ball pops out of its paws and goes straight in... Hole in one. Jesus turns to Moses and says, "Yeah, dad always did like to show off." LOL! Have fun with that one. Sorry about the test, it's just a me thing. Michael Taboada, Creator of Games. Does that make me a god, well, sorta. My pgp key: 79BC390E8864CD71305D4DD606CD2197A6EE5ED7 My website: https://michaels.world 2MB website: https://2mb.games Don't believe everything you read on the internet. I might not be real, you might not be real, and this email certainly isn't real. Sent from my supergenius... stationary bicycle