Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: The Blazer on November 24, 2003, 02:08:01 am

Title: Simulated speech not working
Post by: The Blazer on November 24, 2003, 02:08:01 am
Hi,

I'm trying to make the "simulated" speech work.  I downloaded that executable:
I have downloaded http://mysite.freeserve.com/thomaswhittaker/c_code/freespace/fs2_open_r.rar (http://mysite.freeserve.com/thomaswhittaker/c_code/freespace/fs2_open_r.rar) and the 5.1 MS SDK Voice pack thing...

No matter what I check or uncheck in the launcher, it doesn't work. :sigh:

BTW, I'm using Windows XP.

Any idea or suggestion ?
Title: Simulated speech not working
Post by: The Blazer on November 24, 2003, 04:20:40 am
I forgot to write that all 3 voices work in the launcher...
Title: Simulated speech not working
Post by: Lightspeed on November 24, 2003, 06:31:44 am
same here, nobody had a look at my problem yet, either :)

Problem occurs to Win98 SE, speech installed and works fine in the launcher but in-game it's not there - its NOT in the tech room, NOT in briefings and NOT in-mission.

-edit-
i thought it was a win98 SE specific problem but now... i think it could be soundcard specific. I'm using a SB PCI 128, if that helps :)
Title: Simulated speech not working
Post by: redmenace on November 24, 2003, 08:17:16 am
that one might not have the speech in the preprocessor definitions. Are you sure the that build runs speech?
Title: Simulated speech not working
Post by: Lightspeed on November 24, 2003, 10:58:43 am
I'm running the latest builds, should work properly. doesn't.
Title: Simulated speech not working
Post by: RandomTiger on November 24, 2003, 12:23:44 pm
Generally non official builds dont get speech compiled in because it requires an SDK that not everyone has, I dont think that one did because it was a test exe I made for something. I will try to find time to compile an exe with support, I'll post a link here if I do.

Nice to see someone knows my speech feature exists.
Title: Simulated speech not working
Post by: RandomTiger on November 24, 2003, 12:50:29 pm
I've updated the exe linked at the top of the thread.
Lightspeed, if it works in the launcher it should work ingame.
E-mail me directly if you still cant get it working.
Title: Simulated speech not working
Post by: Skippy on November 24, 2003, 01:06:12 pm
but how to enable it in-game ?
Title: Simulated speech not working
Post by: redmenace on November 24, 2003, 01:11:09 pm
it works automatically. if there is no message designated in the mission file then it automatically plays the text. try the tech room. most likly you will here "affectionatly known as the bat..."
Title: Simulated speech not working
Post by: Lightspeed on November 24, 2003, 01:19:48 pm
Quote
Originally posted by RandomTiger
I've updated the exe linked at the top of the thread.
Lightspeed, if it works in the launcher it should work ingame.
E-mail me directly if you still cant get it working.


email sent, doesn't work (as I suspected). I can listen to it in the launcher and it works (except for the volume slider that doesnt affect the volume), but in-game it's not working at all.
Title: Simulated speech not working
Post by: Skippy on November 24, 2003, 01:54:55 pm
with this one it works...
but why isn't this included in the "official" FSO build ?
Title: Simulated speech not working
Post by: redmenace on November 24, 2003, 02:24:51 pm
Quote
Originally posted by RandomTiger
Generally non official builds dont get speech compiled in because it requires an SDK that not everyone has, I dont think that one did because it was a test exe I made for something. I will try to find time to compile an exe with support, I'll post a link here if I do.

Nice to see someone knows my speech feature exists.


edit: I apologize I misunderstood the question. they probably don't because not all have the SDK obviously and not all have XP or 2000. I don't think you can get it to work with 95 or 98.
Title: Simulated speech not working
Post by: Starks on November 24, 2003, 02:38:08 pm
GOT ALL THREE VOICES WORKING!

http://www.bytesoflearning.com/UltraKeyProduct/Installers/Windows/SAPI5/SAPI5VoiceInstaller.msi
Title: Simulated speech not working
Post by: The Blazer on November 24, 2003, 03:15:28 pm
The new exe is working, nice, thanks RandomTiger !
Title: Simulated speech not working
Post by: Lightspeed on November 24, 2003, 03:49:32 pm
I have the SDK installed. The voices work. The voices won't work in-game. shucks. :rolleyes:
Title: Simulated speech not working
Post by: The Blazer on November 24, 2003, 04:22:14 pm
Lightspeed, did you get the new EXE from the file I linked in the first message of this thread ?
Title: Simulated speech not working
Post by: RandomTiger on November 24, 2003, 04:23:55 pm
The voices should only work if theres not a wav file for that message. Make sure you have ticked the 'ingame' box in the launcher.

If its still not working tell me where in the game it doesnt work.
Title: Simulated speech not working
Post by: Lightspeed on November 24, 2003, 05:26:48 pm
I have the build posted above. There are no voice files attached to the tech room or the personas of the MODs i play currently. The checkboxes are ticked. I can hear the voice in the launcher. I do not hear the voice in the tech room, i do not hear the voice in briefings and last but not least i do not hear it in mission.
Title: Simulated speech not working
Post by: RandomTiger on November 25, 2003, 09:03:46 pm
Hmm... tell me all the values of the speech******* variables in your freespace registry. I'll make you an exe that gives us some more info at the weekend.
Title: Simulated speech not working
Post by: Lightspeed on November 26, 2003, 06:30:50 am
SpeechBriefings =1
SpeechIngame =1
SpeechTechRoom =1
SpeechVolume =99
Title: Simulated speech not working
Post by: karajorma on November 26, 2003, 07:01:35 am
I can get the first voice to work. I've downloaded the installer that LLL linked to but I still can't see anything in the launcher that let's me choose another voice. How do I do it?
Title: Simulated speech not working
Post by: RandomTiger on November 26, 2003, 12:39:30 pm
I'm not sure how that installer works but if you have 2000 or XP follow the link provided in the launcher (v3.1), that takes you to an installer for extra voices.

karajorma, please e-mail me, I want to discuss that gamma problem.
Title: Simulated speech not working
Post by: Nifelheim on November 26, 2003, 03:39:57 pm
@karajorma - what os are you rinning? Those are the voices that come with windows and if you're running win98 for example, may be there aren't other voices installed. In XP you get 3 of them, in other wins - I don't know...
Title: Simulated speech not working
Post by: karajorma on November 26, 2003, 03:43:23 pm
I'm on XP. I'll try the launcher link RT suggested.
Title: Simulated speech not working
Post by: Johnmike on November 26, 2003, 03:49:32 pm
You get MS Mary, Sam, and Mike.  There's also Sample TTS, but it says every word, save for a few, is said 'blah.'
Title: Simulated speech not working
Post by: RandomTiger on November 26, 2003, 03:55:12 pm
Quote
Originally posted by Nifelheim
In XP you get 3 of them, in other wins


In my experience a fresh install of XP will only give you one voice.

Sample TTS is a sample voice and only comes with enough words to say the phase in the control panel tab.
Title: Simulated speech not working
Post by: karajorma on November 27, 2003, 06:34:02 am
The installer works fine actually. I've just noticed that I wasn't using the latest version of the launcher (which is odd cause I only downloaded a week or so ago).
Title: Simulated speech not working
Post by: Terorist on November 27, 2003, 03:13:42 pm
That reminds me, shouldn't the old ones be taken off of http://fs2source.warpcore.org/exes/ and, maybe, latest versions added? :)
Same goes for other files there, there's too much unneeded old stuff.
Title: Simulated speech not working
Post by: redmenace on November 27, 2003, 04:23:23 pm
Quote
Originally posted by Terorist
That reminds me, shouldn't the old ones be taken off of http://fs2source.warpcore.org/exes/ and, maybe, latest versions added? :)
Same goes for other files there, there's too much unneeded old stuff.

Is it hurting anything. Is there any forseable consequences to it being posted there? We have plenny of space.
Title: Simulated speech not working
Post by: Terorist on November 27, 2003, 04:59:38 pm
Of course there's plenty of space, but it'd be nice if the stuff most people actually *need* (latest stable, latest build (for real), latest launcher and latest media vp) were in a tidier bunch somewhere. You could put the old ones in a separate directory.

The reason I mention this is that I recently reinstalled FS2, hadn't messed with it for a long while and had to redownload all the SCP stuff (HD crash months ago). That got me thinking how a newbie would see things, and frankly, it's a mess. :)
Title: Simulated speech not working
Post by: The Blazer on November 27, 2003, 10:55:22 pm
Quote
Originally posted by Terorist
That got me thinking how a newbie would see things, and frankly, it's a mess. :)


Has much as I hate to talk agains people doing projects like this, they really need to do something about that !

I don't even think the latest launcher is on the web site, and the exe needs it (for registry stuff) !

I mean, it would take what, an hours at most to fix it ?

PS: What up with the Terorist pun, I don't get it... :wtf:
Title: Simulated speech not working
Post by: Terorist on November 27, 2003, 11:16:05 pm
Not surprisingly. :-)  It's a very old pun (http://www.hard-light.net/forums/index.php/topic,346.0.html), and I've kept it because... 1) I can't bother changing it  2) I don't post much anyway  3) if it annoys overly sensitive and politically correct people, then great! I haven't bothered with gaming (least of all cs) for a couple of years now, but I'm going to stick to this tradition.

If I just had a surge of motivation, I would put together some sort of very concentrated primer page to the wiki that would contain clear instructions to get all needed stuff together for playing with fs2_open, but... I guess I'd like to wait for the situation to clear up a bit, like after getting the next stable release and a single media vp with all that is currently ready for it but not yet added. Such notions tend to mean that you never get started though... Besides, I feel I'm a bit out of the very latest stuff myself, so I might not be up to it.
Title: Simulated speech not working
Post by: karajorma on November 28, 2003, 03:44:44 am
Do it. If you make mistakes people will correct them. It's a lot quicker for them to do that than start with a blank page. :)
Title: Simulated speech not working
Post by: Snowden on December 02, 2003, 09:56:28 am
Would it be possible to implement speech in build 12_01_2003 and not only in that specific build version?
Title: Simulated speech not working
Post by: Terorist on December 02, 2003, 11:37:21 am
Did you read the thread?
RT said:
Quote
Generally non official builds dont get speech compiled in because it requires an SDK that not everyone has
[/size]Whether or not speech is included depends on if the maker of the builds has speech SDK libraries. Some don't, so if you, for example, try out some Bob's graphics thingy testing build, it's a safe bet it doesn't have speech enabled.

I believe RT will keep providing us with them, when he has the time to build them. :)
Title: Simulated speech not working
Post by: Snowden on December 02, 2003, 12:31:41 pm
Sorry about that, I must have overlooked it, thanks for clearing it up. :)
Title: Simulated speech not working
Post by: karajorma on December 02, 2003, 01:03:45 pm
Besides since it's already 12_02_2003 it looks unlikely :D
Title: Simulated speech not working
Post by: Lightspeed on December 02, 2003, 04:59:56 pm
I still want speech to work on my system :(

The launcher and everything shounds so good, but in game it simply refuses to work.
Title: Simulated speech not working
Post by: Taristin on December 02, 2003, 05:04:30 pm
It only worked for me once. Never again...
Title: Simulated speech not working
Post by: RandomTiger on December 02, 2003, 07:44:23 pm
Crap, forgot to make that debug build, I'll get onto that.
Please make sure you've tryed the one at the start of the thread.
If it works in the launcher theres is no reason it shouldnt work ingame (its exactly the same code).
Title: Simulated speech not working
Post by: Snowden on December 03, 2003, 12:36:02 am
Your build works prefectly for me RT, no problems at all. :p
Title: Simulated speech not working
Post by: RandomTiger on December 03, 2003, 01:18:56 pm
OK, heres a new build that has speech compiled in.
You the flag -query_speech and it will give an assement of any problems if it doesnt work.

Post any problems here.

http://mysite.freeserve.com/thomaswhittaker/c_code/freespace/fs2_open_r.rar