Hard Light Productions Forums
Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: portej05 on June 22, 2009, 11:11:59 am
-
Hi folks,
With a simple change to speech.cpp, and renaming the speech folder speech_pleasedontusethis (a random filename NOT on the path), I've got the TTS working under a VC2008 build.
To enable:
Define FS2_SPEECH in the preprocessor options of Freespace2 and code
Make sure you have the Vista 6.0A or 6.1 SDKs
Enjoy!
portej05
-
Make sure you have the Vista 6.0A or 6.1 SDKs
No love for XP?
-
Just define _WINVER to 0x502 if you want the XP loving
-
Defining FS2_VOICER doesn't cause any errors for me either.
-
Also, that's just the SDK version, you can use the Vista/Server08 SDKs and still compile XP-compatible code. No point really in using such an old PSDK now, they've all been superceded by the Server 2008 PSDK. Is anyone still running FS on Windows 2000? That's one of the only reasons I could think to use an older one, but I think the Vista one works, if not then the Server 2003 one will.
-
Also, that's just the SDK version, you can use the Vista/Server08 SDKs and still compile XP-compatible code.
That _WINVER def (and there's a whole pile like it - just start an MFC project in VC2008 to see what I mean) makes sure that you can only use XP compatible APIs.