Loading...
  OR  Zero-K Name:    Password:   

No more speech

10 posts, 882 views
Post comment
Filter:    Player:  
sort
A sad day for me, for my best loved Zero-K feature no longer works for me. Digitized speech. Text-to-speech no longer works, forcing me to look at the chat window when I didn't have to before. Is it something that changed with the new engine or is it just me?
+7 / -0

2 years ago
I didn't even know we had text to speech. When it was working, how did you enable it?
+3 / -0

2 years ago
There is a widget (alt+f11) but I haven't managed to make it work.

Years ago (like 6-7) TTS was on by default and when lob pot started, you'd hear "I choose: not to make a choice and therefore have made a choice, I choose: shitbutt, I choose: OMGLAZERPEW, I choose: I choose I choose I choose" for like 5 minutes straight.
+3 / -0
2 years ago
To enable, you can just put a check mark there in the lobby:
https://zero-k.info/mediawiki/Game_Lobby#Game

Then you'd want to start a game and in the game menu check the volume setting for it because it can be too low to hear even when it works. One cool thing about it is that if you have multiple voices installed, it will select them at random for different people, so everyone can have a different voice. Must be English voices or it won't work. It also has a limitation that it can't say anything other than Latin alphabet (even numbers are filtered out).

CArankGalamesh: It still does that. Or used to before the last update. I was actually planning to override this and filter out the "I choose" thing. I think it would actually make more sense for the message to be "<Player X> chooses <Com Name>" instead of "I choose Com Name." Might sound less annoying that way, too. The text change should be a trivial fix for someone who can just upload a file to the main repository.

BTW, I don't see it in the list of widgets. I actually put a copy of it (snd_text_to_speech.lua) in the LuaUI widgets folder, and it still doesn't show up. Logs suggest that it does load though, and I don't see anything else about it there, which suggests to me that the widget is still loaded, but the sound is either not generated or is routed somewhere into oblivion.
+3 / -0


2 years ago
Maybe the library broke or became too hard to maintain. TTS is a widget -> wrapper thing.
+0 / -0

2 years ago
I got it to work on my box:
install speech-dispatcher ( on ubuntu: sudo apt-get install speech-dispatcher )
enable "Text To Speech" in lobby under Settings/Game
in-game disable "simple settings" and go to Settings/Audio and find "Text-to-speech volume" and adjust it.
possibly need to restart game to take effect the first time.

it only seems to speak team-chat and map markers (but not if you are a spec).
+2 / -0
2 years ago
quote:
Maybe the library broke or became too hard to maintain. TTS is a widget -> wrapper thing.

But now that the old engine is used, shouldn't it have fixed this? I'm thinking the problem might be with the infra somewhere. Though I still can't wrap my head around why it's even involved in translating text to speech at all.
+0 / -0
Engine isn't involved. But if NOranktalas got it to work then it sounds like an OS thing.
+0 / -0
2 years ago
I agree. But the code for SAPI seems to be in the infra, and it used to work... what changed? I can make the TTS speak without the game, so it's not my system.
+0 / -0
2 years ago
OK... Now I feel stupid...

I downloaded the "new" Zero-K.exe from https://zero-k.info/Wiki/Download because the game was complaining about it at every launch. The annoying messages stopped, but so did speech. I didn't realize that those two things happened at the same time. Thankfully, I didn't throw away the old executable. As part of my troubleshooting, I used it and now ZK speaks again. (Good riddance, v1.0.0.0!)

Hence, I strongly suggest not using that file if you have an older one already. Let the game complain. Hopefully, it will soon be replaced with one that doesn't break things...
+1 / -0